Автор Тема: Плагин m3u2bouquet (Мод от Dorik1972)  (Прочитано 244 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Vicont

  • Помощник
  • Бывалый
  • ****
  • Спасибо
  • -> Вы поблагодарили: 1515
  • -> Вас поблагодарили: 1860
  • Сообщений: 398
  • Респект: +221/-0
Плагин m3u2bouquet (Мод от Dorik1972)
« : 09 Июль 2022, 14:35:04 »
Плагин m3u2bouquet  (Мод от Dorik1972)

UPDATE
1.0.65


Restored the functionality of customizing the generation of bouquets based on the override.xml template file
« Последнее редактирование: 19 Август 2022, 12:45:39 от astraA4 »

astraA4

  • Модератор
  • Аксакал
  • *****
  • Спасибо
  • -> Вы поблагодарили: 3709
  • -> Вас поблагодарили: 4889
  • Сообщений: 1049
  • Респект: +553/-0
Плагины для enigma 2
« Ответ #1 : 02 Август 2022, 16:46:32 »
Плагин m3u2bouquet (Мод от Dorik1972)

UPDATE
1.0.69


1) The logic of working with "downloadable" files has been completely redesigned. There is no binding to the file name or its extension. Uploaded files are parsed based on a "magic number" and then the content is determined to be a valid XML structure. This solution allows using any links for XMLTV, for example,

http://example.com:8087/xmltv.php?username=USER&password=PASS
http://example.com/api/xmltv.xml.7.2
http://example.com/epg.xml.gz?token=123456789
http://example.com/provider.epg
http://example.com/epg.xmltv.gz
http://example.com/epg.xmltv.xz
http://example.com/epg.xmltv.zip
http://example.com/EPG

2) Playing around with the epg.db wrapper code for a more stable import (for DreamOS images only!). Now you can even turn off the power "on the go" (during import) and no data will be lost or "corrupted"
3) Minor optimization of the m3u parser code
4) Minor logging changes

The configuration files generated by this version for EPGImport are not compatible with the original EPGImport code. In case of shared use, it is necessary to install my EPGImport MOD -

https://tvfaq.net/index.php/topic,2063.msg46502.html#msg46502

astraA4

  • Модератор
  • Аксакал
  • *****
  • Спасибо
  • -> Вы поблагодарили: 3709
  • -> Вас поблагодарили: 4889
  • Сообщений: 1049
  • Респект: +553/-0
Плагин m3u2bouquet (Мод от Dorik1972)
« Ответ #2 : 19 Август 2022, 12:52:08 »
e2m3u2bouquet 1.0.70 (Mod Dorik1972)

1) Bouquet filenames generated by this plugin have been changed
2) Reorganized the structure of folders and files in the plugin data folder
3) Updated all libraries used by this plugin to the latest versions available for shared use in Python 2/3
4) Added support for the JTV format (PDT and NDX files) for the EPG. This EPG format is used by some local IPTV providers. It is also quite popular in Poland. Tested on the following sources:

Teleguideinfo__http://www.teleguide.info/download/new3/jtv.zip
Iformula_______http://iformula.ru/IPTV/tvprogramm/jtv.zip
Triolan________http://triolan.tv/App_Files/jtv.zip
Matrixhome_____http://iptv.matrixhome.net/jtv/dn/epg_jtv.zip
2kom___________http://2kom.tv/jtv.zip
Idcmd__________http://iptv.idc.md/files/jtv.zip
Spark__________http://spark-tv.ru/jtv.zip
Avianetwork____http://avianetwork.ru/tv_list/jtv.zip
ProgramTV______http://programtv.ru/jtv.zip

p.s. To upgrade to this version:

1) Backup config.xml from plugin data storage folder
2) Menu - Reset Bouquets - Yes
3) Install a new version of the plugin
4) Restore config.xml from backup
5) Create bouquets
6) Enjoy!

Thanks Dorik1972

Mika

  • Модератор
  • Аксакал
  • *****
  • Спасибо
  • -> Вы поблагодарили: 13469
  • -> Вас поблагодарили: 25612
  • Сообщений: 5544
  • Респект: +3395/-0
