fix main entry point: not respond to other addons requests

This commit is contained in:
Marcel van der Veldt 2015-05-09 21:26:01 +02:00
parent 4a3200f6df
commit ad00392a68
2 changed files with 2 additions and 3 deletions

View file

@ -76,9 +76,8 @@ elif mode == "recentepisodes":
elif "extrafanart" in sys.argv[0]:
entrypoint.getExtraFanArt()
##### SHOW ADDON NODES LISTING #####
else:
if mode is None:
entrypoint.doMainListing()

View file

@ -332,7 +332,7 @@ class WriteKodiMusicDB():
genres = " / ".join(MBitem.get("Genres"))
artists = " / ".join(MBitem.get("Artists"))
track = MBitem.get("IndexNumber")
duration = int(timeInfo.get('Duration'))*60
duration = int(timeInfo.get('Duration'))*60 ## TODO --> duration in seconds, now its capped at minutes
year = MBitem.get("ProductionYear")
bio = utils.convertEncoding(API().getOverview(MBitem))