Jump to content


Photo

How to reset plugin factory settings?


  • Please log in to reply
8 replies to this topic

#1 Spittek

  • Senior Member
  • 47 posts

+1
Neutral

Posted 11 January 2019 - 17:34

Hi,

 

Is there a possibility to reset to factory settings when making settings in a plugin?

 
I have adjusted too much in the plugin "AutoTimer". Then I uninstalled the AutoTimer and deleted the AutoTimer.xml. After reinstalling all previously made settings were back.
 
Any idea? Thank you!

VU+ Zero 4K - OpenPLi 6.2 - Astra 19.2° - USB-HDD


Re: How to reset plugin factory settings? #2 littlesat

  • PLi® Core member
  • 47,871 posts

+500
Excellent

Posted 11 January 2019 - 17:36

Yep... it is in the setup menu...

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


Re: How to reset plugin factory settings? #3 ims

  • PLi® Core member
  • 11,054 posts

+165
Excellent

Posted 11 January 2019 - 17:54

init 4

open /etc/enigma2/settings in some editor knows linux format (i am using komodo f.eg. under win)

remove all lines "config.plugins.autotimer........

save file

init 3


Kdo nic nedělá, nic nezkazí!

Re: How to reset plugin factory settings? #4 Spittek

  • Senior Member
  • 47 posts

+1
Neutral

Posted 11 January 2019 - 18:14

@littlesat: This resets all settings? But I will reset only the settings of a plugin (autotimer)

 

@ims: Ok, I will try it. I use iDreamX for Mac.


VU+ Zero 4K - OpenPLi 6.2 - Astra 19.2° - USB-HDD


Re: How to reset plugin factory settings? #5 littlesat

  • PLi® Core member
  • 47,871 posts

+500
Excellent

Posted 11 January 2019 - 19:08

When the plugin uses the config system from enigma2 all is cleared.’when the plugin uses something different (eg seperate xml file or so) not...

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


Re: How to reset plugin factory settings? #6 Spittek

  • Senior Member
  • 47 posts

+1
Neutral

Posted 11 January 2019 - 20:13

I've tried it twice now, but unfortunately does not work. If I uninstall the autotimer plugin, the entries in etc/enigma2/settings persist.

 
The file autotimer.xml contains only the existing autotimer and has nothing to do with the settings.
 
So unfortunately I have to delete the config entries manually from the settings-file after uninstalling Autotimer and restarting Enigma.

VU+ Zero 4K - OpenPLi 6.2 - Astra 19.2° - USB-HDD


Re: How to reset plugin factory settings? #7 Pr2

  • PLi® Contributor
  • 3,414 posts

+147
Excellent

Posted 11 January 2019 - 20:31

Steps are:

 

1. Connect in telnet to your box (see wiki for the howto on Mac) and type:

 

init 4

 

2. Edit the file with your text Editor: BBedit for exemple on Mac and remove the autotimer lines.

 

3. Go back to your telnet session and type:

 

init 3

 

Your setting are now cleaned up.

 

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)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


Re: How to reset plugin factory settings? #8 ims

  • PLi® Core member
  • 11,054 posts

+165
Excellent

Posted 11 January 2019 - 21:00

 

I've tried it twice now, but unfortunately does not work. If I uninstall the autotimer plugin, the entries in etc/enigma2/settings persist.

 
The file autotimer.xml contains only the existing autotimer and has nothing to do with the settings.
 
So unfortunately I have to delete the config entries manually from the settings-file after uninstalling Autotimer and restarting Enigma.

 

 

of course ... uninstall plugin remove nothing from settings file. You must use what i wrote.


Kdo nic nedělá, nic nezkazí!

Re: How to reset plugin factory settings? #9 Spittek

  • Senior Member
  • 47 posts

+1
Neutral

Posted 11 January 2019 - 21:03

Ah ok! I thought, if I uninstall a plugin, the plugin settings automatically will reset.

 

With telnet stop-start-command and edit the settings-file it will work now.

 

Thank you very much!


VU+ Zero 4K - OpenPLi 6.2 - Astra 19.2° - USB-HDD





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users