player-shoutcast-html5
player-shoutcast-html5 copied to clipboard
New Version doesn't show metadata and pictures
Hello and thank you so much for your work. I use a old version of your work and it works ok on my Working Test
A few week ago I download the last version and try it... but only the sound is playing on my Not Working Test
I use the same configuration data in both.
I notice in the Second version it only recognize my stream if I finish with "http://mystream:port/stream"
I'm not good in scripting/programing but there is something different in the .js config files eg:
- Old version (it works): // URL of SHOUTCast streaming without / on the final, eg: http://streaming.com:8080 const URL_STREAMING = "http://mystream:port"; you end with --> ;
- New version (don't work): // URL of streaming without / on the final, eg: http://streaming.com:8080 'url_streaming': 'http://mystream:port/stream', you end with --> ,
Thank you Talvez na próxima te possa explicar em Português se quiseres. :-)
Try this if stream with shoutcast:
-
On your config.js : 'url_streaming': 'https://yourstreaming_server:port', 'stream_path': '/your_streampath 'streaming_type': 'shoutcast',
-
On your script.js : Add on line 31 : const STREAMPATH = settings.stream_path; And change line 245 to var audio = new Audio(URL_STREAMING + STREAMPATH );
Hope this works fine. Tks.
Thank you so much for your help @PoerOne . I tried what you did. Stream is playing but doesn't grab metadata and covers. My stream is Icecast. Here is a test: https://player.lordfader.tk
Hi @LordFader ,
You can't mix http & https on your jquery.showinfo.js & icecastInfo.js. Just try remove first this file first and try again.
Tks