XBMC Librarian (New Addon)
Posted in Free and Open Source Software, Programming and Technical, Ubuntu on August 31st, 2011 by doctormoHello Community,
I’ve finished writing a new addon for xbmc (the tv media center for Ubuntu) called Librarian. She will take a look at your impressive video library and check for various inconsistencies and potential problems which you might want to look into. This 1.0 release includes the following features:
- List Movie Files not Included in the Database
- List Movies which have incorrect length, i.e. misidentified or corrupt (requires ffmpeg installed)
- Lists TV Shop Episodes separately with both above features
- Tells you which seasons and which episodes of each show you’re missing
- Shows you which TV Show Paths are being ignored completely.
More checking can be added as good ideas come in, I’ve also written an addon module called xbmcdata which wraps sqlite3 the xbmc httpapi to give a consistant inside xbmc and outside testing/scripting interface. This makes addon development _much_ easier. For instance listing movies is now just a case of:
from xbmcdata import Movies
for movie in Movies():
print "%s (%s)" % (unicode(movie), movie['Year'])
Please download the code here: http://divajutta.com/doctormo/doctormo-xbmc-addons.tar.gz and install in ~/.xbmc/addons/ then test, entry is available under ‘Programs’. Please report issues back to me with full logs from ~/.xbmc/temp/xbmc.log included.
Have fun.






