diff options
| author | ghost <andreas.monzner@multimedia-labs.de> | 2009-02-16 16:38:26 +0100 |
|---|---|---|
| committer | ghost <andreas.monzner@multimedia-labs.de> | 2009-02-16 16:38:26 +0100 |
| commit | 50e234c05779c9da64c2d825086988706210bbb1 (patch) | |
| tree | c9d3aabf28c634f24943a526a8a9c76c8d9fc413 /lib/python/Plugins/Extensions/DVDPlayer/plugin.py | |
| parent | ec55d380cf26ce2d8c14ec0167f97927a8f46d40 (diff) | |
| download | enigma2-50e234c05779c9da64c2d825086988706210bbb1.tar.gz enigma2-50e234c05779c9da64c2d825086988706210bbb1.zip | |
the current libdreamdvd no more touch policy and aspect.. so its not needed to save and restore this settings
Diffstat (limited to 'lib/python/Plugins/Extensions/DVDPlayer/plugin.py')
| -rw-r--r-- | lib/python/Plugins/Extensions/DVDPlayer/plugin.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/python/Plugins/Extensions/DVDPlayer/plugin.py b/lib/python/Plugins/Extensions/DVDPlayer/plugin.py index 421a2b4e..8e2a9f3a 100644 --- a/lib/python/Plugins/Extensions/DVDPlayer/plugin.py +++ b/lib/python/Plugins/Extensions/DVDPlayer/plugin.py @@ -369,9 +369,6 @@ class DVDPlayer(Screen, InfoBarBase, InfoBarNotifications, InfoBarSeek, InfoBarP self.onFirstExecBegin.append(self.showFileBrowser) self.service = None self.in_menu = False - self.old_aspect = open("/proc/stb/video/aspect", "r").read() - self.old_policy = open("/proc/stb/video/policy", "r").read() - self.old_wss = open("/proc/stb/denc/0/wss", "r").read() def keyNumberGlobal(self, number): print "You pressed number " + str(number) @@ -635,11 +632,6 @@ class DVDPlayer(Screen, InfoBarBase, InfoBarNotifications, InfoBarSeek, InfoBarP pass def __onClose(self): - for i in (("/proc/stb/video/aspect", self.old_aspect), ("/proc/stb/video/policy", self.old_policy), ("/proc/stb/denc/0/wss", self.old_wss)): - try: - open(i[0], "w").write(i[1]) - except IOError: - print "restore", i[0], "failed" self.restore_infobar_seek_config() self.session.nav.playService(self.oldService) |
