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
Export Library
fandango
Junior Member Posts: 2 Joined: Dec 2009 Reputation: 0 |
2009-12-16 04:17
Post: #1
|
| find quote |
spiff
Grumpy Bastard Developer Joined: Nov 2003 Reputation: 82 |
2009-12-16 12:33
Post: #2
currently not avail but should be. trac
Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. |
| find quote |
dtviewer
Fan Posts: 664 Joined: Jul 2008 Reputation: 1 |
2009-12-16 20:13
Post: #3
This would be a great feature. Hope you do follow through with the idea.
|
| find quote |
spiff
Grumpy Bastard Developer Joined: Nov 2003 Reputation: 82 |
2009-12-17 01:57
Post: #4
added to svn, see http://trac.xbmc.org/changeset/25772. note that this will NOT be in camelot.
Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. |
| find quote |
fandango
Junior Member Posts: 2 Joined: Dec 2009 Reputation: 0 |
2009-12-17 03:25
Post: #5
Awesome! now that's great service. For the meantime I'll work with the query tool. Thanks.
|
| find quote |
bnevets27
Senior Member Posts: 170 Joined: Feb 2009 Reputation: 1 |
2010-01-07 06:59
Post: #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)
(This post was last modified: 2010-01-07 09:56 by bnevets27.)
|
| find quote |
spiff
Grumpy Bastard Developer Joined: Nov 2003 Reputation: 82 |
2010-01-07 08:18
Post: #7
music|video = music or video - choose one
Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. |
| find quote |

Search
Help