Jump to content


Photo

E2 failing to hide a hidden bouquet


  • Please log in to reply
40 replies to this topic

#1 Huevos

  • PLi® Contributor
  • 4,247 posts

+158
Excellent

Posted 20 January 2015 - 19:43

If first bouquet in "bouquets.tv" is hidden (519 marker), it still always shows in the bouquet list. Is there a logical reason for this? Or is it a bug. 

#NAME Bouquets (TV)
#SERVICE 1:519:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.dbe05.tv" ORDER BY bouquet
#SERVICE 1:519:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.dbe01.tv" ORDER BY bouquet
#SERVICE 1:519:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.dbe04.tv" ORDER BY bouquet
#SERVICE 1:519:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.dbe02.tv" ORDER BY bouquet
#SERVICE 1:519:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.dbe06.tv" ORDER BY bouquet
#SERVICE 1:519:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.dbe03.tv" ORDER BY bouquet
#SERVICE 1:519:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.dbe07.tv" ORDER BY bouquet
#SERVICE 1:519:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.dbe0a.tv" ORDER BY bouquet
#SERVICE 1:519:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.dbe0b.tv" ORDER BY bouquet
#SERVICE 1:519:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.dbe17.tv" ORDER BY bouquet
#SERVICE 1:519:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.dbe09.tv" ORDER BY bouquet
#SERVICE 1:519:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.dbe08.tv" ORDER BY bouquet
#SERVICE 1:519:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.dbe0d.tv" ORDER BY bouquet
#SERVICE 1:519:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.dbe0e.tv" ORDER BY bouquet
#SERVICE 1:519:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.dbe0f.tv" ORDER BY bouquet
#SERVICE 1:519:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.dbe0c.tv" ORDER BY bouquet
#SERVICE 1:519:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.LastScanned.tv" ORDER BY bouquet
#SERVICE 1:519:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.favourites.tv" ORDER BY bouquet
#SERVICE 1:7:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.abm.sat_282_sky_uk.101.tv" ORDER BY bouquet
#SERVICE 1:7:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.abm.sat_282_sky_uk.240.tv" ORDER BY bouquet
#SERVICE 1:7:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.abm.sat_282_sky_uk.301.tv" ORDER BY bouquet
#SERVICE 1:7:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.abm.sat_282_sky_uk.350.tv" ORDER BY bouquet
#SERVICE 1:7:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.abm.sat_282_sky_uk.401.tv" ORDER BY bouquet
#SERVICE 1:7:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.abm.sat_282_sky_uk.501.tv" ORDER BY bouquet
#SERVICE 1:7:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.abm.sat_282_sky_uk.520.tv" ORDER BY bouquet
#SERVICE 1:7:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.abm.sat_282_sky_uk.580.tv" ORDER BY bouquet
#SERVICE 1:7:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.abm.sat_282_sky_uk.601.tv" ORDER BY bouquet
#SERVICE 1:7:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.abm.sat_282_sky_uk.650.tv" ORDER BY bouquet
#SERVICE 1:7:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.abm.sat_282_sky_uk.700.tv" ORDER BY bouquet
#SERVICE 1:7:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.abm.sat_282_sky_uk.780.tv" ORDER BY bouquet
#SERVICE 1:7:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.abm.sat_282_sky_uk.861.tv" ORDER BY bouquet
#SERVICE 1:7:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.abm.sat_282_sky_uk.881.tv" ORDER BY bouquet
#SERVICE 1:7:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.abm.sat_282_sky_uk.889.tv" ORDER BY bouquet
#SERVICE 1:7:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.abm.sat_282_sky_uk.899.tv" ORDER BY bouquet
#SERVICE 1:7:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.abm.sat_282_sky_uk.900.tv" ORDER BY bouquet
#SERVICE 1:7:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.abm.sat_282_sky_uk.950.tv" ORDER BY bouquet
#SERVICE 1:7:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.abm.sat_282_sky_uk.1000.tv" ORDER BY bouquet
#SERVICE 1:7:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.abm.sat_282_sky_uk.1020.tv" ORDER BY bouquet
#SERVICE 1:7:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.abm.sat_282_sky_uk.1030.tv" ORDER BY bouquet
#SERVICE 1:519:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.abm.sat_282_sky_uk.1050.tv" ORDER BY bouquet
#SERVICE 1:7:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.abm.sat_282_sky_uk.hd.tv" ORDER BY bouquet
#SERVICE 1:7:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.abm.sat_282_sky_uk.ftahd.tv" ORDER BY bouquet
#SERVICE 1:7:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.abm.sat_282_sky_uk.fta.tv" ORDER BY bouquet
#SERVICE 1:519:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.abm.sat_282_sky_uk.separator.tv" ORDER BY bouquet


Edited by Huevos, 20 January 2015 - 19:44.


Re: E2 failing to hide a hidden bouquet #2 littlesat

  • PLi® Core member
  • 56,269 posts

+691
Excellent

Posted 20 January 2015 - 23:30

hidden userbouquets... What is that?
For what reason are they required...?

