player-shoutcast-html5 icon indicating copy to clipboard operation
player-shoutcast-html5 copied to clipboard

no covers displayed and no song title

Open kosmmo opened this issue 4 years ago • 4 comments

we have followed all the guides here, curl is all running we know that as our other sites display song feeds ok here is the link https://maxxradio.net/player/ we are just at a loss now as we dont know how to solve this please help asap

kosmmo avatar Feb 17 '21 01:02 kosmmo

What is the information in your conf?

DirtySkeMe avatar Feb 17 '21 04:02 DirtySkeMe

`

/* |--------------------------------------------------------------------------

Configuration
To configure your streaming, define the name of your radio, url and
type of your streaming below.
*/

var settings = { 'radio_name': 'Maxx Radio',

// URL of streaming without / on the final, eg: https://streaming.com:8080
'url_streaming': 'https://sonic.onlineaudience.co.uk:10944',

// URL of streaming sound,  https://streaming.com:8080/stream
'url_streaming2': 'https://sonic.onlineaudience.co.uk:10944/stream',


// When choosing icecast, make sure the file 'player.log' in the document root is writeable.
// Choose between 'shoutcast' or 'icecast'
'streaming_type': 'shoutcast',

// URL Lyrics Api 
'api_url': 'http://api.chartlyrics.com/',

// Set to true to get the last songs played
'historic': true,

 // Visit https://api.vagalume.com.br/docs/ to get your API key
'api_key': '5aa21225d71896cd57d4eb9be1005801',

// Only for SHOUTCast!
// Set to true to show the next song to be played. 
// Make sure your streaming show this information!
'next_song': true,

// Path to default cover art when none are found
'default_cover_art': 'assets/img/logo.png',

// url of proxy, see https://github.com/Rob--W/cors-anywhere/
'proxy_url': 'https://limitless-savannah-61399.herokuapp.com/'

};

const RADIO_NAME = settings.radio_name; const URL_STREAMING = settings.url_streaming; const URL_STREAMING2 = settings.url_streaming2; const STREAMING_TYPE = settings.streaming_type; const API_KEY = settings.api_key; const HISTORIC = settings.historic; const NEXT_SONG = settings.next_song; const DEFAULT_COVER_ART = settings.default_cover_art; const PROXYURL = settings.proxy_url; const APIURL = settings.api_url;`

kosmmo avatar Feb 17 '21 12:02 kosmmo

I did have a issue using my https on the first settings did use the http for get the streaming info something to do with my https using cloudflare I think

DirtySkeMe avatar Feb 17 '21 14:02 DirtySkeMe

In order for the songs title to show, you must have two icecast icecast mountpoints on the same server, Check Out my site https://player.boxradio.me/WEEB

i use a different url for the metadata calls which i have hard coded in the api.php file and use a regular proxy url to stream the radio.

joeyboli avatar Feb 23 '21 23:02 joeyboli