[SlimDevices: SqueezeCenter] Erlang's Custom Browse now defunct in

2018-04-03 Thread Guy Stalnaker
latest LMS nightly builds.

It's Genre-Album is my primary way of finding music in my 3300+ album music
collection. The normal Genre option sorts by Artist. With a bazillion
artists it's not practical to find anything browsing into Genre. Pondering
options, I found out how to use Advanced Search to display the album's in a
genre. I have to do a separate search for each genre, so it's cumbersome
though it does work.

But that lead me to think about the current Genre view. It shows a list of
the genre's and then in each are shown all artists in that genre, sorted.
This list has to be created by a database query. I know SQL would use
"order by " to do this. How hard would it be to modify the query to
"order by "?

Seems like it should be rather easy ... literally change a single query
term. But WHERE is this query in the LMS code? And what is the syntax of
the DB code or keywords to do this?

Thoughts?

Is there another option that does not require putting 3300+ little files in
every folder of my music library?

Guy
___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] C-3PO plugin, a trnscoding helper.

2018-04-03 Thread marcoc1712

PasTim wrote: 
> Thanks.
> 
> I'm running an xubuntu server and laptop. I tried the beta version
> (v2.02.11 - is that correct?) but repositioning still doesn't work.  I'm
> repositioning using the LMS web page on Chrome - I don't know if that
> makes any difference.  I'm on Logitech Media Server Version: 7.9.1 -
> 1515659378 @ Thu Jan 11 09:26:58 UTC 2018.  For a sanity check I turned
> off C3PO on the player and repositioning worked.  Let me know if you
> have any other thoughts or things I could try. 

That's really strange...

Supposed we are talkimg about local files playback, is "Seek" enabled in
C-3PO player settings for flac? Is disabled by default becouse it could
not work togheter STDIN input like Qobuz plugin and others, when
transcoding.

PasTim wrote: 
> 
> Upgrading to the DSD sox made a big difference.  On the standard one it
> did not accept multi-threading or buffer settings - they just got wiped
> each time I set them.  Now it starts quickly and doesn't take long to
> get through 2 tracks-worth (I have a large player buffer).  Good stuff.

Probably new sox is better than older one, but the fact it does not
retain settings looks like a bug in C-3PO, I'll  check it.




Author of C-3PO plugin,  Squeezelite-R2, Falcon Web interface - See
www.marcoc1712.it

marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842
View this thread: http://forums.slimdevices.com/showthread.php?t=105309

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] C-3PO plugin, a trnscoding helper.

2018-04-03 Thread PasTim

