SickBeard-Team/SickBeard — comment on commit f171bbf42479c4ebaa885b3820bdbcf2364c22c7
File: sickbeard/webapi.py line 1681
By lad1337:

tvdbResult = CMD_ShowSearchTVDB(self.show_name).run()
if tvdbResult['result'] = result_type_map[RESULT_SUCCESS]:
self.show_name = tvdbResult['data']['results']['name'][0][1] # first result, name .... we have to key:param the result given by ShowSearchTVDB !

this is only an example of what we could do and we should extend ShowSearchTVDB with a tvdbid param for this purpose
(i am writing this here and not doing it actually because i dont have time right now .. but will do it later)