You are here

cosmote.gr.ini needs updating

14 posts / 0 new
Last post
iap3tos
Offline
Joined: 7 years
Last seen: 3 years
cosmote.gr.ini needs updating

Hi there is a weird problem with the cosmote.gr.ini file. The problem is that the programmes of the channel shift to the next programme place.

For example if there is a Programme A [10:00-10:30], Programme B [10:30-11:30] the grabbed EPG has the Programme A at the place of Programme B but with the same time (Programme A [10:30-11:30]). So it's not a timeshift issue but something else.

Can someone help with this problem?

iap3tos
Offline
Joined: 7 years
Last seen: 3 years

I've kind of located the problem. The generated guide has the following as the first show:

 <programme start="20170803021500 +0300" stop="20170803023000 +0300" channel="GR: Cosmote Sport 1HD">
    <title lang="el">Ποδόσφαιρο: Παναθηναϊκός - Γκαμπάλα</title>
    <desc lang="el">UEFA Europa League 2017 - 2018. 3ος προκριματικός γύρος. 1ος αγώνας. Περιγραφή: Χρήστος Σωτηρακόπουλος(n)</desc>

But from the source of the site page the according code for the first two shows is:

<td class="channel_program-table--time"> <span class="start-time">00:15</span> - <span class="end-time">02:15</span> (<span class="duration">120'</span>) </td> <td class="channel_program-table--program"><a href="http://www.webgrabplus.com/%3Ca%20class%3D"html-attribute-value html-external-link" href="https://www.cosmote.gr/cosmotetv/residential/program/epg/closeupepg?p_p_id=epgcloseup_WAR_OTETVportlet&p_p_lifecycle=0&p_p_col_id=column-5&p_p_col_count=1&_epgcloseup_WAR_OTETVportlet_articleId=26074229&_epgcloseup_WAR_OTETVportlet_redirect=https%253A%252F%252Fwww.cosmote.gr%252Fportal%252Fresidential%252Fprogram%252Fepg%252Fprogramchannel" target="_blank">https://www.cosmote.gr/cosmotetv/residential/program/epg/closeupepg?p_p_id=epgcloseup_WAR_OTETVportlet&p_p_lifecycle=0&p_p_col_id=column-5&p_p_col_count=1&_epgcloseup_WAR_OTETVportlet_articleId=26074229&_epgcloseup_WAR_OTETVportlet_redirect=https%253A%252F%252Fwww.cosmote.gr%252Fportal%252Fresidential%252Fprogram%252Fepg%252Fprogramchannel">Ποδόσφαιρο: Παναθηναϊκός - Γκαμπάλα</a>&nbsp; </td> <td class="channel_program-table--program_type">Αθλητικά</td> <td></td> </tr> <tr> <td class="channel_program-table--time"> <span class="start-time">02:15</span> - <span class="end-time">02:30</span> (<span class="duration">15'</span>) </td> <td class="channel_program-table--program"><a href="http://www.webgrabplus.com/%3Ca%20class%3D"html-attribute-value html-external-link" href="https://www.cosmote.gr/cosmotetv/residential/program/epg/closeupepg?p_p_id=epgcloseup_WAR_OTETVportlet&p_p_lifecycle=0&p_p_col_id=column-5&p_p_col_count=1&_epgcloseup_WAR_OTETVportlet_articleId=26074242&_epgcloseup_WAR_OTETVportlet_redirect=https%253A%252F%252Fwww.cosmote.gr%252Fportal%252Fresidential%252Fprogram%252Fepg%252Fprogramchannel" target="_blank">https://www.cosmote.gr/cosmotetv/residential/program/epg/closeupepg?p_p_id=epgcloseup_WAR_OTETVportlet&p_p_lifecycle=0&p_p_col_id=column-5&p_p_col_count=1&_epgcloseup_WAR_OTETVportlet_articleId=26074242&_epgcloseup_WAR_OTETVportlet_redirect=https%253A%252F%252Fwww.cosmote.gr%252Fportal%252Fresidential%252Fprogram%252Fepg%252Fprogramchannel">Στιγμιότυπα</a>&nbsp; </td> <td class="channel_program-table--program_type">Αθλητικά</td> <td></td> </tr>

