DYefremov / DemonEditor

Enigma2 channel and satellite list editor for GNU/Linux and macOS.
https://dyefremov.github.io/DemonEditor
MIT License
118 stars 142 forks source link

epg - filter #154

Closed luxorko closed 4 months ago

luxorko commented 1 year ago

hurried, selection by sattelite showing but actually deamon still make "search and parse" from whole (ALL) channels, instead from just selected channels list. could you look at this please

DYefremov commented 1 year ago

Hi, It's not entirely clear what you mean.

luxorko commented 1 year ago

please look at issue #148 (now closed) this need bit improve

DYefremov commented 1 year ago

Still, I don't quite understand what's wrong.:( epg-filter

Or do you mean auto assignment?

epg_auto

luxorko commented 1 year ago

when choose "auto" demon should search only from filtered list (etc Astra 19.2) ...instead from all satellites ..he parsing epg from other satellite and not from filter

DYefremov commented 1 year ago

Changed! There is still room for this feature improvement, but significant changes are required.

luxorko commented 1 year ago

ok

if using XML file

image

table are not completed; lost of details missing

image

of course "filters" not work ( when reading from xml file)

DYefremov commented 1 year ago

if using XML file

This is logical. We do not have a "position" parameter. Theoretically, you can use the value from "namespace", but I'm not sure if this makes any practical sense. Usually these files are not used for all satellite positions, but for certain ones.

luxorko commented 1 year ago

Rytec source have lot (maybe ALL) of satellite referencies for Europe http://www.xmltvepg.nl/rytec.channels.xml-sat.xz its looks like:

<!-- 0.8W --><channel id="NASAUHD.us">1:0:1F:68:C:A:E080000:0:0:0:</channel><!-- NASA UHD -->

if demon will filtering xml list - showing them by sat/channelID/Channel - will be great option (meaning easy to do) for parsing epg

just imagine: you have list m3u (somewhere from net) where are more channes (100+) etc you like Portugals
1 - rytec provided - sat referencies + epg 2 -demon will parse iptv bouquet with rytec reference (downloaded from url) or any ITV provider reference list 3 - stb enigma2 will download epg throught epgimport .Finally = IPTV Bouquet with EPG!

sound is good ; OR?

DYefremov commented 1 year ago

OK. I don’t see any big problems with the implementation of displaying satellite positions for the XML source. But... Not all files have this:

-- 0.8W --

Therefore, the main option, as I wrote above, is the "namespace". Anyway, I'll see what I can do. :)

luxorko commented 1 year ago

maybe by "channel ID" (nassauhd.us ; 3sat.de; tfx.fr...) one channel could be on (3-5) sat. possition - so i thing filter by ID will be better option maybe? 3sat.de EPG must be same for all sattelite possition in think

demon card should have 3 columns ID channel (full name, including (.dot) "nasauhd.usa" ...References...channel name

luxorko commented 1 year ago

also iptv provider xml-list have.. ID Channel ...reference....channel name some iptv provider using "Channel ID" like number (257) , but third column have actual channel name where will by parsing that reference.

DYefremov commented 1 year ago

Unfortunately there is no standard here. Everyone can invent their own bicycle and write as they please.:) While we need to stop at the position, and then we need to look.

luxorko commented 1 year ago

agree with you...please make vissiblle FULL ID Channel name - includind punctuations marks ( . - / _ ) "NASAUHD.us" and not just "NASAUHD"

DYefremov commented 1 year ago

please make vissiblle FULL ID Channel name

You should not confuse the channel ID with its name. Anything can be used as an ID. E.g. number, reference, etc. The fact that the ID almost matches the channel's display name is just a special case! epg

Perhaps, if an XML source is used, it is better to display a separate column with id... Сurrently the 'id' attribute is ignored as unnecessary!

P.S. I think as an option to display a tooltip. epg

I think this is the best option.

luxorko commented 1 year ago

I think this is the best option.

100% .. im with you

luxorko commented 1 year ago

great ...waiting for new beta realease

luxorko commented 1 year ago

update 3.4.0 1 - filter by sat. possition working - great 2 - seaching service by name working but- missing full channel name (including ".de" or ".hr")...eurosport.de ; eurosport.hr...

image

3 - parsing Reference from .xml ro iptv channel not working :( all channels from .xml file will always use same same reference number (

4097_0_1_1_1_1_D7A312D_0_0_0`

luxorko commented 1 year ago

from "xml ID" file.....have same channel like channels Eurosport diferent EPG for 3 country please see picture

it is hard for user to parsing correct EPG

image

DYefremov commented 1 year ago

missing full channel name (including ".de" or ".hr")

This is not a full name! Please read my previous answer. The channel name is the one on the right side of your screenshot.

have same channel like channels Eurosport diferent EPG for 3 country please see picture

Sorry, but this question is not for me or program, but for the source.

3 - parsing Reference from .xml ro iptv channel not working :( all channels from .xml file will always use same same reference number

Please provide a link to the file, I'll check.

luxorko commented 1 year ago

please see link

http://www.xmltvepg.nl/rytec.channels.xml.xz

and not possible to get both side channels name+channel ID info to vissible in demon? pleasde

DYefremov commented 1 year ago

get both side channels name+channel ID info to vissible in demon

Please read my answer.

Perhaps, if an XML source is used, it is better to display a separate column with id

I think as an option to display a tooltip.

I made a tooltip: tooltip

http://www.xmltvepg.nl/rytec.channels.xml.xz

Tested on several channels. You can specify which channels can not assigned?

luxorko commented 1 year ago

open any IPTV bouquet.tv then parsing first one nasauhd to any iptv channel then save and open saving bouquet list and that channels will have THAT reference number

luxorko commented 1 year ago

I made a tooltip: super !

luxorko commented 1 year ago

please see pictures before parsing

before parsing

parsing

parsing

and after parsing

after parsing
DYefremov commented 1 year ago

then parsing first one nasauhd to any iptv channel

Hm. In this version, I added a channel type assignment (as for the main list). The problem seems to be this (1F value, UHD channels). Needs to check.

luxorko commented 1 year ago

it only exapless ...this happens with any reference from xml file parsing to any iptv channel

also if IPTV channel have basic reference 4097:0:1:0:0:0:0:0:0:0 still same result like you see on last picture No3

luxorko commented 1 year ago

"1F" - meaning channel is UHD : ) i think you know it

DYefremov commented 1 year ago

Found. The reason isn't the type. It was tooltip. He "broke" everything, or rather my inattention. :) Small typo.

luxorko commented 1 year ago

hope you will kept "tooltip" is very usefull

DYefremov commented 1 year ago

Sure! :)

luxorko commented 1 year ago

could you new realease beta for more test, please

DYefremov commented 1 year ago

As soon as I have free time. Maybe tomorrow or later. While I was looking for a problem with refs assigning, I noticed one more nuance in one other feature. Need to check.

luxorko commented 1 year ago

ok dont worry

regarding "filter-searching" channel by name

could you do something with ..some IPTV channel have in the front channel name "BG" and also behind name (TV; HD; FHD; 1080...) like on picture

idea when start searching Channel name from IPTV " [BG] DIEMA TV HD" - demon not find any, need manually update name to "DIEMA" and then will showing lots channels

please see picture. hope you know what i meaning

image

DYefremov commented 1 year ago

demon not find any, need manually update name to "DIEMA"

What is the criterion? What symbols? And why exactly these? What separator to use? And most importantly. Filtration speed after that. No it's a bad idea.

Perhaps you need a filter like the filter on the picons tab. you are looking for several words at once through the symbol '|'. Or add channel id to filtering: filter

BUT again it doesn't solve what you want.

luxorko commented 1 year ago

have idea - why not make turn /switch searching table? search from source to m3u list? Could demon have that kind of switch?

DYefremov commented 1 year ago

Sorry... Describe in more detail.

luxorko commented 1 year ago

EPG configuration have two tables left EPG Source ; and right bouquet (in our case IPTV-bouquet) like on picture image on Right table (iptv bouquet Channels have name Bollywood classic (EU) )

What is the criterion? What symbols? And why exactly these? What separator to use? And most importantly. Filtration speed after that. No it's a bad idea.`

idea make just "SWICH" (where get search from); not from IPTV Bouquet (right table) but from EPG source (left table)

using filter; choose sat. possition image

and there click (epg source list) channel name "Bollywood" and on the right table (IPTV Bouquet) will showing all "Bollywood" channels including all symbols "HD; (EU), PT, FHD... and what ever this channel name have it) after just making parse EPG (parse references) like this function have now

hope you know what i mean

DYefremov commented 1 year ago

Like understood. You want change the filter field on click not from the bouquet only but from the source (if auto is enabled) list also. I don't see any problems. I think, no additional switches is needed. We have an "Auto" switch already.

P.S. Although, if desired, we can add an additional switch on the left side. Perhaps it will be more obvious to users. But not sure... :)

luxorko commented 1 year ago

Perhaps it will be more obvious to users

ok like you said

DYefremov commented 4 months ago

After various variations, I came to the conclusion that the option described above would be more confusing for the user. Since after filtering in the first window, it may be necessary to make a new selection by name. In general, I think it should be left as is. Perhaps in the future, if the feature is really in demand, it will be possible to think through other options. At the moment we're closing...