ginjaninja 533 Posted June 16, 2021 Share Posted June 16, 2021 I understand that Emby add embedded genres to objects during scanning but doesnt remove existing genres. I want Emby to always match the embedded genres (i never add genres on purpose manually to my music, i always defer to embedded tags on my music library) my library has lots of spurious genres due to an issue so i would like to clear the genres out without wiping the database, so emby can revert back to the 'true' picture. would there be a better way than Getting genres of all albums, artists and tracks http://localhost:8096/emby/Items?Recursive=true&Fields=Genres&IncludeItemTypes=MusicAlbum%2CMusicArtist%2CAudio and posting back each "genre zeroed" id does it matter which order object genres are zeroed in, (tracks>albums>artists?) Link to comment Share on other sites More sharing options...
PenkethBoy 2063 Posted June 16, 2021 Share Posted June 16, 2021 without a great amount of thought but.... to get emby to re read them - first i would zero out all the genres - as emby will add but not remove genres on a refresh so by using the api you can zero them all out first then do a refresh once you have corrected / removed the spurious ones from the song tags etc and should get what you want 1 Link to comment Share on other sites More sharing options...
ginjaninja 533 Posted June 17, 2021 Author Share Posted June 17, 2021 (edited) just refreshing an artist removes the spurious genres,....was looking forward to writing that script..oh well doesnt look like it wont be necessary before refresh after refresh Edited June 17, 2021 by ginjaninja Link to comment Share on other sites More sharing options...
PenkethBoy 2063 Posted June 17, 2021 Share Posted June 17, 2021 it was changed in .3 see release notes Link to comment Share on other sites More sharing options...
Luke 36881 Posted June 21, 2021 Share Posted June 21, 2021 Do you consider this resolved now? Link to comment Share on other sites More sharing options...
ginjaninja 533 Posted June 21, 2021 Author Share Posted June 21, 2021 9 minutes ago, Luke said: Do you consider this resolved now? Hi luke, yes its all good thanks for asking We were both under the impression/expectation (i believe) that scanning added genres but didnt remove genres (thats what precipitated this topic)...so i was surprised that a library refresh post 7.0.3 cleaned everything up. Is there anything you can clarify here about the way genres work during refreshes for future reference? Link to comment Share on other sites More sharing options...
Luke 36881 Posted June 21, 2021 Share Posted June 21, 2021 Yea I can see why this would happen on a regular scan but bot a metadata refresh, so it's something that needs to be looked at. 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