diff options
| author | Fraxinas <andreas.frisch@multimedia-labs.de> | 2008-11-06 19:32:18 +0100 |
|---|---|---|
| committer | Fraxinas <andreas.frisch@multimedia-labs.de> | 2008-11-06 19:32:18 +0100 |
| commit | fde1aa8770d42e9a5abb598f1db3c54045f0d8c8 (patch) | |
| tree | 06cc7ffeee2ae14c56045faea8f1822010113b5a /lib/python | |
| parent | 77488b1ad023f9221684e42e23d4e8f2a299d948 (diff) | |
| download | enigma2-fde1aa8770d42e9a5abb598f1db3c54045f0d8c8.tar.gz enigma2-fde1aa8770d42e9a5abb598f1db3c54045f0d8c8.zip | |
allow reading jfif embedded exif thumbnails from jpeg files and use them to speed up thumbnail view in pictureplayer plugin
Diffstat (limited to 'lib/python')
| -rw-r--r-- | lib/python/Plugins/Extensions/PicturePlayer/plugin.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/python/Plugins/Extensions/PicturePlayer/plugin.py b/lib/python/Plugins/Extensions/PicturePlayer/plugin.py index a9d61ed9..ea906f0d 100644 --- a/lib/python/Plugins/Extensions/PicturePlayer/plugin.py +++ b/lib/python/Plugins/Extensions/PicturePlayer/plugin.py @@ -155,7 +155,7 @@ class ThumbView(Screen): if not createDir(cachedir): cachefile = "" - ptr = loadPic(self.path + self.thumblist[self.thumbindex], 180, 160, self.aspect, int(config.pic.resize.value), int(config.pic.rotate.value),1, cachefile) + ptr = loadPic(self.path + self.thumblist[self.thumbindex], 180, 160, self.aspect, int(config.pic.resize.value), int(config.pic.rotate.value), 1, cachefile, 1) if ptr != None: self["thumb"+str(self.thumbindex)].show() self["thumb"+str(self.thumbindex)].instance.setPixmap(ptr) @@ -486,7 +486,7 @@ class picmain(Screen): if not createDir(cachedir): cachefile = "" - ptr = loadPic(self.filelist.getCurrentDirectory() + self.filelist.getFilename(), 180, 160, self.aspect, int(config.pic.resize.value), 0, 0, cachefile) + ptr = loadPic(self.filelist.getCurrentDirectory() + self.filelist.getFilename(), 180, 160, self.aspect, int(config.pic.resize.value), 0, 0, cachefile, 1) if ptr != None: self["thumbnail"].show() self["thumbnail"].instance.setPixmap(ptr) |
