2020-05-26, 06:31
This is a repeatable issue I've had over the course of the past couple of years. I think this is the correct place to post, but please forgive me if it isn't.
Quick setup: Multiple HTPCs running Windows 10 Kodi from Microsoft store. Synology NAS which holds the database for syncing (MariaDB 10).
File structure: I *used* to manually name files, so they would be named as such: "Seinfeld - s01e01 - The Seinfeld Chronicles". Now, I use FileBot to rename files and they are as such: "Seinfeld - S01E01 - The Seinfeld Chronicles". Notice the capitalization.
Issue: Sometimes I update my files (usually to add subtitles or things like upgrading resolution from 480 to 1080 for example). When I need to update a whole series (I'm using Seinfeld in this example, but I've had the same issue with Game of Thrones and others), I completely delete the folder on the NAS, log out all of the PCs connected to Kodi, and clean the library to remove the show. Then, I create a new folder and add the updated files and scan them back into Kodi. The problem is that if it's a show I used to manually name (with lowercase letters) which currently has uppercase letters, Kodi will scan the file in correctly, but throw a "No longer available - remove from library?" error when you try to playback. If you look at the path in the info screen, the path to the show will be with the old lowercase letters. No amount of removing and rescanning will update the path to uppercase. When you look at the file using the Video -> files path, it shows the correct uppercase before it is scanned into the library, but once again reverts to lowercase when scanned in and then will not play/says is no longer there.
If I log into the DB on my NAS, I can manually locate the path and change it from lowercase to uppercase and the file will then play correctly; however, you can understand with a show like Seinfeld where there are 150+ episodes this is a task.
Is there a way to fix this without nuking the entire library or manually editing the DB?
Here is a link to an imgur album showing the issue (I hope links are okay): https://imgur.com/a/94S2Vkw
Quick setup: Multiple HTPCs running Windows 10 Kodi from Microsoft store. Synology NAS which holds the database for syncing (MariaDB 10).
File structure: I *used* to manually name files, so they would be named as such: "Seinfeld - s01e01 - The Seinfeld Chronicles". Now, I use FileBot to rename files and they are as such: "Seinfeld - S01E01 - The Seinfeld Chronicles". Notice the capitalization.
Issue: Sometimes I update my files (usually to add subtitles or things like upgrading resolution from 480 to 1080 for example). When I need to update a whole series (I'm using Seinfeld in this example, but I've had the same issue with Game of Thrones and others), I completely delete the folder on the NAS, log out all of the PCs connected to Kodi, and clean the library to remove the show. Then, I create a new folder and add the updated files and scan them back into Kodi. The problem is that if it's a show I used to manually name (with lowercase letters) which currently has uppercase letters, Kodi will scan the file in correctly, but throw a "No longer available - remove from library?" error when you try to playback. If you look at the path in the info screen, the path to the show will be with the old lowercase letters. No amount of removing and rescanning will update the path to uppercase. When you look at the file using the Video -> files path, it shows the correct uppercase before it is scanned into the library, but once again reverts to lowercase when scanned in and then will not play/says is no longer there.
If I log into the DB on my NAS, I can manually locate the path and change it from lowercase to uppercase and the file will then play correctly; however, you can understand with a show like Seinfeld where there are 150+ episodes this is a task.
Is there a way to fix this without nuking the entire library or manually editing the DB?
Here is a link to an imgur album showing the issue (I hope links are okay): https://imgur.com/a/94S2Vkw