Jump to content


Photo

iptv epg


  • Please log in to reply
68 replies to this topic

Re: iptv epg #61 doglover

  • Rytec EPG Team
  • 16,974 posts

+635
Excellent

Posted 21 March 2016 - 17:54

In webgrab add this code at the end of your grabber definition:

*For classical credits - remove the next lines
category.modify {cleanup(removeduplicates)}
category.modify {cleanup}
description.modify {addend('director' not "" separator=", ")|\n'director'}
description.modify {addend('actor' not "" separator=", ")|\n'actor'}
actor.modify {remove|'actor'}
director.modify {remove|'director'}
subtitle.modify {addstart ('titleoriginal' not "") | ('titleoriginal')}
subtitle.modify {addend ('episode' not "") | ('episode')}
subtitle.modify {addend ('productiondate' not "") | ('productiondate')}
subtitle.modify {addstart ('category' not "") |['category'] }
subtitle.modify {addend ('rating' > "1") | ['rating'] }rating.modify {clear}
episode.modify {clear}
category.modify {clear}
productiondate.modify {clear}
titleoriginal.modify {clear}
writer.modify {clear}
producer.modify {clear}
composer.modify {clear}
starrating.modify {clear}
rating.modify {clear}
presenter.modify {clear}
starrating.modify {clear}
videoquality.modify {clear}
videoaspect.modify {clear}index_category.modify {cleanup(removeduplicates)}
index_category.modify {cleanup}
index_description.modify {addend ('index_director' not "" separator=", " )|\n'index_director'}
index_description.modify {addend ('index_actor' not "" separator=", " )|\n'index_actor'}
index_description.modify {addend ('index_presenter' not "" separator=", " )|\n'index_presenter'}
index_subtitle.modify {addstart ('index_titleoriginal' not "") | ('index_titleoriginal')}
index_subtitle.modify {addend ('index_episode' not "") | ('index_episode')}
index_subtitle.modify {addend ('index_productiondate' not "") | ('index_productiondate')}
index_subtitle.modify {addstart ('index_category' not "") |['index_category'] }
index_subtitle.modify {addend ('index_rating' > "1") | ['index_rating'] }
index_writer.modify  {clear}
index_rating.modify {clear}
index_productiondate.modify {clear}
index_titleoriginal.modify {clear}
index_actor.modify {clear}
index_director.modify {clear}
index_presenter.modify {clear}
index_episode.modify {clear}
index_category.modify {clear}
index_videoquality.modify {clear}

Not all the lines are probably not needed.

 

You will get something like this:

