You are here

Fixed.ini help

5 posts / 0 new
Last post
freddy12
Offline
Donator
Joined: 1 year
Last seen: 1 week
Fixed.ini help

Hi, im wanting to make a 7 day guide 1 show a day  Basially like the example below 

 

24/08/17  07:00pm AFL  Richmend vs Geelong  

24/08/17  07:30pm AFL  game 2 

24/08/17  07:40pm AFL  game 3

24/08/17  08:00pm AFL  game 4 

24/08/17  08:40pm AFL  game 5 

24/08/17  08:500pm AFL  game 6

 

25/08/17  07:00pm AFL  Adelaide crows vs GWS 

25/08/17  07:40pm AFL  game 2 

25/08/17  08:20pm AFL  game 3

25/08/17  08:50pm AFL  game 4 

25/08/17  09:00pm AFL  game 5 

25/08/17  09:30pm AFL  game 6

26/08/17

27/08/17

Ive figured out how to do 1 show 1 day with the fixed.ini but would like to be able to pull it all in one config rather then have to do it manually every day as games and times are already set week ahead

So is there anyway to dictate the Day in the fixed.ini without having to fill in all the missing hours basially just want 1 show 3 hours length a day 

 

thanks 

freddy12
Offline
Donator
Joined: 1 year
Last seen: 1 week

Would such a config like this work okay? 

 

  <!--AU Sport-->
  <channel update="f" site="fixed" site_id="
      01:00-04:00
      ##title:GEELONG CATS v RICHMOND
      ####
      01:00-04:00
      ##title:ADELAIDE CROWS v GWS GIANTS
      ####
      01:00-04:00
      ##title:SYDNEY SWANS v ESSENDON
      ####
      01:00-04:00
      ##title:PORT ADELAIDE v WEST COAST EAGLES
      ####
      01:00-04:00
      ##title:ADELAIDE CROWS v GWS GIANTS
      ####"
      xmltv_id="AFL 1">AFL 1</channel>
  </settings>

Blackbear199
Offline
Joined: 2 years
Last seen: 7 hours

no.

as you already know fixed.ini is for a single day 00:00-23:59 so what you have doesnt even make sense.

not sure exactly what you want to do but what might be easier(i think) is put all your data in a file similar to how a actual guide.xml is setup.

<channel>

<name>AFL 1</name>

<program>

<time>08/09/2017 01:00 - 08/09/2017 04:00</time>

<title>GEELONG CATS v RICHMOND</title>

</program>

<program>

<time>xx/xx/xxxx xx:xx  -  xx/xx/xxxx xx:xx</time>

<title>next program(same channel,same or different day)</title>

</program>

</channel>

then repeat this for the next channel you want to add.

by adding the date to the time webgrab will know its for today.tomorrow.ect

the a custom ini can be created to read it all which is simple to do.

so all you do is update the file and everytime webgrab is run it will add the changes.

 

 

freddy12
Offline
Donator
Joined: 1 year
Last seen: 1 week

Thanks, will give it a try .  knew i was way off the track as usual lol 

 

 

Blackbear199
Offline
Joined: 2 years
Last seen: 7 hours

i got looking at what u had and it got me thinking.try this..

add the date to the time.example

<channel update="f" site="fixed" site_id="
      2017/09/13 01:00 - 2017/09/13 04:00
      ##title:GEELONG CATS v RICHMOND
      ####
      2017/09/14 01:00 - 2017/09/14 04:00
      ##title:ADELAIDE CROWS v GWS GIANTS
      ####
      01:00-04:00
      ##title:SYDNEY SWANS v ESSENDON
      ####
      01:00-04:00
      ##title:PORT ADELAIDE v WEST COAST EAGLES
      ####
      01:00-04:00
      ##title:ADELAIDE CROWS v GWS GIANTS
      ####"
      xmltv_id="AFL 1">AFL 1</channel>

keep adding the date all the way down for all 7 day.i think this may also work..

 

Log in or register to post comments

Brought to you by Jan van Straaten

Program Development - Jan van Straaten ------- Web design - Francis De Paemeleere
Supported by: servercare.nl