Pira.cz Technical Forum

Radio Data System (RDS) => Control Software => Topic started by: Aaron on January 14, 2015, 11:39:01 pm

Title: Either AudioVault Config or How to read .ltx log file last line...?
Post by: Aaron on January 14, 2015, 11:39:01 pm
Hello,
 
   First post here after searching for a solution...


   I either need to know how to get a Pira32 to work with an older AudioVault system (Ver. 8.42.24) or I need to know how to get it to read the most recent file in C:\AudioVau\AVAir\Log\   which comes in the form of (6 digit date).LTX

MagicRDS will not read the text file simply because of the extension.

If I open it with a text editor and save it with a new extension i can tell MagicRDS to read the last line and strip the first 24 characters and last 9 and that displays..

The problem is I don't want to have to read and resave potentially every 30 seconds to update the current playing Title and Artist....

Can I talk the programmer responsible for filtering file extensions in the MagicRDS software to allow other extensions besides .txt?

Honestly I would prefer it if someone could help me setup the Audiovau.ini file to output the data via <com1>... but I don't know how many RBDS users are in the forums, much less ones who use AudioVault.

I hope it is easier to have MagicRDS updated to allow a source other than one with a .TXT extension. seems a simple fix to change the filter to allow "safe" extensions like .ltx , which I would think stands for LogTeXt.
Title: Re: Either AudioVault Config or How to read .ltx log file last line...?
Post by: Jan on January 15, 2015, 08:51:11 am
There's no such limitation in the Magic RDS. You may read a file with any extension.

If the files are saved as for example
C:\AudioVau\AVAir\Log\011515.ltx

specify exactly this into the File/Class/URL field:
Code: [Select]
C:\AudioVau\AVAir\Log\??????.ltx
so it will read the file with the most recent date automatically.