Peter,

you can find what you are looking for here:

https://github.com/ElvishArtisan/rivendell/blob/ba501b02598802fc8aa30ecebb2ea0a86e116537/utils/rddbmgr/create.cpp

  sql=QString("insert into IMPORT_TEMPLATES set ")+
    "NAME=\"Rivendell Standard Import\","+
    "CART_OFFSET=10,"+
    "CART_LENGTH=6,"+
    "TITLE_OFFSET=25,"+
    "TITLE_LENGTH=34,"+
    "HOURS_OFFSET=0,"+
    "HOURS_LENGTH=2,"+
    "MINUTES_OFFSET=3,"+
    "MINUTES_LENGTH=2,"+
    "SECONDS_OFFSET=6,"+
    "SECONDS_LENGTH=2,"+
    "LEN_HOURS_OFFSET=60,"+
    "LEN_HOURS_LENGTH=2,"+
    "LEN_MINUTES_OFFSET=63,"+
    "LEN_MINUTES_LENGTH=2,"+
    "LEN_SECONDS_OFFSET=66,"+
    "LEN_SECONDS_LENGTH=2,"+
    "DATA_OFFSET=69,"+
    "DATA_LENGTH=32";
  if(!RDSqlQuery::apply(sql,err_msg)) {
    return false;
  }

The other traffic systems options are in there as well...

all the best,

drew


On Fri, Apr 3, 2020 at 6:15 PM Peter Claes <[email protected]> wrote:

> Hey Guys,
>
> What would be the scheme for the 'Rivendell Standard Import' ?
>
> I found an old scheme in the docs called Rivendell Standard Data
> Interchange Formats', but i guess this isn't valid.
>
> Since I am in Lockdown, and boredom has gotten the upperhand, i figured
> now would be the time to make a python based traffic scheduler. And it
> works great, I use 2 txt files, one to describe general config and on to
> describe all the campaigns and spots.
>
> But the outputfile doesn't seem accurate :
> HH:MM:SS 000000_000 \t \t Title
> (found this in AdMaster as 'Rivendell standard ??)
>
> Regards
> Peter
>
> _______________________________________________
> Rivendell-dev mailing list
> [email protected]
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>


-- 
Enjoy the *Paradise Island Cam* playing
*Bahamian Or Nuttin* - https://www.paradiseislandcam.com/
_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

Reply via email to