cc-2419: media monitor import on startup
-fixed support for watched dirs #2
This commit is contained in:
parent
df1dec2078
commit
805d3616fe
4 changed files with 6 additions and 7 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue