Inicio > Linux Server how-to > SC_ TRANS Beta…. argghhh

SC_ TRANS Beta…. argghhh

Viernes, 19 de Febrero de 2010

Configuring this for the use of the calendar is a dark art…. (Lack of docs…) until i found: SC_TRANS AJAX API

Files to edit:
sc_trans.conf
calendar.xml:

sc_trans.conf:

playlistfilename_0=proxy
playlistfile_0=cast/sc/proxy.lst
playlistfilepath_0=cast/sc/proxy.lst

playlistfilename_1=unisense
playlistfile_1=cast/sc/unisense.lst
playlistfilepath_1=cast/sc/unisense.lst

calendar.xml:

<?xml version=”1.0″ encoding=”UTF-8″ ?>
<eventlist>
<event type=”playlist”>
<playlist loopatend=”1″ shuffle=”1″ priority=”1″>proxy</playlist>
<calendar starttime=”00:00:00″ duration=”24:00:00″ repeat=”127″/>
</event>

<event type=”playlist”>
<playlist loopatend=”1″ shuffle=”1″ priority=”2″>unisense</playlist>
<calendar starttime=”01:00:00″ duration=”04:59:59″ repeat=”127″/>
</event>

</eventlist>

An one of the most important things:

sc_trans.conf:

calendarrewrite=0
configrewrite=0

by default at least calendarrewrite seems to be set to 1, wich makes it impossible to create a custom calendar.xml! So set both to 0.
Else every time u start SC_TRANS it will overwrite your calendar with a default one…

The repeat attribute is a numeric code for an event that repeats

1 – Every Sunday

2 – Every Monday

4 – Every Tuesday

8 – Every Wednesday

16 – Every Thursday

32 – Every Friday

64 – Every Saturday

128 – Time periodic

Share
  1. Sin comentarios aún.
  1. Sin trackbacks aún.