- finally fixed anomaly when no channel files are available- only attempt to read the file if there actually is one- ExpandableSelectionList: Indent entriesIndent 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 sourcesWhen (de)selecting items, toggle them all. Makes the selection consistentsince 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 yetJust display all sources and display categories as "tree" items thatcan be expanded. When a source is selected, its category is expandedby 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 worksNote that ExpandableSelectionList might be moved to enigma2 some day.- Implement category parsing from XMLParse <sourcecat ...> tags from the XML file.There's no actual "tree" UI support in Enigma2, needs to be implementedlike PluginBrowser does. And override some SelectionList stuff to handlethings that aren't selection elements. So the category is being parsedbut not handled in the UI yet.- added missing xz support for channel xml files
- наконец, исправлена аномалия, когда нет файлов каналов- только попытка прочитать файл, если на самом деле есть один- ExpandableSelectionList: записи отступаОтметьте записи, сделав вид больше похожим на дерево.Также разрешите дополнительное пространство для значков expand / collapse.- когда больше нет файлов каналов, продолжайте следующий импорт- Отменить "фиксированный бесконечный цикл при отсутствии файла канала"- фиксированный бесконечный цикл, когда отсутствует файл канала- Обрабатывать дубликаты записей в дереве для источниковКогда (de) выбирает элементы, переключите их все. Делает выбор последовательнымпоскольку один и тот же ключ можно использовать в нескольких местах.- Добавить файл .gitignore для игнорирования файлов pyc- Расширяемый список, который работает. Тебе еще нужно немного тестирования, но все в порядке.- Отображать источники в ExpandableSelectionList, который еще не расширяетсяПросто отобразите все источники и категории отображения как «древовидные» элементы, которыемогут быть расширены. Когда выбран источник, его категория расширяетсяпо умолчанию (минус-знак вместо плюса).ДЕЛАТЬ:Сделайте «выбранное» состояние независимо от видимости (т. Е. Части списка)Показывать и скрывать элементы для категорий, чтобы на самом деле работатьОбратите внимание, что ExpandableSelectionList может быть перемещен в enigma2 когда-нибудь.- Внедрение анализа синтаксиса из XMLРазбирайте теги <sourcecat ...> из файла XML.В Enigma2 нет фактической поддержки «дерева» UI, необходимо выполнитькак и PluginBrowser. И переопределить некоторые элементы SelectionList для обработкиВещи, которые не являются элементами выбора. Итак, категория анализируетсяно пока не обрабатывается в пользовательском интерфейсе.- добавлена отсутствующая поддержка xz для файлов XML-файлов
- 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
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 usedthe following error occured:[EPGImport] Parsing channels from '/etc/epgimport/MyTest.channels.xml'[eNavigation] record: -1record returned non-zeroInvalid serviceref string: 4097:0:1:A0A2:0:0:0:0:0:3:http%3a//...m3u8:Radio Contact Vision HDThat is happening because serviceapp, doesn't support recording yet.So instead of adding fake recording on serviceapp/hisi/... we can simply disable the check whenURL 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.
Размер занимаемой памяти: 1.5 мегабайт.Страница сгенерирована за 0.291 секунд. Запросов: 51.