Snakeoil Forums

Full Version: Final Maintenance Update for 0.1.x series - v0.1.5d (Power Cable)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
(09-Jun-2017, 10:36 AM)Bromf Wrote: [ -> ]Reinstalled sox. Works as before... closer and closer.... just need that sox version for C-3PO and some way to install it... like a ppa.
Sox in /usr/bin? Or in the LMS directory? Once you install SOX in the LMS directory. Reboot the computer and see which one LMS picks up...
lms directory would be ?     /usr/sbin/squeezeboxserver ?
(09-Jun-2017, 11:28 AM)Bromf Wrote: [ -> ]lms directory would be ?     /usr/sbin/squeezeboxserver ?

For 64bit systems, it's at /usr/share/squeezeboxserver/Bin/x86_64-linux:
Code:
snakeoil@snakeoiltest:/usr/share/squeezeboxserver/Bin/x86_64-linux$ ls -l
total 8264
-rwxr-xr-x 1 root root 1304904 Oct 15  2016 faad
-rwxr-xr-x 1 root root 1902394 Oct 15  2016 flac
-rwxr-xr-x 1 root root 4995368 Oct 15  2016 sox
-rwxr-xr-x 1 root root  251472 Oct 15  2016 wvunpack
You'd need to rename the downloaded file back to sox, and things would work again.
Aha I see where I have being going wrong . Thanks ! found the downloaded package but permissions are not as you show.

I have been downloading as sudo as my user. Do I need to do that as root ?   Snakeoil ? password ?

-rwxr-xr-x 1 root root 1304904 Mar  9 03:00 faad
-rwxr-xr-x 1 root root 1902394 Mar  9 03:00 flac
-rw-r--r-- 1 root root 3185432 Mar 15 04:20 sox-dsd-linux-gnu-amd64
-rwxr-xr-x 1 root root  251472 Mar  9 03:00 wvunpack
(09-Jun-2017, 12:06 PM)Bromf Wrote: [ -> ]Aha I see where I have being going wrong . Thanks ! found the downloaded package but permissions are not as you show.

I have been downloading as sudo as my user. Do I need to do that as root ?   Snakeoil ? password ?

-rwxr-xr-x 1 root root 1304904 Mar  9 03:00 faad
-rwxr-xr-x 1 root root 1902394 Mar  9 03:00 flac
-rw-r--r-- 1 root root 3185432 Mar 15 04:20 sox-dsd-linux-gnu-amd64
-rwxr-xr-x 1 root root  251472 Mar  9 03:00 wvunpack

when you run "sudo", you're doing it as root. e.g. something like:
Code:
sudo mv sox-dsd-linux-gnu-amd64 sox

Seems this file is even smaller than the stock version. Think I'd update sox on the official ISO build then.. Save a few bytes Big Grin .
ok, now looks like this....
-rwxr-xr-x 1 root root 1304904 Mar  9 03:00 faad
-rwxr-xr-x 1 root root 1902394 Mar  9 03:00 flac
-rw-r--r-- 1 root root 3185432 Mar 15 04:20 sox
-rwxr-xr-x 1 root root  251472 Mar  9 03:00 wvunpack

and after reboot C-3PO still lists - SOX/usr/bin/sox  -- Version140401 NOT dsd capable

OK I have chmod 755 sox and awaiting reboot... fingers crossed this time...

Yes can confirm that sox is now used from the LMS directory..!  But still not doing mp3..... and C-3PO settings now says C-3PO doesn't work with lossy formats but shows mp3 as a valid input format ???  odd ?!?  and it does work with mp3 in Daphile..
I will try clearing cache and rebooting...
What fun !! Learning heaps !!

This sox version dsd capable...... I will have to try it with my other dac.. :-)
(09-Jun-2017, 12:22 PM)Bromf Wrote: [ -> ]What fun !! Learning heaps !!

This sox version dsd capable...... I will have to try it with my other dac.. :-)Yeah
I'm learning lots too from you. Thumbs Up Going to add this special edition of Sox for the next ISO release. So people will have less trouble when using C-3PO plugin.
Thinking about this.....
tomorrow I will boot Daphile on the same hardware and look in ....
/usr/share/squeezeboxserver/Bin/x86_64-linux

I suspect that I will find lame and ffmpeg as well as sox etc.

If so I will copy those packages on the Snakeoil install across to /usr/share/squeezeboxserver/Bin/x86_64-linux and see if that works....;_)

If it wasn't for the Creative dac doing such a bad job of resampling everything to 48kHz I wouldn't bother.
However if resampling in software to 96kHz for mp3 and streams works then there should be a sonic benefit.
Added lame mp3-decode  mp123 and ffmpeg to /usr/share/squeezeboxserver/Bin/x86_64-linux  and still no resampling of streams or mp3.
All good, will leave it at that unless anyone has other suggestions. :-)

However, found that the ralph-irving git squeezelite  has all the R2 goodness baked in and is invoked by adding   -W    to the "enter additional squeezelite parameters here " checkbox.   Smile Cool Cool
(11-Jun-2017, 12:54 PM)Bromf Wrote: [ -> ]Added lame mp3-decode  mp123 and ffmpeg to /usr/share/squeezeboxserver/Bin/x86_64-linux  and still no resampling of streams or mp3.
All good, will leave it at that unless anyone has other suggestions. :-)
I'd look into this some time later and get back to you.

(11-Jun-2017, 12:54 PM)Bromf Wrote: [ -> ]However, found that the ralph-irving git squeezelite  has all the R2 goodness baked in and is invoked by adding   -W    to the "enter additional squeezelite parameters here " checkbox.   Smile Cool Cool
The R2 has something other Squeezelites don't though, native DSD support. Apparently Triode from Daphile has a patch for that but I can never find it, but I think the link is mentioned somewhere in the R2 link. Again something to look at in due time.
Pages: 1 2