ThomasPdt 1 Posted February 23 Posted February 23 Hi, I have a home video library in which I added multiple tags. When I added some of them the first time, I didn't capitalize the tag name and I cannot change it anymore. What I tried: Going to every video that had the tag and removing the tag until no video had the tag anymore, then shutting down the server and deleting the server's cache folder, finally adding the tag again to a video with the first letter capitalized but it didn't work; I tried the Bulk Editor plugin but for some reason it cannot find any item with a tag for this library; What I'm trying to achieve: Existing tag: test I want to change it to: Test When a tag with the same name already exists or existed in the past, Emby uses the case-sensitivity of the first time that the tag was created. How can I capitalize tags that aren't? Thanks in advance.
visproduction 264 Posted February 23 Posted February 23 This seems like a quirk that has to do with the OS. In Windows, this is a known issue and you can get stuck like this. You have to rename the file with a totally different name and then it may let you change it back again with a different capitalization. Since tags are remembered, you have to do all the tags first to an intermediate name and then to the final name. It's not just Emby, same thing happens in straight Windows. Suspense -> suspense1 -> suspense
ThomasPdt 1 Posted February 23 Author Posted February 23 47 minutes ago, visproduction said: This seems like a quirk that has to do with the OS. In Windows, this is a known issue and you can get stuck like this. You have to rename the file with a totally different name and then it may let you change it back again with a different capitalization. Since tags are remembered, you have to do all the tags first to an intermediate name and then to the final name. It's not just Emby, same thing happens in straight Windows. Suspense -> suspense1 -> suspense I don't experience this quirk on Windows. I've just tested it, I can change a file named "test.txt" to "Test.txt" without changing it to an intermediate name. Even if this is the case, how would one go about changing a tag's name in Emby? As far as I know, it is not possible, you can only delete tags but not edit them. Is there a way to edit them?
visproduction 264 Posted February 23 Posted February 23 Thomas, Aha, you are correct. My file renaming idea is not accurate. Sorry, I must have been thinking about limitations with file naming with a command line or something. Even if you go to the folder in the programdata/tags and change the letter to a different case, then reboot the server. It doesn't change anything. I think it's already copied into the dbase and you would probably have to open the dbase with a dbase reader software and change it in there. Maybe changing the capital and clearing all the cache might make a difference. I was not interested in testing that one. Perhaps there is a plugin that allows this editing. 1
Happy2Play 9385 Posted February 23 Posted February 23 Odds are you will have to edit the database manually as this case issue has come up before and once in the database it is almost impossible to change unless you purge everything with the tag altogether and hope a full scan will actually purge it from the database. Will have to look for previous topics.
Happy2Play 9385 Posted February 23 Posted February 23 (edited) This topic may have caused the db to be case insensitive here and making it harder to change it as we use to end up with upper and lower case issues. Edited February 23 by Happy2Play added info
ThomasPdt 1 Posted February 23 Author Posted February 23 5 minutes ago, Happy2Play said: Odds are you will have to edit the database manually as this case issue has come up before and once in the database it is almost impossible to change unless you purge everything with the tag altogether and hope a full scan will actually purge it from the database. Will have to look for previous topics. Thank you, is there an old post somewhere that explains how to safely edit the database ? Or, could some Emby developer point to the right record to edit a tag?
Solution Happy2Play 9385 Posted February 23 Solution Posted February 23 11 minutes ago, ThomasPdt said: Thank you, is there an old post somewhere that explains how to safely edit the database ? Or, could some Emby developer point to the right record to edit a tag? Manually poking around and editing the db is at your own risk and should always have a backup of the db. But it is a matter of shutting down Emby and opening the library.db in any db viewer. As of now there is no official way beside removing the tag from every item then trying to clear the existing tag from the database with a full scan then readding correct tag. Not sure if you can edit if via the api.
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