But that got me (and other people here) thinking a bit about actually
having the media scanner as a totally separate python library, in a way
that it can be used not only by moovida, but by other projects as well
(besides of the obvious advantages of being much more easily testable,
etc).
Mind you, we didn't go much further on this other than brainstorming
some ideas (e.g. pluggable web-based helpers to search imdb or tmdb or
similar sites, pluggable extra filters and recognizers, etc).
So having some more discussion about this may be helpful here for
everyone interested in improving the media scanner, and maybe someone
will want to pick up the idea and run with it for a while.
Oh and I forgot, there's plenty of OSS code to take ideas from as well.
Myth was mentioned by some as the best out there for this kind of thing.
Their code is here:
http://code.google.com/p/mythvideo-scanner/
http://code.google.com/p/mythvideo-scanner/source/browse/trunk/mythvideo-scanner.pl
Cheers,
--
Ugo