Hi all, and thank everyone who is working at this beautiful application!
My question is: are there news on the possibility to add a playlist via mpc command tool? My mopidy version is 2.2.3, is running under Buster in a Raspberry Pi 3B+, used with Iris.
Unfortunately i’m not as good as a developer but, on this forum, i found an update to a .py file for doing this but I’m unable to locate that file and don’t know if i have to add/modify those 2/3 lines.
Also, is there a possibility to delete “now playing” queue when adding an existing playlist to queue?
Thank you for the attention, if it is repetitive I’ll remove this post.
EDIT: when using “mpc add spotify:user:USERNAME:playlist:4HUG815wcqz8gtddWIHRbJ”, i receive
Blockquote
caused an exception.
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/mopidy/core/library.py”, line 19, in _backend_error_handling
yield
File “/usr/lib/python2.7/dist-packages/mopidy/core/library.py”, line 237, in lookup
result = future.get()
File “/usr/lib/python2.7/dist-packages/pykka/threading.py”, line 52, in get
compat.reraise(*self._data[‘exc_info’])
File “/usr/lib/python2.7/dist-packages/pykka/compat.py”, line 12, in reraise
exec(‘raise tp, value, tb’)
File “/usr/lib/python2.7/dist-packages/pykka/actor.py”, line 201, in _actor_loop
response = self._handle_receive(message)
File “/usr/lib/python2.7/dist-packages/pykka/actor.py”, line 295, in _handle_receive
return callee(*message[‘args’], **message[‘kwargs’])
File “/usr/lib/python2.7/dist-packages/mopidy_spotify/library.py”, line 32, in lookup
return lookup.lookup(self._config, self._backend._session, uri)
File “/usr/lib/python2.7/dist-packages/mopidy_spotify/lookup.py”, line 33, in lookup
return list(_lookup_playlist(config, sp_link))
File “/usr/lib/python2.7/dist-packages/mopidy_spotify/lookup.py”, line 95, in _lookup_playlist
sp_playlist.load(config[‘timeout’])
AttributeError: ‘NoneType’ object has no attribute ‘load’
When using the same command but without the user (only using mopidy spotify plylist uri), i get:
Blockquote
Failed to lookup “spotify:playlist:4HUG815wcqz8gtddWIHRbJ”: Failed to get link from Spotify URI: u’spotify:playlist:4HUG815wcqz8gtddWIHRbJ’