RadioDJ - Free Radio Automation Software Forum

RadioDJ v1.7+ => v1.7+ - Support Forum => Topic started by: PHAZE FM on October 14, 2015, 03:54:06 AM

Title: External Commercial Planer (AdMaster)
Post by: PHAZE FM on October 14, 2015, 03:54:06 AM
Hi Guys,

Been playing with traffic software and they have been kind enough to script a template that is recognized by RadioDJ however i have no way of importing the playlist. The instructions they gave me from another RadioDJ user makes no sense:

This is the example of the event with following actions that should be created:

1. Clear playlist.                                                                 - This action stops the music rotation after the playing song is finished.
2. Load playlist |C:\Playlists\Monday\09.20.rpl                      - This action loads the commercial break file created by AdMaster
3. Load Track |4421|C:\Jingles\MyOutro.mp3                        - This action plays a station ID after the break (if necessary)
4. Load Rotation |C:\Rotations\Monday\Morning.rot               - This is, for example, your rotation for Monday morning

But Step to you can only import a .m3u or a precreated playlist

Any ideas?
Title: Re: Import .rpl via Timed Event
Post by: Occassion on October 14, 2015, 08:08:48 AM
can you show what is inside this rpl playlist. how the files are there! Maybe is option to export from AdMaster playlist like m3u or txt file and reconvert?
Title: Re: Import .rpl via Timed Event
Post by: Valdis on October 14, 2015, 08:44:16 AM
Quote from: PHAZE FM on October 14, 2015, 03:54:06 AM
This is the example of the event with following actions that should be created:

1. Clear playlist.                                                                 - This action stops the music rotation after the playing song is finished.
2. Load playlist |C:\Playlists\Monday\09.20.rpl                      - This action loads the commercial break file created by AdMaster
3. Load Track |4421|C:\Jingles\MyOutro.mp3                        - This action plays a station ID after the break (if necessary)
4. Load Rotation |C:\Rotations\Monday\Morning.rot               - This is, for example, your rotation for Monday morning

But Step to you can only import a .m3u or a precreated playlist

Any ideas?

Hi Matthew,

Those actions are for really old RadioDJ versions, before 0.1.6, hwen rotations were stored in files.

Correct actions for current RadioDJ:

AutoDJ Disable!
Clear Playlist!
Load M3U Playlist|C:\path\to\playlist.m3u|0|Top
Load Track By ID|1|4242|the outro jingle|Bottom
Play!
AutoDJ Enable!


The file extension of loaded playlist doesn't matter if it is correct M3U format.
Title: Re: Import .rpl via Timed Event
Post by: Marius on October 14, 2015, 09:02:26 AM
Hi Matthew,

Can you tell us in what format is able to export the playlist files? If it's not a standard one (like pls or m3u, please post a sample).
Title: Re: Import .rpl via Timed Event
Post by: PHAZE FM on October 14, 2015, 02:26:10 PM
Hi Guys,

I have been in touch with the guys over at www.Admaster.info who are trying to develop traffic software for RDJ. The issue is when a .m3u playlist is fed into RDJ which is exported from Admaster RDJ seems to ignore all the files and does not load any of them. Not sure if its not recognising the format.

An example of the .rpl file that is being spat out by Admaster is:

<?xml version="1.0" encoding="utf-8"?>
<!--PlayList generated by RadioDJ Radio Automation.-->
<PlayList>
<Song ID="1">
  <SongID></SongID>
  <PlaySweeper>False</PlaySweeper>
</Song>
<Song ID="2">
  <SongID></SongID>
  <PlaySweeper>False</PlaySweeper>
</Song>

</PlayList>

The devolpers have claimed it has been tested with RDJ but it must have been a very old version. I am not sure how to get M3U files into RDJ

Marius, if you can download the demo version of Admaster and tell us what the .m3u file needs for RDJ to work that would be great.
Title: Re: Import .rpl via Timed Event
Post by: Marius on October 14, 2015, 02:55:10 PM
Oh, i thought that by rpl you mean some Admaster file, but you are referring to the old rdj playlist. They are not supported anymore because it was implemented the standard playlist format m3u.

