QML UI: Fix video opening on Desktop targets

This commit is contained in:
Thomas Perl 2012-02-25 10:56:24 +01:00
parent d26b0aa111
commit c3388dcfd6
1 changed files with 4 additions and 1 deletions

View File

@ -150,7 +150,10 @@ class Controller(QObject):
self.update_subset_stats()
url = episode.get_playback_url()
subprocess.Popen(['video-suite', url])
if gpodder.ui.harmattan:
subprocess.Popen(['video-suite', url])
else:
util.gui_open(url)
self.root.mygpo_client.on_playback([episode])
self.root.mygpo_client.flush()