Export Library
#1
Quick Version:

Need to run the Export Video Library function from a script. There doesn't seem to be a builtin function for it that i can execute over http, and I don't see anything in the xbmc module for it. Any ideas? Thanks!

Longer Version:

I'm developing a script that will export the video library to an xml file and FTP it to a central location where a server component will merge it with some other people's video libraries to give me and some friends a central view of who's got what. I can share the code if this is something people are interested in (once it's done, i'm just getting started!)

If this export function can't be run through code I will use the http query function to grab columns from the movies table, but the xml option seems much nicer - serialization already done for me, standard format, etc. However if you have some other suggestions for how to approach this I'd love to hear about it.

- fandango
Reply
#2
currently not avail but should be. trac
Reply
#3
This would be a great feature. Hope you do follow through with the idea.
Reply
#4
added to svn, see http://trac.xbmc.org/changeset/25772. note that this will NOT be in camelot.
Reply
#5
Awesome! now that's great service. For the meantime I'll work with the query tool. Thanks.
Reply
#6
fandango, hows the progress going with the export script? I would love for you to share it. It would make it a lot easier to share libraries between friends.

Thanks for bringing up the export library builtin function topic. I also looking for that functionality. I want to make a script to export the library on shutdown. I read up a bit on how to write a script but can't quite figure out how to write it. Could you help me out?

I would like to export to separate files, export thumbs, no overwrite and export actorthumbs. Which if I understand correctly is:

EDIT:
exportlibrary(video,true,true,false,true)

(thanks spiff)
Reply
#7
music|video = music or video - choose one
Reply

Logout Mark Read Team Forum Stats Members Help
Export Library1