EPGImport Plugin

baha2

Super Moderator
Messages
6,530
Mod plugin xmltvimport

Thx Dima73
 

[email protected]

(∩`-´ )⊃━☆゚.*・。゚
Staff member
Super Moderator
Messages
23,410
EPGImport 1.0-git137-20170704

- Updated the locale files.
* Updated the NL.po to 100%
* Generated a fresh POT file.
* Updated all PO files with new POT.
- Update es.po
- Take invalid gzip files into account
Make sure the next download url is tried when the downloaded file is not a valid gzip file
- fix delete epg.dat before load data
 

[email protected]

(∩`-´ )⊃━☆゚.*・。゚
Staff member
Super Moderator
Messages
23,410
EPGImport 1.0-git139-20170724

- Remember file extension when downloading (fix xz support)
When downloading a file from a remote source, keep the extension intact, not
just for ".gz" files. This fixes that .xz compressed files did not work when
downloaded.
- Add XZ (LZMA) compression support
Support processing XZ compressed files. More CPU power, but much better
compression.
 

[email protected]

(∩`-´ )⊃━☆゚.*・。゚
Staff member
Super Moderator
Messages
23,410
EPGImport 1.0-20170829
29.08.2017
- plugin.py - remove obsolete import
- finally fixed anomaly when no channel files are available
- only attempt to read the file if there actually is one
- ExpandableSelectionList: Indent entries
Indent the entries, making the view more like a treeview.
Also allow extra space for the expand/collapse icons.
- when no more channel files present, continue with the next import
- Revert "fixed endless loop when the channel file is missing"
- fixed endless loop when the channel file is missing
- Handle duplicate entries in the treeview for the sources
When (de)selecting items, toggle them all. Makes the selection consistent
since the same key can be used in multiple places.
- Add .gitignore file to ignore pyc files
- Expandable list that works - Needs a bit of testing still, but looks okay.
- Display sources in a ExpandableSelectionList which isn't expandable yet
Just display all sources and display categories as "tree" items that
can be expanded. When a source is selected, its category is expanded
by default (minus sign instead of plus).
TODO:
Make "selected" state independent of being visible (i.e. part of the list)
Show and hide items for categories so that expand/collapse actually works
Note that ExpandableSelectionList might be moved to enigma2 some day.
- Implement category parsing from XML
Parse <sourcecat ...> tags from the XML file.
There's no actual "tree" UI support in Enigma2, needs to be implemented
like PluginBrowser does. And override some SelectionList stuff to handle
things that aren't selection elements. So the category is being parsed
but not handled in the UI yet.
- added missing xz support for channel xml files

thx @ OE-Alliance
 

[email protected]

(∩`-´ )⊃━☆゚.*・。゚
Staff member
Super Moderator
Messages
23,410
EPGImport 1.0-20170902
02.09.2017
- Temp fix to make plugin work on OpenViX too.
- [EPGImport] Fix availability to OpenSPA
- [openhdf] ExpandableSelectionList.py - Fix not available PluginBrowser
- [openbh] ExpandableSelectionList.py - Fix not available PluginBrowser
- [openatv] ExpandableSelectionList.py - Fix not available PluginBrowser

thx @ OE-Alliance
 

[email protected]

(∩`-´ )⊃━☆゚.*・。゚
Staff member
Super Moderator
Messages
23,410
EPGImport 1.0-20171008
08.10.2017

new rytec.sources integrated

thx @ OE-Alliance
 

[email protected]

(∩`-´ )⊃━☆゚.*・。゚
Staff member
Super Moderator
Messages
23,410
EPGImport 1.0-20171019

- Allow the importer to use the MMC card if available. Thanks to Pr2 for suggesting this improvement

thx @ OE-Alliance
 

[email protected]

(∩`-´ )⊃━☆゚.*・。゚
Staff member
Super Moderator
Messages
23,410
EPGImport 1.0+git170+9bb6152-r33.4

-update / complete package with all needed addons for this plugin

thx @ OE-Alliance
 

[email protected]

(∩`-´ )⊃━☆゚.*・。゚
Staff member
Super Moderator
Messages
23,410
EPGImport 1.0-20180215

- Greek translation update 15/2/2018

thx @ OE-Alliance
 

[email protected]

(∩`-´ )⊃━☆゚.*・。゚
Staff member
Super Moderator
Messages
23,410
EPGImport 1.0-20180424

- update italian language
- update hungarian language

thx @ OE-Alliance
 

[email protected]

(∩`-´ )⊃━☆゚.*・。゚
Staff member
Super Moderator
Messages
23,410
EPGImport 1.0-20180810
10.08.2018

- create tr.po ( Turkish translation added )
- Update EPGImport.pot
- update services filter screen (#26)
* Update filtersServices.py
* Update EPGImport.pot
- Update Translation (#25)
* Update EPGImport.pot
- clear and new creating
* create en.po

thx @ OE-Alliance
 

[email protected]

(∩`-´ )⊃━☆゚.*・。゚
Staff member
Super Moderator
Messages
23,410
EPGImport 1.0-20180912
12.09.2018

- [EPGImport] Brought in line with PLi-version.
- channel id is no longer case-sensitive, this will ease maintainers work.
- Delete global variable "parse_autotimer"
- EPGImport: do not try fake recording for services containing url
This commit allows using service references other than 1:0:1 on custom channels.

Previously it could work only for 4097 and servicemp3, but once serviceapp was used
the following error occured:

[EPGImport] Parsing channels from '/etc/epgimport/MyTest.channels.xml'
[eNavigation] record: -1
record returned non-zero
Invalid serviceref string: 4097:0:1:A0A2:0:0:0:0:0:3:http%3a//...m3u8:Radio Contact Vision HD

That is happening because serviceapp, doesn't support recording yet.

So instead of adding fake recording on serviceapp/hisi/... we can simply disable the check when
URL detected on service reference.

Finally the instructions in https://forums.openpli.org/topic/476...iptv-channels/
must change since "Also the 4097 has to be replaced by a 1" is not valid any more.

Any service referene on channel should work now, as long as there is a url included.

thx @ OE-Alliance
 

[email protected]

(∩`-´ )⊃━☆゚.*・。゚
Staff member
Super Moderator
Messages
23,410
EPGImport 1.0-20180916
16.09.2018

- A mirror is unable to send file with .log extension, so we decide to change the LastUpdate.log into LastUpdate.txt
- Whitespace and EOL cosmetics
- Re-Add nocheck and validServer lost in previous commit
- Update to PLI changes.

EPGImport will now read the content of the file: /etc/epgimport/custo…
Pr2 Pr2
Pr2 authored and Pr2 committed 3 days ago

…m.channels.xml.

All the channels included in this file will be added to every possible channels source
that are defined in a xxx.sources.xml.

So you now longer need to create your own custom "xxx.sources.xml" files into
/etc/epgimport/

If you defined your own userbouquet file (or favorite file), you need to define a unique
service reference:

4097:0:1:Index:0:0:0:0:0:3:http%3A...

Where :Index: is a unique hexadecimal value different for every possible channels assigned
by you.

The custom.channel.xml file has this structure:

<?xml version="1.0" encoding="latin-1"?>
<channels>
<channel id="MyChannel.cc">4097:0:1:Index:0:0:0:0:0:3:http%3A//...</channel> <!-- MyChannel -->
...
</channels>

The "MyChannel.cc" must exist in one of the source file you will select to get EPG.
You need to have a logical match between the :Index: you create and the "MyChannel.cc"

You retrieve the MyChannel.cc in this file:

http://epgalfasite.dyndns.tv/rytec.channels.xlsx

If you can receive several times the same channel, you can of course reuse the same
reference.

Or you can reuse an existing satellite unique reference but the very beginning must match
the one defined in your userbouquet, so if your userbouquet is created for 4097: you need
to change the reference from 1: to 4097:

Step 1: Create your custom.channels.xml

Step 2: Place it into the /etc/epgimport/ folder on your STB

Step 3: In EPGImport press blue to select the sources that you need
(the same ones used for satellite that contain the MyChanel.cc EPG info)

Step 4: In EPGImport Press Yellow button manual import

Real exemple:

In my userbouquet I have this:

So I check in the .xlsx file and I find that Radio Contact is called:
RadioContactVision.be

so in my custom.channels.xml I add this:

<channel id="RadioContactVision.be">4097:0:1:A095:0:0:0:0:0:3:http%3a//contact-lh.akamaihd.net/i/CONTACT_1%40321283/index_1800_av-p.m3u8:Radio Contact Vision HD</channel> <!-- Radio Contact Vision -->

And for source I select:

Wallonie - Telesat Base (xz)

Remark:
If you want to reuse the reference found in the rytec.channels.xlsx file please change:
1:0:1:2909:69:1:FFFF0000:0:0:0:

into:

4097:0:1:2909:69:1:FFFF0000:0:0:0:

My #SERVICE start with 4097 so it must match between the userbouquet and the
custom.channels.xml
 

[email protected]

(∩`-´ )⊃━☆゚.*・。゚
Staff member
Super Moderator
Messages
23,410
EPGImport 1.0-20180918
18.09.2018

- Disable checkValidServer it crashes when the vuplus-community.net-Server gets checked.
- A mirror is unable to send file with .log extension, so we decide to change the LastUpdate.log into LastUpdate.txt
- Whitespace and EOL cosmetics
- Re-Add nocheck and validServer lost in previous commit

thx @ OE-Alliance
 

[email protected]

(∩`-´ )⊃━☆゚.*・。゚
Staff member
Super Moderator
Messages
23,410
EPGImport 1.0-20181012
12.10.2018

- [OpenDroid] Fix not available PluginBrowser

thx @ OE-Alliance
 

[email protected]

(∩`-´ )⊃━☆゚.*・。゚
Staff member
Super Moderator
Messages
23,410
EPGImport 1.0-20181110
10.11.2018

- Update hu.po
- Update plugin.py - Replace print****log, "[EPGImport] with print****log, "[XMLTVImport] close #32
- Update xmltvconverter.py - try/except for EPG XML files with program entries containing <sub-title ... /> and <desc ... />


thx @ OE-Alliance
 

[email protected]

(∩`-´ )⊃━☆゚.*・。゚
Staff member
Super Moderator
Messages
23,410
EPGImport 1.0+git202
03.05.2019

- Change default for non-OpenATV - by request
- Cosmetical fixes ...

the option to hide/show in plugins existed but was not configurable.
Instead, the effect of "True" was hardcoded.
Now it can be disabled and we forcibly do that in OpenATV (Got EPG-Importer in EPG menu since ages)
 

[email protected]

(∩`-´ )⊃━☆゚.*・。゚
Staff member
Super Moderator
Messages
23,410
EPGImport 1.0+git205
19.05.2019

- [Translations] Update NL-translation.
- Update EPGImport.pot (#40)
- Only change the default
 

[email protected]

(∩`-´ )⊃━☆゚.*・。゚
Staff member
Super Moderator
Messages
23,410
EPGImport 1.0+git206
16.06.2019

- Italian translation for EpgImport (#38)
 

[email protected]

(∩`-´ )⊃━☆゚.*・。゚
Staff member
Super Moderator
Messages
23,410
EPGImport 1.0+git210
26.06.2019

- [plugin.py] Convert service refs to long integers for more effective filtering
- Change "OpenMIPS" to "teamblue"
 
Top