Meta Details - any ideas anyone?

IanJames

New Member
So - run into a little issue. We have the Luna Web Radio Player on our site (the updated version of the Native HTML5 radio player). We are on Icecast 2 - and have a SSL website. Our station is only 10 weeks old, so still learning... But managed to get the player working perfectly on our (wordpress) website.

Now as of yesterday, the song/artist currently playing no longer shows on the player - and I've no idea why. When you configure the player and generate the shortcode on the Luna website everything looks as it should do with the artist and title.

But when I copy and paste the shortcode on my website - no artist / title is shown. I have a feeling it might have something to do with the SSL... not sure what link from Internet-radio I should be using. If anybody can advise or has any ideas I'd be truly grateful!
 

IanJames

New Member

MoveDaHouse

New Member
this is the exact same problem iam having with the same player, i have a feeling cors policy on the streaming servers is turned off after the updates they done on saturday as mine was working fine all week until then...:( or something has gone astray either way. at around 12pm saturday my player just stopped displaying current song title metadata using icy-metadata, this was the same time our directory listing & start page disapeared also, i did email support about it & they said they will look into it... still havent heard anything... i would wait for a response before keep messing with your player code as its prob fine...
 
Last edited:

IanJames

New Member
this is the exact same problem iam having with the same player, i have a feeling cors policy on the streaming servers is turned off after the updates they done on saturday as mine was working fine all week until then...:( or something has gone astray either way. at around 12pm saturday my player just stopped displaying current song title metadata using icy-metadata, this was the same time our directory listing & start page disapeared also, i did email support about it & they said they will look into it... still havent heard anything... i would wait for a response before keep messing with your player code as its prob fine...
Ah! Hello there - sorry to hear you are having problems too..... but I seem to have hit lucky today and have it working again. Being honest, I'm not entirely sure what exactly I did - but I have a feeling the issue lies with copying the shortcode from the Luna website - and pasting it directly into your web builder (wordpress etc).

It seems to me that by highlighting the shortcode text on the luna site - when you copy it, it seems to add a grey background to the text. You can only see this if you paste it in something like word. I think it is this grey background that is creating the problem! You need to make sure that each element in the shortcode has exactly one space between it. You may find some have 2...very hard to see, but if there are 2 the code will not work.

In essence, if your player works on the luna site when you configure the shortcode - you will be able to get it working on your site, but you just might need to double check that the layout of the shortcode is correct.. Also - if any field is to be left empty, there is no space between '' if you underand what I mean....and just to be sure it is two single ' quote marks that you need to use - not one double quote.

I'm not sure if this will help you - but please try again. As I said, I'm not entirely sure what I eventually did to get it working again - but if I can help you with yours please feel free to message me again and I can send you the exact shortcode that works for my site and you can amend it with your details. Hope this helps!
 

MoveDaHouse

New Member
Hi Ian i had a look at your code with chrome & looks like you are using a cors proxy from heroku where as iam not mine was working fine all week till sat using icy-metadata, i did also see you comments about the code when copied which i have tried, also my code was put in my wordpress last week & was working fine all week till this saturday when they did some updates to the directory listings as iam also a client so it may have affected my streaming server, & my player code hasnt been changed since... my player is still working fine & playing my stream it just wont display the current song metadata & i have tried every diff way to send it, i have a feeling that the cors policy on my streaming server has gone astray & is no longer sending icy-metadata in the stream, i did also look into setting up a cors proxy on heroku as sugested by sodah but it looks too complicated lol i can get the icy-metadata to work on his test page but once put into my wordpress its not there... very frustrating as i thought i had it all sorted only for it to disapear saturday...now im pulling my hair out trying to get it working again lol. thanks for replying i will check my code for any spaces & see if that works...
 

IanJames

New Member
Hello! Just had a quick look at your website - love it! You know, that proxy code was already in the shortcode builder - it wasn't actually something I configured myself (just like you, proxyserver is well beyond me!!). One thing I did notice in your code though.... in the field streamurl= you have: 'https://uk7.internet-radio.com/proxy/movedahouse?mp=/stream' I have a feeling the /stream shouldn't be included in this section. You add the /stream to the field "mountpoint'. Is it worth checking that? Does the player work correctly on the Luna site?
 

MoveDaHouse

New Member
thanks ian, everything works perfect on the luna test page either way i do it, just not on my site lol, iam using shoutcast v2 so dont use "mountpoint" variant, im also using a https proxy stream under "other" variant for the audio as my site is ssl & icy-metadata to fetch the current song data from the url that is working on the test page... like i said it was all perfect until saturday then it went along with our directory listing & start page so i dont think its anything to do with my code, im waiting from a reply from support as i think something maybe the cors policy is not working or they have turned it off lol, ive had to embed centovacast widgets to display metadata for now but they sometimes freeze & you have to refresh the page etc :(
 
Last edited:

More Support

Level 2 Support
Staff member
Sorry to hear you're having problems. We didn't make any changes to the CORS policy on saturday so I'm not sure why things stopped working for you then. It's interesting that it was working fine before because as far as I know the https stream doesn't contain any meta-data and is just a pure stream. Can you paste me your luna player "shortcode" configs?

We have purchased a copy of luna player to have a play with and managed to get it working with shoutcast 2 but with a few tweaks. For example movedahouse could use the following settings which take advantage of the ownmetadataurl setting combined with a yet to be released ssl proxy we're experimenting with. Essentially shoutcast2 has a url /currentsong which displays the meta-data which luna player can poll separately via the ownmetadataurl setting.

JavaScript:
        metadatatechnic: "ownmetadataurl",
        ownmetadataurl: "https://www.internet-radio.com/ssl/uk7/8000/currentsong",
        streamurl: "https://uk7.internet-radio.com/proxy/movedahouse?mp=/",
        streamtype: "shoutcast2",
As mentioned above, if you could both paste your luna player "shortcodes" config in this thread we can look further into the issue for you.
 

MoveDaHouse

New Member
ive just tried that url for the current song & its working now, didnt work on the luna test page but itis now working on my site ... thats what i needed a custom url thanks
 
Top