LMS doesn't look e.g. in 

/var/lib/lms             # a top level
/var/lib/lms/prefs    # as shown in info screen

(just tried it)

how can it then lookup 

/etc/squeezeboxserver

on Ubuntu, which doesn't show anywhere !?!?

*********************************

Here's the answer, I just figured it out myself.

You'll find different default PATH configurations under:

/usr/share/""lms""/Slim/Utils/OS/

That's where you find the config files for Debian, RedHat, OSX,... where
they define their file locations.
If you run then Ubuntu, Debian gets applied, if you run Fedora, RedHat
gets applied.

Each of these OS basically runs its own config file. If you're not on
that list???

I am on ArchLinux Arm right now. There is no config file for that.
Therefore LMS defaults to the generic "Unix" config.

Now I did this on Unix.pm:


Code:
--------------------
    
  diff /usr/share/lms/Slim/Utils/OS/Unix.pm 
/usr/share/lms/Slim/Utils/OS/Unix.pm.orig 
  55c55
  <     if ($dir =~ /^(?:strings|revision|types|repositories)$/) {
  ---
  >     if ($dir =~ /^(?:strings|revision|convert|types|repositories)$/) {
  58,61d57
  < 
  <     } elsif ($dir =~ /^(?:convert)$/) {
  < 
  <             push @dirs, "/var/lib/lms/prefs";
  
--------------------


(inspired by the Debian folks)

and then copied "BOTH" convert.conf and custom-convert.conf to
/var/lib/lms/prefs

Yep. convert.conf also has to be placed at the same location as
custom-convert.conf as it seems.


And guess what!?!?

That's how I made it work. ;)

Perhaps there's a more elegant way. I don't know yet.

At least I have an idea for now.


Cheers



:::'  my audioblog  - latest series: RaspBerry PI - \"The Audio Engine\"
' (http://soundcheck-audio.blogspot.com):::
------------------------------------------------------------------------
soundcheck's Profile: http://forums.slimdevices.com/member.php?userid=34383
View this thread: http://forums.slimdevices.com/showthread.php?t=111590

_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter

Reply via email to