## Write a playlist file

Quentin D
Posts: 76
Joined: 20 Aug 2015 13:18
##### Write a playlist file
Hi Bernd,
I'm trying to write playlists files, using the event Playlist > OnTrackPlay :

Code: Select all

EXEC_WRITE_FILE Z:\www\radio\playlists\${yyyy}-${MM}-${dd}.txt|au|${HH}:${mm}${trackname}${CRLF} The problem is the${CRLF} macro doesn't seems considered, because the output file only contains one line. Is there something I missed?

Thanks,
Quentin
Posts: 6538
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
##### Re: Write a playlist file
I just tested it and I cannot reproduce your issue!
Here, the ${CRLF} is evaluated and all is working as expected. To test it, I was using the following command: Code: Select all EXEC_WRITE_FILE C:\Temp\text.txt|au|Line${CRLF}
The 1st time when I called this control-command it gave me this:
The 2nd time when I called this control-command it gave me this:
The 5th time when I called this control-command it gave me this:
As you can see, all as expected... I am not sure how you are testing things?!
Quentin D
Posts: 76
Joined: 20 Aug 2015 13:18
##### Re: Write a playlist file
It is strange, using the "Test" button, it doesn't work.
It is working since I clicked on the OK button of the "Settings & Options" window