marcoc1712 wrote: 
> My current system is an AMD DualCore 2600 4GB Ram (2009 pc),  Debian 9,
> SOX 140301 NOT dsd capable (I think is the one by lms, don't remember).
> 
> In that system:
> 
> a. repositioning in a track works to me
> 
> b. SOX takes up to 95% of cpu time for the time (few seconds) needed to
> fill the player input buffer (or decode and upsample the frst two
> tracks), then it pause (or die, if two tracks are completely buffered)
> until the player streams out. 
> 
> That could delay the playback startup (currently delay is 3 secs in my
> system,  settled in Player->Audio-> Audio Startup Time), If is too long
> for you (and longer than the one in settings) You could toggle SOX
> multithreading, increase a bit the sox buffer (to 16 o 32) (both in
> Advanced settings, C-3PO), decrease player buffer size (both in and out)
> to let SOX work a little bit more 'relaxed' but longer. 
> 
> Please consider that in many place in LMS code, taking place when
> transcoding, 3 or even 5 secs is used as 'default' for initial delay, so
> I think this should be considered the lower boundary, no matter what the
> settings are.
> 
> That's my line:
> 
> > 
Code:

  >   > 
  > [flac] -dcs --totally-silent $START$ $END$ -- $FILE$ | [sox] -q -t wav - -t 
wav -b 24 --buffer 8192 - gain -h rate -v -L -a -b 90.7 48000 dither -f 
improved-e-weighted
  > 

> > 
> 
> You could try the latest version of C-3PO in the beta repo
> (http://www.marcoc1712.it/downloads/repository_beta.xml) I've changed
> something that (not intentionally) could be related to the first
> problem, please let me know.
> 
> p.s.
> 
> Are LMS running in  windows? If so socket wrapper could be the origin
> of (both) problem(s), it's a nightmare!
> 
> Thanks for reporting the issue.
Thanks.

I'm running an xubuntu server and laptop. I tried the beta version
(v2.02.11 - is that correct?) but repositioning still doesn't work.  I'm
repositioning using the LMS web page on Chrome - I don't know if that
makes any difference.  I'm on Logitech Media Server Version: 7.9.1 -
1515659378 @ Thu Jan 11 09:26:58 UTC 2018.  For a sanity check I turned
off C3PO on the player and repositioning worked.  Let me know if you
have any other thoughts or things I could try. 

Upgrading to the DSD sox made a big difference.  On the standard one it
did not accept multi-threading or buffer settings - they just got wiped
each time I set them.  Now it starts quickly and doesn't take long to
get through 2 tracks-worth (I have a large player buffer).  Good stuff.



LMS 7.9.1 on VortexBox Midi box, Xubuntu 17.10, FLACs 16->24 bit,
44.1->192kbps.  Touch & EDO. 2nd Touch standard.
LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (to A308CR amp & ESLs) &
Marantz CR603 UPnP renderers.  
Alternatively Minimserver & Upplay to same & to upmpdcli/mpd PC
renderers.  
Squeezelite to Meridian USB Explorer DAC to PC speakers/headphones.  
Wireless Xubuntu 17.10 laptop firefox/upplay or Android 'phone with
Squeeze-Commander/BubbleUPnP controls LMS/Minimserver.

PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=105309

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS default local radiostation list does not show SRF 3 again

2018-04-03 Thread liv8312

Hi Michael,

Thanks I did forward request to Tunein.
Many thanks for your help.

Chris



liv8312's Profile: http://forums.slimdevices.com/member.php?userid=64614
View this thread: http://forums.slimdevices.com/showthread.php?t=108903

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] C-3PO plugin, a trnscoding helper.

2018-04-03 Thread marcoc1712

PasTim wrote: 
> Hi Marco, I am trying to arrange that all resampling and converting of
> all my flacs is done on my server, which then feeds squeezelite on a
> rather low power laptop (by wire) driving headphones by USB (48,000
> only) 
> 
> It works, except that repositioning in a track doesn't. It jumps to the
> next track.
> 
> I'm also a little surprised that it doesn't feed the laptop a bit
> quicker, but sox does seem very busy indeed on the server.  I'll try
> reducing the quality somewhat.  Does it need bigger buffers?  I tried
> increasing the sox buffer to no effect (it doesn't 'take').  Is it worth
> getting the advanced sox even if not using DSD?
> 
> My current 'last command' is:
> > 
Code:

  >   > 
  > [flac] -dcs --totally-silent $START$ $END$ -- $FILE$ | [sox] -q -t wav - -t 
wav -b 24 --buffer 8192 - gain -h rate -v -I -b 90.7 48000
  > 

> > 

My current system is an AMD DualCore 2600 4GB Ram (2009 pc),  Debian 9,
SOX 140301 NOT dsd capable (I think is the one by lms, don't remember).

In that system:

a. repositioning in a track works to me

b. SOX takes up to 95% of cpu time for the time (few seconds) needed to
fill the player input buffer (or decode and upsample the frst two
tracks), then it pause (or die, if two tracks are completely buffered)
until the player streams out. 

That could delay the playback startup (currently delay is 3 secs in my
system,  settled in value in Player->Audio-> Audio Startup Time), If is
too long for you (and longer than the one in settings) You could toggle
SOX multithreading, increase a bit the sox buffer (to 16 o 32), decrease
player buffer size (both in and out) to let SOX work a little bit more
'relaxed' but longer. 

That's my line:


Code:


  [flac] -dcs --totally-silent $START$ $END$ -- $FILE$ | [sox] -q -t wav - -t 
wav -b 24 --buffer 8192 - gain -h rate -v -L -a -b 90.7 48000 dither -f 
improved-e-weighted
  



You could try the latest version of C-3PO in the beta repo
(http://www.marcoc1712.it/downloads/repository_beta.xml) I've changed
something that (not intentionally) could be related to the first
problem, please let me know.

p.s.

Are LMS running in  windows? If so socket wrapper could be the origin of
(both) problem(s), it's a nightmare!

Please, lt me know.




Author of C-3PO plugin,  Squeezelite-R2, Falcon Web interface - See
www.marcoc1712.it

marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842
View this thread: http://forums.slimdevices.com/showthread.php?t=105309

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] C-3PO plugin, a trnscoding helper.

2018-04-03 Thread PasTim

marcoc1712 wrote: 
> Your command uses flac becouse is ready to "cut"  flac files using cue
> sheets (note the  $START$ $END$ parameters). If you don't use cue files,
> just disable the SEARCH option for FLAC  in the function/format table,
> the resulting command wil use only sox as per your example.
> 
> Hope is what you are looking for.
Hi Marco, I am trying to arrange that all resampling and converting of
all my flacs is done on my server, which then feeds squeezelite on a
rather low power laptop (by wire) driving headphones by USB (48,000
only) 

It works, except that repositioning in a track doesn't. It jumps to the
next track.

I'm also a little surprised that it doesn't feed the laptop a bit
quicker, but sox does seem very busy indeed on the server.  I'll try
reducing the quality somewhat.  Does it need bigger buffers?  I tried
increasing the sox buffer to no effect (it doesn't 'take').  Is it worth
getting the advanced sox even if not using DSD?

My current 'last command' is:

Code:


  [flac] -dcs --totally-silent $START$ $END$ -- $FILE$ | [sox] -q -t wav - -t 
wav -b 24 --buffer 8192 - gain -h rate -v -I -b 90.7 48000
  




LMS 7.9.1 on VortexBox Midi box, Xubuntu 17.10, FLACs 16->24 bit,
44.1->192kbps.  Touch & EDO. 2nd Touch standard.
LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (to A308CR amp & ESLs) &
Marantz CR603 UPnP renderers.  
Alternatively Minimserver & Upplay to same & to upmpdcli/mpd PC
renderers.  
Squeezelite to Meridian USB Explorer DAC to PC speakers/headphones.  
Wireless Xubuntu 17.10 laptop firefox/upplay or Android 'phone with
Squeeze-Commander/BubbleUPnP controls LMS/Minimserver.

PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=105309

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS default local radiostation list does not show SRF 3 again

2018-04-03 Thread Michael Herger

Hi Chris,

Don't know what happened that SRF3 disappeared. I can't even find it any 
more using search. You should report this to TuneIn.com. They're 
providing the radio station list.


But you can grab one of the streams from the document you listed, enter 
it in the LMS "URL laden" field. Once playing, save it as a favorite or 
preset. In ever use the Radios menus for the stations I'm listening to 
regularly.


FWIW: I currently have this on my kitchen radio's preset 1.

http://stream.srg-ssr.ch/drs3/mp3_128.m3u

--

Michael
___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter