Sponsored links


Go Back   Sat Industry Forums > Dreambox > Dreambox Development
Register FAQ Members List Calendar Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-11-2008
mailinator's Avatar
Registered User
 
Join Date: Jun 2006
Posts: 38
Thanks: 0
Thanked 2 Times in 2 Posts
mailinator is on a distinguished road
Auto start up plugin

Hi friends I'm trying to write a plugin which will start automatically when enigma starts and ask a question to user then it can be closed only by entering save button. Not by pushing exit button in RC.

I tried to enter AutostartPlugin type in .cfg file but nothing happened.

Is it possible or Do I have to add my function into core enigma.

Thanks folks
Reply With Quote
Sponsored links
  #2 (permalink)  
Old 08-20-2008
Registered User
 
Join Date: Aug 2008
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
intruderia is on a distinguished road
Re: Auto start up plugin

i am also interested in creating a autostart plugin ,can you share your sample to us?sowe can analyse?
Reply With Quote
  #3 (permalink)  
Old 09-12-2008
Registered User
 
Join Date: Aug 2008
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
intruderia is on a distinguished road
Re: Auto start up plugin

i am still looking for a way to autostart please help
Reply With Quote
  #4 (permalink)  
Old 09-15-2008
mailinator's Avatar
Registered User
 
Join Date: Jun 2006
Posts: 38
Thanks: 0
Thanked 2 Times in 2 Posts
mailinator is on a distinguished road
Re: Auto start up plugin

I am able to start a plugin by using RunPluginExt method located in enigma_main.cpp. I have copied it with another name and called this method in enigma.cpp. But I have a problem that, plugin must run under current service object. If you don't do like that it gives segmentation fault. I am unable to reach current service object or current eZapMain object whatever under the enigma.cpp.

Thanks for your helps....
Reply With Quote
  #5 (permalink)  
Old 09-15-2008
Registered User
 
Join Date: Aug 2008
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
intruderia is on a distinguished road
Re: Auto start up plugin

nice knowladge.

i have learned a way to run plugin from wget. cant remember now but it has an option for running. that. if you want to run this plugin automaticly you should edit start up sh files like rcs and init.d with

wget [dir]/startplugin?myplugin


and easier way:

another option is i examined enigma plugin source. if you edit cfg file of a plugin there is a type= identifier. 1,2,3,4,5 4 is the autostartplugin type.
change the type of your plugin to autostart automaticly.

wish that would help
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
missing plugin or idea for plugin pumo Plugins 0 03-21-2006 05:00 AM
Bug when i start a plugin... cristiao The_Hydra Images 1 10-19-2004 07:19 PM
Auto-language Audio Select : Possible in plugin ? redneck eyeball The_Hydra Images 10 09-16-2004 11:50 PM


All times are GMT +10. The time now is 02:15 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Page generated in 0.21448 seconds with 10 queries