Skip to content
This repository has been archived by the owner on Dec 19, 2022. It is now read-only.

Error on communicate to server #30

Open
supamanluva opened this issue Jan 24, 2021 · 4 comments
Open

Error on communicate to server #30

supamanluva opened this issue Jan 24, 2021 · 4 comments

Comments

@supamanluva
Copy link

supamanluva commented Jan 24, 2021

Hi,

I think i have tried everything now. Shoutcast server up and running.

Html5 player can see what song is playing and also get the album art. But it keep saying Error on communicate to server everytime i press the Play button. I get no sound at all. i have tried in config to set both http and with https. With ip, localhost and 127.0.0.1, domainname.. no success

Both tried it locally and on external server.

PHP 7.3.19-1~deb10u1
curl 7.64.0-4+deb10u1 amd64

Anyone have a clue?

@supamanluva
Copy link
Author

Well i got it to work now http://ip:8000/admin should be in the 'url_streaming':

But it doesnt get Cover Art and Song name now :)

@sensimedia
Copy link

sensimedia commented Jan 26, 2021

Try replacing line 245 in script.js:
var audio = new Audio(URL_STREAMING);
with:
var audio = new Audio(URL_STREAMING + '/ stream');
worked for me.

@supamanluva
Copy link
Author

supamanluva commented Jan 26, 2021

Try replacing line 245 in script.js:
var audio = new Audio(URL_STREAMING);
with:
var audio = new Audio(URL_STREAMING + '/ stream');
worked for me.

Hi,

Thanks but i fixed it like this;

var audio = new Audio("http:ip:8000/admin");

and in config.js i set http://ip:8000

Worked for me :)

thanks

@annehuis
Copy link

annehuis commented Feb 11, 2021

Hi
Please help.....

i have a simular problem... i get either the information (album and songtitle/artist) or i get music. I have multiple streams and can't get it to work. Stream http://85.214.172.44:8000/stream/2/ i need the slash in the end otherwise it won't work at all...

changed evrything var audio and config nothing works

I did change the stream in http://ipadres:8000/triton2 and stil i wil not work anyone over here with a suggestion?

thanks in advance

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants