Posts: 424
Joined: Sep 2016
Reputation:
25
Conect_id is shown in log. Is means the playing device. So when i play a song visualization starts, PCM symbol will be shown but i cant hear no sound. Very frustrating. Playing music from my library on server works very well.
HTPC: Windows 10 Pro 22H2, Zalman HD135, Intel i3-7100, GTX 1070, UHD ASUS BW-16D1HT
NAS: Xpenology 7.2 Update 1, Intel i5-6600
Posts: 1
Joined: May 2019
Reputation:
0
Hey!
Whenever I log in using the Spotify login browser frontend, i get a "unable to connect" to my localhost-uri redirect.
I'm using ubuntu 18.04, firefox and the latest kodi.
Posts: 424
Joined: Sep 2016
Reputation:
25
Thanks for the tip. I also tried this incl. complete deaktivating the firewall, but nothing works.
HTPC: Windows 10 Pro 22H2, Zalman HD135, Intel i3-7100, GTX 1070, UHD ASUS BW-16D1HT
NAS: Xpenology 7.2 Update 1, Intel i5-6600
Posts: 4
Joined: Jul 2016
Reputation:
0
Hello,
first I wanted to thank for your good work.
The issue for me is I cant get sound while using your addon, I am not evan 100% sure I did start the music. I tried "Qeue item", "Play next" and "Play using..." tried with PAPlayer and VideoPlayer
I assumed it is just "clicking" the song you want to play.
I use Kodi on Xiaomi Mi 9 with Mi UI 10. Android 9
I assume I dont get any sounds is because apperently there is an Option "Playback Device" but I cant choose to use the phone as the device.
Maybe you can correct me if I am wrong or give me an advice how to solve my issue.
Greetings Rasheel
Posts: 37
Joined: May 2018
Reputation:
2
Hi there,
Does anyone know where can I get the spotty source code, I cannot find it.
I am looking for it because Yesterday my Spotify Addons (LibreSpot and Spotify) stopped working and I found with my network sniffer a pattern that the apresolve returns a list of possible aps, but both AddOns are just trying to connect with the first one, they do not try another from the list as the official app does it, so I am currently hacking the JSON response and simulating that the localhost is the apresolve.
This line get the ap_list and removes all the servers that uses tcp:4070 and then creates the fake response file
curl -s 'http://apresolve.spotify.com' | python -c "import sys, json; print('{\'ap_list\':'+ str([url for url in json.load(sys.stdin)['ap_list'] if '4070' not in url]) + '}')" > /storage/files/file.json
this line makes the trick, so it "redirects" apresolve.spotify.com to localhost
echo "127.0.0.1 apresolve.spotify.com" >> /run/connman/hosts
And finally start a webserver that is publishing the fake response
httpd -c /storage/httpd.conf
my httpd.conf had this:
H:/storage/files/ # define the server root. It will override -h
A:127.0.0.1 # Allow just localhost requests
E404:/usr/www/error/404.html # /path/e404.html is the 404 (not found) error page
I:file.json # Show default file when a directory is requested
I put this on the autostart.sh script and it is working prety fast and stable, but Idont like to have workarounds working , so I would like to add a iteration to the spotty so try another ap from ap_list.
Any help help would be appreciated.
It has been tested on Linux x86_64 and LibreElec 9 on RPI2 and RPI3