diff --git a/Python/etc/icecast2/radio.xml b/Python/etc/icecast2/radio.xml index b16e02f..af4aa74 100644 --- a/Python/etc/icecast2/radio.xml +++ b/Python/etc/icecast2/radio.xml @@ -5,7 +5,9 @@ info["perms"] = 0644 import urlparse import urllib -from tv.radio.config import * +import tv.radio.config as tv_config + +tv_config = reload(tv_config) print """ """ i=0 -for group in multicast.keys(): - for (title, (name,dst,port,sources)) in multicast[group].items(): +for group in tv_config.multicast.keys(): + for (title, (name,dst,port,sources)) in tv_config.multicast[group].items(): p=urlparse.urlparse(sources[0]) if ':' in p.netloc: host=p.netloc.split(':')[0]