This commit is contained in:
j 2010-09-18 15:06:05 +02:00
parent e68aa08269
commit c5b74c6f77

View file

@ -326,7 +326,7 @@ def api_info(request):
response = json_response({}) response = json_response({})
itemId = json.loads(request.POST['data']) itemId = json.loads(request.POST['data'])
item = get_object_or_404_json(models.Movie, movieId=itemId) item = get_object_or_404_json(models.Movie, movieId=itemId)
response['data'] = {'info': movie.get_stream())} response['data'] = {'info': movie.get_stream()}
return render_to_json_response(response) return render_to_json_response(response)
def api_subtitles(request): def api_subtitles(request):