plex-for-kodi icon indicating copy to clipboard operation
plex-for-kodi copied to clipboard

Fails to play for more than a few seconds

Open FransUrbo opened this issue 5 years ago • 0 comments

Description:

I've been trying to get Plex4Kodi to work on my RaspberryPI3 the whole day, but no matter what I do, I can't get it to play more than a few seconds, a minute at the most.

Sometimes, I get

21:41:13.814 T:1349513984  NOTICE: script.plex: API: Starting request: GET https://192-168-69-8.0cd27ecdcf2d4803b44158ff4ff81aec.plex.direct:32400/:/timeline?containerKey=/video/%3A/transcode/universal/decision%3FX-Plex-Token[...]
21:41:22.138 T:1503654656  NOTICE: CVideoPlayer::OnExit()
21:41:22.138 T:1503654656  NOTICE: VideoPlayer: eof, waiting for queues to empty

Sometimes

21:46:05.265 T:1341125376  NOTICE: script.plex: API: Starting request: GET https://192-168-69-8.0cd27ecdcf2d4803b44158ff4ff81aec.plex.direct:32400/:/timeline?containerKey=/video/%3A/transcode/universal/decision%3FX-Plex-Token[...]
21:46:05.555 T:1672475392  NOTICE: script.plex: Player - SEEK
21:46:05.624 T:1538257664  NOTICE: script.plex: Player: Seek OSD opened
21:46:17.665 T:1697641216  NOTICE: CVideoPlayerAudio::Process - stream stalled
21:46:20.529 T:1341125376  NOTICE: script.plex: API: Starting request: GET https://192-168-69-8.0cd27ecdcf2d4803b44158ff4ff81aec.plex.direct:32400/:/timeline?containerKey=/video/%3A/transcode/universal/decision%3FX-Plex-Token[...]
21:46:32.803 T:1417667328 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
21:46:35.645 T:1349513984 WARNING: Previous line repeats 1 times.
21:46:35.645 T:1349513984  NOTICE: script.plex: API: Starting request: GET https://192-168-69-8.0cd27ecdcf2d4803b44158ff4ff81aec.plex.direct:32400/:/timeline?containerKey=/video/%3A/transcode/universal/decision%3FX-Plex-Token[...]
21:46:50.861 T:1349513984  NOTICE: script.plex: API: Starting request: GET https://192-168-69-8.0cd27ecdcf2d4803b44158ff4ff81aec.plex.direct:32400/:/timeline?containerKey=/video/%3A/transcode/universal/decision%3FX-Plex-Token[...]
21:47:06.078 T:1349513984  NOTICE: script.plex: API: Starting request: GET https://192-168-69-8.0cd27ecdcf2d4803b44158ff4ff81aec.plex.direct:32400/:/timeline?containerKey=/video/%3A/transcode/universal/decision%3FX-Plex-Token[...]
21:47:21.277 T:1349513984  NOTICE: script.plex: API: Starting request: GET https://192-168-69-8.0cd27ecdcf2d4803b44158ff4ff81aec.plex.direct:32400/:/timeline?containerKey=/video/%3A/transcode/universal/decision%3FX-Plex-Token[...]
21:47:34.906 T:1469051648  NOTICE: CVideoPlayer::OnExit()
21:47:34.906 T:1469051648  NOTICE: VideoPlayer: eof, waiting for queues to empty

Every now and then I get stream stalled:

22:01:59.035 T:1315959552  NOTICE: script.plex: API: Starting request: GET https://192-168-69-8.0cd27ecdcf2d4803b44158ff4ff81aec.plex.direct:32400/:/timeline?containerKey=/video/%3A/transcode/universal/decision%3FX-Plex-Token[...]
22:01:59.548 T:1672475392  NOTICE: script.plex: Player - SEEK
22:01:59.630 T:1400890112 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
22:01:59.681 T:1538257664  NOTICE: script.plex: Player: Seek OSD opened
22:02:00.621 T:1315959552  NOTICE: script.plex: API: Starting request: GET https://192-168-69-8.0cd27ecdcf2d4803b44158ff4ff81aec.plex.direct:32400/:/timeline?containerKey=/video/%3A/transcode/universal/decision%3FX-Plex-Token[...]
22:02:15.804 T:1315959552  NOTICE: script.plex: API: Starting request: GET https://192-168-69-8.0cd27ecdcf2d4803b44158ff4ff81aec.plex.direct:32400/:/timeline?containerKey=/video/%3A/transcode/universal/decision%3FX-Plex-Token[...]
22:02:31.004 T:1445982976  NOTICE: script.plex: API: Starting request: GET https://192-168-69-8.0cd27ecdcf2d4803b44158ff4ff81aec.plex.direct:32400/:/timeline?containerKey=/video/%3A/transcode/universal/decision%3FX-Plex-Token[...]
22:02:46.188 T:1445982976  NOTICE: script.plex: API: Starting request: GET https://192-168-69-8.0cd27ecdcf2d4803b44158ff4ff81aec.plex.direct:32400/:/timeline?containerKey=/video/%3A/transcode/universal/decision%3FX-Plex-Token[...]
22:03:01.405 T:1445982976  NOTICE: script.plex: API: Starting request: GET https://192-168-69-8.0cd27ecdcf2d4803b44158ff4ff81aec.plex.direct:32400/:/timeline?containerKey=/video/%3A/transcode/universal/decision%3FX-Plex-Token[...]
22:03:04.700 T:1503654656  NOTICE: CVideoPlayerAudio::Process - stream stalled
22:03:16.554 T:1445982976  NOTICE: script.plex: API: Starting request: GET https://192-168-69-8.0cd27ecdcf2d4803b44158ff4ff81aec.plex.direct:32400/:/timeline?containerKey=/video/%3A/transcode/universal/decision%3FX-Plex-Token[...]
22:03:16.611 T:1460663040  NOTICE: CVideoPlayer::OnExit()
22:03:16.611 T:1460663040  NOTICE: VideoPlayer: eof, waiting for queues to empty

I've tried almost every combination of Local Quality, Allow Direct Play and Allow Direct Stream without any major difference between them.

My server (v1.13.9.5456-ecd600442 - not very latest, but all other clients work just fine - web browser, Android, iOS and an old/ancient Samsung SmartTV in another country!) only say that the remote end (i.e. the RPi) closed the connection.

The RPi and the server are on the same network (via Cat6 and two high quality - Cisco - switches). My laptop, with Plex in the browser is connected on a different network, via a cheap WiFi router and then one of the Ciscos have no problem to play, so I'm certain the network is fine.. ?

I have plenty of logs, but they contain VERY sensitive information (among it, my token in clear text as well as addresses to my friends servers). I can provide them on private email if needed. If sanitised logs is fine, I can do that as well.

I can even give remote access to the RPi for debugging and development if requested.

Details:

  • Add-on version: Tried released (via the Kodi Add-on installer), master as well as develop.
  • Kodi version: 17.6
  • OS Platform: Linux/4.14.78-4-osmc (debian 9.7)
  • Hardware: Raspberry Pi 3 Model B Rev 1.2

Checklist

  • [ ] I have included a link to a log (or at the very least a link to a forum post with a log) from a session that had the issue
  • [ ] I have added appropriate GitHub labels

FransUrbo avatar Apr 18 '19 21:04 FransUrbo