Jump to content

genres are duplicated


Recommended Posts

Posted (edited)
Genre

Hello some genres are duplicated. I have already checked whether empty spaces or similar are available. I can not find a difference. Does somebody has any idea?

post-303117-0-55822200-1546273480_thumb.png

Edited by RRo100
Posted

What version of Emby Server?

Posted
Hello, I have the version 3.6.0.81 beta in use. I will not lose the database, too many adaptations in the metadata and unwatched flag I do not want to lose.

Genre Cleaner I can not use because the writing whites of the two genres are the same.

How could I repair the database with SQLiteDatabaseBrowser, where do I find the DB entries?

Happy2Play
Posted

 

Hello, I have the version 3.6.0.81 beta in use. I will not lose the database, too many adaptations in the metadata and unwatched flag I do not want to lose.
Genre Cleaner I can not use because the writing whites of the two genres are the same.
How could I repair the database with SQLiteDatabaseBrowser, where do I find the DB entries?

 

 

Since you are on beta release, look at the MediaItems table and filter the Path column with your duplicate genre names.

 

As shown here

PenkethBoy
Posted

@@Happy2Play

 

TypebasedItems table does not exist in new DB schema (if new install and not an upgrade - and is not used by an upgraded Emby anyway)

Posted

The MediaItems table is what is used now.

Posted

When I open the library.db and look at the MediaItems table, I do not know what to change in it.

post-303117-0-03798600-1546534156_thumb.png

Happy2Play
Posted

Look at the image linked in post 5.  You are not looking at genres column.  Filter the Path column with Abenteuer (your duplicate genre).  You are looking for multiple paths to the same genre.

Posted

Hello Happy2Play, in the database there are e.g. "Animation" only once

post-303117-0-59173400-1547233969_thumb.png

post-303117-0-02230700-1547233977_thumb.png

post-303117-0-21928600-1547233982_thumb.png

Happy2Play
Posted

Hello Happy2Play, in the database there are e.g. "Animation" only once

 

It is really hard to say since Genre Cleaner is seeing these duplicates also.  Are you seeing any duplicate genres in the movie items?

 

Also that is the old table, the new table is mediaitems.

Posted

Ok in the mediaitems table, the genres are double. Does it matter which entry I delete?

post-303117-0-58961700-1547317424_thumb.png

Happy2Play
Posted

Ok in the mediaitems table, the genres are double. Does it matter which entry I delete?

 

I would compare all the column but I don't believe so.

Happy2Play
Posted (edited)

Also note you will either have to manually edit the genrecleaner.xml in "\Emby-Server\programdata\plugins\configurations" or delete it and re-initialized each library type.  Or I believe you can delete the duplicates on that mapping screen.

Edited by Happy2Play
Happy2Play
Posted

Only difference I see looking at the database is the original genres were created in June and the duplicate genres were created in September,  The ones created in June have a CleanName and the ones from September don't.

 

I would delete duplicate genres with null CleanName.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...