summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuo Jinghua <sunmoon1997@gmail.com>2010-11-15 12:11:26 +0800
committerLuo Jinghua <sunmoon1997@gmail.com>2010-11-15 12:11:26 +0800
commita78954360daff842aea33f9b36a57af289aeb7bf (patch)
tree454053b189402501f56ae40d5da7659a7ea501f0
parent7e68c2dab4aea901da5e6d820b38abb1830bb706 (diff)
ppstream: only fetch meta data for movies once
-rw-r--r--totem/plugin/ppstream.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/totem/plugin/ppstream.py b/totem/plugin/ppstream.py
index 698a7ad..f31b2c3 100644
--- a/totem/plugin/ppstream.py
+++ b/totem/plugin/ppstream.py
@@ -737,6 +737,8 @@ class PPStream (totem.Plugin):
if movie.meta_data or not movie.bkid:
return
+ if movie.fetching_meta_data:
+ return
print 'fetching movie meta data:', movie
movie.fetching_meta_data = True
self.add_process_task (None, self.__fetch_movie_meta_data,