I have lots of movies and tv shows stored on multiple network drives. I have them arranged hierarchically (for tv shows for instance, x:/video/showname/season #/episode title/video_ts.ifo would be a typical file).
This causes a few problems with xlobbys automatic database stuff. I end up with two tv directories since I have two different shares with tv directories.
In addition, I wanted some more features - like also ability to list movies by genre, recently added, etc (having the same movie show up in multiple folders).
I undertsnad that there are ways to do this using third part programs to maintain the db and then importing it.
But I didn't want to keep the information in a separate program - I just wanted to be able to tag the files and then rescan, and handle genre by storing text files in the movie directory, and automatically handle "recently added".
So, being a programmer, I wrote a perl script to scan all my directories, and generate the movies.xml file. This all works and I now have some features I didn't have before.
But - whats the best way to integrate this scanning process with xlobby? right now I have to quit xlobby and then run my perl script to build a new movies.xml, and hitting the "rescan" button will probably cause something weird to happen.
Ideally xlobby would just notice that the file had changed and reload it. I'd just make my script run every once in a while.
any ideas?
Thanks!