Close Kodi Properly (Programmaticaly) in Android

  Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
FreakMurderer Offline
Junior Member
Posts: 35
Joined: Jul 2015
Reputation: 0
Question  Close Kodi Properly (Programmaticaly) in Android
Post: #1
On android:
Any BroadcastReceivers or any other methods ? Help Nod

How close kodi in android by NOT this way:
Code:
kill $(pgrep org.xbmc.kodi)
from java android application?
find quote
nickr Offline
Team-Kodi Member
Posts: 18,228
Joined: May 2009
Reputation: 363
Location: Christchurch NZ
Post: #2
kodi-send --action="Quit'

If I have helped you or increased your knowledge, click the 'thank user' button to give thanks :) (People with less than 20 posts won't see the "Thank you" button.)
find quote
FreakMurderer Offline
Junior Member
Posts: 35
Joined: Jul 2015
Reputation: 0
Post: #3
(2017-05-06 04:41)nickr Wrote:  kodi-send --action="Quit'

What is "kodi-send"? Is it possible in android?
Thank you ...
find quote
nickr Offline
Team-Kodi Member
Posts: 18,228
Joined: May 2009
Reputation: 363
Location: Christchurch NZ
Post: #4
Not sure if it is in the android apk, the other option of course is to send Quit via JSON.

If I have helped you or increased your knowledge, click the 'thank user' button to give thanks :) (People with less than 20 posts won't see the "Thank you" button.)
find quote
FreakMurderer Offline
Junior Member
Posts: 35
Joined: Jul 2015
Reputation: 0
Post: #5
Do you mean this:
https://github.com/xbmc/xbmc/blob/master...di-send.py
?
find quote
nickr Offline
Team-Kodi Member
Posts: 18,228
Joined: May 2009
Reputation: 363
Location: Christchurch NZ
Post: #6
yes that looks like it Smile

If I have helped you or increased your knowledge, click the 'thank user' button to give thanks :) (People with less than 20 posts won't see the "Thank you" button.)
find quote