Media Center Master community forums
http://forums.MediaCenterMaster.com/

issue with params for GetAllBackdrops
http://forums.MediaCenterMaster.com/viewtopic.php?f=9&t=3716
Page 1 of 1

Author:  G_Drey_V [ January 31st, 2012, 9:09 am ]
Post subject:  issue with params for GetAllBackdrops

Hi. I have pretty quick question regarding plugins dev. According to example in plugin tree GetAllBackdrops takes 2 params:
- string localId (id in local database)
- string externalId (IMDB id)
But instead of localId param I'm getting IMDB id and externalId param is empty.
Is there any way to solve this issue?
Many thanks.

Author:  G_Drey_V [ February 1st, 2012, 8:42 am ]
Post subject:  Re: issue with params for GetAllBackdrops

so I believe it's a bug... isn't it?

Author:  Mad3813 [ February 1st, 2012, 1:15 pm ]
Post subject:  Re: issue with params for GetAllBackdrops

Quite probably, and i'll move it to the bugs if required, but at this stage its related to plug in development as opposed to a general MCM bug/problem.

Author:  Pete [ February 5th, 2012, 2:08 pm ]
Post subject:  Re: issue with params for GetAllBackdrops

The local ID is always IMDb unless the plugin is specifically tMDb. There's no framework support for IDs from a generic fetcher at this time (such as Amazon, etc.)

Author:  G_Drey_V [ February 8th, 2012, 8:09 am ]
Post subject:  Re: issue with params for GetAllBackdrops

So current workflow is like following (correct me if something is wrong):
1. SearchByTitleAndYear(title, year) returns found title, year and local id
2. FetchByIDsNoImages(localId, externalId) where loclaId is Id from previous step and global Id is empty
3. GetAllBackdrops(localId, externalId) and now localId is IMDB id and externalId is empty.
Maybe Is there any way to sync params for these functions. For example pass to GetAllBackdrops correct localId value or pass to FetchByIDsNoImage also externalId. So in this way I can get localId by externalId and external by local. But now it works really strange.

Page 1 of 1 All times are UTC - 7 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/