Playback: Open videos in external player for now

This commit is contained in:
Thomas Perl 2014-02-03 00:37:39 +01:00
parent 9b9c70b99a
commit f816b37f47
2 changed files with 7 additions and 0 deletions

View file

@ -48,6 +48,12 @@ MediaPlayer {
player.stop();
py.call('main.play_episode', [episode_id], function (episode) {
if (episode.video) {
player.inhibitPositionEvents = false;
Qt.openUrlExternally(episode.source);
return;
}
// Load media / prepare and start playback
player.episode = episode_id;
player.source = episode.source;