aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mpris2-controller.vala3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mpris2-controller.vala b/src/mpris2-controller.vala
index 9cd02c4..2cc8d12 100644
--- a/src/mpris2-controller.vala
+++ b/src/mpris2-controller.vala
@@ -248,6 +248,9 @@ public class Mpris2Controller : GLib.Object
private bool validate_playlists_details()
{
+ if (this.playlists.ActivePlaylist == null){
+ return false;
+ }
if (this.playlists.ActivePlaylist.valid == false){
return false;
}