[RELEASE] Watched Data Export/Import - Programs Addon - Printable Version
+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Add-ons Help and Support (/forumdisplay.php?fid=27)
+---- Forum: Program Add-ons (/forumdisplay.php?fid=151)
+---- Thread: [RELEASE] Watched Data Export/Import - Programs Addon (/showthread.php?tid=129448)
[RELEASE] Watched Data Export/Import - Programs Addon - Fox - 2012-04-20 13:20
Watched Data Export/Import - Programs Addon
This addon creates a backup of your watched data so you can import it back in at a later time.
It saves the name of the file so even if your path changes or you unpack packed files it will still mark them as watched.
The original thread started by ericwilkison can be found here:
RE: [RELEASE] Watched Data Export/Import - Programs Addon - TugboatBill - 2012-04-21 23:28
I'm having a problem getting this to work. I'm exporting on a Dharma XBMCLive client and importing to a Eden XBMCBuntu client. I'm using the MySql database.
Export on the Dharma client worked. A quick review of the .xbmc/userdtat/Database/watched.xml file looked good.
Copied the file over to the appropriate location on the Eden client. Ran the import and it completed without errors (~1500 files imported).
Videos don't show marked as watched.
Re-ran it with the debug option. It posted data to xbmc.log showing the database update commands, but no errors.
RE: [RELEASE] Watched Data Export/Import - Programs Addon - Fox - 2012-04-22 13:19
That sounds weird, never ran into something like that.
Only thing I can think of right now is if the db is write protected or something like that but then it should give an error in return.
I'm abroad atm and here I don't have a mysql setup, but I will make a virtual environment with it and do some testing.
Maybe you could turn on the full debug in XBMC and see if it gives some more useful information.
RE: [RELEASE] Watched Data Export/Import - Programs Addon - Fox - 2012-04-24 13:17
Sorry TugboatBill no luck reproducing your "error" here. I set up a mysql here and tried a few things I thought could cause it, but none gave your result.
Have you had the chance to get a full debug log and see if it gives anything useful?
Some other things you could check for me...
*regular library update works?
*manually marking a video as watched works?
*did the import mark any video as watched at all?
*did you run the quick import (sql inserts > 0) or the slow one?
RE: [RELEASE] Watched Data Export/Import - Programs Addon - TugboatBill - 2012-04-24 16:59
I gave up trying and went with a "can't fail" approach. A pen and paper. Fortunately I only had a dozen unwatched movies and shows tended to be watched sequentially so I was able to mark things manually without too much effort. My problem probably wasn't to do with this addon as I saw the problem before when I migrated from Dharma to Eden.
RE: [RELEASE] Watched Data Export/Import - Programs Addon - Monkeysweat - 2012-04-25 20:57
hopefully this works, I've had 3 hard drive crashes over past year and I have to always go back and mark my watched - PITA when you got 1400 movies and 100 different series
I just got my new SSD back today and I'll be reinstalling windows (and XBMC) again
PS OCZ Vertex II not reliable,, hopefully the agility III is better.
RE: [RELEASE] Watched Data Export/Import - Programs Addon - akuiraz - 2012-04-29 17:51
I see that you have added file id support from the db... could you add support for using thetvdb episode id? I believe that would allow it to make episodes as watched regardless of the actual file name and extension.
an example scenario where this would be useful:
I've got Bones added to my library using an addon like IceLibrary or 1Channel... and the current season I have sickbeard downloading the episodes. I do it like this so that I have access to the older seasons using .strm file's and the new episodes are downloaded as they release. unfortunatly this causes there to be duplicates of the current season as it has boyh .strm and .mp4/.avi files...
I think adding the tvdb episode id to the export/import would solve this by marking both copies as watched when seen. thanks
RE: [RELEASE] Watched Data Export/Import - Programs Addon - Fox - 2012-04-29 20:36
Sounds very reasonable akuiraz, but from what I could find (just from a quick glance) the id from thetvdb isn't saved anywhere in the db so that would make it quite slow to do a lookup for every file to get the id.
I saw that the series id was saved so maybe I could use that combined with the season and episode number to make something useful.
I'll have a look into it and see what I can do.
RE: [RELEASE] Watched Data Export/Import - Programs Addon - MeMeMe - 2012-05-16 18:31
I just tested this and it worked well. On one of my xbmc installs, i have two profiles with different libraries. Will this create separate watched files for each library?
RE: [RELEASE] Watched Data Export/Import - Programs Addon - Fox - 2012-05-16 19:28
No, it will create one for the whole db.
Didn't even knew you could have separate libraries in the same db, something I'll have to look into.