codechimp-org / lms-tvh

TVHeadend Radio Plugin for Lyrion (Logitech) Media Server
Apache License 2.0
9 stars 1 forks source link

radio streams do not play through to castbridge linked chromecast devices #26

Open anotherstuart opened 1 month ago

anotherstuart commented 1 month ago

Hi

Thanks for the plugin - it's great. I have a problem (that I think is recent; I am sure I have done this before...) although i can play radio streams from tvh through to most of my devices the radio streams do not play through to castbridge (plugin) linked chromecast devices.

Other sources (e.g. my music) play.

I have added the log; there is a clear error message for the radio stream and a log before the radio showing that a simple music file played.

Thanks for any help of how to fix this (if you think this is more likely for Philippe on the castbridge plugin page I will post there, but due to the error message I thought more likely the issue was at the tvh end)

Stuart castbridge.log

andrew-codechimp commented 1 month ago

Nothing has changed on the TVH plugin for a long time and I'm not using it myself these days and never got comfortable with perl to extend this more. If it did work I'd query whether castbridge has had an update that changed something, I don't use castbridge so not able to test that.

anotherstuart commented 1 month ago

Thanks Andrew

I wonder, @philippe44, if there is some clue from your end: the fact that it plays OK on a normal audio player but fails on the chromecast bridge may just be that you are stricter! or it may be an error...

the error in your plugin log looks like this

22:22:33.382] CastSocketThread:600 [0x6850c0]: type:LOAD_FAILED (id:2) [22:22:33.382] ProcessQueue:471 [0x6850c0]: PLAY un-queued but no media session [22:22:33.385] stream_thread:693 [0x60a5b0]: streambuf read 384 bytes [22:22:33.385] stream_thread:693 [0x60a5b0]: streambuf read 384 bytes [22:22:33.386] stream_thread:693 [0x60a5b0]: streambuf read 1152 bytes [22:22:33.387] stream_thread:693 [0x60a5b0]: streambuf read 384 bytes [22:22:33.405] CastSocketThread:597 [0x6850c0]: type:MEDIA_STATUS (id:0) IDLE [22:22:33.428] http_read_line:1101 disconnected on the other end 24 [22:22:33.429] handle_http:489 [0x60a5b0]: http parsing error [22:22:33.429] output_http_thread:252 [0x60a5b0]: HTTP close 24 (bytes 50688) (n:1 res:0)

[22:22:33.519] stream_thread:693 [0x60a5b0]: streambuf read 768 bytes [22:22:33.519] stream_thread:693 [0x60a5b0]: streambuf read 384 bytes [22:22:33.519] stream_thread:693 [0x60a5b0]: streambuf read 768 bytes [22:22:33.519] stream_thread:693 [0x60a5b0]: streambuf read 384 bytes [22:22:33.673] stream_thread:693 [0x60a5b0]: streambuf read 768 bytes [22:22:33.673] stream_thread:693 [0x60a5b0]: streambuf read 384 bytes [22:22:33.674] stream_thread:693 [0x60a5b0]: streambuf read 768 bytes [22:22:33.674] stream_thread:693 [0x60a5b0]: streambuf read 384 bytes [22:22:33.796] stream_thread:693 [0x60a5b0]: streambuf read 1152 bytes

I enabled full debugging so my log is very long and not sure if it has personal information in it so have not posted it all here.

Thanks for any support.

Stuart

philippe44 commented 1 month ago

PM me the full log (see LMS forums for my pm)

anotherstuart commented 3 weeks ago

hi @philippe44 , I sent it here https://forums.slimdevices.com/messagecenter a little while ago... was that the right place?

Let me know if you need anything more... no serious hurry, obviously : )