get unique Items
#1
Hi there


How to get unique Items from the query?
For VideoLibrary.GetMovies and VideoLibrary.GetRecentlyAddedMovies

I have duplicates I want to get read of...

Thanks
Reply
#2
Are those duplicates also available in your library when browsing through it in XBMC's GUI?

If that's the case you need to do some item comparison. For movies and tvshows you could e.g. compare the title and the year. But JSON-RPC doesn't offer that functionality, you have to write it yourself.
Always read the online manual (wiki), FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the forum rules (wiki).
Please read the pages on troubleshooting (wiki) and bug reporting (wiki) before reporting issues.
Reply
#3
Yes they appear in the XBMC's GUI.


I came upon this uniqueItem parameter and I wasn't sure how to use it, or even if it was used anywhere...
Reply
#4
Depending on the scraper you have chosen in XBMC the "uniqueItem" property may contain some unique identifier used by the scraper (e.g. a IMDB or TMDB identifier) but it fully depends on the scraper.
Always read the online manual (wiki), FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the forum rules (wiki).
Please read the pages on troubleshooting (wiki) and bug reporting (wiki) before reporting issues.
Reply

Logout Mark Read Team Forum Stats Members Help
get unique Items0