RadioDJ - Free Radio Automation Software Forum

RadioDJ v1.7+ => v1.7+ - Support Forum => Topic started by: bulik4lg on January 27, 2015, 07:34:31 PM

Title: Work with File By Date
Post by: bulik4lg on January 27, 2015, 07:34:31 PM
Hello everyone,
can someone explain me, please, how to work properly with File By Date track type..?
I have prerecorded voice track which is saved in the MM-dd-YYYY format in the DB. I adjusted its track type as File By Date. Then I created an event, where I put open jingle with bed music and close jingle. Which option in event creator I need to select to let the RDJ choose the correct track from a directory, where such a files are stored? Or is there any other way, how to handle File By Date track types ?
Thank you in advance for your hints.

Cheers.

Matej
Title: Re: Work with File By Date
Post by: Marius on January 27, 2015, 07:39:27 PM
Matej, please read this: http://www.radiodj.ro/tutorials/track-types-in-radiodj.html
Title: Re: Work with File By Date
Post by: bulik4lg on January 27, 2015, 09:23:29 PM
Hi Marius,
thank you for answer.
I am still not sure, if I understood it well.. So this track type can be added into the queue only by predefined playlist..? I can not add it for example with some event..?
Is there any way, how can I use such a track type if I use only rotations for creating daily program, not playlists..?
Title: Re: Work with File By Date
Post by: bulik4lg on January 30, 2015, 07:32:46 PM
Please, can someone help me..? Or explain me, how to deal with that kind of files ?

Just to summarize it.
My daily program is created with rotations. Those are loaded in irregular intervals. Prerecorded shows are loaded to the queue with an event. Is there any way, how to get prerecorded shows (obviously in correct file name format) into the queue using some event, or something ?
If yes, what I need to edit, so to be able to do that ?
If no, does anyone have some hint, how to solve that situation ?

Thank you
Title: Re: Work with File By Date
Post by: SlowJamer on May 27, 2015, 06:36:18 AM
I have the exact same question, so far I haven't been able to find anywhere that explains how to apply "File By Date" the page "http://www.radiodj.ro/tutorials/track-types-in-radiodj.html" that Marius suggested only explains what the file type is, it does not explain how to set it up or use it so if someone can be kind enough to explain I would be very grateful, thank you.
Title: Re: Work with File By Date
Post by: Marius on May 27, 2015, 08:15:18 AM
1. Go to RadioDJ-Options-Track Import;
2. Set track type to "File By Date";
3. Using the plus button select the target folder where the program will search for the files;
4. Set manually the artist and the title for the track, for future references. For example "Latest News".

The default date mask the files is "yyyy-MM-dd", so if you put multiple files in the target folder, one for each day (for example: 2015-05-27.mp3, 2015-05-28.mp3, 2015-05-29.mp3 etc), whenever you will load the "Latest News" file, it will search for the corresponding file at that day. In other words RadioDJ will replace the mask with the actual date/time from the moment that was called the file.

