Jump to content

Recommended Posts

Posted

Hello, I'm from Spain and I'm having a little trouble trying to clean my library. I have the problem with genres and tags, they are always downloaded in english and I want to translate them to spanish. For example, from Comedy to Comedia:

I made a small app in c# that using the api /Genres and /Tags I can obtain all the names, and translate and updates them through the api. The problem is when I add a new movie or episode, it creates a new Genre or Tag in english again, and if I try to translate them I'm getting duplicates.

Is there a posibility to add in future updates new Endpoints for merge Genres or Tags? Moving all movies and episodes from one Genre to another?

If it's not posible, is it posible doing it manually calling the api? I'm thinking the next steps but I don't know which endpoints and data to use:

- Get the id of the old genre (or tag)
- Get the id of the new genre (or tag)
- Get all movies, shows and episodes with the old genre id
- Update movies, shows and episodes to the new genre id
- Delete the old genre

Thanks.

GrimReaper
Posted

You can use Genre Cleaner plugin. You'll find it in the Catalogue. 

 

 

Posted

Thanks, I saw that plug-in, but I would still have the problem with the tags

GrimReaper
Posted
10 minutes ago, aenon83 said:

I have the problem with genres and tags, they are always downloaded in english

 

1 minute ago, aenon83 said:

but I would still have the problem with the tags

Where are those tags coming from? Emby doesn't download tags from any provider/source. 

Posted

Oh, I think they could be coming from TinyMediaManager, I could disable all providers in my libraries, let TinyMediaManager fetch all the data in a temp folder and translate it before adding them to Emby.

Thanks.

  • Thanks 1
  • 1 year later...
Posted (edited)

Can be done using the API:

- Get all genres:

GET /emby/Genres

- Get all detailed genre info

GET /emby/Users/{userId}/Items/{genreId}

- Update translations (Name, SortName, ForcedSortName) with altered json as body

POST /emby/Items/{genreId}

 

Edited by Rubiko
font size

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...