mirror of
https://github.com/Pecusx/piradio-mini.git
synced 2026-05-20 22:33:44 +02:00
New option in radiod.conf
Added option for force streaming in 1 core raspberies (force_streaming=yes).
This commit is contained in:
+1
-1
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user