sspiff / lms-plugin-pyrrha

Pyrrha - Daughter of Pandora
GNU General Public License v2.0
13 stars 4 forks source link

Some SB devices don't play on 0.4.0 Free Account #29

Closed Archcantor closed 5 months ago

Archcantor commented 6 months ago

Thanks for the free account update! This plugin works on Squeezelite and on my SB Baby Radios. It does not work on my Duets nor my Boom Radio. The display on the Boom returns "Problem: Unable to play file" The Boom is on firmware 57. The Duets are on Firmware 77. The working Baby Radios are on Firmware: 7.7.3-r16676

sspiff commented 6 months ago

Thanks for the free account update! This plugin works on Squeezelite and on my SB Baby Radios. It does not work on my Duets nor my Boom Radio. The display on the Boom returns "Problem: Unable to play file" The Boom is on firmware 57. The Duets are on Firmware 77. The working Baby Radios are on Firmware: 7.7.3-r16676

Anything interesting in the LMS log?

sspiff commented 6 months ago

Similar issue reported on the forum: https://forums.slimdevices.com/forum/user-forums/3rd-party-software/1675996-pyrrha-pandora-s-daughter?p=1683756#post1683756

sspiff commented 6 months ago

Two instances of this reported on the forum, and both appear to involve LMS on Windows.

@Archcantor , are you seeing this with LMS on Windows?

Archcantor commented 6 months ago

Two instances of this reported on the forum, and both appear to involve LMS on Windows.

@Archcantor , are you seeing this with LMS on Windows?

Yes, LMS on Windows Logitech Media Server Version: 8.4.1 - 1709721691

Archcantor commented 6 months ago

Thanks for the free account update! This plugin works on Squeezelite and on my SB Baby Radios. It does not work on my Duets nor my Boom Radio. The display on the Boom returns "Problem: Unable to play file" The Boom is on firmware 57. The Duets are on Firmware 77. The working Baby Radios are on Firmware: 7.7.3-r16676

Anything interesting in the LMS log?

LMS on Windows 11 Logitech Media Server Version: 8.4.1 - 1709721691

