Browse Source

Playlist permissions fix and file cleanup.

master
buttstuf 6 months ago
parent
commit
ff057d906d
  1. 1
      scripts/streaming/main/main-stream_files
  2. 1
      scripts/streaming/main/main-stream_live_alsa
  3. 1
      scripts/streaming/testing/testing-stream_files
  4. 1
      scripts/streaming/testing/testing-stream_live_alsa
  5. 2
      scripts/system/system-declarations

1
scripts/streaming/main/main-stream_files

@ -54,7 +54,6 @@ if [[ -f "$STREAMABLE_CONFIG_FILE_PATH" ]];
printf "${COLOR_MAGENTA}"
# Launch Liquidsoap using variables
# liquidsoap 'set("frame.audio.size",'$HARDWARE_AUDIO_FRAME_SIZE'); output.icecast(%mp3,host="'$MAIN_HOST'",port='$MAIN_PORT',user="'$MAIN_USER'",password="'$MAIN_PASSWORD'",mount="'$MAIN_MOUNT'",mksafe(playlist.once(random='$MAIN_RANDOMIZE_PLAYLIST_FILES',on_done=shutdown,"'$PLAYLIST_URL'")))';
liquidsoap '
set("frame.audio.size",'$HARDWARE_AUDIO_FRAME_SIZE');

1
scripts/streaming/main/main-stream_live_alsa

@ -77,7 +77,6 @@ if [[ -f "$STREAMABLE_CONFIG_FILE_PATH" ]];
# Launch Liquidsoap using variables
# liquidsoap 'set("frame.audio.size",'$HARDWARE_AUDIO_FRAME_SIZE'); output.icecast(%mp3,host="'$MAIN_HOST'",port='$MAIN_PORT',user="'$MAIN_USER'",password="'$MAIN_PASSWORD'",mount="'$MAIN_MOUNT'",mksafe(playlist.once(random='$MAIN_RANDOMIZE_PLAYLIST_FILES',on_done=shutdown,"'$PLAYLIST_URL'")))';
liquidsoap '
set("frame.audio.size",'$HARDWARE_AUDIO_FRAME_SIZE');

1
scripts/streaming/testing/testing-stream_files

@ -56,7 +56,6 @@ if [[ -f "$STREAMABLE_CONFIG_FILE_PATH" ]];
# Launch Liquidsoap using variables
# liquidsoap 'set("frame.audio.size",'$HARDWARE_AUDIO_FRAME_SIZE'); output.icecast(%mp3,host="'$TESTING_HOST'",port='$TESTING_PORT',user="'$TESTING_USER'",password="'$TESTING_PASSWORD'",mount="'$TESTING_MOUNT'",mksafe(playlist.once(random='$RANDOMIZE_PLAYLIST_FILES',on_done=shutdown,"'$PLAYLIST_URL'")))';
liquidsoap '
set("frame.audio.size",'$HARDWARE_AUDIO_FRAME_SIZE');

1
scripts/streaming/testing/testing-stream_live_alsa

@ -77,7 +77,6 @@ if [[ -f "$CURRENTLY_ACTIVE_CONFIG_NAME" ]];
# Launch Liquidsoap using variables
# liquidsoap 'set("frame.audio.size",'$HARDWARE_AUDIO_FRAME_SIZE'); output.icecast(%mp3,host="'$TESTING_HOST'",port='$TESTING_PORT',user="'$TESTING_USER'",password="'$TESTING_PASSWORD'",mount="'$TESTING_MOUNT'",mksafe(playlist.once(random='$RANDOMIZE_PLAYLIST_FILES',on_done=shutdown,"'$PLAYLIST_URL'")))';
liquidsoap '
set("frame.audio.size",'$HARDWARE_AUDIO_FRAME_SIZE');

2
scripts/system/system-declarations

@ -4,7 +4,7 @@
# PERMISSIONS OWNER (chown)
APPLICATION_FILE_OWNER="pi"
APPLICATION_FILE_OWNER=$(whoami)
# APPLICATION DIRECTORIES
DECLARATIONS_DIRECTORY="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"

Loading…
Cancel
Save