|
@ -283,6 +283,7 @@ def _api_queue_rating(output, value, kwargs): |
|
|
audio = setting if type == 'audio' and setting != "-" else None |
|
|
audio = setting if type == 'audio' and setting != "-" else None |
|
|
vote = vote_map[setting] if type == 'vote' else None |
|
|
vote = vote_map[setting] if type == 'vote' else None |
|
|
flag = flag_map[setting] if type == 'flag' else None |
|
|
flag = flag_map[setting] if type == 'flag' else None |
|
|
|
|
|
if cfg.rating_enable(): |
|
|
Rating.do.update_user_rating(value, video, audio, vote, flag, kwargs.get('detail')) |
|
|
Rating.do.update_user_rating(value, video, audio, vote, flag, kwargs.get('detail')) |
|
|
return report(output) |
|
|
return report(output) |
|
|
except: |
|
|
except: |
|
|