Release WatchedList - service to automatically save/restore watched state
Hello and thanks for participating by giving this feedback.

(2013-09-25, 15:19)gmc99 Wrote: 14:04:33 T:7448 ERROR: if (len(list_old) >= i_n) and (list_old[i_n][7] == mediaid): i_o = i_n # db did not change
14:04:33 T:7448 ERROR: IndexError: list index out of range
I received your error reports and recently updated the addon to version 0.9.5 - which should fix the error you submitted with version 0.9.4.
I finally managed to move the addon to the Super Repository. By installing it with the repository, you don't have to worry about updates. Just follow these instructions (LINK). You may have to remove and reinstall the addon.

(2013-09-25, 15:19)gmc99 Wrote: 14:04:33 T:7448 WARNING: service.watchedlist: get_watched_xbmc: xbmc tv showid 1024 is not in table xbmc-tvshows. Skipping Lark Rise to Candleford S01E01
I don't know why xbmc does this, it could be, that the database accessed by the addon (via JSON-RPC) is different from the 'original' database you manually checked (either sqlite .db-file or mysql-database).
Try entering this in your browser (replace 61111 with the port of your xbmc web server. You may have to configure it first in xbmc settings->services):
http://localhost:61111/jsonrpc?request={"jsonrpc": "2.0", "method": "VideoLibrary.GetTVShows", "params": {"properties": ["title", "imdbnumber"], "sort": { "order": "ascending", "method": "title" } }, "id": 1}
If the output is different from your database, this is the reason. A more plausible explanation could be duplicate entries or wrong tvshow id value for the episdoes. I doubt that the json-db-access in xbmc has a bug.

Hope this helps Smile

EDIT (27.09.2013): The error is not fixed in version 0.9.5, but in version 0.9.6, which will be pulled to superrepo in a few days
My addon: service.watchedlist
My HTPC: Kodi 18.3; Ubuntu 16.04 LTS x64; AMD A6-6400K; MSI FM2-A55M-E33; 4GB Kingston HyperX RAM; Streacom FC8B Evo with 120W picoPSU
Thread Rating:
  • 3 Vote(s) - 5 Average

Messages In This Thread
RE: WatchedList - service to automatically save/restore watched state - by schapplm - 2013-09-25, 17:37

Logout Mark Read Team Forum Stats Members Help
WatchedList - service to automatically save/restore watched state53