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

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

Оффлайн mav

Re: Плагин e2m3u2bouquet (Мод от Dorik1972)
« Ответ #30 : 06 Май 2022, 04:50:07 »
                               Алгоритм и формат обработки файла override.xml.
 Когда вы выбираете, пользовательский метод сортировки получившегося плейлиста, вы можете делать все, что захотите.
               Небольшая инструкция по использованию файла override.xml с примерами.
Если вы ранее использовали override.xml перед установкой  версии 1.0.52, вы должны удалить его, а затем повторно отредактировать «под свои нужды» .
Это связано  изменением c версии 1.0.52 как формата содержимого этого файла, так и алгоритма его обработки.
Для того, чтобы файл override.xml появился в папке с данными / E2m3u2bouquet / epg /, нужно выбрать метод сортировки - пользовательский.
 В этом случае список групп, каналов, а также их порядок будет в соответствии с исходным плейлистом m3u. Структура xml файла довольно проста и интуитивно понятна.

1) Порядок имен каналов и групп такой же, как в override.xml. Если вам нужно его изменить, просто переместите соответствующие строки в нужном вам порядке.
Например
Это было
Код:
<categories>                                                                                                                                           
                <category name="National" nameOverride="" enabled="1" />                                                                               
                <category name="Sport" nameOverride="" enabled="1" />                                                                                   
                <category name="Films" nameOverride="" enabled="1" />                                                                                     
                <category name="Music" nameOverride="" enabled="1" />
                <category name="Kids" nameOverride="" enabled="1" />
                <category name="Germany" nameOverride="" enabled="1" />
                <category name="Polska" nameOverride="" enabled="1" />
                <category name="Baltic" nameOverride="" enabled="1" />
                <category name="UHD" nameOverride="" enabled="1" />
                <category name="Turkey" nameOverride="" enabled="1" />
                <category name="Israel" nameOverride="" enabled="1" />
        </categories>
Стало
Код: [Выделить]
<categories>                                                                                                                                           
                <category name="Sport" nameOverride="" enabled="1" />
                <category name="UHD" nameOverride="" enabled="1" />
                <category name="Films" nameOverride="" enabled="1" />
                <category name="National" nameOverride="" enabled="1" />                                                                               
                <category name="Music" nameOverride="" enabled="1" />
                <category name="Kids" nameOverride="" enabled="1" />
                <category name="Germany" nameOverride="" enabled="1" />
                <category name="Polska" nameOverride="" enabled="1" />
                <category name="Baltic" nameOverride="" enabled="1" />
                <category name="Turkey" nameOverride="" enabled="1" />
                <category name="Israel" nameOverride="" enabled="1" />
        </categories>
Точно так же вы можете перемещать и устанавливать произвольный порядок каналов. Причем каналы можно перемещать как внутри группы так и в любую группу, которая вам нужна, на желаемую позицию.
Например
Это было
Код: [Выделить]
<!-- Germany -->                                                                                                                               
                <category name="Germany">                                                                                                                     
                        <channel name="Das Erste HD" nameOverride="" tvg-id="339" enabled="1" />
                        <channel name="ZDF HD" nameOverride="" tvg-id="340" enabled="1" />
                        <channel name="ZDF INFO" nameOverride="" tvg-id="341" enabled="1" />                                                           
                        <channel name="ZDF NEO" nameOverride="" tvg-id="342" enabled="1" />
                        <channel name="UHD1" nameOverride="" tvg-id="753" enabled="1" />
                        <channel name="Rtl 4K" nameOverride="" tvg-id="de-0896" enabled="1" />
                        <channel name="RTL HD" nameOverride="" tvg-id="343" enabled="1" />
                        <channel name="Magenta Sport 6 HD" nameOverride="" tvg-id="de-de21" enabled="1" />
                        <channel name="Magenta Sport 7 HD" nameOverride="" tvg-id="de-de22" enabled="1" />
                        <channel name="Magenta Sport 8 HD" nameOverride="" tvg-id="de-de23" enabled="1" />
                </category>
                <!-- Polska -->
                <category name="Polska">
                        <channel name="13 Ulica" nameOverride="" tvg-id="520" enabled="1" />
                        <channel name="Active Family" nameOverride="" tvg-id="627" enabled="1" />
                        <channel name="Adventure" nameOverride="" tvg-id="521" enabled="1" />
                        <channel name="Ale Kino+ HD" nameOverride="" tvg-id="522" enabled="1" />
                        <channel name="Animal Planet HD" nameOverride="" tvg-id="523" enabled="1" />
                        <channel name="AXN" nameOverride="" tvg-id="524" enabled="1" />
                        <channel name="AXN Black" nameOverride="" tvg-id="525" enabled="1" />
                        <channel name="AXN White" nameOverride="" tvg-id="526" enabled="1" />
                        <channel name="AXNSpinHD" nameOverride="" tvg-id="527" enabled="1" />
                        <channel name="CBS Reality" nameOverride="" tvg-id="538" enabled="1" />
                        <channel name="Cinemax 2" nameOverride="" tvg-id="540" enabled="1" />
                        <channel name="Cinemax HD" nameOverride="" tvg-id="539" enabled="1" />
                        <channel name="Comedy Central HD" nameOverride="" tvg-id="541" enabled="1" />
                </category>
Стало
Код: [Выделить]
<!-- Germany -->                                                                                                                               
                <category name="Germany">                                                                                                                     
                        <channel name="Magenta Sport 6 HD" nameOverride="" tvg-id="de-de21" enabled="1" />
                        <channel name="Magenta Sport 7 HD" nameOverride="" tvg-id="de-de22" enabled="1" />
                        <channel name="Magenta Sport 8 HD" nameOverride="" tvg-id="de-de23" enabled="1" />
                        <channel name="Das Erste HD" nameOverride="" tvg-id="339" enabled="1" />
                        <channel name="ZDF HD" nameOverride="" tvg-id="340" enabled="1" />
                        <channel name="ZDF INFO" nameOverride="" tvg-id="341" enabled="1" />                                                           
                        <channel name="ZDF NEO" nameOverride="" tvg-id="342" enabled="1" />
                </category>
                <!-- Polska -->
                <category name="Polska">
                        <channel name="UHD1" nameOverride="" tvg-id="753" enabled="1" />
                        <channel name="Rtl 4K" nameOverride="" tvg-id="de-0896" enabled="1" />
                        <channel name="RTL HD" nameOverride="" tvg-id="343" enabled="1" />
                        <channel name="13 Ulica" nameOverride="" tvg-id="520" enabled="1" />
                        <channel name="Active Family" nameOverride="" tvg-id="627" enabled="1" />
                        <channel name="Adventure" nameOverride="" tvg-id="521" enabled="1" />
                        <channel name="Ale Kino+ HD" nameOverride="" tvg-id="522" enabled="1" />
                        <channel name="Animal Planet HD" nameOverride="" tvg-id="523" enabled="1" />
                </category>
2) Если вам нужно переименовать группу или канал, используйте атрибут nameOverride для этой настройки желаемого значения в нем.
Например
Код: [Выделить]
<channel name="UHD1" nameOverride="UltraHD 1" tvg-id="753" enabled="1" />

В этом случае канал UHD1 будет отображаться в букетах как «UltraHD 1».
Код: [Выделить]
<category name="ХХХ" nameOverride="Adult" enabled="1" />
В этом случае категория XXX будет отображаться как «Взрослый».

3) Чтобы запретить создание группы или канала, используется атрибут enabled. Установив «1» или «0», вы можете регулировать наличие канала или группы в любимых букетах.

4) Вы можете создавать свои собственные группы каналов и добавлять в них каналы, перемещая линии с каналами из других групп.
Например
Это было
Код: [Выделить]
<categories>
                <category name="Sport" nameOverride="" enabled="1" />
                <category name="UHD" nameOverride="" enabled="1" />
                <category name="Films" nameOverride="" enabled="1" />
        </categories>

