git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
replace some sUser with more readable code
[enigma2.git]
/
lib
/
python
/
Plugins
/
Extensions
/
DVDPlayer
/
plugin.py
diff --git
a/lib/python/Plugins/Extensions/DVDPlayer/plugin.py
b/lib/python/Plugins/Extensions/DVDPlayer/plugin.py
index 8e9031d729fd2f905b3dc79ecc23fe96f270cb45..f433ce6b3606d2dbfa5464c4947e10bb15383e2b 100644
(file)
--- a/
lib/python/Plugins/Extensions/DVDPlayer/plugin.py
+++ b/
lib/python/Plugins/Extensions/DVDPlayer/plugin.py
@@
-424,14
+424,14
@@
class DVDPlayer(Screen, InfoBarBase, InfoBarNotifications, InfoBarSeek, InfoBarP
self.doShow()
def __chapterUpdated(self):
self.doShow()
def __chapterUpdated(self):
- self.currentChapter = self.service.info().getInfo(iServiceInformation.s
User+8
)
- self.totalChapters = self.service.info().getInfo(iServiceInformation.s
User+80
)
+ self.currentChapter = self.service.info().getInfo(iServiceInformation.s
CurrentChapter
)
+ self.totalChapters = self.service.info().getInfo(iServiceInformation.s
TotalChapters
)
self.setChapterLabel()
print "__chapterUpdated: %d/%d" % (self.currentChapter, self.totalChapters)
def __titleUpdated(self):
self.setChapterLabel()
print "__chapterUpdated: %d/%d" % (self.currentChapter, self.totalChapters)
def __titleUpdated(self):
- self.currentTitle = self.service.info().getInfo(iServiceInformation.s
User+9
)
- self.totalTitles = self.service.info().getInfo(iServiceInformation.s
User+90
)
+ self.currentTitle = self.service.info().getInfo(iServiceInformation.s
CurrentTitle
)
+ self.totalTitles = self.service.info().getInfo(iServiceInformation.s
TotalTitles
)
self.setChapterLabel()
print "__titleUpdated: %d/%d" % (self.currentTitle, self.totalTitles)
if not self.in_menu:
self.setChapterLabel()
print "__titleUpdated: %d/%d" % (self.currentTitle, self.totalTitles)
if not self.in_menu: