mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-24 07:13:49 +02:00
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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user