03-26-2020, 02:28 PM
Hi,
I originally used the Spotify Connect solution builtin to Moode but wanted some gapless goddness so I thought I'd give this a go. I've managed to get everything built and installed, and when I start up the spotify-connect-web service I see the following messages:
Loading Spotify library...
Last.fm: incomplete credentials, not launched
Device has no native mute
min_volume_range: 0
Using libspotify_embedded version: release-esdk-1.20.0-v1.20.0-g594175d4
SpInit: 0
playback_volume: 65535
corected_playback_volume: 100
public key: 7SvrwjUT64UENxNyDtoAt/mwEohLOl1dS5W75hniytF2hiQ0yaCoHNlDhjFHW9I1uOZLfp4BBBHdId5OhGTFhjQioD6JSyytWG5Nt1EDJX60jUAiYEruN83wMpoh7MND
device id: 9b14e273-68a3-439e-9383-d690b386948b
remote name: moOde Connect
account req: PREMIUM
device type: AUDIODONGLE
Which looks good to me. Until I select 'devices available' on Spotify on my phone when i get the following messages:
[2020-03-26 14:16:26,066] ERROR in app: Exception on /login/_zeroconf [GET]
Traceback (most recent call last):
File "/home/pi/.local/lib/python2.7/site-packages/flask/app.py", line 1988, in wsgi_app
response = self.full_dispatch_request()
File "/home/pi/.local/lib/python2.7/site-packages/flask/app.py", line 1641, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/pi/.local/lib/python2.7/site-packages/flask_cors/extension.py", line 188, in wrapped_function
return cors_after_request(app.make_response(f(*args, **kwargs)))
File "/home/pi/.local/lib/python2.7/site-packages/flask/app.py", line 1544, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/pi/.local/lib/python2.7/site-packages/flask/app.py", line 1639, in full_dispatch_request
rv = self.dispatch_request()
File "/home/pi/.local/lib/python2.7/site-packages/flask/app.py", line 1625, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "main.py", line 221, in login_zeroconf
return get_info()
File "main.py", line 251, in get_info
'remoteName': zeroconf_vars['remoteName']
File "/home/pi/.local/lib/python2.7/site-packages/flask/json.py", line 254, in jsonify
if current_app.config['JSONIFY_PRETTYPRINT_REGULAR'] and not request.is_xhr:
File "/home/pi/.local/lib/python2.7/site-packages/werkzeug/local.py", line 347, in __getattr__
return getattr(self._get_current_object(), name)
AttributeError: 'Request' object has no attribute 'is_xhr'
::ffff:192.168.1.25 - - [2020-03-26 14:16:26] "GET /login/_zeroconf?action=getInfo HTTP/1.1" 500 426 0.044331
I get this block of messages everytime I select the 'devices available' option. I am on a fresh install of the current Moode (6.4.2) and the avahi service is started and a sudo systemctl status avahi-spotify-connect-multiuser.service gives me:
● avahi-spotify-connect-multiuser.service
Loaded: loaded (/lib/systemd/system/avahi-spotify-connect-multiuser.service; disabled; vendor preset: enabled)
Active: active (running) since Thu 2020-03-26 14:11:28 CET; 1h 9min ago
Main PID: 1461 (avahi-publish-s)
Tasks: 1 (limit: 2200)
Memory: 364.0K
CGroup: /system.slice/avahi-spotify-connect-multiuser.service
└─1461 /usr/bin/avahi-publish-service TestConnect _spotify-connect._tcp 4000 VERSION=1.0 CPath=/login/_zeroconf
Mar 26 14:11:28 moode systemd[1]: Started avahi-spotify-connect-multiuser.service.
Mar 26 14:11:29 moode avahi-publish-service[1461]: Established under name 'TestConnect'
I have read through the thread and can't find anything like this. I did try changing from gevent.wsgi import WSGIServer to from gevent.pywsgi import WSGIServer just in case but without luck.
Any help would be really appreciated, mixed DJ albums really don't sound the same when they're not gapless ;-)
I originally used the Spotify Connect solution builtin to Moode but wanted some gapless goddness so I thought I'd give this a go. I've managed to get everything built and installed, and when I start up the spotify-connect-web service I see the following messages:
Loading Spotify library...
Last.fm: incomplete credentials, not launched
Device has no native mute
min_volume_range: 0
Using libspotify_embedded version: release-esdk-1.20.0-v1.20.0-g594175d4
SpInit: 0
playback_volume: 65535
corected_playback_volume: 100
public key: 7SvrwjUT64UENxNyDtoAt/mwEohLOl1dS5W75hniytF2hiQ0yaCoHNlDhjFHW9I1uOZLfp4BBBHdId5OhGTFhjQioD6JSyytWG5Nt1EDJX60jUAiYEruN83wMpoh7MND
device id: 9b14e273-68a3-439e-9383-d690b386948b
remote name: moOde Connect
account req: PREMIUM
device type: AUDIODONGLE
Which looks good to me. Until I select 'devices available' on Spotify on my phone when i get the following messages:
[2020-03-26 14:16:26,066] ERROR in app: Exception on /login/_zeroconf [GET]
Traceback (most recent call last):
File "/home/pi/.local/lib/python2.7/site-packages/flask/app.py", line 1988, in wsgi_app
response = self.full_dispatch_request()
File "/home/pi/.local/lib/python2.7/site-packages/flask/app.py", line 1641, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/pi/.local/lib/python2.7/site-packages/flask_cors/extension.py", line 188, in wrapped_function
return cors_after_request(app.make_response(f(*args, **kwargs)))
File "/home/pi/.local/lib/python2.7/site-packages/flask/app.py", line 1544, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/pi/.local/lib/python2.7/site-packages/flask/app.py", line 1639, in full_dispatch_request
rv = self.dispatch_request()
File "/home/pi/.local/lib/python2.7/site-packages/flask/app.py", line 1625, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "main.py", line 221, in login_zeroconf
return get_info()
File "main.py", line 251, in get_info
'remoteName': zeroconf_vars['remoteName']
File "/home/pi/.local/lib/python2.7/site-packages/flask/json.py", line 254, in jsonify
if current_app.config['JSONIFY_PRETTYPRINT_REGULAR'] and not request.is_xhr:
File "/home/pi/.local/lib/python2.7/site-packages/werkzeug/local.py", line 347, in __getattr__
return getattr(self._get_current_object(), name)
AttributeError: 'Request' object has no attribute 'is_xhr'
::ffff:192.168.1.25 - - [2020-03-26 14:16:26] "GET /login/_zeroconf?action=getInfo HTTP/1.1" 500 426 0.044331
I get this block of messages everytime I select the 'devices available' option. I am on a fresh install of the current Moode (6.4.2) and the avahi service is started and a sudo systemctl status avahi-spotify-connect-multiuser.service gives me:
● avahi-spotify-connect-multiuser.service
Loaded: loaded (/lib/systemd/system/avahi-spotify-connect-multiuser.service; disabled; vendor preset: enabled)
Active: active (running) since Thu 2020-03-26 14:11:28 CET; 1h 9min ago
Main PID: 1461 (avahi-publish-s)
Tasks: 1 (limit: 2200)
Memory: 364.0K
CGroup: /system.slice/avahi-spotify-connect-multiuser.service
└─1461 /usr/bin/avahi-publish-service TestConnect _spotify-connect._tcp 4000 VERSION=1.0 CPath=/login/_zeroconf
Mar 26 14:11:28 moode systemd[1]: Started avahi-spotify-connect-multiuser.service.
Mar 26 14:11:29 moode avahi-publish-service[1461]: Established under name 'TestConnect'
I have read through the thread and can't find anything like this. I did try changing from gevent.wsgi import WSGIServer to from gevent.pywsgi import WSGIServer just in case but without luck.
Any help would be really appreciated, mixed DJ albums really don't sound the same when they're not gapless ;-)