forked from 0x2620/pandora
cache getMediaUrlInfo
This commit is contained in:
parent
90486ec774
commit
0430a0f236
1 changed files with 1 additions and 1 deletions
|
@ -740,7 +740,7 @@ def getMediaUrlInfo(request, data):
|
||||||
response = json_response()
|
response = json_response()
|
||||||
response['data']['items'] = external.get_info(data['url'])
|
response['data']['items'] = external.get_info(data['url'])
|
||||||
return render_to_json_response(response)
|
return render_to_json_response(response)
|
||||||
actions.register(getMediaUrlInfo, cache=False)
|
actions.register(getMediaUrlInfo, cache=True)
|
||||||
|
|
||||||
@login_required_json
|
@login_required_json
|
||||||
def addMediaUrl(request, data):
|
def addMediaUrl(request, data):
|
||||||
|
|
Loading…
Reference in a new issue