summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuo Jinghua <sunmoon1997@gmail.com>2010-11-21 10:06:57 +0800
committerLuo Jinghua <sunmoon1997@gmail.com>2010-11-21 10:06:57 +0800
commit9414053988e3d7be34198ca41c89451b48708a01 (patch)
tree8e49dcc24b47a5bb2d36212b195c1f2943582ad1
parentf84a5510ef5dc7afc832c27465478d98f0ec22da (diff)
ppslist2: save/restore url for PPSMovie
-rw-r--r--totem/plugin/ppslist2.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/totem/plugin/ppslist2.py b/totem/plugin/ppslist2.py
index b7f230c..129954a 100644
--- a/totem/plugin/ppslist2.py
+++ b/totem/plugin/ppslist2.py
@@ -308,7 +308,7 @@ class PPSClass:
self.count = count
class PPSMovie:
- elements = [ 'id', 'bkid', 'online',
+ elements = [ 'id', 'bkid', 'online', 'url',
'title', 'director', 'actor',
'area', 'size', 'pubtime', 'length',
'lang', 'score', 'desc', 'image']
@@ -327,7 +327,7 @@ class PPSMovie:
def dictionary(self):
d = {}
- for key in PPSMovie.elements:
+ for key in PPSMovie.elements + ['meta_data']:
d[key] = getattr(self, key)
return d