Extract Movie Video Database to seperate files - Printable Version
+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: Feature Suggestions (/forumdisplay.php?fid=9)
+--- Thread: Extract Movie Video Database to seperate files (/showthread.php?tid=29299)
Extract Movie Video Database to seperate files - Jezz_X - 2007-10-24 02:20
I think it would be good if the backup DB was modified as an extra option to Backup the info to seperate files of MovieFileName.nfo. That way we could get the info from the internet back it up and then copy the backup files to the same place as the movie so it wouldn't have to keep looking up the info again and hammering IMDB or even getting the wrong info or having to pick exactly what movie it was if you do one at a time.
I know we can just do it manually but it would be quicker to do it the first time this way and also easier to change the details if we want.
Obviosly if reading info files worked for TV as well it would also be a good option
- HarshReality - 2007-10-24 12:21
I agree an automatic solution would be more agreeable. I think JM spoke of this with regard to the wiki:
While its effective a pressing point twords automation would be changes in the database would/should be automatically reflected in the files the system produces.
- jmarshall - 2007-10-24 22:34
I have export to separate nfo files (for movies + musicvids) coded up.
There's some issues to think through though, as discussed with Jezz_X earlier:
1. Should the .nfo files be placed next to the .avi files? If so, what about unwritable shares (upnp for instance) - if we export elsewhere, what do we do with filename handling?
2. Do we overwrite .nfo files that exist? Do we prompt? Do we ignore? What if we just want to export the "new" information since last export - how do we accomplish this?
I'm sure there's more issues to consider as well as these.
- djdafreund - 2007-10-25 01:30
How about have 1 additional directory XBMC looks at in the userdata directory (IE-Userdata\nfos or nfo) when it's backing up or restoring, and if ones exists there, it will add it, or else it also looks at whatever video's directory when making like it does now. And if possible since xbmc has ftp client support (not sure what extent), XBMC could use 'if exists' command when backing up, or you could also just automatically have XBMC save nfo files in the new Userdata\nfo directory no matter.
Thats way when we backup our Userdata, thats NFO dir would also now be automatically backed up as well. Since we already choose to save thumbs as well, so all the snapshots will be there already.
- jmarshall - 2007-10-25 02:03
The problem with that is we have to worry about fatx limitations when saving nfo files, thus there is no 1:1 relationship. Also, saving purely based on filename is no good for dvds etc. And saving based on something else (CRC for instance) severely restricts usability.
Furthermore, I don't really see the advantage over nfo files in userdata versus just having the database or the exported XML lying there.
- djdafreund - 2007-10-25 03:02
Ouch, i was forgetting about the fatx limitations. Yea, that would be a problem. Shoot.
The only reason i thought about keeping the spare backups in a 2nd dir that xbmc looks for is because currently, when i need to keep a backup, i backup my userdata dir (thumbs mostly) and also my db's, and when i need to restore everything perfectly w/thumbnails and all, i copied everyting back over (thumbnails) and restore my db (using option in settings), and all my info/video thumb's are all right back to where i had them. So i figured since that already works great, it might help to also keep the nfo's in the same spot we already use. Maybe i'm not thinking that far outside of the box. My bad. Oh well. I'm glad i'm not an xbmc programmer, i can only imagine the debugging you guys go through to keep things all in still working order when added new stuff. Phew!!!
What about thumbnails? - Gamester17 - 2007-10-25 09:56
I like to second this request, (though obviously it will work much better on network shares than on local Xbox shares).
I like to add though that it would also be nice to get the thumbnail extracted as well, in the same way and location.
PS! I think I requested this before but I can not find that post right now.
- djdafreund - 2007-10-25 13:53
Is there a tag, or a way that xbmc can use the current title already in place to use the same filename, since the files would already be using the fatx char limit? And duplicate it to using it as the nfo backup filename. I also second the idea about backing up the picture thumbs in a similar manner, in time.
- HarshReality - 2007-10-25 14:36
Id be all for replacing an existing nfo, that way I could place an IMDB link etc. and then have it export the data to the file overwriting the simple IMDB url nfo file. As for FatX limiting.. one would think much like the FTP option that if limiting was turned off in settings it would not affect a filename (of course this is where I am told they are two different animals etc.) as for the directory (SMB other) being writable a simple unable to process message would suffice for that and a prompt if it exists.
- Jezz_X - 2007-10-25 14:43
I'm still for a popup browse dialog on where to save them too with a static item in it for "Same Folder as Video" that sticks it in the same place as the video its for (providing the paths are writable)
And then people can also choose to extract it to their xbox or if they have things that would hit limits then maybe they could make 1 share thats writeable and extract there and manually put them with the video files. And if they can't be bothered with all those options tuff luck don't use it