diff --git a/engine-api.py b/engine-api.py index 1ae79c04ff2942df912ad7b4b844dc6017f38a2b..f019d29dc58e3bd7b748d6b55506b97ced2c7580 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 a8c45d2f4db4dcaddfb79c44935145f85adc433e..9eda0b62d164911c70095ff8fd25b90a1ccea6ed 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 b5343a335cf0de0876f1ee6fa04742b4be0f037c..99f662a140aee3611b615822ca85bd6700da3daf 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 927ee07c29dc8fcaa4143744fda77fb51557af7f..859065007898e367bfbb959bbd7e12617721847e 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 6c15e1a5eedf7e9a18e8e2c4a22220b1cd235871..a35c16b7a65e64e17eb535c67dd36277a579584b 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 18d6419bd29301052e3de8a6cf6607154c20372d..dbb4d1c780ce477f064ba7a92d07ce41b4bd3bc0 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 ec02e00f89e49d35a0608ea6387c79a6f90db80c..87c7fda8aab27a09a0e31ae3eb09f9ff5d14166b 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 a1c14c5e4913b27622f167f48d2206bcebf2ec47..e063b8b3adf2202dd6e481acc7f1bb97822dfbac 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 a368f465e713725c594328f356256e2d041d9747..92c311cbb2588e3fd974f44ce500e4b6a1069865 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 5f8da879b901a3f08d746f027036cafd58aef710..87d2e2fb41fc3f290bd27e8190d52e60132d829f 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 caebb012fdde737cbc7047c0682a2bdcefb14378..83a0af1b8d409b482fb02b695f8892cb57168188 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 d257b90a027b0e595e8e4b7965eb77fbdc464136..5e4a45c8335243cadb408f343e80c991fbb0ebe5 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 07fbde3bd8011afe3295a83969b09490b353435b..e679e96114b142bd48b77d72b9d6ff9cbaf39840 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 73fab6635d8b8873dd13ce1e65e0cd1f011c50a5..73718c4dff6e1da7d8b86884a5787e70bf354c0c 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 50ba065c402d1cf9dd7b5013dda25375fac6796d..91cf109fb35b52771fb56953ce6e14b427ba6cb5 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 8bd210fe9790588b1484f6d40c7a7a15e840e350..7e044f6422f5ce61ef26565cb0f58b1b0f583484 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 98296b86e6108cc32801414154ac6acd0149ca06..2f6df26e548127cfef11e75a9fe1521e3e0c209a 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 26cdd4d8dd428a9c4b796900f7b526286ef0ae6f..fba87d47b615d252b824ccb1f40dd9fe92040272 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 a0f7fa0dd2b802d9d07909481f8b07b0a6355af3..a571a68099f569ac3d8e0cb5199c6f9d098f0217 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 20d2d6c7d9904fa27f570371ce28beed781532ff..65267d5ecdcdab92eb06373e9a7963b35a9b63f2 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 bb77599c42d7f1e769ee9e1481d6415a7fae1e16..55d6b330d72fdee22a958d7bc76078f862b1e90f 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 a160e9ed885f9e7ac664f0211170c3c55af34b2a..1e531b2f04dcb01b5f0514ad87019e037bf7374d 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 7b9279275e7a1046ffdf48dcea24bb7efe6103b5..b51018b061c01ec39b8b937ef26bf6d0f4c990f3 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 27ef991108d92d4cd299f66abdc8ed3c84f87165..cf98414216676389dc8c55f0fefa6fc6d21e4701 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 bca49abbf70b397f15edab315089d509cd37ad9c..129510607d1417e39577440dd3414557a2ad5712 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 c22069541ad1eb30ec0501a2db21b1c82508a336..c5fbcd5eb11e7cfe060e32db0653cae724f5fe45 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 b6dd0657f61954bdef6fcb75e18e4ef5791742c8..28b055ef3adcb848f8004342ddca3b098f3c8505 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 2a3f09d2b78796dfad9e8d14e5f3ec5bf27ec6ca..5e073cb35eb7e211aaabedc83ebb785f219ed16d 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 de40fb9f50780138eb3bcda1141563192cf78e96..f5ca38e22c67d69273a90bfafcd7816596763b90 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 5cf2dbb53c17129a06f8aa0eeb842c34196499e9..428af918ae341d89d95bbbe41dfec2f8b3d26882 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 934dc988553e329b46549aed48e5f9bb1cbab0ec..ac497c7ef56dec596c48322085c07d08119257b9 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 c01720cb2355bc17499f9716852f68ac55676035..3c315a0a0f6a087b2d647ade7e5fe8c07e5d1c41 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 eb88a003ba7282a529fece89fdf6580c5f82ce92..2d39bb4ba70947a33cfa364a1771ea373c7fbf83 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 061ce6bb3525b6f73e609d21cb0cd3cae6fb9664..799e8d1f0c45fa2f733bae5ace3dead73610daee 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 1a3bd7caa293a5e7bee1146b575366ce9a89bb88..39e86002fb5d9b3361a714b924eed137d49da614 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 1945cbd172ad144c361e2a19cdf4df7222ac91e7..20df42397b0d8761a9a767ac9ab9b64065c2b2d4 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 084b366a167543dec8f4883c1c87ddcf37a11973..2ddd248d887dd427bad4d9d29425d9c70b80d113 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 0ec064e0e7f459bf0cd8fe181fad606ce8486298..70218feb23b94ce3dd6bf6615353864656e5e96a 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 8a39587404a62dfec238ac7779fa7a3fb2c27418..a8a6e624ef82c7c7be5018b2482ebe5014c2c948 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 03f375e0169d5ab29b74b80d99d7526377ae3d13..0787671dc43701d10507f6e3ed1c114ad5907877 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 c6dca00f221da307319e403aee4fe846291375f1..757116e058365fa6a6c117c9f4fc3d2d4f6f1c0d 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 e618edd8273960d21717091392c1e8404fccefe3..c1127ebd5c787db3b3da75b3fe2a37aa5621e0d1 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 4e284752daa0efcca14c89d77511b016369ed733..b3bb02cc0a1cd81e4e882cd1f95d42063d123ff1 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 21fcbc2040087e51d474582c27df4aaa4069f967..b9cd1a08c67b32a7c6a3e7c904f5e41684820449 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 22505f7d08c7036dab9e8580e2b14900f06f66a1..832aeea1bd8cc09c1d29291135c25e56c0b75aa2 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 262cfaf4ec0d993a3cc63f25c57b5d1169c3d4d4..5440446a6434250d229d043fd7f681ce7bd4361b 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 073a1b88f649ab05550c6b551e066e25bc21ca3a..75d7097eb719bc30dde70bb4870adf17be871033 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 fda26ad588adc42c553d9511c074064379ead155..5fe03b6c3811cbc078e283bcf5fa27b5749a6c1e 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 57c4ce32e8bd43c9cf9bd141cbb02c1c263af0b3..05e110ba3e533e711d3e7f731d2f90b33b6ffb4a 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 e43546ac5968be5dc9e97cc75d1f6a6516cdff36..fdb021899a9596f6684ddffeb4ed3531f40907fe 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 513e40d7012c10d6f0ac764df819d07f8dba28b9..d6450565c387d9f5bc7551a9b76f9d038f6797f0 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 2dc9c7fe97af573470ac20acbabfa317a7ad0195..3b6e567db56b3af2aaaaa00049d341bfc0c83f02 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 31f19763a266f5fbb1d65f2c369f49060e1502f7..52b1c97c54dde86e6a84020892e1be3420f58c4c 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