mopidy/mopidy-mpris — pull request #6 by geigerzaehler (2014-01-20 12:37:05+00:00)
Title: OpenUri() should work with empty tracklist

When mopidy is started clean, there is no tracklist or playlist and `OpenUri()` does not work at all.

These commits guard `OpenUri()` with `CanControl` instead of `CanPlay`. The [MPRIS2 specification](http://specifications.freedesktop.org/mpris-spec/latest/Player_Interface.html#Property:CanPlay) states that `CanPlay` only indicates if the `Play()` or `PlayPause()` methods can be used.