script.simkl icon indicating copy to clipboard operation
script.simkl copied to clipboard

Provide ID's

Open daviddavo opened this issue 9 years ago • 2 comments

Add some method so other add-ons can specify the item ID's

daviddavo avatar Jan 05 '17 21:01 daviddavo

There are lots of addons using script.trakt's method, so maybe we should use it.

ids = json.dumps({u'tmdb': 264660, u'imdb': u'tt0470752', u'slug': u'ex-machina-2014', u'trakt': 163375})
xbmcgui.Window(10000).setProperty('script.trakt.ids', ids)

daviddavo avatar Oct 08 '17 09:10 daviddavo

As I understand, this method adds the ability to scrobble from other addons. Yes, we can develop something like this, can get Simkl ID using http://docs.simkl.apiary.io/#reference/sync/get-items-by-id api method

ekleop avatar Oct 08 '17 13:10 ekleop