2011-07-31, 00:40
This is continuation of my thread in skin forum. In post #10 (and some before) there is description of my goal and problems so I'll not repeat myself here again.
I'll continue with question:
Is there any hard reason why there isn't something like xbmc.getListItemVideoInfoTag()?
Method which return VideoInfoTag of currently selected item. I know we can get majority of these informations from xbmc.getInfoLabel(...) method, but there are some other which will probably never be made ListItem infolabels (like m_iDbId). I checked other addons (Trakt, Cinema experience) how they solve problem with absence of direct key to Movies/TVShows DB tables and found same workaround (lookup by name), so I guess it'll be useful for others too.
Basicaly I'm asking because I already did some code changes to my local repo to test possibilities and looks like it works fine, so I want to know if I can continue to polish it to some patch form or return to lookup by name workaround.
I'll continue with question:
Is there any hard reason why there isn't something like xbmc.getListItemVideoInfoTag()?
Method which return VideoInfoTag of currently selected item. I know we can get majority of these informations from xbmc.getInfoLabel(...) method, but there are some other which will probably never be made ListItem infolabels (like m_iDbId). I checked other addons (Trakt, Cinema experience) how they solve problem with absence of direct key to Movies/TVShows DB tables and found same workaround (lookup by name), so I guess it'll be useful for others too.
Basicaly I'm asking because I already did some code changes to my local repo to test possibilities and looks like it works fine, so I want to know if I can continue to polish it to some patch form or return to lookup by name workaround.