Добавил свою группу «Footbol FAV» и переместил в нее нужные каналы.
<categories>
                <category name="Sport" nameOverride="" enabled="1" />
                <category name="UHD" nameOverride="" enabled="1" />
                <category name="Films" nameOverride="" enabled="1" />
                <category name="Footbol Fav" nameOverride="" enabled="1" />
        </categories>
        <channels>
                <!-- Footbol Fav -->
                <category name="Footbol Fav">
                        <channel name="Premier Sports 1" nameOverride="" tvg-id="721" enabled="1" />
                        <channel name="Premier Sports 2" nameOverride="" tvg-id="722" enabled="1" />
                        <channel name="Sky Sports Arena" nameOverride="" tvg-id="723" enabled="1" />
                        <channel name="Sky Sports Cricket" nameOverride="" tvg-id="919" enabled="1" />
                        <channel name="Sky Sports Football" nameOverride="" tvg-id="724" enabled="1" />
                        <channel name="Sky Sports Main Event" nameOverride="" tvg-id="920" enabled="1" />
                </category>
« Последнее редактирование: 06 Май 2022, 09:48:21 от Admin »
 
Пользователи, которые поблагодарили этот пост: Admin, vladimir1949

Оффлайн mav

Re: Плагин e2m3u2bouquet (Мод от Dorik1972)
« Ответ #31 : 06 Май 2022, 09:59:34 »
 Admin, спасибо за редактирование, я не умею строить так сообщения.
 Вижу и рад тому,что снова начал жить плагин IPTVArchive, выражаю большую надежду, что и этот плагин  ожидает очень долгая жизнь в нашем с вами будущем !!!
 
« Последнее редактирование: 06 Май 2022, 10:25:54 от mav »
 
Пользователи, которые поблагодарили этот пост: Admin, vdovbnenko

Оффлайн mav

Re: Плагин e2m3u2bouquet (Мод от Dorik1972)
« Ответ #32 : 06 Май 2022, 10:58:51 »
 Перед установкой этой версии обязательно удалите все ранее установленные ! Нельзя устанавливать "поверх" ранее установленного!
Не забудьте сохранить файл config.xml перед полным удалением!
 Перед установкой этой версии надо,
после полного удаления плагина e2m3u2b, надо обязательно в /etc/enigma2/settings
 в файле setting надо всё удалить связанное с e2m3u2b вашими руками, потому что при удалении самого плагина файлы связанные с e2m3u2b в settings не удаляются.
 Надо перенести с помощью Командор этот файл к себе,и сделать изменения,и потом вернуть в по ресивера.
 
Пользователи, которые поблагодарили этот пост: vdovbnenko, бобруйко, Alexis757

Оффлайн mav

Re: Плагин e2m3u2bouquet (Мод от Dorik1972)
« Ответ #33 : 07 Май 2022, 02:30:31 »
 Плагин e2m3u2bouquet (Мод от Dorik1972).
 
Пользователи, которые поблагодарили этот пост: Root, vdovbnenko, бобруйко

Оффлайн Mika

Плагин e2m3u2bouquet (Мод от Dorik1972)
« Ответ #34 : 01 Июнь 2022, 19:53:21 »
Плагин m3u2bouquet  (Мод от Dorik1972)

UPDATE
1.0.61


1) Now, when a provider is deleted from the "card", all bouquets, config entries, and all channel picons of this provider are deleted (previously only config entries were deleted)
2) Minor code optimization
 
Пользователи, которые поблагодарили этот пост: Admin, vdovbnenko, Virus, Супрун

Оффлайн TU-134

Плагин e2m3u2bouquet (Мод от Dorik1972)
« Ответ #35 : 18 Июнь 2022, 15:08:40 »
Плагин e2m3u2bouquet (Мод от Dorik1972)

p.s. [18/06/22 9:00 GMT]
Changes have been made to the parser of m3u-playlists, taking into account the duplication of various lines. This is observed in playlists downloaded from various telegram channels or inattentively collected manually from various sources. Redownload ... --force-install
 