Edited by littlesat, 20 January 2015 - 23:31.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: E2 failing to hide a hidden bouquet #3 Huevos

  • PLi® Contributor
  • 4,247 posts

+158
Excellent

Posted 20 January 2015 - 23:59

hidden userbouquets... What is that?
For what reason are they required...?

So you can remove a bouquet from the index without permanently deleting it.



Re: E2 failing to hide a hidden bouquet #4 Huevos

  • PLi® Contributor
  • 4,247 posts

+158
Excellent

Posted 21 January 2015 - 00:14

Sorry, just realised PLi doesn't have this handy feature.



Re: E2 failing to hide a hidden bouquet #5 littlesat

  • PLi® Core member
  • 56,269 posts

+691
Excellent

Posted 21 January 2015 - 19:50

What is handy about hiding bouquets??? And how do you set them hidden/not hidden???

 

if (s.flags and int(s.flags) != 519) & eServiceReference.isDirectory:


Edited by littlesat, 21 January 2015 - 19:54.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: E2 failing to hide a hidden bouquet #6 Meega

  • Senior Member
  • 3,000 posts

+51
Good

Posted 21 January 2015 - 19:55

What is handy about hiding bouquets???

Handy against kids.


ET10000+ Openpli 6.1,1m schotel 4x duo-lnb op vaste opstelling.

Momolights teensy 2.0 met 50 leds op een string ,150 channels
DM8000 Openpli 6.1 Release


Re: E2 failing to hide a hidden bouquet #7 littlesat

  • PLi® Core member
  • 56,269 posts

+691
Excellent

Posted 21 January 2015 - 20:09

It took me while what this was doing...

 

if (s.flags and int(s.flags) != 519) & eServiceReference.isDirectory:

 

So I made this out of it...

 

if s.flags & eServiceReference.isDirectory and not s.flags & eServiceReference.isInvisible:

 

:D

 

http://sourceforge.n...c6c47825183286/

 

We have parantal control on bouquets...!!!! So it is simply handy not to call them SEX... :D

 

But without an option to unhide them it does not have a real added value.... So I guess someone made a plugin for that which manupulating directly the config files and reload them or something like that.... At least I guess we seems to compatible with that plugin from the next builds....


Edited by littlesat, 21 January 2015 - 20:28.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: E2 failing to hide a hidden bouquet #8 Huevos

  • PLi® Contributor
  • 4,247 posts

+158
Excellent

Posted 21 January 2015 - 23:27

It took me while what this was doing...

 

if (s.flags and int(s.flags) != 519) & eServiceReference.isDirectory:

 

So I made this out of it...

 

if s.flags & eServiceReference.isDirectory and not s.flags & eServiceReference.isInvisible:

What does that do? How is it used?

 

One of the reasons for a hidden bouquet is you can fill it with placeholders  so you can make spacers between user bouquets without actually editing the user bouquets.

 

This allows bouquet managers to edit channel numbers and the order of bouquets, etc, without editing the bouquets themselves.


Edited by Huevos, 21 January 2015 - 23:31.


Re: E2 failing to hide a hidden bouquet #9 Huevos

  • PLi® Contributor
  • 4,247 posts

+158
Excellent

Posted 21 January 2015 - 23:36

BTW, previously if you wanted to remove a bouquet from the index but not delete it, that was possible, but the commit on 18/07/2014 stopped that because it loads bouquets that arenot in the index. What is the purpose of that?



Re: E2 failing to hide a hidden bouquet #10 Huevos

  • PLi® Contributor
  • 4,247 posts

+158
Excellent

Posted 21 January 2015 - 23:49

It [...] if s.flags & eServiceReference.isDirectory and not s.flags & eServiceReference.isInvisible:

#SERVICE 1:519:1:0:0:0:0:0:0:0:FROM BOUQUET

 

So in your code what would be invisible?

 

#SERVICE 1:0:1:0:0:0:0:0:0:0:FROM BOUQUET ???

 

Or anything that isn't this, #SERVICE 1:7:1:0:0:0:0:0:0:0:?


Edited by Huevos, 21 January 2015 - 23:52.


Re: E2 failing to hide a hidden bouquet #11 Pr2

  • PLi® Contributor
  • 6,074 posts

+257
Excellent

Posted 22 January 2015 - 11:07

Hi,

 

If this feature is really needed, we can image to include the management of this hide/un-hide feature in the same management place where we can add/remove markers in userbouquet (if I am right: in channel list - Menu - Manage bouquet).

Sounds a bit strange to support a feature in OpenPLi itself that we cannot manage except by installing a plugin.

 

Pr2


NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)

AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


Re: E2 failing to hide a hidden bouquet #12 littlesat

  • PLi® Core member
  • 56,269 posts

+691
Excellent

Posted 22 January 2015 - 12:01

Yep... 519 should be invisible now... I just check extra if the invisible flag is not true as the check should be...

512 is the invisible flag,,, 512 + 7 = 519...

Edited by littlesat, 22 January 2015 - 12:06.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: E2 failing to hide a hidden bouquet #13 WanWizard

  • PLi® Core member
  • 68,586 posts

+1,738
Excellent

