Sat Oct 30, 2010 3:18 am by cappie
This is the setup I have currently that at least works.
All the video files are in on directory (which is what I've added as a "Library" folder)
/storage/tv
This is an example file from that directory:
/storage/tv/1091_20101009093000.mpg
I create a subdirectory:
/storage/tv/mythlinks
which contains directory and symlinks to files in /storage/tv
this is an example subdirectory:
/storage/tv/mythlinks/Thomas_&_Friends
And this is the actual symlink:
/storage/tv/mythlinks/Thomas_&_Friends/Thomas_&_Friends_2010-10-09.mpg -> /storage/tv/1091_20101009093000.mpg
This is what shows up in the logs in this arrangement:
2010-10-28 13:59:28,394 INFO [LibraryAdditionsCheckerThread] Added file '1091_20101025190000.mpg' to Library
2010-10-28 13:59:28,728 INFO [LibraryAdditionsCheckerThread] Added file '1091_20101027110000.mpg' to Library
2010-10-28 13:59:29,054 INFO [LibraryAdditionsCheckerThread] Added file 'Sid_the_Science_Kid_2010-10-26.mpg' to Library
2010-10-28 13:59:29,486 INFO [LibraryAdditionsCheckerThread] Added file 'Sid_the_Science_Kid_2010-10-27.mpg' to Library
2010-10-28 13:59:29,659 INFO [LibraryAdditionsCheckerThread] Added file 'Sid_the_Science_Kid_2010-10-28.mpg' to Library
...
2010-10-28 14:01:22,340 INFO [LibraryUpdatesCheckerThread] Removing 'Sid_the_Science_Kid_2010-10-16' from Library
2010-10-28 14:01:22,888 INFO [LibraryUpdatesCheckerThread] Removing 'Sid_the_Science_Kid_2010-10-18' from Library
2010-10-28 14:01:23,371 INFO [LibraryUpdatesCheckerThread] Removing 'Sid_the_Science_Kid_2010-10-17' from Library
2010-10-28 14:01:24,035 INFO [LibraryUpdatesCheckerThread] Removing 'The_Office_2010-09-30' from Library
2010-10-28 14:01:24,797 INFO [LibraryUpdatesCheckerThread] Removing 'CBS_News_Sunday_Morning_2010-10-03' from Library
What shows up in on the TV when browsing the "Folders" container is just a "tv" entry that contains a flat listing of all the files. It doesn't preserve the directory structure at all (in my example there is no "Thomas_&_Friends" sub folder in the "tv" folder. And then every time I "Force refresh" it will add another entry for every symlink in /storage/tv/mythlinks so that if I refresh the content a few times I'll have 100's of duplicate entries.
What doesn't work is if I just add a library folder like this:
/storage/tv/mythlinks
If I do that this is what shows up in the logs:
2010-10-29 20:18:19,458 WARN [LibraryAdditionsCheckerThread] Cannot read metadata for file Glee_2010-09-28.mpg. Message: The provided file path /storage/tv/1222_20100928200000.mpg doesn't belong to root /storage/tv/mythlinks
java.lang.RuntimeException: The provided file path /storage/tv/1222_20100928200000.mpg doesn't belong to root /storage/tv/mythlinks
at org.serviio.util.FileUtils.getRelativeDirectory(FileUtils.java:177)
at org.serviio.library.service.FolderService.createOrReadFolder(FolderService.java:53)
at org.serviio.library.service.VideoService.addVideoToLibrary(VideoService.java:62)
at org.serviio.library.metadata.LibraryAdditionsCheckerThread.searchForNewFiles(LibraryAdditionsCheckerThread.java:160)
at org.serviio.library.metadata.LibraryAdditionsCheckerThread.searchForNewFiles(LibraryAdditionsCheckerThread.java:130)
at org.serviio.library.metadata.LibraryAdditionsCheckerThread.run(LibraryAdditionsCheckerThread.java:76)