songchenwen / plexdlnaplayer

There is no built in way to cast Plex music to DLNA speakers. This project will be the bridge.
https://hub.docker.com/r/songchenwen/plexdlnaplayer
GNU General Public License v3.0
34 stars 11 forks source link

track randomly skipped #10

Open psmelion opened 1 year ago

psmelion commented 1 year ago

hi songchenwen,

Great piece of software !

playing from local server seems fine. But when playing from shared remote server, it will randomly skip tracks.

Let's say an album with 10 tracks, it will randomly skip 2 or 3 tracks. If I manually play the skipped track again , it always works.

It seems when the next track start, it timeout and jump to next track .

If there is some timeout or delay value between tracks I can adjust in the script, it may solve my problem !

My test is using web client.

Thanks !

songchenwen commented 1 year ago

Please search for 'timeout=' in 'dlna_device.py'. I think the default value is too short for wan.

psmelion commented 1 year ago

Great advice! I changed timeout=5 to 10 (I assume it's in second?). And played a whole album without issue from remote shared library! Will test more.