Huehnerbrust / romcollectionbrowser

Automatically exported from code.google.com/p/romcollectionbrowser
GNU General Public License v2.0
0 stars 0 forks source link

Autostarting ROM Collection Browser addon on startup? #166

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. add autoexec.py under ~/.xbmc/userdata/
2. add contents in notes below
3. start xbmc

What is the expected output? What do you see instead?
Autostarting ROM Collection Browser

What version of the product are you using? On what operating system?
Default version for XBMC Frodo, Ubuntu 14.04 LTS

Please provide any additional information below.

Anyone know how to properly autostart ROM Collection Browser on #XBMC ? 
Autostart.py keeps failing. I saw the service for RCB but am unsure how if that 
is it and to start it. Still looking through default.py but any help would be 
awesome. I've looked at the XBMC wiki page for this as well.

Making autostart.py with: 

 importxbmc  
 xbmc.executebuiltin("RunAddon(script.NAME)")  

Just fails. I can try to autostart the service that RCB has, but looking at the 
default.py and settings.xml files, it may seem I need something else. 

Original issue reported on code.google.com by mdegu...@gmail.com on 13 May 2014 at 11:54

GoogleCodeExporter commented 9 years ago
I corrected this by placing

  <extension point="xbmc.service" library="default.py" start="login"></extension>  

Above the line:

<extension point="xbmc.addon.metadata">

Original comment by mdegu...@gmail.com on 13 Jun 2014 at 12:05

GoogleCodeExporter commented 9 years ago
You could probably add this as an option in the settings menu, it would be easy 
to add in on command. If not, you can close this issue.

Original comment by mdegu...@gmail.com on 13 Jun 2014 at 12:07

GoogleCodeExporter commented 9 years ago
Haha, nice one. Didn't think of making complete RCB a service. If I had done it 
myself I would have added an option to RCB service.

I guess I will still stick to my approach if I will implement this in RCBs main 
line. But your solution is a nice workaround until I find the time to add this 
option. Thanks!

Original comment by maloep on 13 Jun 2014 at 2:26

GoogleCodeExporter commented 9 years ago
It's a decent workaround yes. I took this out actually, since I know have a 
cusom XBMC home screen, and I start it manually, but I figured this would help 
others. You can close the ticket once you wrap things up on your end (if 
anything). I have another ticket in if you didn't see it, #175. Bit of a weird 
one, but not a show stopper. Your add on makes my GitHub project shine, so I 
thank you immensely.

Original comment by mdegu...@gmail.com on 13 Jun 2014 at 2:49