Love You Work!

Ask questions, request features, or just complement us about our software and services.
mrkrotos
Posts: 32
Joined: Tue Jan 27, 2015 2:42 pm

Love You Work!

Post by mrkrotos »

Hi there all, I am new here :)
Just wanted to post a quick thank you as this tool is great!
Been playing with it for last day or so, pretty much all configure to do what I want it to now.
The only issue I have at the moment, I seem to be getting double posts even when I set the trigger to listener count change.
User avatar
Jay
Will work for food (Administrator)
Posts: 3020
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Re: Love You Work!

Post by Jay »

Interesting, do you have a log or something that shows the double posting?
- Jay
mrkrotos
Posts: 32
Joined: Tue Jan 27, 2015 2:42 pm

Re: Love You Work!

Post by mrkrotos »

I am seeing the doubles in the mysql db I am pushing to. Is there a log of postings in RTB ?
User avatar
Jay
Will work for food (Administrator)
Posts: 3020
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Re: Love You Work!

Post by Jay »

ok, let me do some tests on my end and I will get back to you.
- Jay
mrkrotos
Posts: 32
Joined: Tue Jan 27, 2015 2:42 pm

Re: Love You Work!

Post by mrkrotos »

I have done more testing :)
When setting "listeners" as the trigger all is fine and I only see 1 post to db per change in listener count.
When setting "track" as the trigger I am seeing double posts for each track change.
The php code I am using is the same for both (simple post to mysql db using GET method).
So I assume it must be something in Radio Toolbox thats triggering twice.
mrkrotos
Posts: 32
Joined: Tue Jan 27, 2015 2:42 pm

Re: Love You Work!

Post by mrkrotos »

Oh btw, any idea how I can push html chars?
Everytime a posted track has an apersand in it I am only seeing the start of the track name in the db.
How can I set Radio Toolbox to use html spesh chars in the web script push?
mrkrotos
Posts: 32
Joined: Tue Jan 27, 2015 2:42 pm

Re: Love You Work!

Post by mrkrotos »

Seems to be doing it with all Special HTML Characters
Need to add this to the "web script" post option for all special html chars as per: http://www.tedmontgomery.com/tutorial/htmlchrc.html

Otherwise the ampersands act data delimiters and apostrophes just mess up the whole process!
User avatar
Jay
Will work for food (Administrator)
Posts: 3020
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Re: Love You Work!

Post by Jay »

Hmm odd, they should be urlencoded.

Might be a bug in that function. Will check it out.
- Jay
mrkrotos
Posts: 32
Joined: Tue Jan 27, 2015 2:42 pm

Re: Love You Work!

Post by mrkrotos »

I have been doing more testing, even if I try urlencoded from within php it remains the same at the database end.

You can see all the important info re my code etc and the result in the image
Attachments
My code and the rows in the db
My code and the rows in the db
mrkrotos
Posts: 32
Joined: Tue Jan 27, 2015 2:42 pm

Re: Love You Work!

Post by mrkrotos »

My RTB payload is:

Code: Select all

url_date=%_CURRENT_DATE_YEAR_%-%_CURRENT_DATE_MONTH_%-%_CURRENT_DATE_DAY_%&url_listeners=%_STATION_LISTENERS_%&url_artist=%_STATION_ARTIST_%&url_svr_1_addy=%_SERVER_1_ADDRESS_%&url_title=%_STATION_TITLE_%&url_track=%_STATION_TRACK_%&url_time=%_CURRENT_DATE_HOUR_%:%_CURRENT_DATE_MINUTE_%:%_CURRENT_DATE_SECOND_%
User avatar
Jay
Will work for food (Administrator)
Posts: 3020
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Re: Love You Work!

Post by Jay »

Is your notifier Method set to POST or GET?
- Jay
mrkrotos
Posts: 32
Joined: Tue Jan 27, 2015 2:42 pm

Re: Love You Work!

Post by mrkrotos »

Its set to GET, it errors when on POST
Attachments
get.png
User avatar
Jay
Will work for food (Administrator)
Posts: 3020
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Re: Love You Work!

Post by Jay »

Yea, I found the problem, will work on a fix.
- Jay
mrkrotos
Posts: 32
Joined: Tue Jan 27, 2015 2:42 pm

Re: Love You Work!

Post by mrkrotos »

BTW still seing the weird doubles for tracks changes, doesnt happen for listener count changes though
Attachments
doubles.png
mrkrotos
Posts: 32
Joined: Tue Jan 27, 2015 2:42 pm

Re: Love You Work!

Post by mrkrotos »

Sorry to add to this but I keep seing this error when launching the porgram, seen it on 3 dif computers now while testing.

2 on Windows 7 Pro x64
1 on Server 2013 R2 x64
Attachments
error.png
Post Reply