Jump to content

Find Duplicates via API


Recommended Posts

displayname0504
Posted

I was hoping to see a way to find duplicates in the API. It would be helpful as it's not an obvious thing to check for otherwise.

Posted

Hi, yes this is there. In the 4.9 release the web app has the new duplicates filter, so you could mimic what that's sending.

displayname0504
Posted
Quote

https://<internalIP>:8920/emby/Items?IncludeItemTypes=Movie&Recursive=true&IsDuplicate=true&Limit=50&api_key=<apikey>

I tried this, but it just listed my first 50 movies, not limited by duplicate. 

 

displayname0504
Posted

Ah - it has to be tied to a user search, not just scouring the library.  It would be great if it could be an option for the Items API endpoint

Posted
1 hour ago, displayname0504 said:

Ah - it has to be tied to a user search, not just scouring the library.  It would be great if it could be an option for the Items API endpoint

I believe it should work in a user-less context.

displayname0504
Posted
Quote

https://<ip>:8920/emby/Users/<userstring>/Items?IncludeItemTypes=Movie&Recursive=true&IsDuplicate=true&Limit=50&api_key=<aipkey>

Worked perfectly fine.

Quote

https://<ip>8920/emby/Items?IncludeItemTypes=Movie&Recursive=true&IsDuplicate=true&Limit=50&api_key=<aipkey>

Returned all movies, the IsDuplicate did not have an impact.

Posted

OK we’ll take a look at it. Thanks.

displayname0504
Posted

Appreciate it so much

  • Thanks 1

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