Migrating Video Source but retain view status

Hello all,

I have spent the last two hours reading about stuttering playback issues with a Raspb3 and Kodi 17.
A lot of suggestions are to move from SMB to locally mounted NFS.

How would I go about “transferring” the Viewed/Unviewed status of all my episodes?
I don’t seem to be able to find any info on that and adding a new video source appears to treat all files as newly added. :frowning:

Thanks in advance!

Bye…Hardy

There’s a couple of options:

Easiest might be to use trakt.tv.
texturecache.py also has an option to backup/restore watched status but I have no experience with it.
If you’re using mysql as a backend, there is some information on how to move/change the path. Same should work for the sqlite DB I guess but again no documented information on that.

Hi Hardy,

You could take a look at

http://kodi.wiki/view/HOW-TO:Update_SQL_databases_when_files_move

Thanks Tom.

Either change the database as written in the other posts or use path substitution

Hooookaaaaaay …

Thank you all for the answers so far, but my issue appears to have “mutated”.

After about 1.5 days of re-scanning, I now have a highly curious mix of Viewed/Unviewed. Every series which was not fully watched now shows up with 2 files per unwatched episode.
When I “view information” from within Kodi, they show up as from locally NFS mounted and SMB, but ultimately pointing to the same file.

According to my config (Only “tvseries2” links to a full repository, the others are left over test stuff.) - as far as I can tell - my OSMC only has one source into my actual repository, which is the NFS mount. But, all of my newly scrubbed episodes also show up from the SMB mount, which I can not find in any config.

Can you tell me how to get rid of that SMB mount?

Could you please elaborate on “path subsitution”?

http://kodi.wiki/view/Path_substitution

Thanks!

I configured that, and will see how it develops over the next rescan cycle. This seems to be a useful workaround.

But: I am not sure it solves my “How to remove obsolete SMB source” problem.
This SMB source is still obscure to me.
My config doesn’t mention it, so I am confused as to how it even gets referenced.

I would love to understand that, and then … remove it. :slight_smile:

Hi,

How did you change your source path for your database to keep your watched status:

or

?

Also have you tried cleaning your library before rescanning?

Thanks Tom.