For some reason the guide gets the time of the second  show and puts it on the first.

iap3tos
Offline
Joined: 7 years
Last seen: 3 years

Thanks a lot for your time and the quick reply. I will try to fix the ini and if successful I'll post it here.

iap3tos
Offline
Joined: 7 years
Last seen: 3 years

Thanks a lot for your time and the quick reply. I will try to fix the ini and if successful I'll post it here.

nikost74
Offline
Donator
Joined: 6 years
Last seen: 2 weeks

Hi,

I've noticed recently that my epg wasn't updating correctly using the Cosmote.gr.ini. All I get is "no shows in indexpage!" error.

It seems like Cosmote have altered their website recently. Does anyone know if there is an updated version of cosmote.gr.ini available for download?

nikost74
Offline
Donator
Joined: 6 years
Last seen: 2 weeks

Any news on this issue. Still isn't working... The epg-grabber for Cosmote.gr.ini only receives "no shows in indexpage" error.

nem0nxt
Offline
Joined: 6 years
Last seen: 6 years

Yeap i can verify also that cosmote changed something on their site and the app cannot find the  Program Guide at all (though it is there).

nikost74
Offline
Donator
Joined: 6 years
Last seen: 2 weeks

Since I have little knowledge about how to write regex, it looks like the "index_showsplit.scrub" needs editing to begin with. The complete index scrub looks like this " index_showsplit.scrub {regex||<td class="channel_program-table--time">(.*?)</tr>||} ".

Here is an extraction of how the Cosmote page looks like that the "index_showsplit.scrub" is trying to gather data from:

