2017-09-04, 23:12
The path to the database is completely taken out of the watched.ini file, there is nothing compiled into the binary. The error-screenshot looks like the default path of watched.ini (%APPDATA%\Kodi\userdata\addon_data\service.watchedlist\watchedlist.db). So either the edited watched.ini hasn't been saved or there is a wrong (maybe old) watched.ini in the same directory of watched.exe. Attention: The watched.ini in source-subdirectory has no effect!
For the last played date you have add it into moviesQuery, but also configure a new column at moviesColumns, e.g.:
For the last played date you have add it into moviesQuery, but also configure a new column at moviesColumns, e.g.:
Code:
moviesColumns = Title,241,Year,70,lastPlayed,220
moviesQuery = SELECT SUBSTR(title,0,LENGTH(title)-6) AS title,SUBSTR(title,LENGTH(title),-4) AS year,datetime(lastPlayed, 'unixepoch') AS lastPlayed FROM movie_watched WHERE playCount>0 ORDER BY title