mopidy/mopidy — pull request #180 by adamcik (2012-09-06 22:57:56+00:00)
Title: Create a Track proxy for spotify (Fixes #72)

Implemented the idea I had for fixing #72. Testing with each of the following commands in quick succession gives:

```
$ mpc add spotify:track:5ZS8rDF1FrYyhbZM99BPpn
$ mpc playlist
[loading...]
$ mpc playlist
Ringo Starr - Yellow Submarine
```

If accessing the thread object like this is thread safe we should be good to go. Alternative would simply be to only store ``_uri`` and ``_track`` and just re-create the spotify track per access until it is loaded.