Release - WatchedList - service to automatically save/restore watched state

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
gmc99 Offline
Member
Posts: 56
Joined: Nov 2011
Reputation: 2
Post: #16
Since my previous postings, this has been working perfectly.

I have not been using it for movies though just TV shows.

I have even moved the watched state from one PC to another by doing the following:

Manually run the watchedlist app update on PC1.

Copy the content of the service.watchedlist folder to separate disc (watchedlist.db is the main file)

On PC2, manually run the watchedlist app update to make sure everything there is uptodate

Overwrite the watchedlist.db on PC2 with the file copied from PC1

Run the watchedlist app update on PC2

This then adds the watched state of everything from the PC1 database

Run the watchedlist app update on PC2 again to consolidate everything

This seems to work fine but as I said, I haven't tried it with movies
find quote
tafazzi87 Offline
Junior Member
Posts: 6
Joined: Feb 2013
Reputation: 0
Post: #17
it's a fantastic service, but if i use a local path it works, but if i use a ftp resource it doesnt work why?
i've this error :
17:15:13 T:4440 NOTICE: service.watchedlist: Notification. Watchedlist: Error: Writing the WL-database file C:\Users\Francesco\AppData\Roaming\XBMC\userdata\addon_data\service.watchedlist\​dbcopy\watchedlist.db
(This post was last modified: 2014-04-28 17:17 by tafazzi87.)
find quote
natethegreat14 Offline
Junior Member
Posts: 2
Joined: Feb 2014
Reputation: 0
Post: #18
I just started using it and I can not figure out how to make all the shows I watched prior to installing this add-on become watched in the watchedlist.db? Any ideas? Also I was
Quote: One question: If the service works automatically, how does it know what to sync? E.g.
-The add-on saves all watched states
-I export my library, move it to a different hard drive and import it again
-All watched states are lost
-Now the add-on should sync back all watched states instead of saving all movies as unwatched in its database.

Can it do that?
I was wondering if this is only for multiple xbmc installs or if it works for just one computer as well. Like if I currently have an SDTV rip and my sickbeard later downloads a dvdrip and deletes my SDTVrip will it mark my DVDRip as watched? Thanks in advance for any help.
find quote
schapplm Offline
Junior Member
Posts: 29
Joined: Apr 2013
Reputation: 0
Post: #19
(2014-05-17 19:23)natethegreat14 Wrote:  I was wondering if this is only for multiple xbmc installs or if it works for just one computer as well. Like if I currently have an SDTV rip and my sickbeard later downloads a dvdrip and deletes my SDTVrip will it mark my DVDRip as watched? Thanks in advance for any help.

The addon gets the unique imdb-id for movies and thetvdb id and SxxEyy for TV Episodes. So it will mark the DVDRip as watched.

(2014-04-28 16:50)tafazzi87 Wrote:  it's a fantastic service, but if i use a local path it works, but if i use a ftp resource it doesnt work why?
i've this error :
17:15:13 T:4440 NOTICE: service.watchedlist: Notification. Watchedlist: Error: Writing the WL-database file C:\Users\Francesco\AppData\Roaming\XBMC\userdata\addon_data\service.watchedlist\​dbcopy\watchedlist.db

I notices this too. I use the virtual file system from xbmc ( xbmcvfs.mkdir(), .copy(), .exists() ). It seems, that xbmc can only read FTP paths, not write them.
This problem occured to me too when trying to export my video database (nfo files and posters) to my FTP sources (Frodo did not buffer local nfs and smb network sources but ftp sources).
I think it is easier to switch to smb or nfs source for the WL-database or somehow make a virtual drive for the ftp path in your operating system.

My addon: service.watchedlist
My HTPC: XBMC 13.2; Ubuntu 14.04 LTS x64; AMD A6-6400K; MSI FM2-A55M-E33; 4GB Kingston HyperX RAM; Digital Devices Cine CT V6 DVB-C; Streacom FC8B Evo with 120W picoPSU
(This post was last modified: 2014-06-14 10:22 by schapplm.)
find quote
CamAE Offline
Junior Member
Posts: 7
Joined: Sep 2013
Reputation: 0
Post: #20
(2014-06-14 10:18)schapplm Wrote:  
(2014-04-28 16:50)tafazzi87 Wrote:  it's a fantastic service, but if i use a local path it works, but if i use a ftp resource it doesnt work why?
i've this error :
17:15:13 T:4440 NOTICE: service.watchedlist: Notification. Watchedlist: Error: Writing the WL-database file C:\Users\Francesco\AppData\Roaming\XBMC\userdata\addon_data\service.watchedlist\​dbcopy\watchedlist.db

