Posts: 239
Joined: Apr 2010
Reputation:
2
Zodler
Senior Member
Posts: 239
I just did several tests. Exporting library both as a single file and or seperate files, I see that the resume positions are well exported and are in the xml or .nfo files
<resume>
<position>308.036011</position>
<total>1288.000000</total>
</resume>
The problem is that when you import the xml library or do a scan where the library reads the .nfo files, in both cases it doesn't import the resume positions.
They are kind of important information being dropped here.
Posts: 5,184
Joined: Jan 2009
Reputation:
131
Looking at the code it looks like XBMC reads the <resume> tag on Import but it doesn't store it into the database. Might be worth discussing if this should be added or not. If we export it, we should also import it I guess.
Always read the
online manual (wiki),
FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the
forum rules (wiki).
Please read the pages on
troubleshooting (wiki) and
bug reporting (wiki) before reporting issues.
Posts: 239
Joined: Apr 2010
Reputation:
2
Zodler
Senior Member
Posts: 239
Yes please. When you want to export and import a library, you want all the information be preserved.
I have to say that I very much liked the seperate files export. It's real powerful and makes your library portable. If you change a path or a system,
you can easily scan again and they are read from the .nfo files. Only if the resume positions were imported too.
By the way, when you address this, there should also be a way to export the resume positions for the files that are not in your library and
only visible in the file view. Both in the single and separate modes. Thank you.
Posts: 5,184
Joined: Jan 2009
Reputation:
131
2012-04-22, 10:40
(This post was last modified: 2012-04-22, 10:40 by Montellese.)
I created PR895 to import resume points when reading an NFO.
Always read the
online manual (wiki),
FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the
forum rules (wiki).
Please read the pages on
troubleshooting (wiki) and
bug reporting (wiki) before reporting issues.
Posts: 1,052
Joined: Jul 2011
Reputation:
89
scudlee
Retired Team-Kodi Member
Posts: 1,052
It could be added as an advanced setting, after all, watched status isn't imported by default so I don't think "partially watched" status should be either (but it should be an option).
Posts: 5,184
Joined: Jan 2009
Reputation:
131
Looking at the code it seems like actions like "Update library" and "Refresh" (on single items) import the watched status depending on advancedsettings.xml but when using "Import video database" it does not care about that setting and stores the playcount/watched status read from the NFO into the database. I haven't really tested this, it's just what I read from the code.
Always read the
online manual (wiki),
FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the
forum rules (wiki).
Please read the pages on
troubleshooting (wiki) and
bug reporting (wiki) before reporting issues.
Posts: 132
Joined: May 2011
Reputation:
13
I kind of agree with some of the posters on PR895... storing/importing resume information in the .NFOs is probably a bad idea, unless there's some option to disable reading it advancedsettings.xml.
What ISN'T a bad option is importing the resume info from the single file backup. The resume information is stored in videodb.xml, it's just ignored when you import that file which seems so wrong that I think it's a bug. It would be like ignoring the watched status or playcounts on an import.
Posts: 31,445
Joined: Jan 2011
Considering the line between File and Library in XBMC is getting more blurry, being able to export/import that information for just files might be worth exploring.