|
I had a nice long post typed out with various suggestions and improvements and my arguments behind them, as well as compliments for your work. But I bumped the back button on the keyboard and lost everything I typed. So here is a quick summary. Forgive me if I sound a little terse. I retyped my opening 3 times, then lost everything when I was two sentances from finishing. I was gonna say to hell with it, but some of these suggestions are really needed.
Many people include the imdb code in their file names for movies. When this imdb code is there, Media reader wont find any entires for the files. So, look for the imdb code in the file name, and use it for lookups. Also, include an imdb code token for renaming movies. For example, my file names are like "Reservoir Dogs [1992] [tt0105236].mp4". Heck, some people use only the imdb code for their file names.
Second, since some popular skins really prefer it if you have all your movies and supporting files in the same directory, optionally create this directory, move the media there, then create the supporting files inside the new directory. Otherwise in a setup like mine where are the media files are in the same directory, things get insanely cluttered after the supporting files are added.
Third, media files complatible with iTunes based devices can contain metaData (stores in a similar manner to ID3 tags in mp3 files) containing all the same information you scrape the imdb. Some people go to great pains to get all this data in their files. Using it when it is present would save bandwidth, and likely speed up conversions of entire libraries. There are cross platform open source projects that can read and write this data, the older, program AtomicParsley is more popular, and a bit more stable, but hasnt been actively developed in years. The newer mp4v2 project is still lacking in some features the last I checked, but can be faster, and is under pretty active development (last I checked).
If you look at the regex used in the perl Module, Video::Filename, you will see a very complex series of regexs that get a lot of data from damn near any video filename. I use this module myself in a program I wrote called iDentify ( http://www.macupdate.com/info.php/id/29847/identify ), which does the same thing for iTunes libraries as Media Reader does for XBMC libraries. Its not flashy (just a perl script with a crappy gui generated by command line programs), and requires nothing from the user other than having the necessary info in the file name (some naming conventions are more reliable than others, but I have only encountered a few non-sensical ones that throws it off.) However, it gets all the data from the imdb/tvdb, and even makes a few good guesses at imp award posters with about an 80% success rate for finding posters. You can even include your own posters if you like. However, that is neither here nor there, since the point of this post was not to pimp my program but to suggest features to improve yours.
Since all my files contain the imdb codes in the file names, I would have to manually update each of my 2000+ files in Media Reader to get info already contained in the metadata, I'm afriad Im going to have to revisit Media Reader at a later time when either you can do lookups directly from pre-suppled imdb codes found in the file name, or Media reader uses metadata already supplied inside the media files. |