I notices this too. I use the virtual file system from xbmc ( xbmcvfs.mkdir(), .copy(), .exists() ). It seems, that xbmc can only read FTP paths, not write them.
This problem occured to me too when trying to export my video database (nfo files and posters) to my FTP sources (Frodo did not buffer local nfs and smb network sources but ftp sources).
I think it is easier to switch to smb or nfs source for the WL-database or somehow make a virtual drive for the ftp path in your operating system.

I'm having the same problem as tafazzi87, but I'm trying to save to a nfs source. I'm think if I can copy the local WL-database to the nfs source it might work?? However I don't know where or how to find the WL-database on my geexbox installConfused Not much use having the database stuck locally on the SD card, as it doesn't really work as a backup (things go wrong I flash the SD card) or to share watched status between different XBMC installs in the house.
find quote
suku_patel_22 Offline
Member
Posts: 81
Joined: Sep 2013
Reputation: 0
Post: #21
Could you possible add matching based on Movie name?
I would like to move my watched moves to ext-hdd.

What effect will initiating a library scan have? Will the old entries be cleaned?
find quote
schapplm Offline
Junior Member
Posts: 29
Joined: Apr 2013
Reputation: 0
Post: #22
(2014-08-22 09:19)suku_patel_22 Wrote:  Could you possible add matching based on Movie name?
I would like to move my watched moves to ext-hdd.
In my opinion, matching based on movie names does not bring any advantages. Moving a movie to an external hdd and keeping the watched state is already possible with the addon.
(2014-08-22 09:19)suku_patel_22 Wrote:  What effect will initiating a library scan have? Will the old entries be cleaned?
depends on xbmc version and your settings. Usually, the entries are only cleaned by user action. After the library update you should start the watchedlist addon to restore the watched states for moved movies.

My addon: service.watchedlist
My HTPC: XBMC 13.2; Ubuntu 14.04 LTS x64; AMD A6-6400K; MSI FM2-A55M-E33; 4GB Kingston HyperX RAM; Digital Devices Cine CT V6 DVB-C; Streacom FC8B Evo with 120W picoPSU
find quote
MasterPhW Offline
Junior Member
Posts: 48
Joined: Jan 2012
Reputation: 0
Post: #23
Does it still work with XBMC Gotham releases? I tried it with two different clients, both of them only create a 5kb big watchedlist.db, whcih is empty, after checking with SQLite explorer.
find quote
schapplm Offline
Junior Member
Posts: 29
Joined: Apr 2013
Reputation: 0
Post: #24
Since Gotham 13.2 there seem to be problems with a remote watchedlist. Until I figure out how to solve them, I recommend using a local database.
Eventually it is possible to mount an external database with /etc/fstab or comparable mounting tools.
Edit: Even this does not seem to work.

My addon: service.watchedlist
My HTPC: XBMC 13.2; Ubuntu 14.04 LTS x64; AMD A6-6400K; MSI FM2-A55M-E33; 4GB Kingston HyperX RAM; Digital Devices Cine CT V6 DVB-C; Streacom FC8B Evo with 120W picoPSU
(This post was last modified: 2014-08-26 19:41 by schapplm.)
find quote
MasterPhW Offline
Junior Member
Posts: 48
Joined: Jan 2012
Reputation: 0
Post: #25
All my watchedlist were local.
It doesn't matter, where I create them, they are always blank.
I would really love to use it, because it's the best solution for a compelte database moveage and renaming for multiple clients, which all ahve their own watch states.
find quote
schapplm Offline
Junior Member
Posts: 29
Joined: Apr 2013
Reputation: 0
Post: #26
I think the problem was within the access to the SQLite db file. I uploaded a new version to the testing branch with a mysql addon database. In my tests it worked with XBMC 13.2.

My addon: service.watchedlist
My HTPC: XBMC 13.2; Ubuntu 14.04 LTS x64; AMD A6-6400K; MSI FM2-A55M-E33; 4GB Kingston HyperX RAM; Digital Devices Cine CT V6 DVB-C; Streacom FC8B Evo with 120W picoPSU
find quote
Post Reply