I downloaded the demo and in the first screen when you start the program you can choose the file type you want to use and m3u is available.
Title: Re: Import .rpl via Timed Event
Post by: Marius on October 14, 2015, 06:49:45 PM
Ok, now that i played a bit with the program i can say that is very easy to make it work with rdj.
In AdMaster settings (output format) set it to "Standard m3u playlists" and set the amount of commercial breaks you need. In advanced settings set the format you need (week-hour, day-hour or only hour). This will reflect how the playlist is named and how the breaks are exported.

Depending by the format you choose from advanced settings, the program will generate the playlists that can be loaded in rdj using event action "Load m3u Playlist by Date Mask". For example if you choose the "only hour" format and you have 3 commercial breaks in a hour, the generated playlists will be named something like "09a.m3u", "09b.m3u", "09c.m3u", where the numbers are the hour and the a,b,c letters are the 3 breaks.

Now create an event for the first break, let's say hourly at XX:05:00 and add an "Load m3u Playlist by Date Mask" action. Set the folder where the generated playlists are located. As action argument add "HHa" (which will load the first break). The "HH" part will be replaced by rdj with the current hour, so if the event is triggered at nine o'clock, it will look for a file named "09a.m3u", at ten for "10a.m3u", and so on.

If you chose 3 breaks, you will need to make 3 events in rdj and like i said earlier, in first event the argument is "HHa", in the second is "HHb" and in the third "HHc".
Title: Re: Import .rpl via Timed Event
Post by: PHAZE FM on October 15, 2015, 04:39:16 AM
Marius you are a bloody legend!!!

Been looking for a way of getting it to detect which hour it is and play the right playlist.

Will trial it and let you know

Also the developers of Admaster are watching this thread and may contact you Marius
Title: Re: Import .rpl via Timed Event
Post by: PHAZE FM on October 15, 2015, 04:53:54 AM
Hi,

I didnt work for me. It counted down the event but never added anything to either the top or bottom of the playlist.

Screenshots are:

https://gyazo.com/800527a0043014c748e9c4f78470e2bd
https://gyazo.com/5428dc42b7e68bf8c5d183c9b2c50b0b
Title: Re: Import .rpl via Timed Event
Post by: Capt_Fuzzy on October 15, 2015, 05:22:34 AM
Hmm, did you make sure the event was 'Enabled'?
There's a little tick-box on the event creation window, near the bottom. It's usually already checked by default, but I have seen mine sometimes not checked by default.
Title: Re: Import .rpl via Timed Event
Post by: PHAZE FM on October 15, 2015, 05:25:22 AM
Hi,

Its differently checked. These are the sorts of issues we have been having with 1.8.2 where with timed events it will countdown but fails to add the file to the playlist.

I can confirm however that it is enabled and as far as i can see it should be working

While all of our adverts, station ids and music is streamed over the network using network shares it should not be an issue as the station plays that content fine. :/
Title: Re: Import .rpl via Timed Event
Post by: Marius on October 15, 2015, 07:36:25 AM
If you play a playlist manually in winamp for example, it runs correctly? You can also check windows error logs for messages from rdj regarding the events.

PS: Set the Windows File Explorer to show the file details and check the size of the playlists.  In my case, because i didn't have too many campaigns, at some hours, the playlists were empty (0kb). Maybe at the hour you've tested you ended up loading such a playlist.

[attachment deleted by admin]
Title: Re: Import .rpl via Timed Event
Post by: PHAZE FM on October 15, 2015, 08:06:11 AM
Hi Marius,

I am well aware of the empty play lists - I have them as well but I can assure you the playlist that it should be loading has an ID and an advert in it but it does not seem to be adding it to the playlist.

The other thing is I can not find ANY radio DJ logs in the windows event viewer. See screenshot

https://gyazo.com/1d61c8388c84efe9e742b2accbed9d6d

