cc-2419: media monitor import on startup

-fixed support for watched dirs #2
This commit is contained in:
martin 2011-07-04 17:59:02 -04:00
parent df1dec2078
commit 805d3616fe
4 changed files with 6 additions and 7 deletions

View file

@ -431,9 +431,7 @@ class AirTimeApiClient(ApiClientInterface):
try:
url = "http://%s:%s/%s/%s" % (self.config["base_url"], str(self.config["base_port"]), self.config["api_base"], self.config["list_all_watched_dirs"])
url = url.replace("%%api_key%%", self.config["api_key"])
logger.debug(url)
req = urllib2.Request(url)
response = urllib2.urlopen(req).read()