FROM THE BOOM RADIO THAT WON'T PLAY [24-03-08 18:58:40.0590] Plugins::Pyrrha::Pandora::ANON (137) fetching station list [24-03-08 18:58:40.0605] Plugins::Pyrrha::Pandora::ANON (84) creating new websvc [24-03-08 18:58:43.9976] Plugins::Pyrrha::ProtocolHandler::getNextTrack (144) pyrrha://c529fc275c549e469d68781ca9ef46ed/4650233934030208209.mp3 [24-03-08 18:58:43.9977] Plugins::Pyrrha::ProtocolHandler::getNextTrack (171) found cached station data 68904770220752081 [24-03-08 18:58:43.9978] Plugins::Pyrrha::ProtocolHandler::getNextTrack (172) playlist length: 3 [24-03-08 18:58:43.9978] Plugins::Pyrrha::ProtocolHandler::getNextTrack (173) station change 4650233934030208209 [24-03-08 18:58:45.7116] Plugins::Pyrrha::ProtocolHandler::ANON (211) next in playlist: ca0a6eed47dd480f2e2c4f404959b97a [24-03-08 18:58:45.7120] Slim::Player::Song::open (424) Error: Couldn't create command line for mp4 playback for [pyrrha://c529fc275c549e469d68781ca9ef46ed/4650233934030208209.mp3] [24-03-08 18:58:45.7129] Plugins::Pyrrha::ProtocolHandler::getNextTrack (144) pyrrha://c529fc275c549e469d68781ca9ef46ed/4650233934030208209.mp3 [24-03-08 18:58:45.7130] Plugins::Pyrrha::ProtocolHandler::getNextTrack (171) found cached station data 4650233934030208209 [24-03-08 18:58:45.7130] Plugins::Pyrrha::ProtocolHandler::getNextTrack (172) playlist length: 4 [24-03-08 18:58:45.7134] Plugins::Pyrrha::ProtocolHandler::getNextTrack (144) pyrrha://c529fc275c549e469d68781ca9ef46ed/4650233934030208209.mp3 [24-03-08 18:58:45.7135] Plugins::Pyrrha::ProtocolHandler::getNextTrack (171) found cached station data 4650233934030208209 [24-03-08 18:58:45.7135] Plugins::Pyrrha::ProtocolHandler::getNextTrack (172) playlist length: 4 [24-03-08 18:58:45.7740] Plugins::Pyrrha::ProtocolHandler::ANON (211) next in playlist: 0529a720fbfc2ade7c3e534a0527998a [24-03-08 18:58:45.7743] Plugins::Pyrrha::ProtocolHandler::ANON (211) next in playlist: 4650233934030208209-pod:1/1/0 [24-03-08 18:58:45.7749] Slim::Player::Song::open (424) Error: Couldn't create command line for mp4 playback for [pyrrha://c529fc275c549e469d68781ca9ef46ed/4650233934030208209.mp3]

FROM THE BABY RADIO THAT PLAYS [24-03-08 19:02:24.2891] Plugins::Pyrrha::ProtocolHandler::getNextTrack (144) pyrrha://c529fc275c549e469d68781ca9ef46ed/4650233934030208209.mp3 [24-03-08 19:02:24.2892] Plugins::Pyrrha::ProtocolHandler::getNextTrack (171) found cached station data 4650233934030208209 [24-03-08 19:02:24.2893] Plugins::Pyrrha::ProtocolHandler::getNextTrack (172) playlist length: 4 [24-03-08 19:02:24.2922] Plugins::Pyrrha::ProtocolHandler::ANON (211) next in playlist: a5b607c02d1a719298493fefad10e051

sspiff commented 6 months ago

Two instances of this reported on the forum, and both appear to involve LMS on Windows. @Archcantor , are you seeing this with LMS on Windows?

Yes, LMS on Windows Logitech Media Server Version: 8.4.1 - 1709721691

Do you know if you are able to play mp4/aac streams from other sources?

In the past, it looks like an extra step was required to enable mp4/aac transcoding on Windows. See https://wiki.slimdevices.com/index.php/AAC.html (but I don't know how old this is or if the info is still valid).

Archcantor commented 6 months ago

Two instances of this reported on the forum, and both appear to involve LMS on Windows. @Archcantor , are you seeing this with LMS on Windows?

Yes, LMS on Windows Logitech Media Server Version: 8.4.1 - 1709721691

Do you know if you are able to play mp4/aac streams from other sources?

In the past, it looks like an extra step was required to enable mp4/aac transcoding on Windows. See https://wiki.slimdevices.com/index.php/AAC.html (but I don't know how old this is or if the info is still valid).

The Boom plays an MP4 file from the local drive. Squeezelite and Baby do not play the MP4 file.

The Boom and Baby play this stream: https://ais-sa5.cdnstream1.com/2133_64.aac. Squeezelite runs the clock but no audio.

sspiff commented 6 months ago

FROM THE BOOM RADIO THAT WON'T PLAY

FROM THE BABY RADIO THAT PLAYS

Do you know if you are able to play mp4/aac streams from other sources?

The Boom plays an MP4 file from the local drive. Squeezelite and Baby do not play the MP4 file.

The Boom and Baby play this stream: https://ais-sa5.cdnstream1.com/2133_64.aac. Squeezelite runs the clock but no audio.

So... the Boom will play a local MP4 file, but not the MP4 stream from Pyrrha? While the baby will play the MP4 stream from Pyrrha, but not the local MP4 file?

Archcantor commented 6 months ago

FROM THE BOOM RADIO THAT WON'T PLAY

FROM THE BABY RADIO THAT PLAYS

Do you know if you are able to play mp4/aac streams from other sources?

The Boom plays an MP4 file from the local drive. Squeezelite and Baby do not play the MP4 file. The Boom and Baby play this stream: https://ais-sa5.cdnstream1.com/2133_64.aac. Squeezelite runs the clock but no audio.

So... the Boom will play a local MP4 file, but not the MP4 stream from Pyrrha? While the baby will play the MP4 stream from Pyrrha, but not the local MP4 file?

Correct. I also installed QuickTime per your link and confirmed Lame is enabled. No change. The latest QuickTime is old from 2016. I should mention LMS is the 64 bit Dev version.

sspiff commented 6 months ago

If I set my squeezelite player to only accept mp3, then I get similar "Couldn't create command line" errors on LMS on Linux.

AnonymousLMSUser commented 6 months ago

"Couldn't create command line for mp4" error is not specific to Windows. I can confirm consistent behavior with older hardware connected to a linux-based LMS. However, a functional workaround already exists thanks to forum user bpa and the "Play MP4 files & streams" plugin. To add to LMS, add the following third-party plugin URL to Additional Repositories under Manage Plugins: http://downloads.sourceforge.net/project/bpaplugins/repo-playmp4.xml

Archcantor commented 6 months ago

http://downloads.sourceforge.net/project/bpaplugins/repo-playmp4.xml

In case this helped with LMS in Windows I installed this plugin. No Change. The Boom and Duets do not play the free Pandora stream. The display on the Boom returns "Problem: Unable to play file" Starting the Boom stream with Squeezectrl on Android returns "Unable to play file type for: [stream name]

Squeezelite and Baby radios play fine.

sspiff commented 6 months ago

I think I've got a fix in the works. Need to do some more testing, but seems promising.