From 4f8f4c90b6f3cc8c046a1cb7d0acbde04394ca49 Mon Sep 17 00:00:00 2001 From: David Trattnig <david.trattnig@o94.at> Date: Thu, 4 Jun 2020 11:18:26 +0200 Subject: [PATCH] Update license headers. --- engine-api.py | 10 ++--- engine-core.py | 14 +++---- guru.py | 31 ++++++-------- modules/base/config.py | 13 +++--- modules/base/enum.py | 31 ++++++-------- modules/base/exceptions.py | 30 ++++++------- modules/base/logger.py | 7 ++-- modules/base/utils.py | 31 ++++++-------- modules/cli_tool/padavan.py | 31 ++++++-------- modules/communication/liquidsoap/client.py | 31 ++++++-------- .../communication/liquidsoap/playerclient.py | 31 ++++++-------- modules/communication/mail.py | 31 ++++++-------- modules/communication/redis/adapter.py | 31 ++++++-------- modules/communication/redis/messenger.py | 31 ++++++-------- modules/communication/redis/statestore.py | 31 ++++++-------- modules/core/engine.py | 31 ++++++-------- modules/core/monitor.py | 11 +++-- modules/core/startup.py | 13 +++--- modules/core/state.py | 11 +++-- modules/database/model.py | 31 ++++++-------- modules/liquidsoap/engine.liq | 32 +++++++------- modules/liquidsoap/fallback.liq | 32 +++++++------- modules/liquidsoap/in_filesystem.liq | 31 ++++++-------- modules/liquidsoap/in_soundcard.liq | 32 +++++++------- modules/liquidsoap/in_stream.liq | 32 +++++++------- modules/liquidsoap/library.liq | 32 +++++++------- modules/liquidsoap/out_filesystem.liq | 32 +++++++------- modules/liquidsoap/out_soundcard.liq | 32 +++++++------- modules/liquidsoap/out_stream.liq | 32 +++++++------- .../liquidsoap/outgoing_recordings/aac.liq | 19 +++++++++ .../liquidsoap/outgoing_recordings/flac.liq | 19 +++++++++ .../liquidsoap/outgoing_recordings/mp3.liq | 19 +++++++++ .../liquidsoap/outgoing_recordings/ogg.liq | 19 +++++++++ .../liquidsoap/outgoing_recordings/opus.liq | 19 +++++++++ .../liquidsoap/outgoing_recordings/wav.liq | 19 +++++++++ modules/liquidsoap/outgoing_streams/aac.liq | 19 +++++++++ modules/liquidsoap/outgoing_streams/flac.liq | 19 +++++++++ modules/liquidsoap/outgoing_streams/mp3.liq | 19 +++++++++ modules/liquidsoap/outgoing_streams/ogg.liq | 19 +++++++++ modules/liquidsoap/outgoing_streams/opus.liq | 19 +++++++++ modules/liquidsoap/readini.liq | 20 +++++++++ modules/liquidsoap/serverfunctions.liq | 31 ++++++-------- modules/liquidsoap/settings.liq | 31 ++++++-------- modules/liquidsoap/unused_record.liq | 18 ++++++++ modules/liquidsoap/unused_recorder.liq | 19 +++++++++ modules/liquidsoap/unused_stream.liq | 18 ++++++++ modules/scheduling/calendar.py | 39 ++++++++--------- modules/scheduling/calender_fetcher.py | 21 ++++++++++ modules/scheduling/fallback_manager.py | 42 +++++++------------ modules/scheduling/scheduler.py | 38 ++++++++--------- testing/connection_tester.py | 33 +++++++-------- testing/test.py | 20 +++++++++ testing/tests.py | 30 ++++++------- 53 files changed, 756 insertions(+), 581 deletions(-) diff --git a/engine-api.py b/engine-api.py index 1ae79c04..f019d29d 100644 --- a/engine-api.py +++ b/engine-api.py @@ -1,20 +1,20 @@ #!/usr/bin/env python3.7 # -# Aura Engine +# Aura Engine (https://gitlab.servus.at/aura/engine) +# +# Copyright (C) 2017-2020 - The Aura Engine Team. # -# Copyright (C) 2020 David Trattnig <david.trattnig@subsquare.at> - # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. - +# # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. - +# # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. diff --git a/engine-core.py b/engine-core.py index a8c45d2f..9eda0b62 100755 --- a/engine-core.py +++ b/engine-core.py @@ -1,28 +1,24 @@ #!/usr/bin/env python3.7 # -# Aura Engine +# Aura Engine (https://gitlab.servus.at/aura/engine) +# +# Copyright (C) 2017-2020 - The Aura Engine Team. # -# Copyright (C) 2017-2020 -# David Trattnig <david.trattnig@subsquare.at> -# Gottfried Gaisbauer <gottfried.gaisbauer@servus.at> - # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. - +# # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. - +# # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. - - import os import sys import meta diff --git a/guru.py b/guru.py index b5343a33..99f662a1 100755 --- a/guru.py +++ b/guru.py @@ -1,28 +1,23 @@ #!/usr/bin/env python3.7 # -# engine +# Aura Engine (https://gitlab.servus.at/aura/engine) # -# Playout Daemon for autoradio project +# Copyright (C) 2017-2020 - The Aura Engine Team. # +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# Copyright (C) 2017-2018 Gottfried Gaisbauer <gottfried.gaisbauer@servus.at> -# -# This file is part of engine. -# -# engine is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# any later version. -# -# engine is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with engine. If not, see <http://www.gnu.org/licenses/>. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. # +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + import time import sys diff --git a/modules/base/config.py b/modules/base/config.py index 927ee07c..85906500 100644 --- a/modules/base/config.py +++ b/modules/base/config.py @@ -1,23 +1,22 @@ # -# Aura Engine +# Aura Engine (https://gitlab.servus.at/aura/engine) +# +# Copyright (C) 2017-2020 - The Aura Engine Team. # -# Copyright (C) 2017-2020 -# David Trattnig <david.trattnig@subsquare.at> -# Gottfried Gaisbauer <gottfried.gaisbauer@servus.at> - # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. - +# # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. - +# # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. + import os import os.path import sys diff --git a/modules/base/enum.py b/modules/base/enum.py index 6c15e1a5..a35c16b7 100644 --- a/modules/base/enum.py +++ b/modules/base/enum.py @@ -1,26 +1,21 @@ # -# engine +# Aura Engine (https://gitlab.servus.at/aura/engine) # -# Playout Daemon for autoradio project +# Copyright (C) 2017-2020 - The Aura Engine Team. # +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# Copyright (C) 2017-2018 Gottfried Gaisbauer <gottfried.gaisbauer@servus.at> -# -# This file is part of engine. -# -# engine is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# any later version. -# -# engine is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with engine. If not, see <http://www.gnu.org/licenses/>. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. # +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + from enum import Enum diff --git a/modules/base/exceptions.py b/modules/base/exceptions.py index 18d6419b..dbb4d1c7 100644 --- a/modules/base/exceptions.py +++ b/modules/base/exceptions.py @@ -1,26 +1,20 @@ # -# engine +# Aura Engine (https://gitlab.servus.at/aura/engine) # -# Playout Daemon for autoradio project +# Copyright (C) 2017-2020 - The Aura Engine Team. # +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# Copyright (C) 2017-2018 Gottfried Gaisbauer <gottfried.gaisbauer@servus.at> -# -# This file is part of engine. -# -# engine is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# any later version. -# -# engine is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with engine. If not, see <http://www.gnu.org/licenses/>. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. # +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. diff --git a/modules/base/logger.py b/modules/base/logger.py index ec02e00f..87c7fda8 100644 --- a/modules/base/logger.py +++ b/modules/base/logger.py @@ -1,9 +1,7 @@ # -# Aura Engine +# Aura Engine (https://gitlab.servus.at/aura/engine) # -# Copyright (C) 2017-2020 -# David Trattnig <david.trattnig@subsquare.at> -# Gottfried Gaisbauer <gottfried.gaisbauer@servus.at> +# Copyright (C) 2017-2020 - The Aura Engine Team. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by @@ -18,6 +16,7 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. + import logging from modules.base.config import AuraConfig diff --git a/modules/base/utils.py b/modules/base/utils.py index a1c14c5e..e063b8b3 100644 --- a/modules/base/utils.py +++ b/modules/base/utils.py @@ -1,27 +1,20 @@ - -# -# Aura Engine -# -# Playout Daemon for autoradio project -# -# -# Copyright (C) 2020 David Trattnig <david.trattnig@subsquare.at> # -# This file is part of engine. +# Aura Engine (https://gitlab.servus.at/aura/engine) # -# engine is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# any later version. +# Copyright (C) 2017-2020 - The Aura Engine Team. # -# engine is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# You should have received a copy of the GNU General Public License -# along with engine. If not, see <http://www.gnu.org/licenses/>. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. # +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. import datetime diff --git a/modules/cli_tool/padavan.py b/modules/cli_tool/padavan.py index a368f465..92c311cb 100644 --- a/modules/cli_tool/padavan.py +++ b/modules/cli_tool/padavan.py @@ -1,26 +1,21 @@ # -# engine +# Aura Engine (https://gitlab.servus.at/aura/engine) # -# Playout Daemon for autoradio project +# Copyright (C) 2017-2020 - The Aura Engine Team. # +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# Copyright (C) 2017-2018 Gottfried Gaisbauer <gottfried.gaisbauer@servus.at> -# -# This file is part of engine. -# -# engine is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# any later version. -# -# engine is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with engine. If not, see <http://www.gnu.org/licenses/>. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. # +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + import json diff --git a/modules/communication/liquidsoap/client.py b/modules/communication/liquidsoap/client.py index 5f8da879..87d2e2fb 100644 --- a/modules/communication/liquidsoap/client.py +++ b/modules/communication/liquidsoap/client.py @@ -1,26 +1,21 @@ # -# engine +# Aura Engine (https://gitlab.servus.at/aura/engine) # -# Playout Daemon for autoradio project +# Copyright (C) 2017-2020 - The Aura Engine Team. # +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# Copyright (C) 2017-2018 Gottfried Gaisbauer <gottfried.gaisbauer@servus.at> -# -# This file is part of engine. -# -# engine is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# any later version. -# -# engine is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with engine. If not, see <http://www.gnu.org/licenses/>. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. # +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + import socket import urllib.parse diff --git a/modules/communication/liquidsoap/playerclient.py b/modules/communication/liquidsoap/playerclient.py index caebb012..83a0af1b 100644 --- a/modules/communication/liquidsoap/playerclient.py +++ b/modules/communication/liquidsoap/playerclient.py @@ -1,26 +1,21 @@ # -# engine +# Aura Engine (https://gitlab.servus.at/aura/engine) # -# Playout Daemon for autoradio project +# Copyright (C) 2017-2020 - The Aura Engine Team. # +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# Copyright (C) 2017-2018 Gottfried Gaisbauer <gottfried.gaisbauer@servus.at> -# -# This file is part of engine. -# -# engine is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# any later version. -# -# engine is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with engine. If not, see <http://www.gnu.org/licenses/>. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. # +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + from modules.base.enum import Channel from modules.communication.liquidsoap.client import LiquidSoapClient diff --git a/modules/communication/mail.py b/modules/communication/mail.py index d257b90a..5e4a45c8 100644 --- a/modules/communication/mail.py +++ b/modules/communication/mail.py @@ -1,26 +1,21 @@ # -# engine +# Aura Engine (https://gitlab.servus.at/aura/engine) # -# Playout Daemon for autoradio project +# Copyright (C) 2017-2020 - The Aura Engine Team. # +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# Copyright (C) 2017-2018 Gottfried Gaisbauer <gottfried.gaisbauer@servus.at> -# -# This file is part of engine. -# -# engine is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# any later version. -# -# engine is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with engine. If not, see <http://www.gnu.org/licenses/>. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. # +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + import smtplib from email.message import EmailMessage diff --git a/modules/communication/redis/adapter.py b/modules/communication/redis/adapter.py index 07fbde3b..e679e961 100644 --- a/modules/communication/redis/adapter.py +++ b/modules/communication/redis/adapter.py @@ -1,26 +1,21 @@ # -# engine +# Aura Engine (https://gitlab.servus.at/aura/engine) # -# Playout Daemon for autoradio project +# Copyright (C) 2017-2020 - The Aura Engine Team. # +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# Copyright (C) 2017-2018 Gottfried Gaisbauer <gottfried.gaisbauer@servus.at> -# -# This file is part of engine. -# -# engine is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# any later version. -# -# engine is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with engine. If not, see <http://www.gnu.org/licenses/>. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. # +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + import sys import time diff --git a/modules/communication/redis/messenger.py b/modules/communication/redis/messenger.py index 73fab663..73718c4d 100644 --- a/modules/communication/redis/messenger.py +++ b/modules/communication/redis/messenger.py @@ -1,26 +1,21 @@ # -# engine +# Aura Engine (https://gitlab.servus.at/aura/engine) # -# Playout Daemon for autoradio project +# Copyright (C) 2017-2020 - The Aura Engine Team. # +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# Copyright (C) 2017-2018 Gottfried Gaisbauer <gottfried.gaisbauer@servus.at> -# -# This file is part of engine. -# -# engine is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# any later version. -# -# engine is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with engine. If not, see <http://www.gnu.org/licenses/>. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. # +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + import time import logging diff --git a/modules/communication/redis/statestore.py b/modules/communication/redis/statestore.py index 50ba065c..91cf109f 100644 --- a/modules/communication/redis/statestore.py +++ b/modules/communication/redis/statestore.py @@ -1,26 +1,21 @@ # -# engine +# Aura Engine (https://gitlab.servus.at/aura/engine) # -# Playout Daemon for autoradio project +# Copyright (C) 2017-2020 - The Aura Engine Team. # +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# Copyright (C) 2017-2018 Gottfried Gaisbauer <gottfried.gaisbauer@servus.at> -# -# This file is part of engine. -# -# engine is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# any later version. -# -# engine is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with engine. If not, see <http://www.gnu.org/licenses/>. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. # +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + import redis import time diff --git a/modules/core/engine.py b/modules/core/engine.py index 8bd210fe..7e044f64 100644 --- a/modules/core/engine.py +++ b/modules/core/engine.py @@ -1,26 +1,21 @@ # -# engine +# Aura Engine (https://gitlab.servus.at/aura/engine) # -# Playout Daemon for autoradio project +# Copyright (C) 2017-2020 - The Aura Engine Team. # +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# Copyright (C) 2017-2018 Gottfried Gaisbauer <gottfried.gaisbauer@servus.at> -# -# This file is part of engine. -# -# engine is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# any later version. -# -# engine is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with engine. If not, see <http://www.gnu.org/licenses/>. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. # +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + import time import logging diff --git a/modules/core/monitor.py b/modules/core/monitor.py index 98296b86..2f6df26e 100644 --- a/modules/core/monitor.py +++ b/modules/core/monitor.py @@ -1,23 +1,22 @@ # -# Aura Engine +# Aura Engine (https://gitlab.servus.at/aura/engine) +# +# Copyright (C) 2017-2020 - The Aura Engine Team. # -# Copyright (C) 2020 David Trattnig <david.trattnig@subsquare.at> - # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. - +# # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. - +# # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. - import meta import sys diff --git a/modules/core/startup.py b/modules/core/startup.py index 26cdd4d8..fba87d47 100644 --- a/modules/core/startup.py +++ b/modules/core/startup.py @@ -1,23 +1,22 @@ # -# Aura Engine +# Aura Engine (https://gitlab.servus.at/aura/engine) +# +# Copyright (C) 2017-2020 - The Aura Engine Team. # -# Copyright (C) 2017-2020 -# David Trattnig <david.trattnig@subsquare.at> -# Gottfried Gaisbauer <gottfried.gaisbauer@servus.at> - # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. - +# # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. - +# # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. + import time import logging import datetime diff --git a/modules/core/state.py b/modules/core/state.py index a0f7fa0d..a571a680 100644 --- a/modules/core/state.py +++ b/modules/core/state.py @@ -1,19 +1,18 @@ - # -# Aura Engine +# Aura Engine (https://gitlab.servus.at/aura/engine) +# +# Copyright (C) 2017-2020 - The Aura Engine Team. # -# Copyright (C) 2020 David Trattnig <david.trattnig@subsquare.at> - # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. - +# # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. - +# # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. diff --git a/modules/database/model.py b/modules/database/model.py index 20d2d6c7..65267d5e 100644 --- a/modules/database/model.py +++ b/modules/database/model.py @@ -1,26 +1,21 @@ # -# engine +# Aura Engine (https://gitlab.servus.at/aura/engine) # -# Playout Daemon for autoradio project +# Copyright (C) 2017-2020 - The Aura Engine Team. # +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# Copyright (C) 2017-2018 Gottfried Gaisbauer <gottfried.gaisbauer@servus.at> -# -# This file is part of engine. -# -# engine is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# any later version. -# -# engine is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with engine. If not, see <http://www.gnu.org/licenses/>. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. # +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + import sys import time diff --git a/modules/liquidsoap/engine.liq b/modules/liquidsoap/engine.liq index bb77599c..55d6b330 100644 --- a/modules/liquidsoap/engine.liq +++ b/modules/liquidsoap/engine.liq @@ -1,28 +1,24 @@ #!/usr/bin/liquidsoap # -# engine +# Aura Engine (https://gitlab.servus.at/aura/engine) # -# Playout Daemon for autoradio project +# Copyright (C) 2017-2020 - The Aura Engine Team. # +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# Copyright (C) 2017-2018 Gottfried Gaisbauer <gottfried.gaisbauer@servus.at> -# -# This file is part of engine. -# -# engine is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# any later version. -# -# engine is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with engine. If not, see <http://www.gnu.org/licenses/>. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. # +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + icecast_vorbis_metadata = false inputs = ref [] diff --git a/modules/liquidsoap/fallback.liq b/modules/liquidsoap/fallback.liq index a160e9ed..1e531b2f 100644 --- a/modules/liquidsoap/fallback.liq +++ b/modules/liquidsoap/fallback.liq @@ -1,26 +1,22 @@ # -# engine +# Aura Engine (https://gitlab.servus.at/aura/engine) # -# Playout Daemon for autoradio project +# Copyright (C) 2017-2020 - The Aura Engine Team. # +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# Copyright (C) 2017-2018 Gottfried Gaisbauer <gottfried.gaisbauer@servus.at> -# -# This file is part of engine. -# -# engine is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# any later version. -# -# engine is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with engine. If not, see <http://www.gnu.org/licenses/>. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. # +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + diff --git a/modules/liquidsoap/in_filesystem.liq b/modules/liquidsoap/in_filesystem.liq index 7b927927..b51018b0 100644 --- a/modules/liquidsoap/in_filesystem.liq +++ b/modules/liquidsoap/in_filesystem.liq @@ -1,26 +1,21 @@ # -# engine +# Aura Engine (https://gitlab.servus.at/aura/engine) # -# Playout Daemon for autoradio project +# Copyright (C) 2017-2020 - The Aura Engine Team. # +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# Copyright (C) 2017-2018 Gottfried Gaisbauer <gottfried.gaisbauer@servus.at> -# -# This file is part of engine. -# -# engine is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# any later version. -# -# engine is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with engine. If not, see <http://www.gnu.org/licenses/>. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. # +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + input_filesystem_0 = request.equeue(id="in_filesystem_0") input_filesystem_1 = request.equeue(id="in_filesystem_1") diff --git a/modules/liquidsoap/in_soundcard.liq b/modules/liquidsoap/in_soundcard.liq index 27ef9911..cf984142 100644 --- a/modules/liquidsoap/in_soundcard.liq +++ b/modules/liquidsoap/in_soundcard.liq @@ -1,26 +1,22 @@ # -# engine +# Aura Engine (https://gitlab.servus.at/aura/engine) # -# Playout Daemon for autoradio project +# Copyright (C) 2017-2020 - The Aura Engine Team. # +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# Copyright (C) 2017-2018 Gottfried Gaisbauer <gottfried.gaisbauer@servus.at> -# -# This file is part of engine. -# -# engine is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# any later version. -# -# engine is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with engine. If not, see <http://www.gnu.org/licenses/>. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. # +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + if a0_in != "" then # we can ignore the result, since it is stored in the list 'inputs' diff --git a/modules/liquidsoap/in_stream.liq b/modules/liquidsoap/in_stream.liq index bca49abb..12951060 100644 --- a/modules/liquidsoap/in_stream.liq +++ b/modules/liquidsoap/in_stream.liq @@ -1,26 +1,22 @@ # -# engine +# Aura Engine (https://gitlab.servus.at/aura/engine) # -# Playout Daemon for autoradio project +# Copyright (C) 2017-2020 - The Aura Engine Team. # +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# Copyright (C) 2017-2018 Gottfried Gaisbauer <gottfried.gaisbauer@servus.at> -# -# This file is part of engine. -# -# engine is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# any later version. -# -# engine is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with engine. If not, see <http://www.gnu.org/licenses/>. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. # +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + # Pre-population of stream input sources, as Liquidsoap needs it to initialize this input. diff --git a/modules/liquidsoap/library.liq b/modules/liquidsoap/library.liq index c2206954..c5fbcd5e 100644 --- a/modules/liquidsoap/library.liq +++ b/modules/liquidsoap/library.liq @@ -1,26 +1,22 @@ # -# engine +# Aura Engine (https://gitlab.servus.at/aura/engine) # -# Playout Daemon for autoradio project +# Copyright (C) 2017-2020 - The Aura Engine Team. # +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# Copyright (C) 2017-2018 Gottfried Gaisbauer <gottfried.gaisbauer@servus.at> -# -# This file is part of engine. -# -# engine is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# any later version. -# -# engine is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with engine. If not, see <http://www.gnu.org/licenses/>. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. # +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + ##################### # stream to icecast # diff --git a/modules/liquidsoap/out_filesystem.liq b/modules/liquidsoap/out_filesystem.liq index b6dd0657..28b055ef 100644 --- a/modules/liquidsoap/out_filesystem.liq +++ b/modules/liquidsoap/out_filesystem.liq @@ -1,26 +1,22 @@ # -# engine +# Aura Engine (https://gitlab.servus.at/aura/engine) # -# Playout Daemon for autoradio project +# Copyright (C) 2017-2020 - The Aura Engine Team. # +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# Copyright (C) 2017-2018 Gottfried Gaisbauer <gottfried.gaisbauer@servus.at> -# -# This file is part of engine. -# -# engine is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# any later version. -# -# engine is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with engine. If not, see <http://www.gnu.org/licenses/>. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. # +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + r0_enable = list.assoc(default="", "rec_0", ini) == "y" r1_enable = list.assoc(default="", "rec_1", ini) == "y" diff --git a/modules/liquidsoap/out_soundcard.liq b/modules/liquidsoap/out_soundcard.liq index 2a3f09d2..5e073cb3 100644 --- a/modules/liquidsoap/out_soundcard.liq +++ b/modules/liquidsoap/out_soundcard.liq @@ -1,26 +1,22 @@ # -# engine +# Aura Engine (https://gitlab.servus.at/aura/engine) # -# Playout Daemon for autoradio project +# Copyright (C) 2017-2020 - The Aura Engine Team. # +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# Copyright (C) 2017-2018 Gottfried Gaisbauer <gottfried.gaisbauer@servus.at> -# -# This file is part of engine. -# -# engine is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# any later version. -# -# engine is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with engine. If not, see <http://www.gnu.org/licenses/>. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. # +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + if a0_out != "" then ignore(get_output(output_source, a0_out, "lineout_0")) diff --git a/modules/liquidsoap/out_stream.liq b/modules/liquidsoap/out_stream.liq index de40fb9f..f5ca38e2 100644 --- a/modules/liquidsoap/out_stream.liq +++ b/modules/liquidsoap/out_stream.liq @@ -1,26 +1,22 @@ # -# engine +# Aura Engine (https://gitlab.servus.at/aura/engine) # -# Playout Daemon for autoradio project +# Copyright (C) 2017-2020 - The Aura Engine Team. # +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# Copyright (C) 2017-2018 Gottfried Gaisbauer <gottfried.gaisbauer@servus.at> -# -# This file is part of engine. -# -# engine is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# any later version. -# -# engine is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with engine. If not, see <http://www.gnu.org/licenses/>. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. # +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + # Output streaming settings # What a mess... diff --git a/modules/liquidsoap/outgoing_recordings/aac.liq b/modules/liquidsoap/outgoing_recordings/aac.liq index 5cf2dbb5..428af918 100644 --- a/modules/liquidsoap/outgoing_recordings/aac.liq +++ b/modules/liquidsoap/outgoing_recordings/aac.liq @@ -1,3 +1,22 @@ +# +# Aura Engine (https://gitlab.servus.at/aura/engine) +# +# Copyright (C) 2017-2020 - The Aura Engine Team. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + if bitrate == 24 then # if stereo then ignore(output_filesystem_stereo(%fdkaac(bitrate = 24, channels = 2), filenamepattern, !source)) diff --git a/modules/liquidsoap/outgoing_recordings/flac.liq b/modules/liquidsoap/outgoing_recordings/flac.liq index 934dc988..ac497c7e 100644 --- a/modules/liquidsoap/outgoing_recordings/flac.liq +++ b/modules/liquidsoap/outgoing_recordings/flac.liq @@ -1,3 +1,22 @@ +# +# Aura Engine (https://gitlab.servus.at/aura/engine) +# +# Copyright (C) 2017-2020 - The Aura Engine Team. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + if bitrate == 24 or bitrate == 32 or bitrate == 48 then if stereo then ignore(output_filesystem_stereo(%flac(samplerate=44100, channels = 2, compression = 7, bits_per_sample=8), filenamepattern, !source)) diff --git a/modules/liquidsoap/outgoing_recordings/mp3.liq b/modules/liquidsoap/outgoing_recordings/mp3.liq index c01720cb..3c315a0a 100644 --- a/modules/liquidsoap/outgoing_recordings/mp3.liq +++ b/modules/liquidsoap/outgoing_recordings/mp3.liq @@ -1,3 +1,22 @@ +# +# Aura Engine (https://gitlab.servus.at/aura/engine) +# +# Copyright (C) 2017-2020 - The Aura Engine Team. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + if bitrate == 24 then if stereo then ignore(output_filesystem_stereo(%mp3(bitrate = 24, stereo = true), filenamepattern, !source)) diff --git a/modules/liquidsoap/outgoing_recordings/ogg.liq b/modules/liquidsoap/outgoing_recordings/ogg.liq index eb88a003..2d39bb4b 100644 --- a/modules/liquidsoap/outgoing_recordings/ogg.liq +++ b/modules/liquidsoap/outgoing_recordings/ogg.liq @@ -1,3 +1,22 @@ +# +# Aura Engine (https://gitlab.servus.at/aura/engine) +# +# Copyright (C) 2017-2020 - The Aura Engine Team. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + if bitrate == 24 or bitrate == 32 or bitrate == 48 then if stereo then ignore(output_filesystem_stereo(%vorbis(quality=-0.1, channels = 2), filenamepattern, !source)) diff --git a/modules/liquidsoap/outgoing_recordings/opus.liq b/modules/liquidsoap/outgoing_recordings/opus.liq index 061ce6bb..799e8d1f 100644 --- a/modules/liquidsoap/outgoing_recordings/opus.liq +++ b/modules/liquidsoap/outgoing_recordings/opus.liq @@ -1,3 +1,22 @@ +# +# Aura Engine (https://gitlab.servus.at/aura/engine) +# +# Copyright (C) 2017-2020 - The Aura Engine Team. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + if bitrate == 24 then if stereo then ignore(output_filesystem_stereo(%opus(bitrate = 24, channels = 2, signal="music", application="audio", complexity=10, vbr="constrained"), filenamepattern, !source)) diff --git a/modules/liquidsoap/outgoing_recordings/wav.liq b/modules/liquidsoap/outgoing_recordings/wav.liq index 1a3bd7ca..39e86002 100644 --- a/modules/liquidsoap/outgoing_recordings/wav.liq +++ b/modules/liquidsoap/outgoing_recordings/wav.liq @@ -1,3 +1,22 @@ +# +# Aura Engine (https://gitlab.servus.at/aura/engine) +# +# Copyright (C) 2017-2020 - The Aura Engine Team. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + if bitrate <= 128 then if stereo then ignore(output_filesystem_stereo(%wav(stereo=true, channels=2, samplesize=8, header=true, duration=30.), filenamepattern, !source)) diff --git a/modules/liquidsoap/outgoing_streams/aac.liq b/modules/liquidsoap/outgoing_streams/aac.liq index 1945cbd1..20df4239 100644 --- a/modules/liquidsoap/outgoing_streams/aac.liq +++ b/modules/liquidsoap/outgoing_streams/aac.liq @@ -1,3 +1,22 @@ +# +# Aura Engine (https://gitlab.servus.at/aura/engine) +# +# Copyright (C) 2017-2020 - The Aura Engine Team. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + if bitrate == 24 then if stereo then ignore(output_icecast_stereo(%aac(bitrate = 24, channels = 2), !source)) diff --git a/modules/liquidsoap/outgoing_streams/flac.liq b/modules/liquidsoap/outgoing_streams/flac.liq index 084b366a..2ddd248d 100644 --- a/modules/liquidsoap/outgoing_streams/flac.liq +++ b/modules/liquidsoap/outgoing_streams/flac.liq @@ -1,3 +1,22 @@ +# +# Aura Engine (https://gitlab.servus.at/aura/engine) +# +# Copyright (C) 2017-2020 - The Aura Engine Team. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + if not icecast_vorbis_metadata then source := add(normalize=false, [amplify(0.00001, noise()), !source]) end diff --git a/modules/liquidsoap/outgoing_streams/mp3.liq b/modules/liquidsoap/outgoing_streams/mp3.liq index 0ec064e0..70218feb 100644 --- a/modules/liquidsoap/outgoing_streams/mp3.liq +++ b/modules/liquidsoap/outgoing_streams/mp3.liq @@ -1,3 +1,22 @@ +# +# Aura Engine (https://gitlab.servus.at/aura/engine) +# +# Copyright (C) 2017-2020 - The Aura Engine Team. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + if bitrate == 24 then if stereo then ignore(output_icecast_stereo(%mp3(bitrate = 24, stereo = true), !source)) diff --git a/modules/liquidsoap/outgoing_streams/ogg.liq b/modules/liquidsoap/outgoing_streams/ogg.liq index 8a395874..a8a6e624 100644 --- a/modules/liquidsoap/outgoing_streams/ogg.liq +++ b/modules/liquidsoap/outgoing_streams/ogg.liq @@ -1,3 +1,22 @@ +# +# Aura Engine (https://gitlab.servus.at/aura/engine) +# +# Copyright (C) 2017-2020 - The Aura Engine Team. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + if not icecast_vorbis_metadata then source := add(normalize=false, [amplify(0.00001, noise()), !source]) end diff --git a/modules/liquidsoap/outgoing_streams/opus.liq b/modules/liquidsoap/outgoing_streams/opus.liq index 03f375e0..0787671d 100644 --- a/modules/liquidsoap/outgoing_streams/opus.liq +++ b/modules/liquidsoap/outgoing_streams/opus.liq @@ -1,3 +1,22 @@ +# +# Aura Engine (https://gitlab.servus.at/aura/engine) +# +# Copyright (C) 2017-2020 - The Aura Engine Team. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + if bitrate == 24 then if stereo then ignore(output_icecast_stereo(%opus(bitrate = 24, channels = 2, signal="music", application="audio", complexity=10, vbr="constrained"), !source)) diff --git a/modules/liquidsoap/readini.liq b/modules/liquidsoap/readini.liq index c6dca00f..757116e0 100644 --- a/modules/liquidsoap/readini.liq +++ b/modules/liquidsoap/readini.liq @@ -1,3 +1,23 @@ +# +# Aura Engine (https://gitlab.servus.at/aura/engine) +# +# Copyright (C) 2017-2020 - The Aura Engine Team. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + + ################# # Read INI File # ################# diff --git a/modules/liquidsoap/serverfunctions.liq b/modules/liquidsoap/serverfunctions.liq index e618edd8..c1127ebd 100644 --- a/modules/liquidsoap/serverfunctions.liq +++ b/modules/liquidsoap/serverfunctions.liq @@ -1,26 +1,21 @@ # -# engine +# Aura Engine (https://gitlab.servus.at/aura/engine) # -# Playout Daemon for autoradio project +# Copyright (C) 2017-2020 - The Aura Engine Team. # +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# Copyright (C) 2017-2018 Gottfried Gaisbauer <gottfried.gaisbauer@servus.at> -# -# This file is part of engine. -# -# engine is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# any later version. -# -# engine is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with engine. If not, see <http://www.gnu.org/licenses/>. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. # +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + def icy_update(v) = diff --git a/modules/liquidsoap/settings.liq b/modules/liquidsoap/settings.liq index 4e284752..b3bb02cc 100644 --- a/modules/liquidsoap/settings.liq +++ b/modules/liquidsoap/settings.liq @@ -1,26 +1,21 @@ # -# engine +# Aura Engine (https://gitlab.servus.at/aura/engine) # -# Playout Daemon for autoradio project +# Copyright (C) 2017-2020 - The Aura Engine Team. # +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# Copyright (C) 2017-2018 Gottfried Gaisbauer <gottfried.gaisbauer@servus.at> -# -# This file is part of engine. -# -# engine is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# any later version. -# -# engine is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with engine. If not, see <http://www.gnu.org/licenses/>. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. # +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + # READ INI FILE %include "readini.liq" diff --git a/modules/liquidsoap/unused_record.liq b/modules/liquidsoap/unused_record.liq index 21fcbc20..b9cd1a08 100644 --- a/modules/liquidsoap/unused_record.liq +++ b/modules/liquidsoap/unused_record.liq @@ -1,3 +1,21 @@ +# +# Aura Engine (https://gitlab.servus.at/aura/engine) +# +# Copyright (C) 2017-2020 - The Aura Engine Team. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + # %include "readini.liq" # ini = read_ini("/etc/aura/engine.ini") diff --git a/modules/liquidsoap/unused_recorder.liq b/modules/liquidsoap/unused_recorder.liq index 22505f7d..832aeea1 100644 --- a/modules/liquidsoap/unused_recorder.liq +++ b/modules/liquidsoap/unused_recorder.liq @@ -1,3 +1,22 @@ +# +# Aura Engine (https://gitlab.servus.at/aura/engine) +# +# Copyright (C) 2017-2020 - The Aura Engine Team. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + # define file name pattern filenamepattern = ref audiobase^"/%Y-%m-%d/%Y-%m-%d-%H-%M.flac" diff --git a/modules/liquidsoap/unused_stream.liq b/modules/liquidsoap/unused_stream.liq index 262cfaf4..5440446a 100644 --- a/modules/liquidsoap/unused_stream.liq +++ b/modules/liquidsoap/unused_stream.liq @@ -1,3 +1,21 @@ +# +# Aura Engine (https://gitlab.servus.at/aura/engine) +# +# Copyright (C) 2017-2020 - The Aura Engine Team. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + def get_icecast_mp3_stream(number) stream_bitrate = int_of_string(list.assoc(default="", "stream_#{number}_bitrate", ini)) diff --git a/modules/scheduling/calendar.py b/modules/scheduling/calendar.py index 073a1b88..75d7097e 100644 --- a/modules/scheduling/calendar.py +++ b/modules/scheduling/calendar.py @@ -1,26 +1,23 @@ + # -# engine -# -# Playout Daemon for autoradio project -# -# -# Copyright (C) 2017-2018 Gottfried Gaisbauer <gottfried.gaisbauer@servus.at> -# -# This file is part of engine. -# -# engine is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# any later version. -# -# engine is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with engine. If not, see <http://www.gnu.org/licenses/>. +# Aura Engine (https://gitlab.servus.at/aura/engine) # +# Copyright (C) 2017-2020 - The Aura Engine Team. + +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. + +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + import os import sys diff --git a/modules/scheduling/calender_fetcher.py b/modules/scheduling/calender_fetcher.py index fda26ad5..5fe03b6c 100644 --- a/modules/scheduling/calender_fetcher.py +++ b/modules/scheduling/calender_fetcher.py @@ -1,3 +1,24 @@ + +# +# Aura Engine (https://gitlab.servus.at/aura/engine) +# +# Copyright (C) 2017-2020 - The Aura Engine Team. + +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. + +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + + import os import sys import urllib diff --git a/modules/scheduling/fallback_manager.py b/modules/scheduling/fallback_manager.py index 57c4ce32..05e110ba 100644 --- a/modules/scheduling/fallback_manager.py +++ b/modules/scheduling/fallback_manager.py @@ -1,33 +1,23 @@ # -# Aura Engine -# -# Playout Daemon for autoradio project -# -# -# Copyright (C) 2020 David Trattnig <david.trattnig@subsquare.at> -# -# This file is part of engine. -# -# engine is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# any later version. -# -# engine is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with engine. If not, see <http://www.gnu.org/licenses/>. +# Aura Engine (https://gitlab.servus.at/aura/engine) # +# Copyright (C) 2017-2020 - The Aura Engine Team. + +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. + +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + -# Meta -__version__ = '0.0.1' -__license__ = "GNU General Public License (GPL) Version 3" -__version_info__ = (0, 0, 1) -__author__ = 'David Trattnig <david.trattnig@subsquare.at>' import os, os.path diff --git a/modules/scheduling/scheduler.py b/modules/scheduling/scheduler.py index e43546ac..fdb02189 100644 --- a/modules/scheduling/scheduler.py +++ b/modules/scheduling/scheduler.py @@ -1,26 +1,22 @@ + # -# Aura Engine -# -# Playout Daemon for autoradio project -# -# -# Copyright (C) 2017-2018 Gottfried Gaisbauer <gottfried.gaisbauer@servus.at> -# -# This file is part of engine. -# -# engine is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# any later version. -# -# engine is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with engine. If not, see <http://www.gnu.org/licenses/>. +# Aura Engine (https://gitlab.servus.at/aura/engine) # +# Copyright (C) 2017-2020 - The Aura Engine Team. + +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. + +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + import time diff --git a/testing/connection_tester.py b/testing/connection_tester.py index 513e40d7..d6450565 100644 --- a/testing/connection_tester.py +++ b/testing/connection_tester.py @@ -1,26 +1,23 @@ + # -# engine -# -# Playout Daemon for autoradio project -# -# -# Copyright (C) 2017-2018 Gottfried Gaisbauer <gottfried.gaisbauer@servus.at> -# -# This file is part of engine. +# Aura Engine (https://gitlab.servus.at/aura/engine) # -# engine is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# any later version. +# Copyright (C) 2017-2020 - The Aura Engine Team. # -# engine is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# You should have received a copy of the GNU General Public License -# along with engine. If not, see <http://www.gnu.org/licenses/>. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. # +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + import urllib import logging diff --git a/testing/test.py b/testing/test.py index 2dc9c7fe..3b6e567d 100644 --- a/testing/test.py +++ b/testing/test.py @@ -1,3 +1,23 @@ + +# +# Aura Engine (https://gitlab.servus.at/aura/engine) +# +# Copyright (C) 2017-2020 - The Aura Engine Team. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + + import os import unittest import validators diff --git a/testing/tests.py b/testing/tests.py index 31f19763..52b1c97c 100755 --- a/testing/tests.py +++ b/testing/tests.py @@ -1,28 +1,22 @@ #!/usr/bin/python3.7 # -# engine +# Aura Engine (https://gitlab.servus.at/aura/engine) # -# Playout Daemon for autoradio project +# Copyright (C) 2017-2020 - The Aura Engine Team. # +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. # -# Copyright (C) 2017-2018 Gottfried Gaisbauer <gottfried.gaisbauer@servus.at> -# -# This file is part of engine. -# -# engine is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# any later version. -# -# engine is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with engine. If not, see <http://www.gnu.org/licenses/>. +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. # +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. import json -- GitLab