horstepipe 356 Posted June 29, 2022 Share Posted June 29, 2022 (edited) Hello I'm about to create a small script to check based on filenames whether all episodes in a season are German or English. If all episodes are English, the script shall write a Tag to the season's .nfo file. If some German episodes arrive, the script shall remove the tag from the nfo. Adding the tag works without problems, also the real time monitor does its job and the tag is immediately being applied. But if I remove the tag from the nfo (also tried removing the lockedfields value) the tag comes back either through the real time monitor or through a library scan. Steps to reproduce: Enable nfo files at media location Add a tag to any season via Emby GUI go to the media location of the season and manually remove the <tag> and the <lockedfields> values wait for the real time monitor or start a library scan Result: tag comes back to the season I reproduced on a fresh Windows instance. Is there a reason for that behavior or is it a bug? Best regards Edited June 29, 2022 by horstepipe Link to comment Share on other sites More sharing options...
Luke 37133 Posted June 29, 2022 Share Posted June 29, 2022 @Happy2Play are you able to reproduce? Link to comment Share on other sites More sharing options...
Happy2Play 8319 Posted June 29, 2022 Share Posted June 29, 2022 19 minutes ago, Luke said: @Happy2Play are you able to reproduce? Yes, applying a tag in UI then manually editing the season.nfo file, RTM rewrites the deleted tag to season.nfo. Tested with unlocked field. Doing the same as show level does not provide the same results, tag does not get rewritten to tvshows.nfo but does not get removed from UI either. Link to comment Share on other sites More sharing options...
Luke 37133 Posted June 29, 2022 Share Posted June 29, 2022 What if there are three tags and you only remove one, how does that compare? Link to comment Share on other sites More sharing options...
Happy2Play 8319 Posted June 29, 2022 Share Posted June 29, 2022 1 hour ago, Luke said: What if there are three tags and you only remove one, how does that compare? The deleted tag gets removed, only tested season.nfo. 1 Link to comment Share on other sites More sharing options...
Luke 37133 Posted June 29, 2022 Share Posted June 29, 2022 OK there was a topic in the testing area about this a couple months ago. It's something that needs to be looked at when importing existing metadata. When something is missing, the server doesn't really know if the metadata is just incomplete or if it's actually intended to not be there, so that's why this currently happens. 1 Link to comment Share on other sites More sharing options...
Happy2Play 8319 Posted June 30, 2022 Share Posted June 30, 2022 Previous discussion Currently you can add them, change them, but not completely remove them once added from a nfo file. Complete removal requires UI intervention. Have not tested tags at every possible level though. 2 Link to comment Share on other sites More sharing options...
horstepipe 356 Posted July 8, 2022 Author Share Posted July 8, 2022 On 6/29/2022 at 10:30 PM, Luke said: OK there was a topic in the testing area about this a couple months ago. It's something that needs to be looked at when importing existing metadata. When something is missing, the server doesn't really know if the metadata is just incomplete or if it's actually intended to not be there, so that's why this currently happens. Just curious whether fixing this issue is on your shortterm todo list or whether it will take awhile? Link to comment Share on other sites More sharing options...
Luke 37133 Posted July 8, 2022 Share Posted July 8, 2022 3 hours ago, horstepipe said: Just curious whether fixing this issue is on your shortterm todo list or whether it will take awhile? It's something that will be reviewed in future updates. Thanks. 1 Link to comment Share on other sites More sharing options...
horstepipe 356 Posted September 2, 2022 Author Share Posted September 2, 2022 as this seems to be lower priority, are there any workarounds? I guess removing the tag via emby api would work? Link to comment Share on other sites More sharing options...
Luke 37133 Posted September 3, 2022 Share Posted September 3, 2022 Hi, yes the api would work. Link to comment Share on other sites More sharing options...
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