Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

Noob question: Solving crash problems
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Noob question: Solving crash problems
9th Jun, 2014, 11:57 PM
Post: #29
menakite Offline
Management
******
Posts: 175
Joined: Apr 2014
Reputation: 27
RE: Noob question: Solving crash problems
(9th Jun, 2014 05:22 PM)belese Wrote:  what are you needed that are not on xbmc python api?
It's missing the callbacks for the clean library actions (start/finished), my patch adds these. (My other patch added Player.isPlayingChannel() for PVR as I see it forces priority 5, but I ended up with Player.getPlayingFile().startswith("pvr://"))
I'll try to get this upstream, though Gotham only gets fixes so it won't land there.

Quote:if you want an addon, maybe rewrite it by using
http://romanvm.github.io/xbmcstubs/docs/classxbmc_1_1_monitor.html
I'm indeed subclassing Monitor and Player.

Quote:you can have access to all json notification, and it doesn't need to have json-server on.
Yeah, that's what I'm trying to achieve: avoid these problems by not depending on something the user can disable or change its settings.

Quote:or there is already a kind of xbmc/xbian service in xbian-config addon,
it's kind of plugnplay, you can just add a file in service dir (class name should be the same that file name),
EDIT : my mistake, it's not yet pnp, you have to add service here too (but code exist for pnp, so can add it)
https://github.com/xbianonpi/xbian-package-config-xbmc/blob/master/content/usr/local/share/xbmc/addons/plugin.xbianconfig/services.py

which herit from service like this
https://github.com/xbianonpi/xbian-package-config-xbmc/blob/master/content/usr/local/share/xbmc/addons/plugin.xbianconfig/services/firstrun.py

class service herit from xbmc.monitor, so all cb are accessible.
Ah! I didn't really know about this possibility, though I prefer if they remain separate.
I'll ping you on GitHub when I finish the remaining bits, test and then push.
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Messages In This Thread
Noob question: Solving crash problems - JumbledGrass - 4th Jun, 2014, 10:29 PM
RE: Noob question: Solving crash problems - Skywatch - 4th Jun, 2014, 11:50 PM
RE: Noob question: Solving crash problems - JumbledGrass - 5th Jun, 2014, 03:59 AM
RE: Noob question: Solving crash problems - IriDium - 5th Jun, 2014, 04:29 AM
RE: Noob question: Solving crash problems - JumbledGrass - 5th Jun, 2014, 06:48 AM
RE: Noob question: Solving crash problems - JumbledGrass - 5th Jun, 2014, 10:36 PM
RE: Noob question: Solving crash problems - IriDium - 6th Jun, 2014, 04:34 AM
RE: Noob question: Solving crash problems - JumbledGrass - 6th Jun, 2014, 07:24 PM
RE: Noob question: Solving crash problems - belese - 7th Jun, 2014, 01:15 AM
RE: Noob question: Solving crash problems - JumbledGrass - 7th Jun, 2014, 03:42 AM
RE: Noob question: Solving crash problems - menakite - 7th Jun, 2014, 04:03 AM
RE: Noob question: Solving crash problems - JumbledGrass - 7th Jun, 2014, 04:12 AM
RE: Noob question: Solving crash problems - menakite - 7th Jun, 2014, 04:36 AM
RE: Noob question: Solving crash problems - JumbledGrass - 7th Jun, 2014, 04:44 AM
RE: Noob question: Solving crash problems - menakite - 7th Jun, 2014, 04:59 AM
RE: Noob question: Solving crash problems - JumbledGrass - 7th Jun, 2014, 05:30 AM
RE: Noob question: Solving crash problems - menakite - 7th Jun, 2014, 05:59 AM
RE: Noob question: Solving crash problems - belese - 7th Jun, 2014, 05:18 PM
RE: Noob question: Solving crash problems - JumbledGrass - 8th Jun, 2014, 02:27 AM
RE: Noob question: Solving crash problems - CurlyMo - 8th Jun, 2014, 02:35 AM
RE: Noob question: Solving crash problems - JumbledGrass - 8th Jun, 2014, 02:44 AM
RE: Noob question: Solving crash problems - CurlyMo - 8th Jun, 2014, 03:14 AM
RE: Noob question: Solving crash problems - JumbledGrass - 8th Jun, 2014, 03:34 AM
RE: Noob question: Solving crash problems - menakite - 9th Jun, 2014, 11:15 AM
Re: Noob question: Solving crash problems - CurlyMo - 9th Jun, 2014, 01:56 AM
RE: Noob question: Solving crash problems - JumbledGrass - 9th Jun, 2014, 02:36 AM
Re: Noob question: Solving crash problems - CurlyMo - 9th Jun, 2014, 02:37 AM
RE: Noob question: Solving crash problems - belese - 9th Jun, 2014, 05:22 PM
RE: Noob question: Solving crash problems - menakite - 9th Jun, 2014 11:57 PM

Possibly Related Threads...
Thread: Author Replies Views: Last Post
  Noob question, get a script running at boot huibert 26 73,991 20th Jun, 2014 11:21 PM
Last Post: josch

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 26th May, 2025, 06:46 AM Powered By MyBB, © 2002-2025 MyBB Group.