Windows How to call XBMC.ShutDown() internally without onclick event on back-row skin

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
amaresh Offline
Junior Member
Posts: 7
Joined: May 2012
Reputation: 0
Post: #1
Hi guys,

I have integrated XBMC with another application, When we stop playing video file in XBMC or its completed, then it should automatically shout down the XBMC go to that application.

When we stop playing video files in XBMC it should internally call XBMC.ShutDown() without on click event.

Anyone can please help on this.

Advanced Thanks!!

Thanks & Regards
Amaresh.
find quote
jhsrennie Offline
Team-XBMC Developer
Posts: 7,237
Joined: Nov 2008
Reputation: 117
Location: Chester, UK
Post: #2
It can be done, but XBMC wasn't designed to be used this way so it's a bit messy. You would have to write a service add-on that received player notifications and have it execute a shutdown when it receives the playback stopped notification.

To be honest you would be better off using VLC or (on Windows) MPC-HC rather than XBMC. These apps are designed to be used in the way you want.
find quote
digitaltomj Offline
Senior Member
Posts: 295
Joined: May 2011
Reputation: 1
Location: Miami
Post: #3
If it were me...I would use an outside code to make windows send Alt+F4...It would be fairly simple to do in any coding language, and probably the most elegant solution.
find quote