Req Profile specific bookmarks
#24
so, *someone* accidentally updated to the latest kodi version with their android tablet and I had to migrate all other openelec boxes to the current beta a little early.

in the process, I created two scripts. One to modify a "clean" MyVideos99 (Kodi 16) table to include the additional filestates for each user and another one to actually upgrade an existing MyVideos93 (Kodi 15, with existing filestates stuff) to the new MyVideos99 structure. maybe they are helpful to anyone.

I tested both versions with HeidiSQL, but as always - no guarantees.
CloudFlare prevents embedding the scripts as code, so I need to fall back to dropbox. sorry for that.


Upgrade-MyVideos93-to-MyVideos99.sql: You need to create a 1:1 copy of MyVideos93, name it MyVideos99 and apply the script. after that, you still need to manually edit the one entry in the "version" table.


*edit*: I noticed that kodi is doing some adjustments on the data during upgrade. Main problem here is that a new field "idSeason" is populated in the episode table. I added Upgrade-episode-table.sql to take care of this, but I'm not sure on what else might be missing. Maybe we should prefer method 2 below... If you want to risk it, just execute the new script after the actual upgrade.


If you are coming from a different version then MyVideos93 or don't have a database yet or {insert any other reason}, you can use Modify-MyVideos99.sql. Just apply to a clean db created by kodi. one could use this in combination with the very good import / export feature of texturecache.py to still import existing watched states. to do this, just import the watched states after configuring the advancedsettings.xml for the user the watched states should be applied to.
Reply


Messages In This Thread
Profile specific bookmarks - by bakslash - 2013-11-28, 20:55
RE: Profile specific bookmarks - by bakslash - 2013-12-01, 22:00
RE: Profile specific bookmarks - by dtdickman - 2014-04-04, 18:54
RE: Profile specific bookmarks - by bakslash - 2014-04-04, 20:26
RE: Profile specific bookmarks - by xrsxj - 2015-05-16, 09:44
RE: Profile specific bookmarks - by phate89 - 2015-06-09, 22:11
RE: Profile specific bookmarks - by dtdickman - 2014-04-05, 01:05
RE: Profile specific bookmarks - by bakslash - 2014-04-05, 02:08
RE: Profile specific bookmarks - by bakslash - 2014-05-10, 16:25
RE: Profile specific bookmarks - by bakslash - 2014-06-01, 17:44
RE: Profile specific bookmarks - by bakslash - 2014-06-01, 23:31
RE: Profile specific bookmarks - by bmac88 - 2014-09-30, 21:04
RE: Profile specific bookmarks - by bmac88 - 2014-09-30, 21:26
RE: Profile specific bookmarks - by MKHR - 2015-03-22, 19:39
RE: Profile specific bookmarks - by MKHR - 2015-06-22, 13:07
RE: Profile specific bookmarks - by MKHR - 2016-04-09, 12:09
Logout Mark Read Team Forum Stats Members Help
Profile specific bookmarks0