UnderMybrella / EternalJukebox

The internal workings for the Eternal Jukebox, a rehosting of the Infinite Jukebox
https://eternalbox.dev
MIT License
792 stars 148 forks source link

Song loading issue #138

Open Sjklein23 opened 3 years ago

Sjklein23 commented 3 years ago

Before

Description

[When I try to look up some songs, (like Cola, Cigarette Daydreams, and I Met Sara in the Bathroom), I can click on the title, but as soon as it loads, it loads until it says that it's calculating and then the white text disappears and the colorful circle is gone. And the button "play" doesn't work.]

Song

[https://jukebox.stegner.games/jukebox_go.html?id=6LrNqp69g8ngQ0Oem7DGWK - link to Cola by Lana Del Rey]

Additional Information

[That screen pops up after I search up Cola and click on the link. Same thing with the other songs. I'm using a Mac.]

Screen Shot 2021-08-10 at 9 46 50 PM

jasongerbes commented 3 years ago

I'm having the same issue. This API returns a 400 response:

GET: http://localhost:8080/api/audio/jukebox/03UrZgTINDqvnUMbbIMhql

{
    "error": "Audio is null",
    "client_uid": "df4c8399-3195-49f6-a5f3-d299df09b8ae"
}
IanSteg commented 3 years ago

You're also able to upload a song you have locally, if that will work better:

mnemocron commented 2 years ago

+1 I have the same issue with the docker image. I populated the .env file with my Spotify credentials but songs won't load. In the Spotify dashboard I can also see, that no API requests have been performed - so it looks like the Jukebox never sends API requests to download songs anyways.

workaround:


Browser Console Log contains:

[404] GET http://192.168.1.7:8899/favicon.ico
[404] XHR GET http://192.168.1.7:8899/api/profile/me
   Could not retrieve stars: Not Found
[400] XHR GET http://192.168.1.7:8899/api/audio/jukebox/02AsOEFDBQKgIbi11zxQIe
   audio error DOMException: The buffer passed to decodeAudioData contains an unknown content type.

When opening the URL:

{
    "error": "Audio is null",
    "client_uid": "80744a10-e1b6-4cd3-83ce-1f1570bb7384"
}