aenemapy / aenemapyrepo

Kodi repo
39 stars 30 forks source link

fix for movies not played as 'mediatype': 'movie' #12

Closed henryjfry closed 5 years ago

henryjfry commented 5 years ago

In player.py Movies played from openmeta sent with correct metadata do not get played as "mediatype = movie" because "infoMeta" is set to false. I couldn't figure out why this was happening but adding a test for "if 'movie' in str(meta):" to set "infoMeta = True" seems to fix this. You can then pass metadata which will be displayed on the OSD.

This may also effect episodes played via openmeta through lists, ie anything which gets routed directly to player.py rather than being picked up via tvshows.py/episodes.py/movies.py??

aenemapy commented 5 years ago

that's not a good way to check if the content is movie. I am not using openmeta so I dont know what it pass to the player but it at least need to pass the imdb id for the addon to set the infoMeta True