Плагин m3u2bouquet (Мод от Dorik1972)
« Ответ #3 : 24 Август 2022, 21:48:14 »
UPDATE
1.0.71


1) Fixed remembering links in the "file://" scheme when entering from the virtual keyboard in the provider's card
2) Fixed/added the ability to "recognize" XML files in 'UTF-8-BOM' encoding. For example:

https://raw.githubusercontent.com/bebawy6/EPG/master/allEPG.xml
3) Fixed handling of XMLTVs packed in ZIP.
Added a branding module to the installation packages, due to which the version did not work

kolllya

  • Друзья
  • Ветеран
  • ***
  • Спасибо
  • -> Вы поблагодарили: 2647
  • -> Вас поблагодарили: 4606
  • Сообщений: 948
  • Респект: +501/-0
Плагин m3u2bouquet (Мод от Dorik1972)
« Ответ #4 : 29 Август 2022, 16:53:42 »
m3u2bouquet
UPDATE
1.0.72


1) Fixed "database malformed" for DreamOS-based images. This error almost always occurred if you set "Start import EPG after loading bouquets" in the plugin settings. No more problems
2) Small reorganization of the code + added logging of what is happening =)

Vicont

  • Помощник
  • Бывалый
  • ****
  • Спасибо
  • -> Вы поблагодарили: 1515
  • -> Вас поблагодарили: 1860
  • Сообщений: 398
  • Респект: +221/-0
Плагин m3u2bouquet (Мод от Dorik1972)
« Ответ #5 : 02 Сентябрь 2022, 21:39:32 »
UPDATE
1.0.73

(DreamOS special edition)

1) The ability to select "eServiceStream" (8739:0:) player in the provider card has been fixed. Now this type of player is only available on images based on DreamOS versions >=4.4
2) Completely rewritten SQL-wrapper to interact with epg.db when updating EPG.  Now everything works as it should   ::)
3) Updated Italian locale (special thanks for @mapi)

Дигидон

  • Супермодератор
  • Аксакал
  • *****
  • Спасибо
  • -> Вы поблагодарили: 14188
  • -> Вас поблагодарили: 27499
  • Сообщений: 6028
  • Респект: +4588/-0
Плагин m3u2bouquet (Мод от Dorik1972)
« Ответ #6 : 05 Сентябрь 2022, 19:15:20 »
UPDATE
1.0.73.1

(DreamOS special edition part 2)

Скрытый текстСкрытый текст (вы должны войти под своим логином или зарегистрироваться ).
У вас нет прав чтобы видеть скрытый текст, содержащейся здесь.


1) Changed SQLite server parameters on opening epg.db, thanks to which the speed of importing EPG events in new (fresh) epg.db has increased by 100% compared to the previous version (1.0.73)
2) Now only new events are added to the existing database, i.е. only those that are NOT in the existing EPG. Thanks to this logic, we have a 150-200% increase in the speed of importing events on the existing database compared to the previous version (1.0.73)
3) When "closing" the database after adding events, we do "VACUUM" which allows us to significantly reduce the size of the epg.db file, especially noticeable when the EPG file is > 100Mb
4) Fixed a theoretically possible error when adding an event with a short description (title) longer than 240 characters. Under certain circumstances, such events might not fall into the EPG database.

p.s. At the moment, the speed of importing XMLTV events on my DM900HD is almost comparable to the speed of importing the same events of the same XMLTV on VU + Ultimo4K

Дигидон

  • Супермодератор
  • Аксакал
  • *****
  • Спасибо
  • -> Вы поблагодарили: 14188
  • -> Вас поблагодарили: 27499
  • Сообщений: 6028
  • Респект: +4588/-0
Плагин m3u2bouquet (Мод от Dorik1972)
« Ответ #7 : 14 Сентябрь 2022, 23:10:47 »
UPDATE
1.0.74


