Re: [SlimDevices: Plugins] Help with Sox LMS 8.0.0
Hi! I have Synology DS213j (armada370) , running LMS 8.0.0 , and using SqueezeBox Classic player. I had the similar issue with sox since upgrade LMS from 7.7.6 to 8.0.0. High resolution files were not played. After checking this thread, I checked sox binary directly, if it's running manually from shell. So on my Synology I run: Code: cd /volume1/@appstore/SqueezeCenter/Bin/ ./sox --version Segmentation fault (core dumped) So sox didn't run at all. Then I just extracted sox binary from the 7.7.6 arm370 LMS package (LogitechMediaServer-armada370-8.0.0-1605892076.spk more exactly). It can be opened by 7-Zip, and sox will be found here in package: LogitechMediaServer-armada370-7.7.6-116.spk\package.tgz\package\Bin\sox I've copied this sox binary to Synology, then copied it to relevant path: Code: cd /volume1/@appstore/SqueezeCenter/Bin/ mv sox sox.bak cp /volume1/Transmission/Prog/sox . ll sox --version ./sox: SoX v14.3.2 This binary works on my Synology. Just after this change, now all high-res files are playing correctly on SB Classic! :) FYI, I didn't change anything else, i.e. I have Native setting here: Settings -> Advanced -> File Types -> FLAC/FLAC: Native If I change it to Disabled, my Squeezebox Classic claims unsupported file format. Another my observation, when I play 96 or 192 kHz files , I see sox is running this way: Code: root@diskstation:/volume1/@appstore/SqueezeCenter/Bin# ps -ef | grep sox admin32076 25849 0 00:30 ?00:00:00 sh -c "/volume1/@appstore/SqueezeCenter/Bin/flac" -dcs -- - | "/volume1/@appstore/SqueezeCenter/Bin/sox" -q -t wav - -t flac -C 0 -r 48000 - admin32078 32076 16 00:30 ?00:00:23 /volume1/@appstore/SqueezeCenter/Bin/sox -q -t wav - -t flac -C 0 -r 48000 - root 32128 22938 0 00:33 pts/100:00:00 grep --color=auto sox root@diskstation:/volume1/@appstore/SqueezeCenter/Bin# So it seems my files are converted to 48000 kHz. batka's Profile: http://forums.slimdevices.com/member.php?userid=12908 View this thread: http://forums.slimdevices.com/showthread.php?t=113932 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Help with Sox LMS 8.0.0
bpa wrote: > Remember these can be patched/built for LMS which means it is possible > that (i) LMS specific stuff added, (ii) some functionality disabled (ii) > some old version feature are enabled (iii) some features added from > later version (iv) special build options chosen. Also, at some point, the sox developers removed the short command line options, which LMS uses in the convert.conf rules. So if you're using an OS supplied version of sox it will likely fail on any LMS transcoding rule that requires sox. The 02-restore-short-options.patch file adds them back to sox binaries included with LMS. Ralphy *1*-Touch, *5*-Classics, *3*-Booms, *2*-UE Radio 'Squeezebox client builds' (https://sourceforge.net/projects/lmsclients/files/) 'donations' (https://www.paypal.com/cgi-bin/webscr?cmd=_donations=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted) always appreciated. ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484 View this thread: http://forums.slimdevices.com/showthread.php?t=113932 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Help with Sox LMS 8.0.0
zzzap wrote: > Thanks, very informative! > > From 'slimserver-vendor/sox/buildme-linux.sh' I learn the following > version are current for LM 8.1.1 > > SOX=14.4.3 > FLAC=1.3.2 > OGG=1.3.3 > VORBIS=1.3.6 > OPUS=1.2.1 > OPUSFILE=0.11 > MAD=0.15.1b > MAD_SUB="-8" > WAVPACK=5.1.0 Remember these can be patched/built for LMS which means it is possible that (i) LMS specific stuff added, (ii) some functionality disabled (ii) some old version feature are enabled (iii) some features added from later version (iv) special build options chosen. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=113932 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Help with Sox LMS 8.0.0
bpa wrote: > LMS 3rd party tools are handled through this > https://github.com/Logitech/slimserver-vendor > > YOu can see any LMS specific patches etc. Thanks, very informative! >From 'slimserver-vendor/sox/buildme-linux.sh' I learn the following version are current for LM 8.1.1 SOX=14.4.3 FLAC=1.3.2 OGG=1.3.3 VORBIS=1.3.6 OPUS=1.2.1 OPUSFILE=0.11 MAD=0.15.1b MAD_SUB="-8" WAVPACK=5.1.0 zzzap's Profile: http://forums.slimdevices.com/member.php?userid=31947 View this thread: http://forums.slimdevices.com/showthread.php?t=113932 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Help with Sox LMS 8.0.0
zzzap wrote: > Can I ask which version of SoX are packaged with LMS 8.1.1? > > On my RPi all files in the /usr/share/squeezeboxserver/Bin/arm-linux > folder have timestamp Aug 3 2009. LMS 3rd party tools are handled through this https://github.com/Logitech/slimserver-vendor YOu can see any LMS specific patches etc. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=113932 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Help with Sox LMS 8.0.0
Can I ask which version of SoX are packaged with LMS 8.1.1? On my RPi all files in the /usr/share/squeezeboxserver/Bin/arm-linux folder have timestamp Aug 3 2009. zzzap's Profile: http://forums.slimdevices.com/member.php?userid=31947 View this thread: http://forums.slimdevices.com/showthread.php?t=113932 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Help with Sox LMS 8.0.0
Many Synology owners are now using Docker and running the latest and greatest LMS version within a Docker container. HB 1 x Duet, 3 x Yamaha Restio, 3 x Radio, 2 x Touch with iPeng 9 served by Synology DS2419+, Docker and LMS 8.2.0 HeadBanger's Profile: http://forums.slimdevices.com/member.php?userid=38024 View this thread: http://forums.slimdevices.com/showthread.php?t=113932 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Help with Sox LMS 8.0.0
With Tidal you may come across 8.0.0 shortcomings so perhaps it is time to start thinking about a Pi for LMS and files staying on Synology as it seems to be the well trodden path for Synology users. In the meantime, if you need sox - you could send a PM to Ralphy - he has built the 3rd party tools for various platforms. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=113932 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Help with Sox LMS 8.0.0
Actually I have resolved the Tidal stuttering issue another way, by disabling "native" Flac in Setting/Advanced /Filetypes as per this thread: https://forums.slimdevices.com/showthread.php?112300-Attention-TIDAL-users-changes-ahead!/page33 lucifer-chops's Profile: http://forums.slimdevices.com/member.php?userid=70415 View this thread: http://forums.slimdevices.com/showthread.php?t=113932 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Help with Sox LMS 8.0.0
For Tidal, I think you should update to 8.1.* - when 8.0.0 was released, it was quickly updated as it had bugs. 8.1.* had even more fixes and bugs especially for Tidal Code: [21-02-13 17:44:22.4482] Slim::Player::TranscodingHelper::tokenizeConvertCo mmand2 (641) Using command for conversion: "/volume1/@appstore/SqueezeCenter/Bin/sox" -q -t flac - -t flac - [21-02-13 17:44:22.4487] Slim::Player::Song:: open (565) Tokenized command: "/volume1/@appstore/SqueezeCenter/Bin/sox" -q -t flac - -t flac - [21-02-13 17:44:22.4716] Slim::Player::StreamingController::_Stream (1282) 00:04:20:07:0b:98: stream [21-02-13 17:44:22.4745] Slim::Player::StreamingController::_Stream (1319) Song queue is now 2 [21-02-13 17:44:22.4752] Slim::Player::StreamingController::_setPlayingStat e (2377) new playing state BUFFERING [21-02-13 17:44:22.4757] Slim::Player::StreamingController::_setStreamingSt ate (2386) new streaming state STREAMING [21-02-13 17:44:22.5640] Slim::Player::Source::_readNextChunk (372) end of file or error on socket, song pos: 0 [21-02-13 17:44:22.5646] Slim::Player::Source::_readNextChunk (377) 00:04:20:07:0b:98 mark end of stream [21-02-13 17:44:22.5651] Slim::Player::Source::_readNextChunk (385) Didn't stream any bytes for this song; mark it as failed [21-02-13 17:44:22.5656] Slim::Player::StreamingController:: playerStreamingFailed (2248) 00:04:20:07:0b:98 [21-02-13 17:44:22.5667] Slim::Player::StreamingController::_playersMessage (796) Problem: Can't open file for:: wimp://96206243.flac The "end of file" error is typical of a problem in transcoding and since only sox in trasncoding - I think your version of sox doesn't run on your system Maybe missing libraries, maybe wrong architecture (e.g. armhf instead of armle). Your sox reside at */volume1/@appstore/SqueezeCenter/Bin/sox* - you could try to run it form a shell prompt. If it doesn't run, you could probably replace it with a good version from older LMS since sox hasn't changed much. If a "bad" sox was packaged with LMS 8.0.0 , it may be a good reason to try 8.1.* as a good version may now be packaged. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=113932 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Help with Sox LMS 8.0.0
Thanks thats helpful. I dont think upgrading LMS is an option for me as Im running it on a synology NAS and its no longer being maintained. I will see if I can work out how to revert the instance of Sox. Thanks Luke lucifer-chops's Profile: http://forums.slimdevices.com/member.php?userid=70415 View this thread: http://forums.slimdevices.com/showthread.php?t=113932 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Help with Sox LMS 8.0.0
Thanks for the suggestion. I have set player.source logging to Info. Below extract shows song successfully playing at 17.39 using the default convert.conf. I then stopped the LMS server, added the custom-convert.conf, restarted it and tried to play the same song at 17.44. For some reason it then fails to start streaming ... [21-02-13 17:37:45.4451] main::init (388) Starting Logitech Media Server (v8.0.0, 1605892076, Fri Nov 20 18:28:44 CET 2020) perl 5.024000 - armle-linux [21-02-13 17:39:30.4790] Slim::Player::StreamingController::jumpToTime (2166) 00:04:20:07:0b:98 [21-02-13 17:39:30.4802] Slim::Player::StreamingController::_Stop (610) Song queue is now 2 [21-02-13 17:39:30.4816] Slim::Player::StreamingController::_setPlayingState (2377) new playing state STOPPED [21-02-13 17:39:30.4821] Slim::Player::StreamingController::_setStreamingState (2386) new streaming state IDLE [21-02-13 17:39:30.4826] Slim::Player::StreamingController::_Stream (1136) 00:04:20:07:0b:98: got song from params, song index 2 [21-02-13 17:39:30.4831] Slim::Player::StreamingController::_Stream (1210) Song queue is now 2 [21-02-13 17:39:30.4835] Slim::Player::StreamingController::_Stream (1213) 00:04:20:07:0b:98: preparing to stream song index 2 [21-02-13 17:39:30.4840] Slim::Player::Song:: open (367) wimp://96206243.flac [21-02-13 17:39:30.4848] Slim::Player::Song:: open (391) seek=false time=0 canSeek=1 [21-02-13 17:39:30.4858] Slim::Player::TranscodingHelper::getConvertCommand2 (470) Matched: flc->flc via: - [21-02-13 17:39:30.4863] Slim::Player::Song:: open (412) Transcoder: streamMode=I, streamformat=flc [21-02-13 17:39:30.4869] Slim::Player::Song:: open (468) Opening stream (no direct streaming) using Slim::Plugin::WiMP::ProtocolHandler [wimp://96206243.flac] [21-02-13 17:39:30.6137] Slim::Player::Song:: open (489) URL is a song (audio): wimp://96206243.flac, type=flc [21-02-13 17:39:30.6155] Slim::Player::StreamingController::_Stream (1282) 00:04:20:07:0b:98: stream [21-02-13 17:39:30.6178] Slim::Player::StreamingController::_Stream (1319) Song queue is now 2 [21-02-13 17:39:30.6185] Slim::Player::StreamingController::_setPlayingState (2377) new playing state BUFFERING [21-02-13 17:39:30.6190] Slim::Player::StreamingController::_setStreamingState (2386) new streaming state STREAMING [21-02-13 17:39:30.7423] Slim::Player::Player::_buffering (1144) Buffering... 0 / 245760 [21-02-13 17:39:30.7429] Slim::Player::Player::_buffering (1145) +output... 3500800 / 1058400 [21-02-13 17:39:30.9007] Slim::Player::StreamingController:: playerTrackStarted (2200) 00:04:20:07:0b:98 [21-02-13 17:39:30.9013] Slim::Player::StreamingController::_setPlayingState (2377) new playing state PLAYING [21-02-13 17:39:30.9018] Slim::Player::StreamingController::_Playing (368) Song 2 has now started playing [21-02-13 17:39:30.9030] Slim::Player::StreamingController::_Playing (397) Song queue is now 2 [21-02-13 17:42:38.9482] Slim::Player::StreamingController:: pause (2136) 00:04:20:07:0b:98 [21-02-13 17:42:38.9490] Slim::Player::StreamingController::_setPlayingState (2377) new playing state PAUSED [21-02-13 17:42:38.9511] Slim::Player::Source:: playmode (95) 00:04:20:07:0b:98: Current playmode: pause [21-02-13 17:42:38.9567] Slim::Player::StreamingController::_CheckPaused (438) Stopping remote stream upon full buffer when paused [21-02-13 17:42:38.9588] Slim::Player::StreamingController::_setStreamingState (2386) new streaming state IDLE [21-02-13 17:42:56.6481] Slim::Utils::Misc::msg (1266) Warning: [17:42:56.6474] Argument "" isn't numeric in numeric gt (>) at /volume1/@appstore/SqueezeCenter/Slim/Plugin/AudioScrobbler/HTML/EN/plugins/AudioScrobbler/settings/basic.html line 6. [21-02-13 17:43:27.7053] main::init (388) Starting Logitech Media Server (v8.0.0, 1605892076, Fri Nov 20 18:28:44 CET 2020) perl 5.024000 - armle-linux [21-02-13 17:44:21.6541] Slim::Player::StreamingController:: play (2120) 00:04:20:07:0b:98 [21-02-13 17:44:21.6560] Slim::Player::StreamingController::_Stop (610) Song queue is now 2 [21-02-13 17:44:21.6569] Slim::Player::StreamingController::_setPlayingState (2377) new playing state STOPPED [21-02-13 17:44:21.6577] Slim::Player::StreamingController::_setStreamingState (2386) new streaming state IDLE [21-02-13 17:44:21.6591] Slim::Player::Song::new (108) index 2 -> wimp://96206243.flac [21-02-13 17:44:21.6605] Slim::Player::StreamingController::_setStreamingState (2386) new streaming state TRACKWAIT [21-02-13 17:44:21.6629] Slim::Player::StreamingController::_playersMessage (796) Getting stream info...: wimp://96206243.flac [21-02-13 17:44:21.] Slim::Player::Song::getNextSong (230) wimp://96206243.flac [21-02-13 17:44:21.6677] Slim::Player::Song::getNextSong (252) scanning URL wimp://96206243.flac [21-02-13 17:44:21.6689] Slim::Player::Song::getNextSong (230) wimp://96206243.flac [21-02-13 17:44:22.3180] Slim::Player::StreamingController::_nextTrackReady (744) 00:04:20:07:0b:98: nextTrack will be index 2 [21-02-13
Re: [SlimDevices: Plugins] Help with Sox LMS 8.0.0
I'd advise get a log of trying to play a Flac track with player.source set to INFO. This will show whether the custom convert is working correctly and if not how LMS is trying to invoke sox. Usually there is a tab before the "[sox]" in the conf file but not sure if it is significant or whether it is just not being shown by forum bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=113932 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
[SlimDevices: Plugins] Help with Sox LMS 8.0.0
Until recently I have been running an old version of LMS (7.7 I think) on a Synology NAS, streaming lossless from Tidal and also from a local music folder. I had an issue with some Tidal hi res files causing stuttering which I was able to resolve thanks to someone on here suggesting switching to Sox transcoding via a custom-convert.conf. All was working fine until recently when Tidal stopped working, with a message saying Tidal authentication was no longer supported with versions of LMS below 8.0. I bit the bullet and upgraded the NAS to LMS 8.0.0 and that fixed the Tidal authentication problem. However, the stuttering issue has returned on some hi res Tidal files. Sure enough, the new installation of LMS had wiped out my custom-convert.conf file. So I recreated it, exactly as before: flc flc * * [sox] -q -t flac $FILE$ -t flac - But this time, no joy. As soon as I re-start LMS with the custom-convert.conf in place, streaming no longer works, either via Tidal or local music folder. I'm able to navigate to the selected song but as soon as I hit play nothing happens. If I do it via the ipeng interface I see a message 'File not available'. As soon as I remove the custom-convert.conf everything starts working again. I wondered if sox was not packaged with LMS 8.0.0 but I see there is a sox file in the Bin folder. I had a look at the server log and I can see some entries 'client_readable (413) Client not found for slimproto msg op' that seem to correspond with attempts to play songs, that stop appearing when I remove the custom-convert.conf. Any help or suggestions most appreciated. thanks Luke lucifer-chops's Profile: http://forums.slimdevices.com/member.php?userid=70415 View this thread: http://forums.slimdevices.com/showthread.php?t=113932 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins