2018-12-02, 17:42
A little something that has been bothering me for a long time, but not enough to complain (until now :-)
My process is the following:
1 I copy new moviers/episodes into their respective folder
2 then I scrape... it adds the .nfo / .jpg from the scrapers
3 then I rename, and the new files go into their respective folder, and all files are renamed
4 then Kodi integration kicks in, and the changes are propagated into Kodi's database.
But... I usually (every time?) end up with duplicate entries in Kodi. One is right, but the other one still points to the previous name of the file, until I do a library cleanup. I reckon that it is because there is another sync between step 2 and 3. So is my pipeline wrong, and how can I prevent the duplicates?
My process is the following:
1 I copy new moviers/episodes into their respective folder
2 then I scrape... it adds the .nfo / .jpg from the scrapers
3 then I rename, and the new files go into their respective folder, and all files are renamed
4 then Kodi integration kicks in, and the changes are propagated into Kodi's database.
But... I usually (every time?) end up with duplicate entries in Kodi. One is right, but the other one still points to the previous name of the file, until I do a library cleanup. I reckon that it is because there is another sync between step 2 and 3. So is my pipeline wrong, and how can I prevent the duplicates?