i have coded a plugin , i want it to start everytime automaticly when enigma1 starts.
i tried cfg file type=4 but doesnt work. any another way?
i need it to be run automaticly everytime enigma starts helps plsss!
how to make a plugin autorun
-
- Neugieriger
- Beiträge: 9
- Registriert: Donnerstag 21. August 2008, 10:14
-
- Einsteiger
- Beiträge: 342
- Registriert: Freitag 24. September 2004, 12:48
Re: how to make a plugin autorun
is your plugin .sh or .so type? does your plugin needs enigma GUI to start? there are several ways to start plugin in enigma, I assume you want to start .so plugin, .sh plugin can be started as usual script, .sh scripts won et make any problems, hier some hints to start .so plugin
wget -q -O /dev/null "http://login:password@your_box_ip/cgi-bin/startPlugin?name=your_plugin.cfg"
it needs web interface to start, it may not start on boot time, if you put some sleep (for example 60 seconds, web interface will be loaded in that time), it may work
sleep 60 && wget -q -O /dev/null "http://login:password@your_box_ip/cgi-bin/startPlugin?name=your_plugin.cfg" &
another way (I didn et test it thorougly, though) is to create a file /var/tuxbox/config/enigma/plugins and put there your plugins you want to start, for example
#/var/tuxbox/config/enigma/plugins
/var/tuxbox/plugins/pico.so
.....
.....
type=4, type=5 plugins I tested myself on enigma, it didn et work
mrvica
wget -q -O /dev/null "http://login:password@your_box_ip/cgi-bin/startPlugin?name=your_plugin.cfg"
it needs web interface to start, it may not start on boot time, if you put some sleep (for example 60 seconds, web interface will be loaded in that time), it may work
sleep 60 && wget -q -O /dev/null "http://login:password@your_box_ip/cgi-bin/startPlugin?name=your_plugin.cfg" &
another way (I didn et test it thorougly, though) is to create a file /var/tuxbox/config/enigma/plugins and put there your plugins you want to start, for example
#/var/tuxbox/config/enigma/plugins
/var/tuxbox/plugins/pico.so
.....
.....
type=4, type=5 plugins I tested myself on enigma, it didn et work
mrvica
-
- Neugieriger
- Beiträge: 9
- Registriert: Donnerstag 21. August 2008, 10:14
Re: how to make a plugin autorun
as you say ,sleep can be helpful , but i am trying the second option. if there is a autostart plugin type.. it should work. i am trying it