Skip to content

Commit

Permalink
Add XBMC Minix edition. Allow for custom app_id
Browse files Browse the repository at this point in the history
  • Loading branch information
steeve committed Dec 10, 2013
1 parent 1f7d5a3 commit 91410b1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
3 changes: 3 additions & 0 deletions resources/settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,8 @@

<setting label="Google Analytics" type="lsep"/>
<setting id="ga_disable" type="bool" label="Disable (except for index)" default="false" />

<setting label="XBMC Android" type="lsep"/>
<setting id="android_app_id" type="text" label="Custom Android Application ID" default="org.xbmc.xbmc" />
</category>
</settings>
10 changes: 6 additions & 4 deletions resources/site-packages/xbmctorrent/torrent2http.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,15 @@
from xbmctorrent.common import RESOURCES_PATH
from xbmctorrent.platform import PLATFORM
from xbmctorrent.utils import url_get
from xbmctorrent import plugin


ANDROID_XBMC_IDS = [
"org.xbmc.xbmc", # Stock XBMC
"tv.ouya.xbmc", # OUYA XBMC
"com.semperpax.spmc", # SemPer Media Center (OUYA XBMC fork)
"hk.minix.xbmc", # Minix XBMC
"org.xbmc.xbmc", # Stock XBMC
"tv.ouya.xbmc", # OUYA XBMC
"com.semperpax.spmc", # SemPer Media Center (OUYA XBMC fork)
"hk.minix.xbmc", # Minix XBMC
plugin.get_setting("android_app_id"), # Whatever the user sets
]


Expand Down

0 comments on commit 91410b1

Please sign in to comment.