After this, you can use an event to play the "Latest News" file. The good thing about this is that only requires an event to play each day different files.
Title: Re: Work with File By Date
Post by: cordobaweb on June 10, 2015, 09:01:44 PM
if the file names are for example 20150527.mp3, 20150528.mp3, 20150529.mp3, have I insert in the comment field "yyyyMMdd"?
Title: Re: Work with File By Date
Post by: Marius on June 10, 2015, 09:21:18 PM
Yes, that should work.
Title: Re: Work with File By Date
Post by: kboyle on November 24, 2015, 10:07:27 PM
I'm having trouble with File By Date.  I've figured out that you have to use File Import rather than folder and that you have to choose the File By Date type BEFORE you click the plus sign, but once I've completed the profile (including assigning info to the artist, title and album fields) and imported --nothing shows up for tracks (even through there are multiple files in the directory that match the date naming convention.  As a result, when I go to create an event that calls to load a track, there is nothing to select.  I suppose I am missing something obvious, but I've struggled with this for some time And checked the forums) and can't seem to find a solution.
Title: Re: Work with File By Date
Post by: Capt_Fuzzy on November 24, 2015, 11:44:26 PM
if the file names are for example 20150527.mp3, 20150528.mp3, 20150529.mp3, have I insert in the comment field "yyyyMMdd"?
To play this file: 20150527.mp3
Enter into the "yyyyMMdd" field: 20150527
Title: Re: Work with File By Date
Post by: Capt_Fuzzy on November 24, 2015, 11:49:37 PM
I'm having trouble with File By Date.  I've figured out that you have to use File Import rather than folder and that you have to choose the File By Date type BEFORE you click the plus sign, but once I've completed the profile (including assigning info to the artist, title and album fields) and imported --nothing shows up for tracks (even through there are multiple files in the directory that match the date naming convention.  As a result, when I go to create an event that calls to load a track, there is nothing to select.  I suppose I am missing something obvious, but I've struggled with this for some time And checked the forums) and can't seem to find a solution.
From what I understand about it, File By Date can be a bit "finicky" about file names and the format that they are in.
Be careful how you name your files and when you want them imported, make sure the info is EXACTLY the same as the file name...
Title: Re: Work with File By Date
Post by: kboyle on November 27, 2015, 07:29:28 PM
I understand that the default format is YYYY-MM-DD.X.  We use FLAC files, so the files I'm using are named, for example, 2015-11-28.flac.  Could the FLAC extension be the issue?

kcb
Title: Re: Work with File By Date
Post by: Capt_Fuzzy on November 27, 2015, 07:45:43 PM
No, I don't think the extension would be an issue unless it was something not compatible with RDJ...
To my best knowledge, you can use .flac with RadioDJ...
Title: Re: Work with File By Date
Post by: deskr on June 28, 2016, 04:28:45 PM
if I want this format: "News 28-06-2016"
how would it be the mask?
Title: Re: Work with File By Date
Post by: Capt_Fuzzy on June 28, 2016, 08:58:43 PM
if I want this format: "News 28-06-2016"
how would it be the mask?
Since I've not used this much, I could be wrong, but from what I've read on it, try this:
news-2016-06-28.mp3

The "news" part may or may not confuse RDJ, that's the part I'm not sure about...
Title: Re: Work with File By Date
Post by: Marius on June 28, 2016, 09:14:25 PM
I replied on your other topic: http://www.radiodj.ro/community/index.php?topic=8811.msg51296;topicseen#msg51296
Title: Re: Work with File By Date
Post by: Jhonny on June 28, 2016, 10:47:57 PM
Sorry Cap..
answer to a double topic.

The emperor (M) says:

Quote
I replied on your other topic: http://www.radiodj.ro/community/index.php?topic=8811.msg51296;topicseen#msg51296

Oops.

To them/he/she, please, do not make new topic on the same question.
Title: Re: Work with File By Date
Post by: deskr on July 01, 2016, 03:33:06 PM
I solved the problem..
the mask most be "News "dd-MM-yyyy
Title: Re: Work with File By Date
Post by: RadioMarentane on December 27, 2019, 08:58:30 AM
Hello Marius,

Is it possible to use more than one file? For exemple 27-12-2019_1 and 27-07-2019_2, for last news 1 and last news 2?

if the file names are for example 20150527.mp3, 20150528.mp3, 20150529.mp3, have I insert in the comment field "yyyyMMdd"?
Title: Re: Work with File By Date
Post by: PROducer on December 27, 2019, 05:56:23 PM
Hello Marius,

Is it possible to use more than one file? For exemple 27-12-2019_1 and 27-07-2019_2, for last news 1 and last news 2?
You need a separate event to do this.  Both will use the same date mask, but each one will have the separate _#.  So dd-MM-yyyy_1 and dd-MM-yyy_2