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 @@
#
# Write PAD updates to the Spinitron Playlist Service
#
# (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
@@ -24,7 +24,10 @@ import sys
import syslog
import configparser
import pycurl
import pypad
try:
from rivendellaudio import pypad
except ModuleNotFoundError:
import pypad # Rivendell v3.x style
from io import BytesIO
last_updates={}