You are here

OSN multiple program entries and wrong time/date

11 posts / 0 new
Last post
Bondo2
Offline
Joined: 5 years
Last seen: 3 years
OSN multiple program entries and wrong time/date

Hi,

I am trying to grab channels EPG from OSN (osn.com.ini), it works and grabs the listings but not correct. I look at the XMLTV file and it has the same program repeated . Also the date is wrong, it is shown in the next day (see sample below)

<programme start="20190205213500 +0000" stop="20190205233500 +0000" channel="OSN Movies Action HD">
<title lang="en">Beyond Skyline</title>
<title lang="ar">ﺐﻳﻮﻧﺩ ﺲﻛﺎﻳﻼﻴﻧ</title>
<desc lang="en">Action. A tough-as-nails detective embarks on a relentless pursuit to free his son from a nightmarish alien warship. ﻲﻨﻄﻠﻗ ﻢﺑﺎﺤﺛ ﻕﻮﻳ ﺝﺩﺍً ﻒﻳ ﻡﻭﺎﺠﻫﺓ ﺎﻠﻤﺸﻗﺎﺗ ﻭﺍﻸﻠﻣ ﻒﻳ ﻢﻃﺍﺭﺩﺓ ﻻ ﻩﻭﺍﺩﺓ ﻒﻴﻫﺍ ﻞﺘﺣﺮﻳﺭ ﺎﺒﻨﻫ ﻢﻧ ﺲﻔﻴﻧﺓ ﺡﺮﺒﻳﺓ ﻍﺮﻴﺑﺓ ﻢﻧ ﺎﻠﻔﺿﺍﺀ ﺎﻠﺧﺍﺮﺠﻳ(n)</desc>
<icon src="http://content.osn.com/bob/745x419/beyondskylinel_20180709030927.jpg" />
</programme>
<programme start="20190205213500 +0000" stop="20190205233500 +0000" channel="OSN Movies Action HD">
<title lang="en">Beyond Skyline</title>
<title lang="ar">ﺐﻳﻮﻧﺩ ﺲﻛﺎﻳﻼﻴﻧ</title>
<desc lang="en">Action. A tough-as-nails detective embarks on a relentless pursuit to free his son from a nightmarish alien warship. ﻲﻨﻄﻠﻗ ﻢﺑﺎﺤﺛ ﻕﻮﻳ ﺝﺩﺍً ﻒﻳ ﻡﻭﺎﺠﻫﺓ ﺎﻠﻤﺸﻗﺎﺗ ﻭﺍﻸﻠﻣ ﻒﻳ ﻢﻃﺍﺭﺩﺓ ﻻ ﻩﻭﺍﺩﺓ ﻒﻴﻫﺍ ﻞﺘﺣﺮﻳﺭ ﺎﺒﻨﻫ ﻢﻧ ﺲﻔﻴﻧﺓ ﺡﺮﺒﻳﺓ ﻍﺮﻴﺑﺓ ﻢﻧ ﺎﻠﻔﺿﺍﺀ ﺎﻠﺧﺍﺮﺠﻳ(n)</desc>
<icon src="http://content.osn.com/bob/745x419/beyondskylinel_20180709030927.jpg" />
</programme>
<programme start="20190205213500 +0000" stop="20190205233500 +0000" channel="OSN Movies Action HD">
<title lang="en">Beyond Skyline</title>
<title lang="ar">ﺐﻳﻮﻧﺩ ﺲﻛﺎﻳﻼﻴﻧ</title>
<desc lang="en">Action. A tough-as-nails detective embarks on a relentless pursuit to free his son from a nightmarish alien warship. ﻲﻨﻄﻠﻗ ﻢﺑﺎﺤﺛ ﻕﻮﻳ ﺝﺩﺍً ﻒﻳ ﻡﻭﺎﺠﻫﺓ ﺎﻠﻤﺸﻗﺎﺗ ﻭﺍﻸﻠﻣ ﻒﻳ ﻢﻃﺍﺭﺩﺓ ﻻ ﻩﻭﺍﺩﺓ ﻒﻴﻫﺍ ﻞﺘﺣﺮﻳﺭ ﺎﺒﻨﻫ ﻢﻧ ﺲﻔﻴﻧﺓ ﺡﺮﺒﻳﺓ ﻍﺮﻴﺑﺓ ﻢﻧ ﺎﻠﻔﺿﺍﺀ ﺎﻠﺧﺍﺮﺠﻳ(n)</desc>
<icon src="http://content.osn.com/bob/745x419/beyondskylinel_20180709030927.jpg" />
</programme>

Bondo2
Offline
Joined: 5 years
Last seen: 3 years

I could grab the EPG but the time of programs is incorrect, e.g. a program would show in my IPTV app in the correct time but for tomorrow's date

Bondo2
Offline
Joined: 5 years
Last seen: 3 years

Any help with the repeated entries ?
The start/end changes in the xml file depending on the time zone of the PC I use to grab but in both cases the date portion is always wrong.
I used a PC in GMT+2 and GMT-5

Bondo2
Offline
Joined: 5 years
Last seen: 3 years

Do you mean I should set timezone to UTC ?
I am using elcinema.en.com.ini (also tried osn.com.ini)
I am in GMT-5 timezone using Linux to run WebGrab+plus
This is the channel am testing with
AR: OSN MOVIES COMEDY FHD

What kind of info do you need, I shared the output xml file

UPDATE:
After using UTC right now (time is 9:09 PM on Feb. 6), see the first entry in the xml file it on Feb. 7 @5pm GMT

Bondo2
Offline
Joined: 5 years
Last seen: 3 years

This is my file (+20 hours from yours)
programme start="20190207223000 +0000" stop="20190208003000 +0000" channel="OSN Movies Comedy HD"
lang="ar">Heartbeats

This is yours
programme start="20190207023000 +0000" stop="20190207043000 +0000" channel="OSN Movies Comedy HD"
title lang="en">Heartbeats

Bondo2
Offline
Joined: 5 years
Last seen: 3 years

I am using elcinema.en.com.ini (also tried osn.com.ini)

Bondo2
Offline
Joined: 5 years
Last seen: 3 years

What is your timezone ?
When I used osn.com I had another issue, getting the same show repeated in the xml file

Just tried osn.com.ini and am getting this error

Unable to update channel OSN Movies Action HD
Generic syntax exception:
message:
no index page data received from OSN Movies Action HD
unable to update channel, try again later
Existing guide data restored!

Bondo2
Offline
Joined: 5 years
Last seen: 3 years

Will you share those required corrections ?. What I did is change the time zone to GMT-1 and that fixed the timing for me (am using Saudi Arabia in the ini and am in GMT-5)
elcinema is based on Cairo time (GMT+2)

strilen
Offline
Donator
Joined: 10 years
Last seen: 1 week

Attached is updated ini that fixes multiple program entries and added genre/rating info.
Current ini gives english only. Channel list is the latest.

/Strilen

BeChan
Offline
BeChan's picture
Has donated long time ago
Joined: 5 years
Last seen: 11 months

GREAT
please let me know if you have correct m.whatsonarabia.com.ini and m.whatsonarabia.com.channels.xml because is it impossible for me me to grab

Bondo2
Offline
Joined: 5 years
Last seen: 3 years

Those files are not included in the latest site updates ?

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