CC-2919: Media Monitor: recorded show doesn't show on library after
recording is done - fixed - extra fix: Airtime wasn't updating file when updating metadata
This commit is contained in:
parent
7e3d25eeaa
commit
5e9aec93a8
4 changed files with 23 additions and 4 deletions
|
@ -422,7 +422,7 @@ class AirTimeApiClient(ApiClientInterface):
|
|||
elapsed = (time.time() - start)
|
||||
logger.info("time taken to get response %s", elapsed)
|
||||
|
||||
if(is_record):
|
||||
if("error" not in response and is_record):
|
||||
url = "http://%s:%s/%s/%s" % (self.config["base_url"], str(self.config["base_port"]), self.config["api_base"], self.config["upload_recorded"])
|
||||
url = url.replace("%%fileid%%", str(response[u'id']))
|
||||
url = url.replace("%%showinstanceid%%", str(md['MDATA_KEY_TRACKNUMBER']))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue