Skip to content

Commit

Permalink
fix getcurrent movie info
Browse files Browse the repository at this point in the history
  • Loading branch information
jbleyel committed Aug 29, 2023
1 parent bb65cd2 commit d04e64f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugin/controllers/web.py
Original file line number Diff line number Diff line change
Expand Up @@ -1814,8 +1814,9 @@ def P_getcurrent(self, request):
}
# replace EPG NOW with Movie info
mnow = eventnow
if mnow["sref"].startswith('1:0:0:0:0:0:0:0:0:0:/') or mnow["sref"].startswith('4097:0:0:0:0:0:0:0:0:0:/'):
if info["ref"].startswith('1:0:0:0:0:0:0:0:0:0:/'):
try:
mnow["sref"] = info["ref"]
service = self.session.nav.getCurrentService()
minfo = service and service.info()
movie = minfo and minfo.getEvent(0)
Expand Down

0 comments on commit d04e64f

Please sign in to comment.