Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
Files missing after export / import video library
#1
Hi

I exported my video library to import it on another system (including migration to centralized SQL).
I checked all the entries in the database, and I could confirm that a many-many files entries are missing. The issue probably is that I organize my anime collection like "AnimeName/Season X/Filenames.mkv".
That means that the library only scrapes season 1, the others are not in the library, but they are in the files-table of the MyVideosXXX.db.

Is there a way to export this information as well? Even if the file is not logically liked to tv-shows or episodes, its still present in the files-table.

Thanks in advance
Reply
#2
(2023-05-27, 20:13)Sesshoumaru Wrote: The issue probably is that I organize my anime collection like "AnimeName/Season X/Filenames.mkv".
I don't see what the issue is. I assume the "Filenames" includes the S01E01 numbering added? If it doesn't, then its not going to work.

(2023-05-27, 20:13)Sesshoumaru Wrote: its still present in the files-table
That doesn't mean anything. All video files in a Source are added to the files table. You don't need to export that as your new setup should just scan them back.
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#3
(2023-05-27, 20:33)Karellen Wrote:
(2023-05-27, 20:13)Sesshoumaru Wrote: its still present in the files-table
That doesn't mean anything. All video files in a Source are added to the files table. You don't need to export that as your new setup should just scan them back.
Thats nice an dandy, but the files-Table is storing the "playcount" which is used to track the watch-status. If this table is lost, well... thats exactly what I do not want to lose...
I started to write myself a SQL tool which directly migrate the database - as I don't see another posibility to keep certain file-based info. Which is a pity, considering the backup-capabilties otherwise.
Reply
#4
(2023-05-28, 02:06)Sesshoumaru Wrote: but the files-Table is storing the "playcount" which is used to track the watch-status.
You should have mentioned your intent in the first post.
You can...
1. Export your library to Separate Files (nfo files). Then scan these into your new setup. This is the correct method to re-create libraries. It will give you an identical library. Don't export artwork if you already have local artwork.
2. If it is just the playcounts you are concerned about, then use the WatchedList addon which is in the repo.
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#5
Kinda cool. Will try it out Big Grin ... thanks for the advice
Reply
#6
I am just not lucky .. because I used AniDB as scrapper, it has no "thetvdb" set on the shows.
I may try to fiddle around with the Addon a bit or continue my own solution. Once you deviate from the "norm", you get in troubles when moving data Wink
Reply

Logout Mark Read Team Forum Stats Members Help
Files missing after export / import video library0