mopidy / mopidy-soundcloud

Mopidy extension for playing music from SoundCloud
https://mopidy.com/ext/soundcloud/
MIT License
185 stars 59 forks source link

Do not return tracks without uri in `lookup` #62

Closed blueyed closed 8 years ago

blueyed commented 9 years ago

When these are served e.g. through "lsinfo SoundCloud/Played" to ncmpcpp, it might crash: http://bugs.musicpd.org/view.php?id=4468.

Ref: https://github.com/mopidy/mopidy/issues/1340

jodal commented 8 years ago

Thanks! I merged this and then went on to make self.api.get_track() return None on failed lookups instead of empty Track() objects.