autoradio-upstream-2.8.2+dfsg.orig/ 0000755 0001750 0001750 00000000000 12420474320 017460 5 ustar capriott capriott autoradio-upstream-2.8.2+dfsg.orig/PKG-INFO 0000644 0001750 0001750 00000002262 12332265077 020570 0 ustar capriott capriott Metadata-Version: 1.1
Name: autoradio
Version: 2.8.2
Summary: radio automation software
Home-page: http://autoradiobc.sf.net
Author: Paolo Patruno
Author-email: p.patruno@iperbole.bologna.it
License: GNU GPL v2
Description: \
Radio automation software. Simple to use, starting from digital audio
files, manage on-air broadcasting over a radio-station or
web-radio. The main components are:
* Player (integrated or external Xmms/Audacious): plays all your media
files and send digital sound to an audio device or audio server
* Scheduler: real time manager for emission of special audio files
like jingles, spots, playlist and programs; interact with player
like supervisor User
* inteface: WEB interface to monitor the player and scheduler and
admin the schedules for the complete control over your station
format. The web interface allows you to easily publish podcasts
that conform to the RSS 2.0 and iTunes RSS podcast
specifications
Platform: any
Requires: mutagen
Requires: django
Requires: reportlab
autoradio-upstream-2.8.2+dfsg.orig/autoplayerd 0000755 0001750 0001750 00000005675 12332264612 021757 0 ustar capriott capriott #!/usr/bin/env python
# -*- coding: utf-8 -*-
# GPL. (C) 2013 Paolo Patruno.
# Authors: Paolo Patruno
# Based on :
# mpDris2 from Jean-Philippe Braun ,
# Mantas Mikulėnas
# mpDris from: Erik Karlsson
# Some bits taken from quodlibet mpris plugin by
import os,autoradio.daemon as daemon
from autoradio import _version_
import autoradio.autoradio_config
import autoradio.settings
from autoradio import _version_
playerd = daemon.Daemon(
stdin="/dev/null",
stdout=autoradio.settings.logfileplayer,
stderr=autoradio.settings.errfileplayer,
pidfile=autoradio.settings.lockfileplayer,
user=autoradio.settings.userplayer,
group=autoradio.settings.groupplayer
)
def main ():
import logging,logging.handlers
handler = logging.handlers.RotatingFileHandler(autoradio.autoradio_config.logfile, maxBytes=5000000, backupCount=10)
formatter=logging.Formatter("%(asctime)s - %(name)s - %(levelname)s - %(message)s")
handler.setFormatter(formatter)
# Add the log message handler to the root logger
logging.getLogger('autoplayerd').addHandler(handler)
logging.getLogger('').setLevel(logging.INFO)
logging.info('Starting up autoplayerd version '+_version_)
# # Use logging for ouput at different *levels*.
# #
# logging.getLogger().setLevel(logging.INFO)
# log = logging.getLogger("autoplayer")
# handler = logging.StreamHandler(sys.stderr)
# log.addHandler(handler)
try:
from autoradio.autoplayer import player
except:
logging.info('gstreamer1 import error')
logging.info('try to use old gstreamer0')
from autoradio.autoplayer import player_gstreamer0 as player
player.main(autoradio.settings.busaddressplayer,autoradio.settings.audiosinkplayer)
if __name__ == '__main__':
# main()# (this code was run as script)
import sys, os
# this is a triky for ubuntu and debian that remove /var/run every boot
# ATTENTION, this should be a security problem
path=os.path.dirname(autoradio.settings.lockfileplayer)
if (not os.path.lexists(path) and path == "/var/run/autoradio" ):
os.mkdir(path)
if (os.getuid() == 0):
user=autoradio.settings.userplayer
group=autoradio.settings.groupplayer
if user is not None and group is not None:
from pwd import getpwnam
from grp import getgrnam
uid = getpwnam<(user)[2]
gid = getgrnam(group)[2]
os.chown(path,uid,gid)
if playerd.service(noptions=1000):
sys.stdout.write("Playerd version "+_version_+"\n")
sys.stdout.write("Daemon started with pid %d\n" % os.getpid())
sys.stdout.write("Daemon stdout output\n")
sys.stderr.write("Daemon stderr output\n")
sys.exit(main()) # (this code was run as script)
autoradio-upstream-2.8.2+dfsg.orig/doc/ 0000755 0001750 0001750 00000000000 12332265077 020236 5 ustar capriott capriott autoradio-upstream-2.8.2+dfsg.orig/doc/playlists.png 0000644 0001750 0001750 00000075717 12332264612 023003 0 ustar capriott capriott PNG
IHDR h ˹ bKGD IDATxwxTUw:ɤJB)Ai*E`A,"((bAbE]"
(e[ IIdGȐIf&dҿɳ;ssp̝9kt!Ba!nB!h^d)B!jD&B!Fd)B!jD&B!Fd)B!jD&B!Fd)B!jD&B!FRx/p8a"D67}rc7C!htrR!BԈL B!DR!BԈL B!DR!BHVag$Nji8˩5:Fjy,2o='ޑX>>OQNm6;Iv=,~mu[!&d qz |`hla|v