Posted 22 January 2015 - 12:16

Can someone please explain what the benefit of this is?

 

I saw "hiding bouquets from kids" as the only example, but that is pretty useless, since all channels are available in the "all" list too, and kids don't have a problem at all finding that list...

 

So imho, if the sole purpose of this exercise is a poor-mans parental control, leave it.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: E2 failing to hide a hidden bouquet #14 Huevos

  • PLi® Contributor
  • 4,247 posts

+158
Excellent

Posted 22 January 2015 - 12:40

Can someone please explain what the benefit of this is?

 

I saw "hiding bouquets from kids" as the only example, but that is pretty useless, since all channels are available in the "all" list too, and kids don't have a problem at all finding that list...

 

So imho, if the sole purpose of this exercise is a poor-mans parental control, leave it.

So you want E2 to ignore the "invisible flag" when loading bouquets? And that OpenPLi is not compatible with bouquet manager plugins because it ignores this flag? What is the point having the flag if it going to be ignored?

 

I've already explained above what it is for. It's nothing to do with parental control. If you have a bouquet manager that runs on the reciever you used to be able to select bouquets to add to the index (bouquets.tv) or leave them out. So when not in use the bouquet was still domicile in /etc/enigma2 but not in the index and didn't get loaded.

 

But ever since this commit that is no longer possible because E2 now loads userbouquets irrespective of whether they are in the index or not, and just uses the index for the bouquet order.



Re: E2 failing to hide a hidden bouquet #15 WanWizard

  • PLi® Core member
  • 68,586 posts

+1,738
Excellent

Posted 22 January 2015 - 13:15

I only want one thing: to understand this request. ;)

 

If it is not for parental control, what is this flag for then? It was invented by someone for a specific purpose I assume? In other words, if some "bouquet manager" tomorrow decides it requires fried eggs in bouquet files, should we then follow blindly and implement that? So the fact that "some bouquet manager" uses this, is imho no reason whatsoever to implement it in OpenPLi.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: E2 failing to hide a hidden bouquet #16 jeanclaude

  • Senior Member
  • 866 posts

+28
Good

Posted 22 January 2015 - 16:10

BTW, previously if you wanted to remove a bouquet from the index but not delete it, that was possible, but the commit on 18/07/2014 stopped that because it loads bouquets that arenot in the index. What is the purpose of that?

well, I think I can explain that.

see, I just updated my box with the latest Hans settings, something I do every 6 months. Now normally after such an update, all of my "own" bouquets are gone so I have to recover them using dreamset or dreamboxedit - which is annoying and is giving me extra work. I would like to have an up-to-date Hans bouquets, services list and satellites.xml, but every time Hans updates his settings, I loose my own bouquets.

So I load the Hans settings, copy them to pc, Unload the Hans settings, recover my own bouqets, verify that all services are still working in my bouquets, and send the lot back to my dreambox.

now this no longer necessary - when updating the bouquets with any setting, your local bouquets are no longer lost, they remain available. Only the bouquets which are being downloaded during the update are over-written, whatever bouquet which is not in the update will not be deleted.

so now I kan keep the Hans settings actively loaded and continue updating, without loosing my own bouquets.

I don't really know how they do it, but for me it works, and that's what commit you're referring to is for.

now I'm not sure what the link is with -hidden- bouquets here, but I thought it worth mentionning.


Edited by jeanclaude, 22 January 2015 - 16:11.

DreamBox 7000S+8000HD (eindelijk), openPLi, CCcam, 85 cm schotel, draaibare opstelling en VEEL te weinig slaap.

Re: E2 failing to hide a hidden bouquet #17 Huevos

  • PLi® Contributor
  • 4,247 posts

+158
Excellent

Posted 22 January 2015 - 18:10

Yes, but every time there is a mod it favours one party over another. At least with this second mod it is possible for the writers of the bouquet manager plugins to get them fully operational again (with a little bit of coding).

Re: E2 failing to hide a hidden bouquet #18 littlesat

  • PLi® Core member
  • 56,269 posts

+691
Excellent

Posted 22 January 2015 - 18:16


, but every time Hans updates his settings, I loose my own bouquets.

Not anymore.... your own created bouquets will be added on the top of the userbouquets.... automatically with openpli since more than half a year ago or so....


WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: E2 failing to hide a hidden bouquet #19 jeanclaude

  • Senior Member
  • 866 posts

+28
Good

Posted 22 January 2015 - 18:37

yes, so I've found out.

why didn't anybody tell me about that when I started this thread : http://forums.openpl...ndpost&p=459519

 

but I'm not complaining - this is exactly what I wanted.


DreamBox 7000S+8000HD (eindelijk), openPLi, CCcam, 85 cm schotel, draaibare opstelling en VEEL te weinig slaap.

Re: E2 failing to hide a hidden bouquet #20 Huevos

  • PLi® Contributor
  • 4,247 posts

+158
Excellent

Posted 23 January 2015 - 18:59

Why has the commit been reverted? So now the plugin is useless in PLi even though it is using the correct flags. Brilliant, well done.


Edited by Huevos, 23 January 2015 - 18:59.



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users