1) A bunch of little things have been fixed due to which some of the events from XMLTV could not get into the EPG.
2) Added "analysis" of the validity of received events from XMLTV. Now any "garbage" that occurs due to errors in the formation of XMLTV by the provider does not get into the EPG.
3) The logic of the XMLTV parser has been completely changed... now we analyze one event ahead... which makes it possible to form the correct event tuples for a group of channels.
Previously, events were parsed into the following "structure":
([service, service, ***], ((event)))
Now so
([service, service, ***], ((event), (event), (event), ***))
This allows the full use of the enigma.eEPGCache (epgcache.cpp) C code if it supports the ImportEvents method. For a group of channels, a group of events is now transmitted, and not just one event as before... As a result, on the nodes "programme" ordered by "channel" in XMLTV, we get an increase in the speed of importing events.
4) Parsing the values of all tags of the "programme" node in XMLTV is now done in "one pass".
5) Added support for "multi-language" XMLTV ... and not only in the XMLTV parser, but also in import to epg.db for DreamOS...
Judging by the structure of the database (epg.db), this is clearly supported there (an analogy can be drawn with different audio tracks for the same broadcast). In OE versions<2.5 multilingual EPG is not supported and priority is given to events whose language matches the locale of your Enigma2
6) In SQL-wrapper (only for DreamOS) added "UPDATE" of event descriptions imported earlier ...
For example:
On Mon morning you imported EPG 3 days in advance and in it, for some channels, there were no descriptions, and on Mon evening - the provider updated its XMLTV and added descriptions ... so... now if you update the EPG again after that, for example on Tuesday morning, then the descriptions for existing events will be updated.
7) Returned back journal_mode = "DELETE" for SQLite. Now working with the SQL database is exactly the same as in the C code on DreamOS.
8 ) I changed the code so that I removed two files altogether... They turned out to be superfluous "crutches" ... Due to this, there is one less "intermediate" generator.
9) Added "pop-up" notifications... cool little stuff... will pop up in the upper right corner of the screen...
10) Fixed a bug with the appearance of channels marked as enabled="0" in the ***-diff-override.xml file in the "custom" sorting mode.
11) The logic of working with "hidden markers" has been completely removed. Now in userbouquets the strings "519:1" or "832:d" that are incomprehensible to many users will be removed.

nicoll

  • Аксакал
  • *****
  • Спасибо
  • -> Вы поблагодарили: 3009
  • -> Вас поблагодарили: 8955
  • Сообщений: 1744
  • Респект: +858/-0
Плагин m3u2bouquet (Мод от Dorik1972)
« Ответ #8 : 20 Сентябрь 2022, 22:52:52 »
E2m3u2bouquet
UPDATE 1.0.75



    1) Fixed an annoying typo in the code that caused a crash when trying to save the log file
    2) Minor changes to the XML iterator, giving a gain of 1-2 seconds for every 100,000 records processed
    3) Slightly updated the design of the regular skin. More strict and concise.
    4) The algorithm for auto-selection of EPG events by channel name has been redesigned. Now, if after preliminary analysis no exact match is found among the candidates, the Damerau-Levenshtein algorithm for finding the greatest match based on an iterative version of the Wagner-Fischer algorithm is applied (this works if and only if the EPGurl link is set in the provider settings.) - Theory - Optimal Wagner-Fischer Algorithm For Approximate Strings Matching
Излишняя скромность - кратчайший путь в неизвестность !

Vicont

  • Помощник
  • Бывалый
  • ****
  • Спасибо
  • -> Вы поблагодарили: 1515
  • -> Вас поблагодарили: 1860
  • Сообщений: 398
  • Респект: +221/-0
Плагин m3u2bouquet (Мод от Dorik1972)
« Ответ #9 : 23 Сентябрь 2022, 17:57:06 »
UPDATE
1.0.76


Fixed "segmentation fault" error that occurred on DreamTWO (OE2.6) after importing EPG events ...
Theoretically, it could also occur on other versions of OE ... but so far it has not manifested itself
« Последнее редактирование: 23 Сентябрь 2022, 22:27:54 от Марат »