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

Doesn't seem to want to stream to an Audiocast device #1

Open cooperaj opened 2 years ago

cooperaj commented 2 years ago

I'm trying to use Plexamp to stream to an Audiocast device without success.

I have linked the device using the web UI and it successfully shows up in the list of devices in Plexamp. Unfortunately switching to it is a 50/50 shot at connecting, Once it is connected no audio plays when starting playback - the playback position in Plexamp counts up to 10 and then resets to 0.

The logs seem to have quite a lot in but this is something that may be useful?

INFO:     192.168.11.116:62458 - "GET /player/timeline/poll?wait=1&includeMetadata=1&commandID=48&type=music HTTP/1.1" 200 OK

get queue https://192-168-11-17.TOKEN.plex.direct:32400/playQueues/350?own=1&X-Plex-Token=transient-TOKEN

Study Speakers state change notified {'state': 'TRANSITIONING', 'old': {'state': 'STOPPED'}}

http://192.168.11.17:32488/player/timeline/poll?wait=1&includeMetadata=1&commandID=49&type=music used 0:00:03.417354

INFO:     192.168.11.116:62458 - "GET /player/timeline/poll?wait=1&includeMetadata=1&commandID=49&type=music HTTP/1.1" 200 OK

Study Speakers state change notified {'state': 'STOPPED', 'old': {'state': 'TRANSITIONING'}}

dlna Study Speakers Seek control error ClientOSError [Errno None] Can not write request body for http://192.168.11.128:49152/upnp/control/rendertransport1
songchenwen commented 2 years ago

It seams that the DLNA player implementations can vary a lot. Your Audiocast device may be unable to handle some requests I use. But unfortunately I don't have a device to debug with.