<div class="row"> <div class="col-sm-2"> <img class="channel_program-banner" alt="ΕΡΤ1" title="ΕΡΤ1" src="http://www.webgrabplus.com/portal/image/journal/article?img_id=41708118&t=1524412300158"/> </div> 
<div class="col-sm-10"> <table class="channel_program-table table"> <tbody id="_channelprogram_WAR_OTETVportlet_programs"> <tr class="hidden-xs"> 
<td class="channel_program-table--program"><a href="http://www.webgrabplus.com/%3Ca%20href%3D"https://www.cosmote.gr/cosmotetv/residential/program/epg/closeupepg?p_p_id=epgcloseup_WAR_OTETVportlet&p_p_lifecycle=0&p_p_col_id=column-5&p_p_col_count=1&_epgcloseup_WAR_OTETVportlet_articleId=42411813&_epgcloseup_WAR_OTETVportlet_redirect=https%253A%252F%252Fwww.cosmote.gr%252Fportal%252Fresidential%252Fprogram%252Fepg%252Fprogramchannel">https://www.cosmote.gr/cosmotetv/residential/program/epg/closeupepg?p_p_...">Αστέρες του Εγκλήματος: Πώς οι Δολοφόνοι Έγιναν Είδωλα E2</a>&nbsp; </td> 
<td class="channel_program-table--time channel_program-table--program_type"> <span class="start-time">00:15</span> - <span class="end-time">01:15</span> (<span class="duration">60'</span>) | Ντοκιμαντέρ</td> </tr> 
<tr class="visible-xs"> <td class="channel_program-table--program channel_program-table--time channel_program-table--program_type" colspan="2"> <span class="start-time">00:15</span> - <span class="end-time">01:15</span> (<span class="duration">60'</span>) | Ντοκιμαντέρ<br> <a href="http://www.webgrabplus.com/%3Ca%20href%3D"https://www.cosmote.gr/cosmotetv/residential/program/epg/closeupepg?p_p_id=epgcloseup_WAR_OTETVportlet&p_p_lifecycle=0&p_p_col_id=column-5&p_p_col_count=1&_epgcloseup_WAR_OTETVportlet_articleId=42411813&_epgcloseup_WAR_OTETVportlet_redirect=https%253A%252F%252Fwww.cosmote.gr%252Fportal%252Fresidential%252Fprogram%252Fepg%252Fprogramchannel">https://www.cosmote.gr/cosmotetv/residential/program/epg/closeupepg?p_p_...">Αστέρες του Εγκλήματος: Πώς οι Δολοφόνοι Έγιναν Είδωλα E2</a>&nbsp; </td> </tr> <tr class="hidden"></tr>

The subpage, original ini code:

title.scrub {single|<div class="row epg_close_up-article--info|<h1>|</h1>|</div>} *on subpage
title.modify {remove(type=regex)|Κ\d+ Ε\d+\|Κ\d+\|Ε\d+}
title.modify {remove|;}
title.modify {remove(type=regex)|\(Ε\)}
title.modify {remove(type=regex)|\(Z\)}
title.modify {remove(type=regex)|\(M\)}
title.modify {cleanup (tags="<"">")}
titleoriginal.modify {substring(type=regex)|'index_title' "\s\((.+?)\)"}
title.modify {remove('index_titleoriginal' not "")| ('index_titleoriginal')}

Subpage example from the recent changes:

Subpage url:
https://www.cosmote.gr/cosmotetv/residential/program/epg/closeupepg?p_p_...

Subpage html:
<div class="portlet-body"> <section class="epg_close_up_main"> 
<div class="epg-closeup-main-content-main"> <div class="epg-closeup-main-image"> 
<img alt="photo_name" title="main photo for ekpompi_name" src="http://www.webgrabplus.com/portal/documents/33201/2253519/1885657.l.jpg?version=1.0&amp%3Bt=1517267133389"> </div> 
<div class="epg-closeup-channel-main"> <img class="epg_close_up-logo" alt="ΕΡΤ1" title="ΕΡΤ1" src="http://www.webgrabplus.com/portal/image/journal/article?img_id=41708118&amp%3Bt=1524412300158"> </div> <h1>The Mitsi Show (Ε)</h1> 
<div class="epg-closeup-info"> <span class="epg-closeup-main-date">10/05/2018</span> <span class="epg-closeup-start-time">04:40</span> - <span class="epg-closeup-end-time">05:00</span> <!-- Διάρκεια: --> (<span class="epg-closeup-main-duration"> 20'</span>) 
<span class="epg-closeup-main-rating-"><img title="κατάλληλο, επιθυμητή η γονική συναίνεση" src="http://www.webgrabplus.com/portal/OTETV-portlet/images/ratings/PG.png"></span> </div> <div class="epg-closeup-small-info"> <i>Κατηγορία:</i> 
<span class="epg_close_up-article--info_category">Ψυχαγωγία</span></div> <div class="epg-closeup-info-text"> Ο αγαπημένος μίμος με το δικό του μοναδικό τρόπο φέρνει στις οθόνες μας όλους τους μικρούς ήρωες της καθημερινότητάς μας, από το χώρο της πολιτικής, του αθλητισμού και του lifestyle. Πρόσωπα και καταστάσεις μπαίνουν στο στόχαστρό του σε μια εκπομπή που δεν αφήνει τίποτα όρθιο!</div> </div> </section> </div>

The examples are from different shows. But this is what it looks like since the changes.

Any help is needed to start fixing the cosmote.gr.ini file. Thanks.

mat8861
Offline
WG++ Team memberDonator
Joined: 9 years
Last seen: 1 day

do not understand what you wrote (be better to attach the ini)

Attachments: 
nikost74
Offline
Donator
Joined: 6 years
Last seen: 2 weeks

Here it is...

Attachments: 
panos
Offline
Donator
Joined: 6 years
Last seen: 7 months

I have problem since 2 monats only in Cosmote. I can not update. You have not new since then.

mat8861
Offline
WG++ Team memberDonator
Joined: 9 years
Last seen: 1 day

become donator and i mail to you.

iap3tos
Offline
Joined: 7 years
Last seen: 3 years

I've fixed the cosmote.gr.ini file. Please try and post results
*Note that the file is automatically renamed to cosmote.gr_.ini**Please rename to use*

Attachments: 
panos
Offline
Donator
Joined: 6 years
Last seen: 7 months

Hallo

cosmote epg now is ok.THANKS

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