I can find no logs what so ever in relation to Radio DJ - I know this because I have a custom web player that is not working as well. I am not sure if that is related to this issue or not.

I have not tested the playlists in winamp but I have tested the file urls in the playlist and they play the file.
Title: Re: Import .rpl via Timed Event
Post by: Marius on October 15, 2015, 08:15:53 AM
For the moment i'm out of ideas. If you want i can take a look using team viewer.
Regarding the logs, make sure that in rdj options the logs are enabled and if you are using windows UAC, you will need to run rdj as administrator.
Title: Re: Import .rpl via Timed Event
Post by: PHAZE FM on October 15, 2015, 08:36:20 AM
Hi Marius,

Can you send me an email admin@phazern.com.au and I will send you the teamviewer details
Title: Re: Import .rpl via Timed Event
Post by: Occassion on October 15, 2015, 10:35:36 AM
Quote from: PHAZE FM on October 15, 2015, 04:53:54 AM
Hi,

I didnt work for me. It counted down the event but never added anything to either the top or bottom of the playlist.

Screenshots are:

https://gyazo.com/800527a0043014c748e9c4f78470e2bd
https://gyazo.com/5428dc42b7e68bf8c5d183c9b2c50b0b


If it counted down and nothing appeard on radiodj playlist than it means eather U have a empty playlist or wrong named playlist what are U loading there!
Title: Re: Import .rpl via Timed Event
Post by: Marius on October 15, 2015, 11:40:18 AM
The path to playlist location was wrong. It works now.  ;D
Title: Re: Import .rpl via Timed Event
Post by: Yvette - Hitz24 on October 15, 2015, 02:10:25 PM
Hi Guys,

The last three weeks I have been testing AdMaster with an older version of RadioDJ which uses rpl files instead of m3u files.
All my experiences were discussed with the maker of AdMaster so he could modify the software to output usable files for RadioDJ.
One of the key features that is very interesting is the option to set a database reference number for each entry.

So the generated rpl files contain the database reference numbers of the commercials instead of the real files.
The big advantage of using database reference numbers, is that all side information is used during playout.
Side information like start time, end time, next time, but also the track info data which is sent to the stream and in the nowplaying file.
There is only 1 downside: Before scheduling your commercial in AdMaster, you have to retrieve the database reference number of that commercial. I do that through Events.

Now, for the newer versions of RadioDJ:
Playlist files in the newer RadioDJ are m3u playlists.
In earlier posts Marius has shown us how to insert m3u playlists that are generated by AdMaster in RadioDJ using Events.
With this method, I wonder if all side information is used? As there is no database record number, RadioDJ will play the real files without side information?
If so, each playlist can contain silences between the various commercials in a break?

Maybe Marius or anyone can clear this?

So my question is: When using the m3u output in AdMaster and using the Marius method to insert the m3u playlists, is the side info, stored in the database records used in the playout?

Thanks for taking the time for this issue.






Title: Re: Import .rpl via Timed Event
Post by: Marius on October 15, 2015, 04:43:38 PM
Sure, no problem.
Even if you load a m3u playlist, the program will search first the database if that filename is already imported and if it is, it will use the available info. In the other case, when the file is not imported, rdj will import the file and only then will add it to the playlist.
This is the reason why i always said that is a good practice to import the files first, edit them, and only after that to use them in playlists. If you load a playlist with 2-300 tracks, it will take a while to import them and you can end up with silence on air, but if the files are already imported, the process will be very fast.
Title: Re: Import .rpl via Timed Event
Post by: Yvette - Hitz24 on October 15, 2015, 06:39:26 PM
Great!

That means that AdMaster is a very suitable program for scheduling ads for old versions as well as new versions of RadioDJ!
I am going to test the latest version with the M3U playlist outputs and let you know what the result is.
In that test I am going to use your method to insert the playlist.

Thanks for answering so quick, Marius!
Title: Re: Import .rpl via Timed Event
Post by: Jhonny on October 15, 2015, 09:01:29 PM
I downloaded the AdMaster trial edition.

