New option in radiod.conf

Added option for force streaming in 1 core raspberies (force_streaming=yes).
This commit is contained in:
Pecusx
2017-06-18 14:13:22 +02:00
committed by GitHub
parent ce63f75767
commit 2dcf228b73
2 changed files with 13 additions and 1 deletions
+1 -1
View File
@@ -1485,7 +1485,7 @@ class Radio:
# Check if icecast streaming installed and pocessor has more than 1 core
def streamingAvailable(self):
fpath = "/usr/bin/icecast2"
return os.path.isfile(fpath) and os.access(fpath, os.X_OK) and (self.cores>1)
return os.path.isfile(fpath) and os.access(fpath, os.X_OK) and ((self.cores>1) or config.getForceStreaming())
# Store stram on or off in streaming file
def storeStreaming(self,onoff):