Skip to content

Commit

Permalink
commit
Browse files Browse the repository at this point in the history
  • Loading branch information
cip committed Jan 2, 2017
1 parent ad0f314 commit 2c5c3ae
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion addon.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="plugin.video.streams"
name="Streams"
version="0.3.7"
version="0.3.8"
provider-name="Moromete">
<requires>
<import addon="xbmc.python" version="2.1.0"/>
Expand Down
3 changes: 3 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
v 0.3.8
1. change arm linux detection

v 0.3.7
1. fix program guide response if is not a valid json

Expand Down
8 changes: 5 additions & 3 deletions settings.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import os, sys
from urlparse import urlparse
from posixpath import basename, dirname
from glob import addon, is_exe
from glob import addon, addon_log, is_exe

class SETTINGS(object):

Expand Down Expand Up @@ -31,8 +31,10 @@ class SETTINGS(object):
#raspberry pi
QEMU = "qemu-i386" #for raspberry pi to issue kill command
ARM = False
if sys.platform.startswith('arm'):
ARM = True

if sys.platform.startswith('linux'):
if(os.uname()[4][:3] == 'arm'): #not supported by windows
ARM = True

if ARM == False :
SPSC = os.path.join(ADDON_PATH, 'bin/linux_x86/sopcast', SPSC_BINARY)
Expand Down

0 comments on commit 2c5c3ae

Please sign in to comment.