DarkVather 6 Posted November 11, 2024 Posted November 11, 2024 Hallo zusammen, ich bin am Ende und ihr seit meine letzte Rettung. Ich habe in den letzten Jahren mühsam in Handarbeit Tag für Tag Filme zu Emby hinzugefügt und 1207 Film Collectionen manuell erstellt. Jetzt hatte ich gestern ein Problem mit meiner HDD, diese wurde immer mal wieder zeitweiße aus dem System ausgeworfen und dann wieder hinzugefügt. Heute musste ich feststellen das mir nur noch 593 Film Collectionen in Emby angezeigt werden. Ich habe mal nachgesehen, auf der HDD sowie unter Emby ist jeder Film noch vorhanden und unter dem Pfad "C:\Users\Admin\AppData\Roaming\Emby-Server\programdata\metadata\collections" sowie "C:\Users\Admin\AppData\Roaming\Emby-Server\programdata\data\collections" gibt es die 1207 Ordner mit den Film Collectionen ebenfalls noch, darin enthalten sind auch noch die collection.xml sowie post.jpg. Könnt ihr mir bitte helfen damit die Filme auf der HDD welche sich auch noch in Emby befinden wieder alle den Collectionen zugewießen werden? Das quasi wieder alles auf dem alten Stand ist? Ich habe in das Projekt mehrere Monate intensive Arbeit gesteckt und würde es wohl endgültig begraben wenn das alles verloren ist. Vielleicht gibt es ja einen Weg Emby hier nochmals anzustoßen, vorhanden zu sein scheint ja alles noch... Win10, Emby 4.8.10.0, Emby Premiere Key vorhanden. Danke Danke Danke
DarkVather 6 Posted November 11, 2024 Author Posted November 11, 2024 (edited) Mir ist ebenfalls noch aufgefallen das in 655 Filme Ordnern sich jeweils die beiden Dateien clearlogo.png sowie z.B. Ghoulies.nfo verändert haben (durch Emby). In der *.nfo Datei steht aber immer noch der verweiß auf die <set tmdbcolid="44913"> <name>Ghoulies</name> </set> drinnen. Keine Ahnung was Emby fehlt damit die Collectionen wieder erstellt werden. Edited November 11, 2024 by DarkVather
Uwe96 3 Posted November 12, 2024 Posted November 12, 2024 Du hast 1207 Film Collectionen? Emby stellt Collectionen doch selbst zusammen.
DarkVather 6 Posted November 12, 2024 Author Posted November 12, 2024 Ja genau ich habe 1207 Collectionen selbst erstellt gehabt. Die Funktion damit Emby das automatisch macht habe ich deaktiviert weil das bei mir nicht richtig funktioniert und nur Chaos gegeben hat.
Luke 42077 Posted November 17, 2024 Posted November 17, 2024 @DarkVatherdo your nfo files also contain your custom collections?
DarkVather 6 Posted November 17, 2024 Author Posted November 17, 2024 Hi @Luke, Vielen Dank für deine Antwort. Ich habe mal in neue sowie alte nfos gesehen, leider unterscheidet sich der Aufbau der Filme nfos sehr stark. Auf was müsste ich denn achten oder auf welchen Phrase müsste ich suchen? Habe dir als Beispiel mal eine PN geschrieben...
sa2000 674 Posted November 21, 2024 Posted November 21, 2024 @DarkVather Hi. A few days ago, I sent you a PM with the following db queries to run on the library.db . The queries get counts and lists. Download the sqlite3 command line tool from here - the direct link for the latest binaries is here - or do the queries using a gui sqlite interface such as this product SQLITE Studio. Run these after you shutdown Emby Server. The db file being here C:\Users\Admin\AppData\Roaming\Emby-Server\programdata\data\library.db Run each of these queries individually: The first two just get counts of collections in the database and movies linked to collections select count (*) from MediaItems where type = 9; select count (*) from ItemLinks2 where type = 6; and the following which actually list the collection names select id, type, name from MediaItems where MediaItems.type = 9; and this will be a long list, listing the movie names that are linked to collections select MediaItems.name from ItemLinks2 join MediaItems on MediaItems.Id = ItemLinks2.Itemid where ItemLinks2.type =6; This will indicate if there is a DB issue and if you need to look for backups
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