Forum Replies Created
-
Posted in: Allo USB Bundle
-
24. Juli 2017 at 17:35 #30104
Heiner, if you read up the thread you will see that I started it – and I spent a week answering questions and tweaking on this and on another thread on this site and got nowhere.
The only thing I changed to have a working solution was from Max2Play to PiCore Player – both based on LMS… and my Server hasn’t been changed at all. So I think it is fair to say that Max2Play has an issue / bug that does not exist in PiCore Player.
24. Juli 2017 at 16:32 #30091The reason is simple – PiCore Player just works – Max2Play doesn’t.
I wasted a week trying then finally switched. I and others asked for help with this same problem – the solution was to move to PiCore Player.
Perhaps you should try and solve the problem as there must be a bug…
- This reply was modified 7 years, 3 months ago by anotbot.
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…
22. Mai 2017 at 15:32 #29003No problem, glad you got it working. Have you tried the forum : http://forums.slimdevices.com/showthread.php?107352-Announce-piCorePlayer-3-20
22. Mai 2017 at 12:16 #28994no, but just format as fat32 and master boot record and then use etcher or what ever you used previously… or buy another SD card if you want to keep your existing card.
Once you get the card written, just pop it in the pi, start it up and then use Fing or similar to get the Pi’s address, pop that in your web browser. Go to squeezelite page, select your DAC and restart Squeezelite… now go to wifi page put in your network details and switch on Pi wifi if using that and restart… restart Pi and probably good idea to restart your LMS server at this point… and that should be you. At the bottom the PiCorePlayer page there are some additional tabs – there is an advanced one that gives access to many more features and lets you add shairport if you need it. You can also add LMS and if you want to play with the DSP filters you can access those on the Squeezelite page.
Main thing though is my players now work fine over wifi… I suspect there is a bug in Max2Play that was causing our problem. I also suspect that the driver for my Allo Piano 2.1 DAC isn’t working correctly in 2.0 mode and is why I’m now getting the bass that was missing.
Good luck… oh there is a really helpful forum for PiCore there is a link on web interface 🙂
- This reply was modified 7 years, 5 months ago by anotbot.
18. 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
18. Mai 2017 at 14:00 #28923Hi Mohammad,
I have also tried using the LMS on the Pi and get exactly the same results and using -s livingroom.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 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 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 🙂
12. Mai 2017 at 12:39 #28817Hi Mohammad
Hardware /Software
Player 1 : Pi 3B / Justboom Dac – Max2play (Justboom) 2.4.2 / Squeezelite (wifi)Player 2 : Pi 3B / Allo Kali + Piano2.1 – Max2Play (Allo) 2.4.2 / Squeezelite (tried both wifi & ethernet) / Squeeze Server 7.9 nightly – music on USB SSD.
Player 3 : MacPro 2 / Squeezeplay ( ethernet ) this plays fine.
Player 4 : iPad / iPeng (wifi) this plays fine.
Remote server 1 : Player 2 above
Remote server 2 : MacPro 1 / LMS 7.7.5 then updated to 7.9.1 – music on internal SSD.
In use :
Players 3 & 4 always work, whether connected to server 1 or 2.
The Pi players only work with directly connected SSD, with either remote server (Pi or MacPro) tracks play for a couple of seconds then stop, try again same behaviour.
Hope you can help 🙂
8. 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?
-