Posts: 5
Joined: Nov 2017
Reputation:
0
Hi,
The Databases Wiki for MyVideosxx.db shows the tables for db version 75. Are the tables for v107 available anywhere?
Many thanks!
Posts: 17,859
Joined: Jul 2011
Reputation:
371
Nope.
Only in kodi core code or browse the sqlite database
Posts: 20,208
Joined: Apr 2017
Reputation:
1,339
That is a typ-o in the wiki. I will fix shortly. The databases shown in the Wiki are for 107 as run by Kodi v17.x
Posts: 5
Joined: Nov 2017
Reputation:
0
Thanks very much for letting me know.
If those are for 107, it brings up another question. c9 appears to be the episode running time and older entries bear this out. However, newer entries all have a value of [0] yet Kodi displays the correct running time. So, the questions are: 1) I've recently switched to using a shared db over a Synology NAS, would that explain the why the value of the c9 field has changed? 2) If the running time isn't stored there, would anyone happen to know where it's stored?
Thanks again!
Posts: 5
Joined: Nov 2017
Reputation:
0
Yeah, weird behavior. Thanks for helping and I'll follow up as you've suggested.
Posts: 1,052
Joined: Jul 2011
Reputation:
89
scudlee
Retired Team-Kodi Member
Posts: 1,052
This is likely due to the scraper update. If I'm remembering correctly, the episode runtime from the TVDB was never a property of individual episodes but rather only a property of the series as a whole.
In the old v1 API this wasn't an issue because all the information about the series and all episodes was in one single file, so you could theoretically take any series-level information and apply it to each episode as well, it was all available.
In the v2 API, though, everything is separated, and so you only get episode-level information for the episodes.
HOWEVER, from Krypton (or maybe earlier) a "duration" column was added to the TVshow table, and the series-level episode runtime is scraped and stored there.
(The scraped episode runtime is always replaced by the runtime of the actual file when displayed anyway.)
Posts: 5
Joined: Nov 2017
Reputation:
0
Thanks for the info on the new scraper API. So basically Kodi ignores the episode runtime from the Episode table altogether?
This is hardly a big deal, however, I make entries into the Episodes table for things that can't be scraped. Are there any other pitfalls similar to this I should be aware of?