Page 1 of 1

Follow Symlinks?

PostPosted: Sat Jun 09, 2012 12:36 pm
by jlcooke
I have a dir a update daily with symlinks to 20 randomly selected albums.

But Serviio doesn't show those albums inside. Can this feature be added please?

Re: Follow Symlinks?

PostPosted: Sat Jun 09, 2012 3:45 pm
by zip
it should follow symlinks. What OS are you using?

Re: Follow Symlinks?

PostPosted: Sat Jun 09, 2012 11:28 pm
by jlcooke
Fedora release 15 (Lovelock)

Does it matter any that the symlink is to a file potentially scanned elsewhere?

eg.

/mnt/DailyRotation/AlbumA --> /mnt/FLAC/ArtistX/AlbumA

Where /mnt/FLAC and /mnt/DailyRotation are both music source directories configured using Servio PHP Console 0.6

So, basically I'm asking Serviio to list AlbumA/*.flac as under /mnt/FLAC/ArtistX/AlbumA (dnla:Music/FLAC/ArtistX/AlbumA) and /mnt/DailyRotation/AlbumA (dnla:Music/DailyRotation/AlbumX)

Re: Follow Symlinks?

PostPosted: Sun Jun 10, 2012 12:55 am
by zip
you should see the file twice. did you enable detailed log to see if the files are scanned?

Re: Follow Symlinks?

PostPosted: Sun Jun 10, 2012 3:27 am
by jlcooke
I had to edit config/log4j.xml to capture this ... log rotation went by too quickly. :)

<param name="MaxFileSize" value="50MB" />
<param name="MaxBackupIndex" value="100" />

Found my issue. I had a type in the path of my source directory ... missing a space. Duh!

Any chance a outputting a WARN level message when a source dir is:
a) unlistable (read/execute)
b) does not exist (due to braindead user error!)

Thanks.

Re: Follow Symlinks?

PostPosted: Sun Jun 10, 2012 10:08 am
by zip
good idea, added.

Re: Follow Symlinks?

PostPosted: Thu Jun 14, 2012 10:51 pm
by patters
Yes, great idea. That has caught me out before a few times when I forget that on my NAS the folder names are case-sensitive.