Max2Play Home › Forums › Max2Play as Squeezebox (Player / Server) › HELP! Squeezelite player will not start up..
Tagged: Allo, Piano 2.1, Squeezelite Player
- This topic has 18 replies, 5 voices, and was last updated 6 years, 10 months ago by Heiner premium.
-
5. Mai 2017 at 18:51 #28727
Hi I have been struggling with this for a few hours now and getting nowhere. I have another Max2play system with a JustBoom card which worked very easily… but now trying to get a Pi3 + Kali + Piano 2.1 to work and the squeezelite player just refuses to startup – I get this error :
Trying to launch … NOT successful Click here to show detailed information
[18:45:01.718558] test_open:384 playback open error: No such device
[18:45:01.718801] output_init_common:382 unable to open output deviceI have configured the Allo Piano 2.1 and downloaded the kernel update rebooted numerous times, reflashd the card and started again – 3 times now… always same problem 🙂
I’m sure it’s something simple, any help would be much appreciated 🙂
Thank you!
8. Mai 2017 at 13:34 #28747Hi anotbot,
How did you configure Allo Piano 2.1 ? have you used the same image that includes JustBoom plugin ?
We recommend you to burn new image and make sure it is up to date. And try again to start squeezelite, but in most cases, the cause of the „No such device“ is a hardware malfunction of the sound card, please make sure that the card is working properly.
Best Regards,
Mohammad Mbydeen8. Mai 2017 at 14:34 #28751Hi Mohammad
Thank you for getting back to me.
I finally got it working by removing the DAC and fitting it again. Seems it was a connection issue between the Kali and Piano.
I am however having another issue with both my Pi players ( Justboom and the Kali+Piano 2.1) when running the squeezelite player with a remote squeezebox server. They both work fine when using a local squeezebox server on a connected usb drive, but if using a remote server, only the first few seconds of a track is played then the player goes silent. They will sometimes play a full album, then when you change album, it is back to the same behaviour of only playing a few seconds before going silent.
I have tried everything I can think of, I have turned off everything except squeezelite on the Pi’s, but still the same problem. I can however play fine from the remote squeezebox server by using iPeng on my iPad… so server / signal doesn’t seem to be the problem.
Do you have any thoughts on how to solve this?
17. Mai 2017 at 11:20 #28882Hi anotbot,
I think this behaviour could be because you have multiple Squeezebox servers, we recommend you to have one LMS in the setup. Moreover, please try to add -s [server][:port] in the command line to connect to specified server, otherwise the squeezelite will use autodiscovery to find server.
Best Regards,
Mohammad Mbydeen18. Mai 2017 at 10:49 #28899Hi Mohammad,
I tried to post this reply on the other thread but, after making a minor edit, it failed to load, so trying again here :
Hi Mohammad,
I initially had just one server, the MacPro, but as that didn’t work I had to add the local SSD and Server to be able to use the player. I have tried adding the code as requested to the command line :
-o hw:CARD=sndrpijustboomd -V Digital -Q -s [macpro.local][:9000]
But when I do that the player is no longer visible to my controllers (iPeng,Squeezpad) … so I assume I’m doing something wrong?
I then tried command line option as specified here :https://www.max2play.com/en/wiki/command-line-options-for-squeezelite/
-o hw:CARD=sndrpijustboomd -V Digital -Q -s <192.168.0.7>[:<9000>]
but the player refuses to run when using that….
I then tried : – s 192.168.0.7:9000 but it still refuses to run.
Here is the debug from the JustBoom squeeze player:
#### SQUEEZELITE VERSION ####
Squeezelite Max2Play v1.0.1 based on v1.8.4-726, Copyright 2012-2015 Adrian Smith, 2015-2016 Ralph Irving.#### SQUEEZELITE BUILDOPTIONS ####
Build options: LINUX ALSA EVENTFD RESAMPLE FFMPEG VISEXPORT IR GPIO DSD CONTROLSBS ALSASYNC BLUETOOTHSYNC#### AUDIOPLAYER CONFIG ####
### Configuration of Audioplayers
SQUEEZELITE_PARAMETER=-o sysdefault:CARD=sndrpijustboomd -a 80:4:: -o hw:CARD=sndrpijustboomd -V Digital -Q
SQUEEZESLAVE_PARAMETER=-n plugequal
SHAIRPORT_PARAMETER=-d sysdefault:CARD=sndrpijustboomd -t hardware -m hw:CARD=sndrpijustboomd -c Digital
USE_USB_DAC=0
USE_EQUALIZER=0
SYSTEM_USER=pi
YMPD_PARAMETER=–webport 8081#### SQUEEZELITE -l ####
Output devices:
null – Discard all samples (playback) or generate zero samples (capture)
equal
plugequal – Equalizer for plughw:0,0
default:CARD=ALSA – bcm2835 ALSA, bcm2835 ALSA – Default Audio Device
sysdefault:CARD=ALSA – bcm2835 ALSA, bcm2835 ALSA – Default Audio Device
dmix:CARD=ALSA,DEV=0 – bcm2835 ALSA, bcm2835 ALSA – Direct sample mixing device
dmix:CARD=ALSA,DEV=1 – bcm2835 ALSA, bcm2835 IEC958/HDMI – Direct sample mixing device
dsnoop:CARD=ALSA,DEV=0 – bcm2835 ALSA, bcm2835 ALSA – Direct sample snooping device
dsnoop:CARD=ALSA,DEV=1 – bcm2835 ALSA, bcm2835 IEC958/HDMI – Direct sample snooping device
hw:CARD=ALSA,DEV=0 – bcm2835 ALSA, bcm2835 ALSA – Direct hardware device without any conversions
hw:CARD=ALSA,DEV=1 – bcm2835 ALSA, bcm2835 IEC958/HDMI – Direct hardware device without any conversions
plughw:CARD=ALSA,DEV=0 – bcm2835 ALSA, bcm2835 ALSA – Hardware device with all software conversions
plughw:CARD=ALSA,DEV=1 – bcm2835 ALSA, bcm2835 IEC958/HDMI – Hardware device with all software conversions
default:CARD=sndrpijustboomd – snd_rpi_justboom_dac, – Default Audio Device
sysdefault:CARD=sndrpijustboomd – snd_rpi_justboom_dac, – Default Audio Device
dmix:CARD=sndrpijustboomd,DEV=0 – snd_rpi_justboom_dac, – Direct sample mixing device
dsnoop:CARD=sndrpijustboomd,DEV=0 – snd_rpi_justboom_dac, – Direct sample snooping device
hw:CARD=sndrpijustboomd,DEV=0 – snd_rpi_justboom_dac, – Direct hardware device without any conversions
plughw:CARD=sndrpijustboomd,DEV=0 – snd_rpi_justboom_dac, – Hardware device with all software conversions#### SHAIRPORT VERSION ####
2.8.0-openssl-Avahi-ALSA-soxr#### OUTPUT SOUND DETAILS CARD 0 ####
closed#### OUTPUT SOUND DETAILS CARD 1 ####
access: RW_INTERLEAVED
format: S32_LE
subformat: STD
channels: 2
rate: 44100 (44100/1)
period_size: 882
buffer_size: 3528<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Here is the debug from the Kali/Piano 2.1 player:
#### SQUEEZELITE VERSION ####
Squeezelite Max2Play v1.0.2 based on v1.8.4-726, Copyright 2012-2015 Adrian Smith, 2015-2016 Ralph Irving.#### SQUEEZELITE BUILDOPTIONS ####
Build options: LINUX ALSA EVENTFD RESAMPLE FFMPEG VISEXPORT IR GPIO DSD CONTROLSBS ALSASYNC BLUETOOTHSYNC#### AUDIOPLAYER CONFIG ####
### Configuration of Audioplayers
SQUEEZELITE_PARAMETER=-o default:CARD=PianoDACPlus -o hw:CARD=PianoDACPlus -V Digital -a 80:4::
SQUEEZESLAVE_PARAMETER=-n plugequal
SHAIRPORT_PARAMETER=-d default:CARD=PianoDACPlus -t hardware -m hw:CARD=PianoDACPlus -c Digital
USE_USB_DAC=0
USE_EQUALIZER=0
SYSTEM_USER=pi
GMEDIARENDER_ALSA_DEVICE=plug:equal#### SQUEEZELITE -l ####
Output devices:
null – Discard all samples (playback) or generate zero samples (capture)
equal
plugequal – Equalizer for plughw:0,0
headphonesplug
bs2b
headphones
default:CARD=PianoDACPlus – PianoDACPlus, – Default Audio Device
sysdefault:CARD=PianoDACPlus – PianoDACPlus, – Default Audio Device
dmix:CARD=PianoDACPlus,DEV=0 – PianoDACPlus, – Direct sample mixing device
dsnoop:CARD=PianoDACPlus,DEV=0 – PianoDACPlus, – Direct sample snooping device
hw:CARD=PianoDACPlus,DEV=0 – PianoDACPlus, – Direct hardware device without any conversions
plughw:CARD=PianoDACPlus,DEV=0 – PianoDACPlus, – Hardware device with all software conversions#### SHAIRPORT VERSION ####
2.8.0-openssl-Avahi-ALSA-soxr#### OUTPUT SOUND DETAILS CARD 0 ####
access: RW_INTERLEAVED
format: S32_LE
subformat: STD
channels: 2
rate: 44100 (44100/1)
period_size: 882
buffer_size: 3528#### OUTPUT SOUND DETAILS CARD 1 ###
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<Here is a download link for the MacPro LMS log file : https://www.dropbox.com/s/43vzlkjepealw5t/server.log?dl=0
Many thanks for your help 🙂
18. Mai 2017 at 11:53 #28907Hi anotbot,
You can check the port number form the web-interface of LMS, but try to add the Server without the port like this -s macpro.local . unfortunately we could not provide a technical support for the LMS on Apple Mac. However, you can post your question on the slim devices forum:
http://forums.slimdevices.com/index.php
Best Regards,
Mohammad Mbydeen18. Mai 2017 at 13:57 #28922Hi Mohammad,
I have also tried using the LMS on the Pi and get exactly the same results and using the -s living room.local makes no difference.
If however I try and add the port :9000 or [:9000] I either get a command line error, or if it works, all the players disappear from my controller… so that doesn’t work either…
Here is the debug from the Pi max2play server :
#### SQUEEZESERVER LOG ####
[17-05-17 18:41:25.7579] Slim::Networking::Slimproto::client_readable (414) Client not found for slimproto msg op: STAT from 192.168.0.12
[17-05-17 18:51:29.8389] Slim::Formats::readTags (166) File missing: /media/usb/Music/Compilations/Five Hand Reel _ For A‘ That _ Earl O’Moray/2-17 Freedom Come-All-Ye.m4a
[17-05-17 18:52:15.9128] Slim::Utils::Timers::__ANON__ (273) Error: Timer Slim::Web::Cometd::sendResponse failed:
[17-05-17 18:53:04.3483] Slim::Player::Protocols::File::open (102) Error: could not open /media/usb/Music/Compilations/Five Hand Reel _ For A‘ That _ Earl O’Moray/2-17 Freedom Come-All-Ye.m4a: No such file or directory
[17-05-17 18:53:04.3497] Slim::Player::Song::open (471) Warning: stream failed to open [tmp:///media/usb/Music/Compilations/Five%20Hand%20Reel%20_%20For%20A%27%20That%20_%20Earl%20O%27Moray/2-17%20Freedom%20Come-All-Ye.m4a].
[17-05-17 18:53:12.2227] Slim::Player::Protocols::File::open (102) Error: could not open /media/usb/Music/Compilations/Five Hand Reel _ For A‘ That _ Earl O’Moray/2-17 Freedom Come-All-Ye.m4a: No such file or directory
[17-05-17 18:53:12.2234] Slim::Player::Song::open (471) Warning: stream failed to open [tmp:///media/usb/Music/Compilations/Five%20Hand%20Reel%20_%20For%20A%27%20That%20_%20Earl%20O%27Moray/2-17%20Freedom%20Come-All-Ye.m4a].
[17-05-17 18:53:15.8443] Slim::Utils::Timers::__ANON__ (273) Error: Timer Slim::Web::Cometd::sendResponse failed: illegal file descriptor or filehandle (either no attached file descriptor or illegal value): at /usr/share/perl5/Slim/Networking/IO/Select.pm line 134.
[17-05-17 18:54:14.9176] Slim::Utils::Timers::__ANON__ (273) Error: Timer Slim::Web::Cometd::sendResponse failed: illegal file descriptor or filehandle (either no attached file descriptor or illegal value): at /usr/share/perl5/Slim/Networking/IO/Select.pm line 134.
[17-05-17 19:58:30.0733] Slim::Plugin::UPnP::Events::error (323) Subscribe/unsubscribe error: 412 Precondition Failed
[17-05-17 19:58:30.1036] Slim::Plugin::UPnP::Events::error (323) Subscribe/unsubscribe error: 412 Precondition Failed
[17-05-17 20:58:28.6592] Slim::Plugin::UPnP::Events::error (323) Subscribe/unsubscribe error: 412 Precondition Failed
[17-05-17 20:58:28.6915] Slim::Plugin::UPnP::Events::error (323) Subscribe/unsubscribe error: 412 Precondition Failed
[17-05-17 21:58:27.2543] Slim::Plugin::UPnP::Events::error (323) Subscribe/unsubscribe error: 412 Precondition Failed
[17-05-17 21:58:27.2988] Slim::Plugin::UPnP::Events::error (323) Subscribe/unsubscribe error: 412 Precondition Failed
[17-05-18 09:03:29.8931] Slim::Web::JSONRPC::requestMethod (443) b8:27:eb:d3:61:3a: request not dispatchable!
[17-05-18 09:03:34.9497] Slim::Web::JSONRPC::requestMethod (443) b8:27:eb:d3:61:3a: request not dispatchable!
[17-05-18 09:03:40.0044] Slim::Web::JSONRPC::requestMethod (443) b8:27:eb:d3:61:3a: request not dispatchable!
2017-05-18 09:08:11 squeezeboxserver_safe stopped.
2017-05-18 12:16:27 squeezeboxserver_safe started.
[17-05-18 12:16:32.3580] main::init (387) Starting Logitech Media Server (v7.9.1, 1493198727, Sat Apr 29 04:38:50 UTC 2017) perl 5.020002 – arm-linux-gnueabihf-thread-multi-64int
[17-05-18 12:16:36.8669] Plugins::NPRRadio::Metadata::init (21) Register NPR meta provider, default icon=
[17-05-18 12:27:32.7936] Slim::Networking::Slimproto::client_readable (414) Client not found for slimproto msg op: STAT from 192.168.0.12
[17-05-18 12:32:14.0424] Slim::Networking::Slimproto::client_readable (414) Client not found for slimproto msg op: STAT from 192.168.0.12
[17-05-18 12:32:24.1567] Slim::Networking::Discovery::Players::_players_error (146) Unable to get players: Timed out waiting for data
[17-05-18 12:41:24.0725] Slim::Networking::Slimproto::client_readable (414) Client not found for slimproto msg op: STAT from 192.168.0.12#### PERL VERSION ####
v5.20.2Server currently works fine with the local player on the same Pi (kalli/piano), but only plays first couple of seconds of tracks when server being used by the remote pi (just boom).
18. Mai 2017 at 14:49 #28926Hi anotbot,
Have you checked the Samba Share settings ? I can see this error in the log:
Slim::Player::Protocols::File::open (102) Error: could not open /media/usb/Music/Compilations/Five Hand Reel _ For A’ That _ Earl O’Moray/2-17 Freedom Come-All-Ye.m4a: No such file or directory
Please recheck this directory again in the LMS and Samba Share.
Best Regards,
Mohammad Mbydeen18. Mai 2017 at 15:56 #28929Hi Mohammad,
The Samba share was fine, but I changed it to usb0 rather than usb and rescanned – but both are mapped to the same library. Again no difference – the Pi player max2play Justboom only plays a couple of seconds. However, the local player on the server livingroom.local Pi (Kali/Piano), plays fine, as does a SqueezePlay player on one of my desk macs and a SqueezePad player on my iPad – this is the same controller that is being used with the max2play squeezelite player on the Pi – which fails. The controller is seeing the LMS at 192.168.0.16:9000 which is livingroom.local and is correct.
Can you please confirm what the command line should be – I have tried all options I can think of and none make a difference to playback or cause the players to disappear – I have tried :
-o hw:CARD=sndrpijustboomd -V Digital -Q -s livingroom.local:9000
-o hw:CARD=sndrpijustboomd -V Digital -Q -s livingroom.local [:9000]
-o hw:CARD=sndrpijustboomd -V Digital -Q -s livingroom.local
It is only the max2play players that have a problem playing from a remote LMS 🙁
cheers
Phil
28. Mai 2017 at 14:07 #29085Hi,
i have the same problem with this „-s“ command. Its just not working.
Either the Player won´t start or the Squeezebox-Server crashes and can´t find any other Players.31. Mai 2017 at 12:21 #29135Hi Phil and Fuselx,
So sorry about the inconvenience and having to keep you waiting. We are currently transferring some support.
What is the result if you currently try playing to the players without the -s command line?
- This reply was modified 7 years, 5 months ago by Heiner.
31. Mai 2017 at 14:13 #29142As I said previously, the -s command makes no difference. I have however found a solution, I changed to PiCore Player which just works and gives more control over the DAC. I suspect there is a bug in your software as I wasn’t the only person having this problem – there are other threads…
6. Juni 2017 at 9:26 #29236Hi,
the -s command doesn´t do anything. And without it, every Player chooses another Squeezebox-server after a reboot.
I need two Squeezbox-servers, one for the livingroom and the other for experimenting.6. Juni 2017 at 12:53 #29269Hi guys,
The -s command definitely works. It is in use constantly in our test environment.
Please try using the IP address of your server device instead of the name. The name can lead to issues sometimes.6. Juni 2017 at 17:13 #29309Hi Heiner,
could you please copy/paste the exact commandline which works in your test environment?
I tried it again with the IP Adress and Hostname, nothing works..
7. Juni 2017 at 12:31 #29332Hi guys,
Sorry about the hassle.
We isolated the problem to the port addition and the „local“.
Please try one of these command line instead:
-s 192.168.0.16 -o hw:CARD=sndrpijustboomd -V Digital -Q -s livingroom -o hw:CARD=sndrpijustboomd -V Digital -Q
20. Januar 2018 at 23:02 #33566I may look or sound dumb but I just dont understand. I am using m2p since this afternoon and:
I can access the web interface, have the screen one and I can see my other players but… I can not access my server that run on 192.168.1.10:9001
when I ssh the server the ‚-s‘ command is unknown, am I missing something obvious ?
How do I set the server and PORt from the touchscreen interface or command line ?Many thanks !
O22. Januar 2018 at 15:57 #33596Hi dato,
If you have it on Max2Play, please try reinstalling it. Which version did you install? Please try 7.9 proper.
-
You must be logged in to reply to this topic.