Live365 broadcast

Hey Djsoft,

Our Dj's will be using a soundboard that is attached to the computer through a USB sound interface to broadcast their shows from the studio through RadioBOSS to Live365.  That is all set up correctly and works fine, however I do not know how to send the metadata from this audio to Live365 through RadioBOSS.  If you could point me in the right direction I would appreciate it.

Thanks
WRCM
 
I think the http://www.djsoft.net/smf/index.php/topic,1034.msg4599.html#msg4599, section "II. Sending song title" is what you need.
 
    I did get that working the first time and it has no problem sending the data from the songs that are already on the computer to Live365.  The problem happens when someone plays a song from their laptop.  The way I have it set up right now is that when I want to play what the board is playing I go to PLAYLIST - ADD Line In.  From then it allows me to play what I am putting into the soundboard. 

    This music that is then put in through the soundboard needs to have the data sent to Live365.    As I understand it, RadioBOSS does not have the ability to know what song is playing if it is not locally stored on the computer that RadioBOSS is running on.  Is there some place for the DJ's to manually enter the data so it can be sent?
 
What's the source sound for sound board? If it's another RadioBOSS, you should make it do the HTTP-request to the Live365 address. If it's another program, it should be able to do HTTP requests.
The lat way, someone can just open the URL in browser by hand to update the title, but it's not the best solution )

Anyway, to change title at Live365 this URL have to be called:
http://tools.live365.com/cgi-bin/add_song.cgi?version=2&pass=MYPASSWORD&handle=MYLOGIN&title=%title&artist=%artist&album=%album
 
ok, so let me see if I understand this correctly.  There is no way for the DJ to just come into the studio, plug their computer or ipod into the soundboard, start a Line In on RadioBOSS, start broadcasting what ever they want, and have them changing the metadata that RadioBOSS sends to what ever song they are playing?  Each DJ needs to set up his or her computer with some software that will do HTTP request to send the data then?
 
Yes. That's because computer have no idea what track is playing in the iPod. It just takes the signal from LineIn.
Better solution: connect iPod/computer, add tracks from it to RadioBOSS's playlist and play. Don't use line input at all for this. It should be able to add iPod tracks like from flash drive; another computer should be connected via network.
 
Thanks.  Is there any possibility that a feature that would be able to send manually entered metadata to Live365 could be added in RadioBOSS 4.5?
 
Here's a small HTML file to send manually entered metadata updates:
Code:
<html>
<head>
</head>
<body style="font-family:Tahoma;font-size:12px;">
	<b>Live365 metadata update</b>


	<form action="http://tools.live365.com/cgi-bin/add_song.cgi" method="get">
		<input type='hidden' name='version' value='2' />
		<input type='hidden' name='pass' value='MYPASSWORD' />
		<input type='hidden' name='handle' value='MYLOGIN' />
		Enter new track info


		Title:

		<input type='text' name='title' value='' />


		Artist:

		<input type='text' name='artist' value='' />


		Album:

		<input type='text' name='album' value='' />


		<input type="Submit" />
	</form>
</body>
</html>

You should save it as .html (don't forget to change MYLOGIN and MYPASSWORD). Then just open it in your browser, enter new metadata and click "Submit". To submit another title update, click "Back" in browser, and enter new data.
 

Attachments

  • live365_meta.htm
    681 bytes · Views: 760
Download the live365_meta.htm file to your computer (it's attached to the previous post), right-click on it, select "Open with"->"Notepad".
In the notepad window, find and change the MYLOGIN and MYPASSWORD, then save the file.

Another option :) you can use the file attached to this post, just save it and open. It allows to enter login info and requires no editing. (totally untested...)
 

Attachments

  • live365_meta2.htm
    730 bytes · Views: 768
djsoft said:
II. Sending song title
In the Settings window, click "Log files (Reports)", enable HTTP Get request. In the URL put the following string:
http://tools.live365.com/cgi-bin/add_song.cgi?version=2&pass=MYPASSWORD&handle=MYLOGIN&title=%title&artist=%artist&album=%album
This is great, but I'd like to take it a step further.  There is a coverURL parameter for add_song.cgi that allows you to send the URL of a graphics file for displaying custom album cover art on a particular song (e.g., a station logo if an ID is played).  Ultimately I'd like to use the %comment tag field to provide the URL, but for now I'm just providing the URL directly.

However, I can't get the parameter to work when sent from RadioBOSS.  I know the URL has to be properly escaped, so a value like this:

coverURL=http://www.domain.com/logo.jpg

has to look like this:

coverURL=http%3A%2F%2Fwww%2Edomain%2Ecom%2Flogo%2Ejpg

...but it still doesn't work in RadioBOSS.  I know the format of the whole http: link is correct because the artwork comes through when I send it directly, but it doesn't work when sent through RadioBOSS.  Any ideas?  Perhaps a truncation issue?  Thanks.
 
djsoft said:
Can you provide a full string you use for HTTP request?

I will privately email you the actual string, which includes our station's username and password.

Generically, though, it just looks like this:

http://tools.live365.com/cgi-bin/add_song.cgi?version=2&pass=MYPASSWORD&handle=MYLOGIN&title=<title>&artist=<artist>&album=<album>&coverURL=<image URL>
 
Sorry for a delay.
RadioBOSS doesn't "know" the cover URL, so I suppose, you have that URL hardcoded in the request string? Maybe, the string is not properly encoded. I used the online service (http://www.albionresearch.com/misc/urlencode.php) to encode it and got the result: "http%3A%2F%2Fwww.domain.com%2Flogo.jpg" which is differs from yours a little.
I'll also check if RadioBOSS does some transformations to the URL string.
 
djsoft said:
Sorry for a delay.
RadioBOSS doesn't "know" the cover URL, so I suppose, you have that URL hardcoded in the request string?
Well, originally we were trying to pass the URL from the Comment tag field, like this:
http://tools.live365.com/cgi-bin/add_song.cgi?version=2&pass=MYPASSWORD&handle=MYLOGIN&title=%title&artist=%artist&album=%album&coverURL=%comment
...but that wasn't working.  So now we're trying to hardcode the URL in the request string to at least get *that* part of the process working.  But that's where we're getting stuck.


[quote author=djsoft]Maybe, the string is not properly encoded. I used the online service (http://www.albionresearch.com/misc/urlencode.php) to encode it and got the result: "http%3A%2F%2Fwww.domain.com%2Flogo.jpg" which is differs from yours a little.[/quote]
Thanks -- I just tried that format in RadioBOSS and I'm afraid that doesn't work either.


[quote author=djsoft]I'll also check if RadioBOSS does some transformations to the URL string.
[/quote]
Yes, thank you -- we're kind of wondering if that is what is going on.
 
Hmm... reading from comment should work (good idea BTW). RadioBOSS prepares all the strings before making a request. It should work, and I don't know (yet) why it doesn't.
You may send (privately to support@djsoft.net) an URL which works, so I'll be able to check what could be wrong...
 
djsoft said:
Hmm... reading from comment should work (good idea BTW). RadioBOSS prepares all the strings before making a request. It should work, and I don't know (yet) why it doesn't.
You may send (privately to support@djsoft.net) an URL which works, so I'll be able to check what could be wrong...

Hello Dmitry -

You had indicated to me in an email that RadioBOSS doesn't use the "%comment" field correctly in the URL request to Live365.  Was that issue fixed in the 4.5.4.833 release?

I ask because I tried passing the %comment field to the Live365 URL request and it still doesn't seem to work in the new release.

Thanks.
 
I just checked it, and the %comment works fine (tested it on local Apache server).
The URL in RadioBOSS:
http://djs/1.php?cm=%comment

"Comment" in track's tags:
--www.djsanchez.ru--

Record in server access logs:
127.0.0.1 - - [14/Jul/2011:18:25:33 +0400] "GET /1.php?cm=%2D%2Dwww.djsanchez.ru%2D%2D HTTP/1.1"

As you can see, the contents of comment field are sent correctly... I think you should check your URL, maybe something's wrong there (mistype?).
 
Is anyone having issues with album being transferred to live 365? I set up the http and stream is good, but some album names transfer a lot don't, only artist and song so i get delisted alot. i use mp3, i am about to use mp3pro to see if it fixes something.
 
Back
Top