diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2006-02-27 22:02:53 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2006-02-27 22:02:53 +0000 |
| commit | de0875117ca72715893feb9183a498c2942d7da5 (patch) | |
| tree | 462701c65a523892aa23468c08907c894c798fd6 /lib/python | |
| parent | 8173cd589424b450c648ccd565e3933d570bc741 (diff) | |
| download | enigma2-de0875117ca72715893feb9183a498c2942d7da5.tar.gz enigma2-de0875117ca72715893feb9183a498c2942d7da5.zip | |
make getCurrentPosition useable from other classes
Diffstat (limited to 'lib/python')
| -rw-r--r-- | lib/python/Screens/InfoBarGenerics.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/python/Screens/InfoBarGenerics.py b/lib/python/Screens/InfoBarGenerics.py index 0e186fff..d6a10012 100644 --- a/lib/python/Screens/InfoBarGenerics.py +++ b/lib/python/Screens/InfoBarGenerics.py @@ -1232,7 +1232,7 @@ class InfoBarCueSheetSupport: return None return service.seek() - def __getCurrentPosition(self): + def cueGetCurrentPosition(self): seek = self.__getSeekable() if seek is None: return None @@ -1242,7 +1242,7 @@ class InfoBarCueSheetSupport: return long(r[1]) def jumpPreviousNextMark(self, cmp, alternative=None): - current_pos = self.__getCurrentPosition() + current_pos = self.cueGetCurrentPosition() if current_pos is None: return mark = self.getNearestCutPoint(current_pos, cmp=cmp) @@ -1275,7 +1275,7 @@ class InfoBarCueSheetSupport: return nearest def toggleMark(self, onlyremove=False, onlyadd=False, tolerance=5*90000): - current_pos = self.__getCurrentPosition() + current_pos = self.cueGetCurrentPosition() if current_pos is None: print "not seekable" return |