And go play with it.
Title: Re: Import .rpl via Timed Event
Post by: Yvette - Hitz24 on October 21, 2015, 03:21:14 PM
Hi Guys,

I have tested RadioDJ 1.8.2. in combination with AdMaster. It works like a charm!

The Events function in RadioDJ inserts the m3u playlists that are generated by AdMaster perfectly.
If a playlist contains commercials, they are inserted at the set time in your Event.
Empty playlists are simply ignored bij RadioDJ.

So AdMaster outputs rpl playlists for old versions of RadioDJ and m3u playlists for new versions of RadioDJ.

I must say, RadioDJ and AdMaster make a great pair!

Yvette

Title: Re: Import .rpl via Timed Event
Post by: Vanlen on October 22, 2015, 02:23:22 AM
That's great news :cool:
Title: Re: External Commercial Planer (AdMaster)
Post by: IgorAdMaster on October 23, 2015, 02:00:17 PM
Hey guys, many thanks to all of you for the help on how to pair our software with RadioDJ!

If you have any questions regarding the software feel free to ask us.
Title: Re: External Commercial Planer (AdMaster)
Post by: IgorAdMaster on February 03, 2016, 11:30:22 AM
Hi guys,

just wanted to let you know that a new version of AdMaster is released. Among other features, it includes predefined templates for connection with RadioDJ both with .m3u and older .rpl files.
Title: Re: External Commercial Planer (AdMaster)
Post by: Jhonny on February 03, 2016, 03:10:48 PM
At the moment I see only two posts from you!

So i do not ask.
I demand a link for the software  :hihi: :hihi:


Title: Re: External Commercial Planer (AdMaster)
Post by: Jhonny on February 03, 2016, 03:15:53 PM
[MODE SET HUMBLE]
Just to see how it works.
[MODE END]

:-X :-X :D :D

Title: Re: External Commercial Planer (AdMaster)
Post by: Brodephat on February 03, 2016, 05:09:32 PM
I believe this is it. It's a monthly fee involved.

http://www.admaster.info/ (http://www.admaster.info/)
Title: Re: Import .rpl via Timed Event
Post by: Neoradius on February 29, 2016, 07:51:59 PM
Quote from: Yvette - Hitz24 on October 21, 2015, 03:21:14 PM
Hi Guys,

I have tested RadioDJ 1.8.2. in combination with AdMaster. It works like a charm!
.........................................
I must say, RadioDJ and AdMaster make a great pair!

Yvette

Could you help me HOW to make them work as a great pair? The Admaster created hundreds of m3u's per each commercial break, more than 500. Do I have to assign each mp3u through the event scheduler in RadioDJ???? This is insane, there must be an easier way
Title: Re: External Commercial Planer (AdMaster)
Post by: Neoradius on February 29, 2016, 08:02:17 PM
Ah, okay, sorry, it had been explained earlier in the thread,
what should I write in the Argument field if I have such format of m3u's:
2016-02-29-02a
?
Title: Re: External Commercial Planer (AdMaster)
Post by: Neoradius 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!
Title: Re: External Commercial Planer (AdMaster)
Post by: Marius 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:

"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.
Title: Re: External Commercial Planer (AdMaster)
Post by: Neoradius 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
Title: Re: External Commercial Planer (AdMaster)
Post by: kylelmartin 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.
Title: Re: External Commercial Planer (AdMaster)
Post by: Jhonny on March 04, 2018, 11:00:50 PM
Dit you put the date mask in the argument field on the event?
Title: Re: External Commercial Planer (AdMaster)
Post by: Jhonny 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 (http://php.net/manual/en/function.date.php)

Title: Re: External Commercial Planer (AdMaster)
Post by: adam2410 on April 17, 2018, 03:59:10 AM
Quote from: Jhonny 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 (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!
Title: Re: External Commercial Planer (AdMaster)
Post by: adam2410 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 !!! :-)
Title: Re: External Commercial Planer (AdMaster)
Post by: Jhonny on April 17, 2018, 07:28:13 AM
Top and a solution for others how to fix.  :cool: