RTB 2.0 (build 300) and script service

Ask questions, request features, or just complement us about our software and services.
Post Reply
User avatar
gdradio
Posts: 130
Joined: Thu Jun 24, 2004 9:03 pm
Contact:

RTB 2.0 (build 300) and script service

Post by gdradio »

1st: LOVE IT. Obviously a ton of work has gone into it.

question: with the older version, I used 'script service' to send info to catcher.php so i could have a 'now playing' section on my website. It seems that functionality is gone .. is there a replacement that I just dont see? I am currently running both versions of RTB ...

2.0 for the bells, whistles and new log

1.1.1 for the script service / now playing
Image
User avatar
gdradio
Posts: 130
Joined: Thu Jun 24, 2004 9:03 pm
Contact:

Re: RTB 2.0 (build 300) and script service

Post by gdradio »

also, the screenshot shows ALBUM info and artwork

i get neither .. is this unlocked somehow?
Image
User avatar
Jay
Will work for food (Administrator)
Posts: 3020
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Re: RTB 2.0 (build 300) and script service

Post by Jay »

Yes, you can do this in v2.

Go to Options -> Notifications and click "Add"

Now select your station and choose "Next"

Select the conditions that you would like to trigger your script call. I would choose "Station Status Change", "Track Title Change" and "Listener Count Change" and Click "Next"

On the notification type tab, select "Web Scripting"

You will see a presets selector, choose Radio Toolbox v1

Set the URL to the location of your script and set the Method to POST. Make note of the user and pass entries and be sure they are the same as what is in the script. RTB_PASS will not pass anything so set it to your password explicitly.

In later versions we will be introducing replacement services to this that are less complicated.
gdradio wrote:also, the screenshot shows ALBUM info and artwork

i get neither .. is this unlocked somehow?
Radio Toolbox needs to be able to parse your title information. Likely it is unable to do this especially if you have a lot of extra information in your meta tags. Looking at your account it appears that it is probably not able to parse it due to the date information being included in your song titles.

Radio Toolbox currently understands the following forms:
Artist - Title
Artist - Title - Album
Artist - Album - Title

Anything other than that and it will have trouble detecting your current track information properly.
- Jay
User avatar
gdradio
Posts: 130
Joined: Thu Jun 24, 2004 9:03 pm
Contact:

Re: RTB 2.0 (build 300) and script service

Post by gdradio »

seemed easy enough

log told me "WebScripting notification Successfully POST"

but nothing updated

*kicks rocks*
Image
User avatar
Jay
Will work for food (Administrator)
Posts: 3020
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Re: RTB 2.0 (build 300) and script service

Post by Jay »

Make sure to check your username and password. The notification only tells you that it received a 200 response from the webserver, not that the script actually succeeded in processing the information.

If you still have problems PM me the details of your script and I can try testing over here.
- Jay
User avatar
gdradio
Posts: 130
Joined: Thu Jun 24, 2004 9:03 pm
Contact:

Re: RTB 2.0 (build 300) and script service

Post by gdradio »

yes, I have the right username and password

let me spend time with it before I resort to asking you to help more than you already are...
Image
User avatar
bestradiobrasil
Posts: 6
Joined: Sat Feb 14, 2009 10:14 am
Location: Sao Paulo, Brazil
Contact:

Re: RTB 2.0 (build 300) and script service

Post by bestradiobrasil »

Everybody,

I am adding some servers shoutcast V2, but the Radio Toolbox does not show how many listeners are connected at that moment.

The server page is this: http://173.236.58.98:9470/index.html?sid=1

How do I show how many listeners have at the moment?

Thanks!
User avatar
skoen
Posts: 32
Joined: Fri Sep 03, 2004 2:54 am
Contact:

Re: RTB 2.0 (build 300) and script service

Post by skoen »

Known issue: http://forums.radiotoolbox.com/viewtopic.php?f=2&t=2931
I put in the address: http://173.236.58.98:9470/1
and it only shows the current track, not the listener count.
Radio Toolbox user since 2005.
User avatar
Jay
Will work for food (Administrator)
Posts: 3020
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Re: RTB 2.0 (build 300) and script service

Post by Jay »

first, make sure that you are placing the full qualified address. not just a shortcut. So if the address is

local:port/stream/2

then you must put that address in. Whatever it would be named by the server must be used.
- Jay
User avatar
bestradiobrasil
Posts: 6
Joined: Sat Feb 14, 2009 10:14 am
Location: Sao Paulo, Brazil
Contact:

Re: RTB 2.0 (build 300) and script service

Post by bestradiobrasil »

Thanks for the replies. Using the shortcut 173.236.58.98:9470 / 1 really shows what's playing and not the number of listeners. I need this info within RTB ...

Jay, even putting the whole URL, http://173.236.58.98:9470/index.html?sid=1 I can not count the number of listeners.

What to do then?

Thanks again.
User avatar
Jay
Will work for food (Administrator)
Posts: 3020
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Re: RTB 2.0 (build 300) and script service

Post by Jay »

As I said short cuts will not work.

http://173.236.58.98:9470/index.html?sid=1 is just an HTML page so clearly the only way to add this link to Radio Toolbox is through File -> Open Url and a station browser should show up listing the PLS links in this page.

If you are just trying to add through the list view window then you would use:
http://173.236.58.98:9470/stream/1/
- Jay
User avatar
bestradiobrasil
Posts: 6
Joined: Sat Feb 14, 2009 10:14 am
Location: Sao Paulo, Brazil
Contact:

Re: RTB 2.0 (build 300) and script service

Post by bestradiobrasil »

Ok Jay!

Its Ok now :) Thanks again!

[]s
User avatar
bestradiobrasil
Posts: 6
Joined: Sat Feb 14, 2009 10:14 am
Location: Sao Paulo, Brazil
Contact:

Re: RTB 2.0 (build 300) and script service

Post by bestradiobrasil »

Jay, how are you!?

Well, the RTB not display count listeners at servers SHOUTcast Server v2.2.1.109/posix(linux x64)?

I try your tips for previous posts, but not OK.

Do you see count listeners at url: http://best.viaflux.com/stream/1/ ?

In log RTB I receive message:

Unable to sync for stats node


See ya!

Thanks!
Post Reply