<programme start="20160216090500 +0100" stop="20160216102500 +0100" channel="CanalplusFamily.pl">
    <title lang="pl">Eks mojego życia</title>
    <sub-title lang="pl">[KOMEDIA]  (L'ex De Ma Vie) (2014) (Francja/Włochy) [od 12 lat]</sub-title>
    <desc lang="pl">Ariane (Geraldine Nakache), młoda francuska skrzypaczka, przyjmuje oświadczyny Christena (Pascal Demolon), dyrygenta orkiestry. Jedynym problemem na drodze do ich związku jest to, że kobieta już jest mężatką. Od dwóch lat Ariane jest w separacji z Nino (Kim Rossi Stuart), włoskim nauczycielem o dużym temperamencie, który nie pogodził się z ich rozstaniem. Mężczyzna zgadza się podpisać papiery rozwodowe, jeśli Ariane poleci z nim do Paryża na pewnego rodzaju podróż poślubną. W ciągu ośmiu dni wiele może się jeszcze zmienić. Reżyserką filmu i autorką scenariusza jest Dorothee Sebbagh
Dorothée Sebbagh
Géraldine Nakache, Kim Rossi Stuart, Pascal Demolon, Sophie Cattani</desc>
  </programme>

Willy


~~Rytec Team~~
Maxytec Multibox SE OpenPli (used as mediaplayer)
Mutant HD2400 OpenPli
Vu+ Duo OpenPli (backup)

Synology NAS

Sat: 13E, 19.2E, 23.5E and 28.2E
*Pli/Rytec EPG POWERED*


Re: iptv epg #62 xan500

  • New Member
  • 4 posts

0
Neutral

Posted 15 May 2019 - 23:08

Why [EPGImport] imported 0 events

 

C:\Users\Admin>cd c:/EPGpython
c:\EPGpython>OfflineImport.py uk.sources.xml
[EPGImport] oudeis patch not detected, using epg.dat instead.
[EPGImport] failed to load C implementation, sorry
[EPGImport] nextImport, source= Rytec UK
[EPGImport] afterDownload c:/EPG/ready/ru.channels.xml.gz
[EPGImport] afterChannelDownload None
[EPGImport] Parsing channels from 'C:\EPG\ready\tvprogram_ua_ru.xml.gz'
[XMLTVConverter] Enumerating event information
[EPGImport] imported 0 events
reactor stopped
Done, data is in .\epg_new.dat
[EPGImport] #### Finished ####

 



Re: iptv epg #63 WanWizard

  • PLi® Core member
  • 68,311 posts

+1,719
Excellent

Posted 16 May 2019 - 00:16

In what should it import, given the fact you seem to run this on a PC? 


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: iptv epg #64 xan500

  • New Member
  • 4 posts

0
Neutral

Posted 16 May 2019 - 00:50

The program should be imported, and create epg_new.dat

 

The import process should be something like this. https://forums.openp...pg/#entry370384


Edited by xan500, 16 May 2019 - 00:54.


Re: iptv epg #65 doglover

  • Rytec EPG Team
  • 16,974 posts

+635
Excellent

Posted 16 May 2019 - 06:47

Can you post the sources file you used to do this.

 

In my example:

[EPGImport] afterDownload c:/EPG/ready/rytecxmltvuk.gz
[EPGImport] afterChannelDownload None
[EPGImport] Parsing channels from 'C:\EPG\ready\rytec.channels-sat.xml.gz'

I suspect you have switched the channels file and the xml file from place.

 

Willy

 

PS:  mine is this:

<?xml version="1.0" encoding="latin-1"?>
<sources>
<source type="gen_xmltv" channels="D:\EPG\rytec.channels.xml">
<description>Test Denmark</description>
   <url>V:\epg\rytecUK_Basic</url>
</source>
<source type="gen_xmltv" channels="D:\EPG\rytec.channels.xml">
<description>Test Denmark</description>
   <url>V:\epg\rytecUK_FTA</url>
</source></sources>

Edited by doglover, 16 May 2019 - 06:49.

~~Rytec Team~~
Maxytec Multibox SE OpenPli (used as mediaplayer)
Mutant HD2400 OpenPli
Vu+ Duo OpenPli (backup)

Synology NAS

Sat: 13E, 19.2E, 23.5E and 28.2E
*Pli/Rytec EPG POWERED*


Re: iptv epg #66 xan500

  • New Member
  • 4 posts

0
Neutral

Posted 16 May 2019 - 09:06

Here are the files

C:\Users\Admin>cd c:\EPG\python
c:\EPG\python>OfflineImport.py uk.sources.xml
[EPGImport] oudeis patch not detected, using epg.dat instead.
[EPGImport] failed to load C implementation, sorry
[EPGImport] nextImport, source= Main
[EPGImport] afterDownload c:/EPG/ready/channels.xml.gz
[EPGImport] afterChannelDownload None
[EPGImport] Parsing channels from 'C:\EPG\ready\xmltv.xml.gz'
[XMLTVConverter] Enumerating event information
[EPGImport] imported 0 events
reactor stopped
Done, data is in .\epg_new.dat
[EPGImport] #### Finished ####
c:\EPG\python>

Attached Files


Edited by xan500, 16 May 2019 - 09:10.


Re: iptv epg #67 xan500

  • New Member
  • 4 posts

0
Neutral

Posted 16 May 2019 - 09:47

Swapped, now so

c:\EPG\python>OfflineImport.py uk.sources.xml
[EPGImport] oudeis patch not detected, using epg.dat instead.
[EPGImport] failed to load C implementation, sorry
[EPGImport] nextImport, source= Main
[EPGImport] afterDownload c:/EPG/ready/xmltv.xml.gz
[EPGImport] afterChannelDownload None
[EPGImport] Parsing channels from 'C:\EPG\ready\channels.xml.gz'
[XMLTVConverter] Enumerating event information
[EPGImport] importEvents exception: ubyte format requires 0 <= number <= 255
[EPGImport] importEvents exception: ubyte format requires 0 <= number <= 255
[EPGImport] importEvents exception: ubyte format requires 0 <= number <= 255
[EPGImport] importEvents exception: ubyte format requires 0 <= number <= 255
[EPGImport] importEvents exception: ubyte format requires 0 <= number <= 255
[EPGImport] importEvents exception: ubyte format requires 0 <= number <= 255
[EPGImport] imported 8017 events
[EPGImport] no Oudeis patch, load(.\epg_new.dat) required
reactor stopped
Done, data is in .\epg_new.dat
[EPGImport] #### Finished ####
c:\EPG\python>

[EPGImport] importEvents exception: ubyte format requires 0 <= number <= 255      

What's this ?



Re: iptv epg #68 doglover

  • Rytec EPG Team
  • 16,974 posts

+635
Excellent

Posted 16 May 2019 - 09:48

Sources file should be:

<?xml version="1.0" encoding="latin-1"?>
<sources>
<source type="gen_xmltv" channels="c:/EPG/ready/channels.xml.gz">
<description>Main</description>
<url>C:\EPG\ready\xmltv.xml.gz</url>
</source>
</sources>

Willy


~~Rytec Team~~
Maxytec Multibox SE OpenPli (used as mediaplayer)
Mutant HD2400 OpenPli
Vu+ Duo OpenPli (backup)

Synology NAS

Sat: 13E, 19.2E, 23.5E and 28.2E
*Pli/Rytec EPG POWERED*


Re: iptv epg #69 doglover

  • Rytec EPG Team
  • 16,974 posts

+635
Excellent

Posted 16 May 2019 - 09:49

[EPGImport] importEvents exception: ubyte format requires 0 <= number <= 255

Do not know.  I have seen this over and over, but could never figure out what it meant.

I am ignoring it.

 

Willy


~~Rytec Team~~
Maxytec Multibox SE OpenPli (used as mediaplayer)
Mutant HD2400 OpenPli
Vu+ Duo OpenPli (backup)

Synology NAS

Sat: 13E, 19.2E, 23.5E and 28.2E
*Pli/Rytec EPG POWERED*



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users