Minimize and make optional direct tracker usage in Music
Currently Music uses Tracker directly for only a few calls outside the playlists.py
code. I think if it could be reduced to 0 that would be a good thing: it would reduce our tracker usage to one specific file, removing the need for the TrackerWrapper
.
The calls outside playlists.py
are in grilo.py
, in songs_available
and playlists_available
.
As for the playlists code, it is currently too reliant on direct tracker calls and there is currently really no way to get our needed information through Grilo to drop it at this time. Grilo does not seem to have a concept of playlists, so that would be something to propose for Grilo first.
In time we might need to extend our direct tracker support again, for example to get status info from the miners or tracker availability in general (#165). But it's usage would be clearly separated per-task and not a catch-all mandatory object.