Issue description:
In the last few days (possibly since yatse update) I am having trouble sharing youtube content via yatse to kodi.
When I share a video, it will be shared to KODI normally, however after the video ends the video seems to freeze. I can no longer do anything via yatse and last image from video is stuck on screen. (I have to power cycle to recover).
Logs:
Full kodi log is here: kodi - Pastebin.com
Snippet from the end where it freezes:
2021-04-02 08:10:20.113 T:139831614511232 NOTICE: VideoPlayer::OpenFile: plugin://plugin.video.youtube/play/?video_id=PtkqwslbLY8
2021-04-02 08:10:20.216 T:139829902165760 NOTICE: Creating InputStream
2021-04-02 08:10:20.411 T:139829902165760 NOTICE: Creating Demuxer
2021-04-02 08:10:20.483 T:139829902165760 NOTICE: Opening stream: 0 source: 256
2021-04-02 08:10:20.483 T:139829902165760 NOTICE: Creating video codec with codec id: 27
2021-04-02 08:10:20.483 T:139829902165760 NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
2021-04-02 08:10:20.483 T:139829902165760 NOTICE: Creating video thread
2021-04-02 08:10:20.485 T:139829837317888 NOTICE: running thread: video_thread
2021-04-02 08:10:20.542 T:139829902165760 NOTICE: Opening stream: 1 source: 256
2021-04-02 08:10:20.542 T:139829902165760 NOTICE: Finding audio codec for: 86018
2021-04-02 08:10:20.543 T:139829902165760 NOTICE: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder aac
2021-04-02 08:10:20.543 T:139829902165760 NOTICE: Creating audio thread
2021-04-02 08:10:20.543 T:139829828925184 NOTICE: running thread: CVideoPlayerAudio::Process()
2021-04-02 08:10:20.555 T:139829828925184 NOTICE: Creating audio stream (codec id: 86018, channels: 2, sample rate: 44100, no pass-through)
2021-04-02 08:10:20.585 T:139829812139776 NOTICE: COutput::OnStartup: Output Thread created
2021-04-02 08:10:20.693 T:139831614511232 NOTICE: GL: Selecting YUV 2 RGB shader
2021-04-02 08:10:20.695 T:139831614511232 NOTICE: GL: NPOT texture support detected
2021-04-02 08:10:20.696 T:139831614511232 NOTICE: GL: Using GL_ARB_pixel_buffer_object
2021-04-02 08:10:20.696 T:139831614511232 NOTICE: Using GL_TEXTURE_2D
2021-04-02 08:10:20.700 T:139831614511232 NOTICE: GL: Selecting YUV 2 RGB shader
2021-04-02 08:10:20.701 T:139831614511232 NOTICE: GL: NPOT texture support detected
2021-04-02 08:10:20.701 T:139831614511232 NOTICE: GL: Using GL_ARB_pixel_buffer_object
2021-04-02 08:10:21.204 T:139829837317888 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
2021-04-02 08:10:21.214 T:139829837317888 NOTICE: CDVDVideoCodecFFmpeg::CDropControl: calculated diff time: 33366
2021-04-02 08:10:46.463 T:139830177154816 NOTICE: ES: Client from ::ffff:192.168.1.209 timed out
2021-04-02 08:12:44.569 T:139830252689152 NOTICE: script.tv.show.next.aired: ### starting data update
2021-04-02 08:12:44.570 T:139830252689152 NOTICE: script.tv.show.next.aired: ### grabbing a new country mapping list
2021-04-02 08:12:45.557 T:139830252689152 ERROR: script.tv.show.next.aired: ### ERROR retreiving updates from thetvdb.com: File is not a zip file
2021-04-02 08:12:45.843 T:139830252689152 NOTICE: script.tv.show.next.aired: ### data update finished
2021-04-02 08:13:37.433 T:139829828925184 NOTICE: CVideoPlayerAudio::Process - stream stalled
2021-04-02 08:13:37.536 T:139829902165760 NOTICE: CVideoPlayer::OnExit()
2021-04-02 08:13:37.536 T:139829902165760 NOTICE: VideoPlayer: eof, waiting for queues to empty
2021-04-02 08:13:37.537 T:139829902165760 NOTICE: Closing stream player 1
2021-04-02 08:13:37.537 T:139829902165760 NOTICE: CDVDMessageQueue(audio)::WaitUntilEmpty
2021-04-02 08:13:37.538 T:139829902165760 NOTICE: Waiting for audio thread to exit
2021-04-02 08:13:37.538 T:139829828925184 ERROR: Got MSGQ_ABORT or MSGO_IS_ERROR return true
2021-04-02 08:13:37.538 T:139829828925184 NOTICE: thread end: CVideoPlayerAudio::OnExit()
2021-04-02 08:13:37.538 T:139829902165760 NOTICE: Closing audio device
2021-04-02 08:13:37.541 T:139829902165760 NOTICE: Deleting audio codec
2021-04-02 08:13:37.541 T:139829902165760 NOTICE: Closing stream player 2
2021-04-02 08:13:37.541 T:139829902165760 NOTICE: CDVDMessageQueue(video)::WaitUntilEmpty
2021-04-02 08:13:37.672 T:139829902165760 NOTICE: waiting for video thread to exit
2021-04-02 08:13:37.672 T:139829837317888 ERROR: Got MSGQ_ABORT or MSGO_IS_ERROR return true
2021-04-02 08:13:37.672 T:139829837317888 NOTICE: thread end: video_thread
2021-04-02 08:13:37.672 T:139829902165760 NOTICE: deleting video codec
2021-04-02 08:13:47.674 T:139829812139776 WARNING: COutput::StateMachine - signal: 3 form port: timer not handled for state: 2
2021-04-02 08:14:48.100 T:139830177154816 WARNING: Previous line repeats 6 times.
2021-04-02 08:14:48.101 T:139830177154816 NOTICE: ES: Client from ::ffff:192.168.1.209 timed out
2021-04-02 08:14:57.676 T:139829812139776 WARNING: COutput::StateMachine - signal: 3 form port: timer not handled for state: 2
2021-04-02 08:22:48.101 T:139830252689152 WARNING: Previous line repeats 47 times.
2021-04-02 08:22:48.101 T:139830252689152 NOTICE: script.tv.show.next.aired: ### starting data update
2021-04-02 08:22:48.101 T:139830252689152 NOTICE: script.tv.show.next.aired: ### grabbing a new country mapping list
2021-04-02 08:22:49.078 T:139830252689152 ERROR: script.tv.show.next.aired: ### ERROR retreiving updates from thetvdb.com: File is not a zip file
2021-04-02 08:22:49.339 T:139830252689152 NOTICE: script.tv.show.next.aired: ### data update finished
2021-04-02 08:22:57.694 T:139829812139776 WARNING: COutput::StateMachine - signal: 3 form port: timer not handled for state: 2
EDIT
After the above I left it for a while and it started responding, so I tried to share another youtube video, this time it crashed before playback.
2021-04-02 08:46:31.301 T:139831614511232 NOTICE: VideoPlayer::OpenFile: plugin://plugin.video.youtube/play/?video_id=uKPUiVuunAg
2021-04-02 08:46:31.505 T:139829927343872 NOTICE: Creating InputStream
2021-04-02 08:46:31.695 T:139829927343872 NOTICE: Creating Demuxer
2021-04-02 08:46:31.735 T:139829927343872 NOTICE: Opening stream: 0 source: 256
2021-04-02 08:46:31.735 T:139829927343872 NOTICE: Creating video codec with codec id: 27
2021-04-02 08:46:31.735 T:139829927343872 NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
2021-04-02 08:46:31.736 T:139829927343872 NOTICE: Creating video thread
2021-04-02 08:46:31.745 T:139829876987648 NOTICE: running thread: video_thread
2021-04-02 08:46:31.803 T:139829927343872 NOTICE: Opening stream: 1 source: 256
2021-04-02 08:46:31.803 T:139829927343872 NOTICE: Finding audio codec for: 86018
2021-04-02 08:46:31.804 T:139829927343872 NOTICE: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder aac
2021-04-02 08:46:31.804 T:139829927343872 NOTICE: Creating audio thread
2021-04-02 08:46:31.806 T:139829845710592 NOTICE: COutput::OnStartup: Output Thread created
2021-04-02 08:46:31.818 T:139829918951168 NOTICE: running thread: CVideoPlayerAudio::Process()
2021-04-02 08:46:31.818 T:139829918951168 NOTICE: Creating audio stream (codec id: 86018, channels: 2, sample rate: 44100, no pass-through)
2021-04-02 08:46:32.871 T:139829876987648 WARNING: CRenderManager::Configure - timeout waiting for configure
2021-04-02 08:46:32.872 T:139829876987648 ERROR: OutputPicture - failed to configure renderer
2021-04-02 08:46:33.375 T:139829876987648 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
2021-04-02 08:46:37.786 T:139829812139776 WARNING: Previous line repeats 16 times.
2021-04-02 08:46:37.786 T:139829812139776 WARNING: COutput::StateMachine - signal: 3 form port: timer not handled for state: 2
2021-04-02 08:46:37.826 T:139829876987648 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
2021-04-02 08:46:44.911 T:139830177154816 WARNING: Previous line repeats 136 times.
2021-04-02 08:46:44.911 T:139830177154816 NOTICE: ES: Client from ::ffff:192.168.1.209 timed out
2021-04-02 08:46:44.916 T:139829876987648 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
2021-04-02 08:46:47.787 T:139829812139776 WARNING: Previous line repeats 55 times.
2021-04-02 08:46:47.787 T:139829812139776 WARNING: COutput::StateMachine - signal: 3 form port: timer not handled for state: 2
2021-04-02 08:46:47.817 T:139829876987648 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
2021-04-02 08:46:57.788 T:139829812139776 WARNING: Previous line repeats 192 times.
2021-04-02 08:46:57.788 T:139829812139776 WARNING: COutput::StateMachine - signal: 3 form port: timer not handled for state: 2
2021-04-02 08:46:57.828 T:139829876987648 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
2021-04-02 08:47:07.788 T:139829812139776 WARNING: Previous line repeats 192 times.
2021-04-02 08:47:07.788 T:139829812139776 WARNING: COutput::StateMachine - signal: 3 form port: timer not handled for state: 2
2021-04-02 08:47:07.839 T:139829876987648 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
2021-04-02 08:47:17.789 T:139829812139776 WARNING: Previous line repeats 191 times.
2021-04-02 08:47:17.789 T:139829812139776 WARNING: COutput::StateMachine - signal: 3 form port: timer not handled for state: 2
2021-04-02 08:47:17.790 T:139829876987648 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
2021-04-02 08:47:27.790 T:139829812139776 WARNING: Previous line repeats 192 times.
2021-04-02 08:47:27.790 T:139829812139776 WARNING: COutput::StateMachine - signal: 3 form port: timer not handled for state: 2
2021-04-02 08:47:27.800 T:139829876987648 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
2021-04-02 08:47:37.791 T:139829812139776 WARNING: Previous line repeats 192 times.
2021-04-02 08:47:37.791 T:139829812139776 WARNING: COutput::StateMachine - signal: 3 form port: timer not handled for state: 2
2021-04-02 08:47:37.818 T:139829876987648 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
2021-04-02 08:47:47.791 T:139829812139776 WARNING: Previous line repeats 192 times.
2021-04-02 08:47:47.792 T:139829812139776 WARNING: COutput::StateMachine - signal: 3 form port: timer not handled for state: 2
2021-04-02 08:47:47.793 T:139829876987648 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
2021-04-02 08:47:57.792 T:139829812139776 WARNING: Previous line repeats 194 times.
2021-04-02 08:47:57.792 T:139829812139776 WARNING: COutput::StateMachine - signal: 3 form port: timer not handled for state: 2
2021-04-02 08:47:57.824 T:139829876987648 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
2021-04-02 08:47:58.179 T:139830177154816 WARNING: Previous line repeats 6 times.
2021-04-02 08:47:58.179 T:139830177154816 NOTICE: ES: Client from ::ffff:192.168.1.209 timed out
2021-04-02 08:47:58.185 T:139829876987648 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
Screenshots:
Additional information:
Note: I have the same issue when yatse helper script is enabled or disabled. (no change)