You are here

tv24.lt ini doesn't work anymore

8 posts / 0 new
Last post
lawin1
Offline
Joined: 8 years
Last seen: 6 years
tv24.lt ini doesn't work anymore

They changed tv24.lt structure last week and tv24.lt.ini ceased to work. Please update ini file. Thanks.

I am getting this error:

[  Error ] no index page data received from (...)
[  Error ] unable to update channel, try again later

francis
Offline
francis's picture
Has donated long time agoWG++ Team member
Joined: 11 years
Last seen: 1 month
Is the support helpful?
support us

Update on the EPG channels page. THANKS Blackbear199!!

lawin1
Offline
Joined: 8 years
Last seen: 6 years

Thanks Blackbear199. Updated files works with tv24.lt, but now there is another issue. Webgrab collects only the first twenty symbols (including spaces) of TV show title from tv24.lt and then adds two dots, for example:

  <programme start="20160411223000 +0300" stop="20160411233000 +0300" channel="LRT Televizija">
    <title lang="lt">Trys Paryžių sukrėtu..</title>
    <desc lang="lt">Dokumentinis filmas. Didžioji Britanija 2015 m. Rež. Ursula Macfarlane.(n)</desc>
    <category lang="lt">Filmai</category>
  </programme>

 

 

lawin1
Offline
Joined: 8 years
Last seen: 6 years

I found out myself. tv24.lt.ini file needs a little correction. Find this line:

index_title.scrub {single|"title_short":"||"}

and delete a word "_short". The final result should be:

index_title.scrub {single|"title":"||"}

EgidijusL
Offline
Donator
Joined: 7 years
Last seen: 4 months

Once again broken 24tv.lt ini

lawin1
Offline
Joined: 8 years
Last seen: 6 years

Please update tv24.lt.ini

nt
Offline
Joined: 6 years
Last seen: 6 years

Hello Blackbear199,

Im trying to get local timezone EPG and I changed from: 
index_start.scrub {single|"start_unix":||,|,}
index_stop.scrub {single|"stop_unix":||,|,}
to :
index_start.scrub {single|"start":||,|,}
index_stop.scrub {single|"stop":||,|,}

And i always get:

(   1/2   ) TV24.LT -- chan. (xmltv_id=E1) -- mode Force
i
Unable to update channel E1
Generic syntax exception:
   message:
Current culture: en-GB
time parsing error : String was not recognized as a valid DateTime.
starttime time scrubbed : "00:15"
computer date/time format: 12/07/2017 15:04:59
Existing guide data restored!

Blackbear199 wrote:

Has anyone looked at the epg channels page?

Note: the person who updated the ini file changed the timezone= setting from..

timezone=UTC to timezone=Europe/Vilnius

for this site there are 2 times available,local and UTC.

snipped of a show source data..

{"id":298388933,"title":"Skandalas","description":"Pagrindin\u0117 heroj\u0117 \u2013 Olivija Pope (K. Washington) \u2013 paskyr\u0117 savo gyvenim\u0105 elito \u012fvaizd\u017eio visuomen\u0117je...","description_long":"Pagrindin\u0117 heroj\u0117 \u2013 Olivija Pope (K. Washington)
 \u2013 paskyr\u0117 savo gyvenim\u0105 elito \u012fvaizd\u017eio visuomen\u0117je apsaugai. Ji \u012fsitikinusi, kad tamsiausios paslaptys niekada nei\u0161ai\u0161k\u0117s. Su stipria ir i\u0161tikima
 komanda savo \u012fkurtoje krizi\u0173 valdymo kompanijoje sprend\u017eia kebliausias klient\u0173 problemas.","ep_title":"","ep_nr":4,"ep_all":null,"season":3,"start":"00:50","start_unix":1487199000,
"start_human_date":"Kt 16 Vas","start_date_s":"Kt  16","start_month_s":"Vas","stop":"01:40","stop_unix":1487202000,"genrestring":"Drama , Trileris 
","categorystring":"TV Serialai","category":{"id":200},"movie_id":0,"series_id":10435,"series_url":"https:\/\/www.tv24.lt\/serialas\/skandalas","comments":0,"favourites":1,"clicks":33,"highlight":false,"status":null,"title_original":"Scandal"
,"country":"JAV","year":2014,"short_movie_info":"JAV, 2014","cast":"","director":"","title_short":"Skandalas","image":"https:\/\/cdn.tvstart.com\/img\/programme
\/\/thumb\/388121.jpg","images_count":0,"imdb":"http:\/\/www.imdb.com\/title\/tt1837576\/","imdb_rating":null,"imdb_votes":null,"youtube":null,"url":"https:\/\/www.tv24.lt\/laida
\/298388933","channel":{"url":"https:\/\/www.tv24.lt\/kanalas\/tv3-4\/d-1-siandien","name":"TV3","slug":"tv3-4","logo_32":"logo_32_303_1418375193.png","logo_64":"logo_64_303_1418375193.
png","id":303}

here you can see the 2 times(unix times are converted to actual date/time)..

"start"(Thur, 16 Feb 2017 00:50) and "start_unix"(Wed, 15 Feb 2017 22:50:00 GMT)

"stop"(Thur, 16 Feb 2017 01:40) and "stop_unix"(Wed, 15 Feb 2017 23:40:00 GMT)

as you can see the unix times are 2 hours earlier than the local times(Lithuania's current timeoffset from UTC).

if you look in the ini file you will see that its using the unix times..

index_start.scrub {single|"start_unix":||,|,}
index_stop.scrub {single|"stop_unix":||,|,}

this means the timezone needs to be set to timezone=UTC

you can use the other times if you wish with timezone=Europe/Vilnius..

index_start.scrub {single|"start":||,|,}
index_stop.scrub {single|"stop":||,|,}

what you cannot do is mix the 2..

UTC timezone with local start/stop times.

or

Local timezone with unix srt/stop times.

both of these will result with the epg being incorrect.the current settings in the updated ini are incorrect so change them to one of the above.

 

 

 

 

 

 

nt
Offline
Joined: 6 years
Last seen: 6 years

thanks its working now :)

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