1. Fix missing playlists from Spotify:
Comment out string "return" in usr/local/lib/python2.7/dist-packages/mopidy_spotify/session_manager.py
def refresh_playlists(self):
"""Refresh the playlists in the backend with data from Spotify"""
if not self.initialdata_receive_completed:
logger.debug('Still getting data; skipped refresh of playlists')
return
playlists = []
folders = []
2. Enable sound from YouTube:
pip install --upgrade pafy
3. Enable instant play of audio from YouTube:
open the following file for editing in your favorite editor:
/usr/local/lib/python2.7/dist-packages/mopidy/audio/actor.py
remove the download flag from
PLAYBIN_FLAGS
so only the following options remain:# Default flags to use for playbin: AUDIO, SOFT_VOLUME
PLAYBIN_FLAGS = (1 << 1) | (1 << 4)
PLAYBIN_VIS_FLAGS = PLAYBIN_FLAGS | (1 << 3)
Save the file and reboot your pi, please note that changing this results in to not being able to seek through the track