Author Topic: External Commercial Planer (AdMaster)  (Read 11684 times)

Neoradius

  • New User

  • Offline
  • *
  • 13
Re: External Commercial Planer (AdMaster)
« Reply #30 on: February 29, 2016, 09:39:50 PM »
I did jsut as Marius explained later in this thread, but he used an example of hourly format only (when mp3u file names contain only an hour and letters a, b, c etc. In my case the full name of the file is like this: 2016-02-29-10a
So in order to make RDJ take the right file each time, I created a test event with a task "Load m3u Playlist by a Date Mask". In the "argument field" I wrote YYYY-MM-DD-HHa, (in other cases YYYY-MM-DD-HHb and YYYY-MM-DD-HHc - it depends on a number of a commercial break in an hour).
I am not a programmer, I am a music editor, so, I am not sure if I put it down right.
It didn't work anyway.
I added all the audio files into the RDJ library, in case you might think I've forgotten this.
So what might be my mistake?
Thank you very much!

Marius

  • Administrator
  • Hero Member

  • Offline
  • *****
  • 5480
    • Radio DJ Romania
Re: External Commercial Planer (AdMaster)
« Reply #31 on: February 29, 2016, 10:59:17 PM »
You ran the event at that date and hour (2016-02-29 between 10:00 and 10:59:59 o'clock)?

Also remember that HH is the 24-hour clock from 00 to 23. Other variants are:

Code: [Select]
"h": The hour, using a 12-hour clock from 1 to 12.
"hh": The hour, using a 12-hour clock from 01 to 12.
"H": The hour, using a 24-hour clock from 0 to 23.
"HH": The hour, using a 24-hour clock from 00 to 23.
DOWNLOADS PAGE

HOW TO FIX RADIODJ DATABASE
----------------
Please don't PM me for support requests. Use the forums instead.

Neoradius

  • New User

  • Offline
  • *
  • 13
Re: External Commercial Planer (AdMaster)
« Reply #32 on: March 01, 2016, 10:09:13 AM »
I somehow fumbled the right way to do it,
the argument must be yyyy-MM-dd-HHa (b, c), it's case-sensitive.
It's working!!!  ;D

kylelmartin

  • New User

  • Offline
  • *
  • 7
Re: External Commercial Planer (AdMaster)
« Reply #33 on: April 08, 2016, 07:27:42 AM »
Quick Request - Would someone please upload an m3u file created in AdMaster?

I'd like to do a demo to prove to our traffic manager that it can work in RadioDJ before we jump into AdMaster.

Don't worry, I'll hack my ads into it.

Much Appreciated.
Thanks.

Jhonny

  • Hero Member

  • Offline
  • *****
  • 3530
  • Personal Text
    Peace, enjoy life.it's over before you've lived it
    • Jhonny's RadioDJ tutorials.
Re: External Commercial Planer (AdMaster)
« Reply #34 on: March 04, 2018, 11:00:50 PM »
Dit you put the date mask in the argument field on the event?
R.T.F.M. means to me, Read The Fantastic Messages.
Make things simple, but don't make simple things simpler!
I don't do drugs, I do tuts. ( ͡° ͜ʖ ͡°) visit https://radiodj.info

Testing RadioDJ v2.0.1.6 Beta

Jhonny

  • Hero Member

  • Offline
  • *****
  • 3530
  • Personal Text
    Peace, enjoy life.it's over before you've lived it
    • Jhonny's RadioDJ tutorials.
Re: External Commercial Planer (AdMaster)
« Reply #35 on: March 26, 2018, 07:38:12 AM »
Think your file name is the problem.
HHa.m3u

Date code on http://php.net/manual/en/function.date.php

R.T.F.M. means to me, Read The Fantastic Messages.
Make things simple, but don't make simple things simpler!
I don't do drugs, I do tuts. ( ͡° ͜ʖ ͡°) visit https://radiodj.info

Testing RadioDJ v2.0.1.6 Beta

adam2410

  • New User

  • Offline
  • *
  • 2
  • Personal Text
    RadioDJ
    • http://www.soundgates.com/
Re: External Commercial Planer (AdMaster)
« Reply #36 on: April 17, 2018, 03:59:10 AM »
Think your file name is the problem.
HHa.m3u

Date code on http://php.net/manual/en/function.date.php

Jhonny! You are right. Thank you! The problem is in the file name. I am using HHd.m3u mask for 16d.m3u (as an example). Problem is with the "d" which is a part of a filename but in the argument field it is treated as an argument.  ('D, d M Y H:i:s')

so, again - in my case the playlist files are generated by AdMaster as follows:

05a.m3u - working fine (mask "HHa")
05b.m3u - working fine (mask "HHb")
05c.m3u - working fine (mask "HHc")
05d.m3u - doesn't work (mask "HHd") < "d" is the problem

Question: is there any way of passing the "d" as a regular text without converting it to day of the month?
Please help!
smileys may be used...  :-)

adam2410

  • New User

  • Offline
  • *
  • 2
  • Personal Text
    RadioDJ
    • http://www.soundgates.com/
Re: External Commercial Planer (AdMaster)
« Reply #37 on: April 17, 2018, 04:56:54 AM »
OK, JUST GOT A SOLUTION :-)

For a playlist file 05d.m3u - instead of using mask [HHd] I need to use [HH'd'] mask! With letter "d" inside a single quotes - and THAT'S IT !!! :-)
smileys may be used...  :-)

Jhonny

  • Hero Member

  • Offline
  • *****
  • 3530
  • Personal Text
    Peace, enjoy life.it's over before you've lived it
    • Jhonny's RadioDJ tutorials.
Re: External Commercial Planer (AdMaster)
« Reply #38 on: April 17, 2018, 07:28:13 AM »
Top and a solution for others how to fix.  :cool:
R.T.F.M. means to me, Read The Fantastic Messages.
Make things simple, but don't make simple things simpler!
I don't do drugs, I do tuts. ( ͡° ͜ʖ ͡°) visit https://radiodj.info

Testing RadioDJ v2.0.1.6 Beta