[DEAD] Watched Data Export/Import - Programs Addon
#1
Brick 
This add-on is no longer working, have a look at this one instead http://kodi.wiki/view/Add-on:WatchedList

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.

Download:
http://code.google.com/p/xbmc-watched-da...loads/list

Install:
  1. Download the latest version zip.
  2. Start XBMC.
  3. Goto System->Settings->Add-Ons->Install from zip file.
  4. Find the location of the downloaded file.
  5. Install.

Options:
  • XML-file path:
    Location for the watched data file. (default is local database folder)
  • Export file name only (for RAR archives).
    Check this to save only the file name and not the whole path. (default ON)
  • Amount of simultaneous sql inserts.
    This will speed up the process of importing watched data. (default 40)
    When turned off (slider = 0) it will import the exact amount of watched times.
  • More debug info in xbmc.log.
    Will print some debug info into the log file. (default OFF)

Other stuff:
  • If you have your tv episodes named with only season and episode number (ie. s01e01.avi) or movies without name, this addon won't work for you. Sad
  • If you get an error like "ERROR: Error Contents: invalid literal for float(): true", just go into the options and press OK.

Changelog:
Code:
1.3.4
- Fixed problem with special characters.

1.3.3
- Option to set path for the xml file. (default is local database folder)
- Fixed error when file is missing during import.

1.3.2
- Temp fix for when a filename starts with s, seems like the %% don't get all way through.

1.3.1
- Fixed missing count value in old files could lead to error.
- Added lastPlayed info.

1.3.0
- Exports playcount to the xml-file also.
- Quick import got changed so the user can set own value (default 40). If set to 0 it will import the playcount from the xml-file otherwise playcount = 1.
- Rewrote some code to clean it up a bit.

1.2.8
- Added id to the file element with the fileID from the db.

1.2.7
- Fixed error when an empty sub element was returned from ET.

1.2.6
- Fixed problems with import of ElementTree in some cases.

1.2.5
- Quick import option, makes 10 updates at once (need some more testing).

1.2.4
- Added some options, debug output and to skip the long rar paths.

1.2.2
- Hopefully fixed the UTF problem.

1.2.1
- Using the httpAPI to solve the problem with different type of databases.

1.2.0
- Cleaned out some unnecessary files in the resources folder.

1.1.2
- Should now follow the xbmc addon rules better.

1.0.1
- Made it work with nightly 20110731.

1.0.0
- ericwilkison's script portet to an addon.

The original thread started by ericwilkison can be found here:
http://forum.xbmc.org/showthread.php?tid=62874
If you find any spelling mistakes you can keep them ;)
Reply


Messages In This Thread
[DEAD] Watched Data Export/Import - Programs Addon - by Fox - 2012-04-20, 13:20
Logout Mark Read Team Forum Stats Members Help
[DEAD] Watched Data Export/Import - Programs Addon2