Beta Spotify for Kodi - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27) +---- Forum: Music Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=148) +---- Thread: Beta Spotify for Kodi (/showthread.php?tid=265356) Pages:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
|
RE: Spotify for Kodi - 6i6i_ - 2019-05-14 (2019-05-06, 22:44)robgolbh Wrote: Hello!Just enter the account details in the addon configuration. That is enough. RE: Spotify for Kodi - moppi1988 - 2019-05-16 (2017-06-06, 14:23)marcelveldt Wrote:(2017-06-06, 13:09)borgybz Wrote: As you asked me I already posted the log in previous page. Now trying several times I realized that sometimes the playback starts, but the streaming is very bad and slow and playback keeps stopping and I hear cracking sounds! I believe to think that the problem is about the port used by this type of connection. Can you explain me what type of connection does the addon use to connect to Spotify servers? Maybe could be blocked by my isp? I connect through a Vodafone Wi-Fi hotspot with captive portal login... ( I made a script to auto connect that runs every five minutes..) Sorry to come back to this old post. But I've been struggling with same issue for years. And it is still there. From time to time (5...8 times an hour) playback stops and after some time next song starts. I'm pretty sure this is related to very unstable and slow internet connection and (missing?) buffering. I use version 1.1.58 on kodi 18.0 on Win 10 PC (64 bit). I use VC 2017. Is there any way to modify or enable the caching to disk as mentioned in post above? Thanks a lot! RE: Spotify for Kodi - moppi1988 - 2019-05-22 (2019-05-16, 15:47)moppi1988 Wrote:I found my answer myself. I checked the addon-code and found a way to modify the code in a way caching is enabled now.(2017-06-06, 14:23)marcelveldt Wrote:(2017-06-06, 13:09)borgybz Wrote: As you asked me I already posted the log in previous page. Now trying several times I realized that sometimes the playback starts, but the streaming is very bad and slow and playback keeps stopping and I hear cracking sounds! I believe to think that the problem is about the port used by this type of connection. Can you explain me what type of connection does the addon use to connect to Spotify servers? Maybe could be blocked by my isp? I connect through a Vodafone Wi-Fi hotspot with captive portal login... ( I made a script to auto connect that runs every five minutes..) In most cases the addon works now without any interruption. Only during playing of long songs (>7...8 min) sometimes I run in interruption again. For those who want to try out: C:\Users\<username>\AppData\Roaming\Kodi\addons\plugin.audio.spotify\resources\lib\utils.py ... def run_spotty(self, arguments=None, use_creds=False, disable_discovery=True): '''On supported platforms we include spotty binary''' try: args = [ self.__spotty_binary, "-c", self.__cache_path, "-b", "320", "--enable-audio-cache" ] if use_creds: # use username/password login for spotty addon = xbmcaddon.Addon(id=ADDON_ID) username = addon.getSetting("username").decode("utf-8") password = addon.getSetting("password").decode("utf-8") del addon ... RE: Spotify for Kodi - tehax - 2019-05-27 With newest Windows 1903 i get again no sound when playing a song. Tried with v18.3 and v19 alpha with no success. Has anybody same the issue? Edit: May it have something to do with the connect_id. What exact have i do to set for local playing? IP 192.168.178.x or 127.0.0.1? Both doesn' t works. Log RE: Spotify for Kodi - moppi1988 - 2019-05-28 (2019-05-27, 18:22)tehax Wrote: With newest Windows 1903 i get again no sound when playing a song. Tried with v18.3 and v19 alpha with no success. I just upgraded to Win 1903 as well but everythings works fine for me. I also upgraded Kodi from 18.0 to 18.2 and this addon is still working fine. I'm not sure what you mean with connect_id? I've never saw a need to define this variable and I even don't know where.... I enabled the debug logfile and started Spotify but cannot find any connect_id entry . Seems I have a lack of knowledge here.... RE: Spotify for Kodi - tehax - 2019-05-28 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. RE: Spotify for Kodi - cevau - 2019-05-28 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. RE: Spotify for Kodi - moppi1988 - 2019-05-28 (2019-05-28, 18:43)tehax Wrote: 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.Not sure this has something to do with following: Recently, after a Win OS update, some add-ons (e.g. Spotify) and other client/server tools on my PC (DVB Viewer Pro) did not work anymore. I found out this was related to Windows Firewall settings. For whatever reason the connection was blocked by this Windows Defender Firewall tool. So I removed all related rules (i.e., spotty.exe, DVBviewer, KODI, ...) from the list of Defender Firewall incoming rules. Next time I started Kodi a window popped up and asked for connection permission. I granted it and from now on everything was fine. May be worth a trial... RE: Spotify for Kodi - tehax - 2019-05-28 Thanks for the tip. I also tried this incl. complete deaktivating the firewall, but nothing works. RE: Spotify for Kodi - C.O.D. - 2019-05-31 (2019-05-14, 09:14)6i6i_ Wrote:(2019-05-06, 22:44)robgolbh Wrote: Hello!Just enter the account details in the addon configuration. That is enough. That's not enough in my case since I entered my account data long ago and I still get this message on every KODI start! RE: Spotify for Kodi - macdems - 2019-06-07 (2019-04-10, 12:38)bushida87 Wrote: Doesnt work with Leia 18.1 and Titan Bingie Skin :-(The problem is with one of the dependencies, namely CherryPi. Bingie repository has it in the newest version, while you need 11.0.0. Go to the Spotify plugin page, select Dependencies. Go to the CherryPi and downgrade it to the 11.0.0 version. RE: Spotify for Kodi - xxRasheelxx - 2019-06-14 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 RE: Spotify for Kodi - schumi2004 - 2019-06-22 Today i launced Kodi and suddenly Spotify returned an error. I found this in the logs: https://paste.kodi.tv/wuqiwetuda.kodi Anyone got any ideas what is going on here, can it be fixed? I already cleaned addon_data and re-entered credentials etc. RE: Spotify for Kodi - jakermx - 2019-06-23 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 RE: Spotify for Kodi - jakermx - 2019-06-23 If you coud try my new mod, that eliminates the crash due ap reachability... https://github.com/jakermx/plugin.audio.spotify Please let me know if it worked, or help mesharing your log file. |