Keylonta 0 Posted March 10, 2017 Posted March 10, 2017 (edited) I have a Library set to "Save artwork and metadata into media folders" Why do I loose the metadata of the root folder when I remove and re-add the Library? For example, I set the overview text for the root Library folder (main folder on the top level of Emby WMC), but when I remove the Library and re-add it, the metadata no longer exists. All the subfolders maintain their metadata, only the root folder loses the metadata. Edited March 10, 2017 by Keylonta
PenkethBoy 2068 Posted March 10, 2017 Posted March 10, 2017 i suspect if you check the root folder does not have a "nfo" file before you remove the library - data stored in the database i suspect - so when you re add the Library there is no "stored" metadata to read as its cleared from the DB
Luke 42085 Posted March 10, 2017 Posted March 10, 2017 How did you do this? I set the overview text for the root Library folder
Keylonta 0 Posted March 11, 2017 Author Posted March 11, 2017 i suspect if you check the root folder does not have a "nfo" file Yeah... it doesn't have a .nfo file in the root folder. The .nfo file is kept in the last subfolder. For this particular Library, the VIDEO_TS folder. How did you do this? In the Metadata Manager I input text into the overview field of the Libraries root folder (Folder 1). Folder 1\Folder 2\Folder 3\VIDEO_TS
Luke 42085 Posted March 11, 2017 Posted March 11, 2017 Would you mind showing a screenshot of your metadata manager with the left side visible so that i can see that structure?
Keylonta 0 Posted March 19, 2017 Author Posted March 19, 2017 I tested further by creating some more libraries, but when ever I remove one and re-add it, it's root folder loses the overview metadata text. In the below example, "Home videos & photos" is the root folder, and the .nfo file is in the VIDEO_TS folder within the "Part 1" folder. So the "Home videos & photos" Library loses it's metadata when re-added to Emby WMC, but all the subfolders retain their metadata.
Solution Luke 42085 Posted March 19, 2017 Solution Posted March 19, 2017 Ok, I understand now. We never really intended to support this. To be honest, the overview field in the metadata manager is showing by accident for the top level folders. That's not really something we ever really intended to support. 1
Keylonta 0 Posted March 19, 2017 Author Posted March 19, 2017 Access to the overview field for the top level folders is the only way to turn off the recently added content list. https://emby.media/community/index.php?/topic/45608-turn-off-recently-added-content-list/
PenkethBoy 2068 Posted March 19, 2017 Posted March 19, 2017 @@Keylonta an answer of sorts If you add text to the "root folder" of a library then the data is saved under the server root folder for the library as a Folder.xml file e..g c:\.....\Emby-Server\root\default\<name of library>\folder.xml when you remove a library it deletes the <name of library> folder so this is why you loose your metadata as well as flushing the database If you use the Backup plugin you could copy back the folder.xml file from the backup folder - i just did a manual copy of the file. I tried putting the file in the actual root folder for the library on my datastore but a rescan/refresh did not pick it up. Also putting it back in the root folder under the server root library folder was also no picked up As its unsupported thats probably why it does not re read the data
Keylonta 0 Posted March 21, 2017 Author Posted March 21, 2017 @@PenkethBoy You could try adding more text to the "root folder" of the re-added library, maybe when it recreates the Folder.xml (not sure if that's what it does) it will see the Folder.xml you copied back. If not, you could try editing the new Folder.xml, and copy and paste the text from the old Folder.xml.
PenkethBoy 2068 Posted March 21, 2017 Posted March 21, 2017 lol i was trying to answer your question have no need of it myself
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now