Jump to content


Photo

Hide/Unhide bouquets


  • Please log in to reply
4 replies to this topic

#1 stix

  • Member
  • 18 posts

0
Neutral

Posted 19 April 2013 - 23:13

On enigma2 I missing feature to hide/show bouquets. so I got this idea:

 

1) copy original bouquets.tv to /etc/enigma2/unhide/bouquets.tv

2) copy original bouquets.tv to /etc/enigma2/hide/bouquets.tv, edit and delete line with bouquets to hide

 

Now for hide bouquets run:

 

mv /etc/enigma2/hide/bouquets.tv /etc/enigma2/bouquets.tv
wget -O- http://127.0.0.1/web/servicelistreload?mode=2 > /dev/null

 

 

For unhide bouquets run:

 

mv /etc/enigma2/unhide/bouquets.tv /etc/enigma2/bouquets.tv
wget -O- http://127.0.0.1/web/servicelistreload?mode=2 > /dev/null
 

 

 

My question is - how to make script or plugin for running these commands easy via remote controller?


Edited by stix, 19 April 2013 - 23:14.


Re: Hide/Unhide bouquets #2 ims

  • PLi® Core member
  • 13,986 posts

+216
Excellent

Posted 19 April 2013 - 23:21

If you want run some commands from RC, you can use ppanel for it...


Kdo nic nedělá, nic nezkazí!

Re: Hide/Unhide bouquets #3 stix

  • Member
  • 18 posts

0
Neutral

Posted 19 April 2013 - 23:29

great, thanks for help. I attach my ppanel file for others.

and small change, in first post I use "mv" instead of "cp"

Attached Files


Edited by stix, 19 April 2013 - 23:30.


Re: Hide/Unhide bouquets #4 ims

  • PLi® Core member
  • 13,986 posts

+216
Excellent

Posted 19 April 2013 - 23:30

As I saw, there is missing example for it ...  Create .xml file (linux) and place it into /etc/ppanels

 

Here are some examples.

 

<?xml version="1.0" encoding="ISO-8859-2"?>

<directory name="Some for test...">
	<execute name="Example for more commands"
		target="first_command;
		second_command2"
		helptext="Help for example with more commands"/>

 	<separator/>

	<execute name="mount"
		target="mount | grep '/dev/sd'"
		helptext="display mount"/>

	<execute name="free memory"
		target="free"
		helptext="display free memory"/>

	<execute name="free space"
		target="df -h"
		helptext="display free space"/>

	<execute name="blkid"
		target="blkid | grep '/dev/sd'"
		helptext="get UUID and LABEL"/> 
		     
	<execute name="remove all crashlogs"
		target="rm /media/hdd/*.log"
		helptext="remove all crashlogs from /hdd"
		confirmation="remove?"/> 
</directory>

Then you can call it from extensions menu (blue button)

 

In ppanel can be used quit on end too:  quit="exit"


Edited by ims, 19 April 2013 - 23:37.

Kdo nic nedělá, nic nezkazí!

Re: Hide/Unhide bouquets #5 Meega

  • Senior Member
  • 3,000 posts

+51
Good

Posted 20 April 2013 - 05:49

There is a plugin enigma2-plugin-systemplugins-bouquetsprotection and it's in the feed .


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



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users