News

You have a question or need an advice about how to do something? Ask it here!
Post Reply
amaurydixx
Posts: 41
Joined: 18 Dec 2013 17:41
News

Post by amaurydixx »

Hi,

I receive a file each hours with the newsflash.
These file is on a specific folder which contain only one file.

I would like to insert it automatically in a script.
How can I do?

Next, I would like to automatically put ACPD...
Any idea?

Thank you.
amaurydixx
Posts: 41
Joined: 18 Dec 2013 17:41
Re: News

Post by amaurydixx »

one more question: how to play the file automatically in a playlist?
If the file has the same name, will it be ok for PFOA?

If i choose "load track", is it necessary to reload the library (which contrains the file) if the file has the same name?
How to do it?
User avatar
radio42
Site Admin
Posts: 9138
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: News

Post by radio42 »

You might use the 'LoadTrack' or 'LoadFolder' script-line mode...

With 'LoadTrack' you would specify the fully qualified filename of the track to load within the script-line 'Entry' (e.g. assuming the filename is always the same).
With 'LoadFolder' you would specify the fully qualified directory to load (all contained tracks) within the script-line 'Entry'.
User avatar
radio42
Site Admin
Posts: 9138
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: News

Post by radio42 »

Scripts started by the Program Scheduler are automatically executed and schedule new tracks to a playlist whenever needed.
See here for details: viewtopic.php?f=9&t=10
Or take a look to one of the tutorial videos:
viewtopic.php?f=5&t=1018

A 'Load Track' or 'Load Folder' script-line doesn't require any media lib at all. They directly pick the files from the folder as the script is executed.
ACPD is by default enabled for the DJ Player (see general settings, section 'Fading/Mixing'), as such for any track not having any cue-points set so far these would be calculated on the fly automatically.

Post Reply