Пользователи, которые поблагодарили этот пост: Astra4A, vdovbnenko, Gerakl, Alexis757

Оффлайн Gerakl

Re: Плагин e2m3u2bouquet (Мод от Dorik1972)
« Ответ #36 : 05 Июль 2022, 14:14:52 »
Плагин e2m3u2bouquet (Мод от Dorik1972)

UPDATE
1.0.63


1) Slightly optimized m3u parser code
2) Changed priorities for archive "depth" tags in days if there are several of them in the #EXTINF directive
3) More neatly written module "branding" is used to define various information about STB
4) Fix IT & DE locales
 
Пользователи, которые поблагодарили этот пост: Root, sogaz, vdovbnenko, TU-134

Оффлайн Alexis757

Re: Плагин e2m3u2bouquet (Мод от Dorik1972)
« Ответ #37 : 08 Июль 2022, 14:59:33 »

Плагин m3u2bouquet  (Мод от Dorik1972)

UPDATE
1.0.64


1) Fixed EPG event import for images without twisted.python.runtime.supportsThreads
2) In skins, instead of color aliases, colors are now set in #aarrggbb format to prevent crashes on prehistoric images
3) Fixed for VTi images ...
4)  zh_CH locale added
 
Пользователи, которые поблагодарили этот пост: Admin, Root, vdovbnenko, Серргей

Оффлайн Virus

Плагин e2m3u2bouquet (Мод от Dorik1972)
« Ответ #38 : 13 Июль 2022, 23:08:08 »
Плагин m3u2bouquet  (Мод от Dorik1972)

UPDATE
1.0.66


1) Fixed skin loading for images with custom skins of this plugin
2) When creating "All channels bouquet" the name bouquet will match the name of the provider and will be created without the phrase "All channels-"
3) Added creation of the ***-diff-override.xml file that contains new broadcasts in the m3u-playlist of the provider in relation to the used ***-sort-override.xml. This file allows you to track changes in the provider's playlist. It is created only when new broadcasts appear in the m3u playlist. The data of this file can be used to manually edit (add) broadcasts to the current ***-sort-override.xml

p.s. How to use ***-sort-override.xml
 
Пользователи, которые поблагодарили этот пост: Root, vdovbnenko, TU-134, ингрид

Оффлайн Alexis757

Плагин e2m3u2bouquet (Мод от Dorik1972)
« Ответ #39 : 20 Июль 2022, 10:51:18 »
[07:00 GMT 20/07/22] A small fix to remove "tails" userbouquet.*/*.tv.del and a small code optimization.
Redownload...--force-reinstall
 
Пользователи, которые поблагодарили этот пост: vdovbnenko, TU-134, Virus, боцманн, sankr

Оффлайн Alexis757

Плагин e2m3u2bouquet (Мод от Dorik1972)
« Ответ #40 : 19 Август 2022, 12:54:28 »
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
 
Пользователи, которые поблагодарили этот пост: Admin, 133048, vdovbnenko, sankr

Оффлайн boomer44

Плагин e2m3u2bouquet (Мод от Dorik1972)
« Ответ #41 : 29 Август 2022, 16:55:10 »
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 =)
 
Пользователи, которые поблагодарили этот пост: Admin, Mika, vdovbnenko, TU-134

Оффлайн TU-134

Плагин e2m3u2bouquet (Мод от Dorik1972)
« Ответ #42 : 02 Сентябрь 2022, 21:42:36 »
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)
 
Пользователи, которые поблагодарили этот пост: Mika, vdovbnenko, asdf-52

Оффлайн Серргей

Плагин e2m3u2bouquet (Мод от Dorik1972)
« Ответ #43 : 05 Сентябрь 2022, 19:14:49 »
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
 
Пользователи, которые поблагодарили этот пост: Mika, vdovbnenko, asdf-52

Оффлайн Virus

Плагин e2m3u2bouquet (Мод от Dorik1972)
« Ответ #44 : 14 Сентябрь 2022, 23:09:19 »
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.
 
Пользователи, которые поблагодарили этот пост: Admin, vdovbnenko, Серргей