diff --git a/clapper_src/dialogs.js b/clapper_src/dialogs.js index 94d698b7..8e36ab9e 100644 --- a/clapper_src/dialogs.js +++ b/clapper_src/dialogs.js @@ -133,7 +133,7 @@ class ClapperUriDialog extends Gtk.Dialog openUri(uri) { let { player } = this.get_transient_for().get_child(); - player.set_media(uri); + player.set_playlist([uri]); this.close(); } diff --git a/clapper_src/player.js b/clapper_src/player.js index dc0091d6..48f09e29 100644 --- a/clapper_src/player.js +++ b/clapper_src/player.js @@ -257,7 +257,7 @@ class ClapperPlayer extends PlayerBase case 'toggle_play': case 'play': case 'pause': - case 'set_media': + case 'set_playlist': this[action](value); break; default: