Permalink
Browse files

add android xbmc log path (experimental)

  • Loading branch information...
1 parent 6691ad2 commit ef4484aa6a0279a2ae1fb17e6bd106d3d30ed3cb @dersphere committed Aug 6, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 addon.py
View
4 addon.py
@@ -135,6 +135,10 @@ def __get_logs(self):
log_path = xbmc.translatePath('special://home/temp')
crashlog_path = os.path.expanduser('~')
crashfile_match = 'xbmc_crashlog'
+ elif xbmc.getCondVisibility('system.platform.android'):
+ log_path = '/data/data/org.xbmc.xbmc/cache/temp/'
+ crashlog_path = None
+ crashfile_match = None
else:
# we are on an unknown OS and need to fix that here
raise Exception('UNHANDLED OS')

3 comments on commit ef4484a

@MartijnKaijser

Once the Android APKs get build by the team you can probably change this to
log_path = xbmc.translatePath('special://logpath/')

@dersphere
Owner

I know - see my comment in the regarding xbmc commit.
But I won't manage two versions until frodo addon branch is created.

Can you test the above method (this commit) on android?

@MartijnKaijser

Haven't got an android device (that can run XBMC)

Please sign in to comment.