mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-24 17:56:11 +00:00
fix main entry point: not respond to other addons requests
This commit is contained in:
parent
4a3200f6df
commit
ad00392a68
2 changed files with 2 additions and 3 deletions
|
@ -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()
|
||||
|
||||
|
||||
|
|
|
@ -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))
|
||||
|
||||
|
|
Loading…
Reference in a new issue