2022-01-08 Fred Gleason <fredg@paravelsystems.com>

* Consolidated the 'pypad' and 'rivwebpyapi' Python modules into
	a single 'rivendellaudio' package namespace.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2022-01-08 15:36:33 -05:00
parent f0568a8d3c
commit 179f23a54f
80 changed files with 305 additions and 267 deletions

View File

@@ -4,7 +4,7 @@
#
# Send PAD updates to Icecast2 mountpoint
#
# (C) Copyright 2018-2019 Fred Gleason <fredg@paravelsystems.com>
# (C) Copyright 2018-2022 Fred Gleason <fredg@paravelsystems.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
@@ -27,7 +27,10 @@ import requests
from requests.auth import HTTPBasicAuth
import xml.etree.ElementTree as ET
import syslog
import pypad
try:
from rivendellaudio import pypad
except ModuleNotFoundError:
import pypad # Rivendell v3.x style
import configparser
def ProcessPad(update):