-
Hi there, I just finished building my jukebox. So thanks a lot to the community for making this amazing project possible. Cheers, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
It looks like inc.viewFolderTree.php has a problem for me. It reads the stream address in line 117: But spotify.txt contains the address in a format like The next line generating the URL seems to need Not knowing much about php, I replaced line 118 with $urisegments = explode(":", trim($uri));
$url = "https://open.spotify.com/oembed?url=https%3A%2F%2Fopen.spotify.com%2F".$urisegments[1]."%2F".$urisegments[2]."&format=json"; This works now fine (tested for albums and individual songs). I cannot understand why it was working fine the way it was two weeks ago. Did Spotify change their API? Anyway, I will mark my question as answered, but leave it here for reference. Cheers, |
Beta Was this translation helpful? Give feedback.
It looks like inc.viewFolderTree.php has a problem for me. It reads the stream address in line 117:
$uri = file_get_contents($subfolder."/spotify.txt");
But spotify.txt contains the address in a format like
spotify:album:4wjxmqXnSQvBZWL3IbYngX
The next line generating the URL seems to need
https%3A%2F%2Fopen.spotify.com%2Falbum%2F4wjxmqXnSQvBZWL3IbYngX
Not knowing much about php, I replaced line 118 with
This works now fine (tested for albums and individual songs). I cannot understand why it was working fine the way i…