Nonblocking update listener

This commit is contained in:
Ruud committed 2012-05-26 22:55:11 +02:00
1 parent 98c8a47dd0
commit fcd13fcb85
10 files changed
+170 -48

No files matched your search

+1
View File
@@ -239,6 +239,7 @@ class MoviePlugin(Plugin):
db = get_session()
for id in getParam('id').split(','):
fireEvent('notify.frontend', type = 'movie.busy.%s' % id, data = True)
movie = db.query(Movie).filter_by(id = id).first()
# Get current selected title