Fix for #1031. Improvement to events sent to browser when using batch editor.

pull/1038/head
Louis Vézina 4 years ago
parent 37b5ad4e26
commit a9da6e3343

@ -364,8 +364,6 @@ class Series(Resource):
list_missing_subtitles(no=seriesId) list_missing_subtitles(no=seriesId)
event_stream(type='series', action='update', series=seriesId)
return '', 204 return '', 204
@ -393,8 +391,6 @@ class SeriesEditSave(Resource):
else: else:
list_missing_subtitles(no=seriesid) list_missing_subtitles(no=seriesid)
event_stream(type='series', action='update', series=seriesid)
return '', 204 return '', 204
@ -875,8 +871,6 @@ class Movies(Resource):
list_missing_subtitles_movies(no=radarrId) list_missing_subtitles_movies(no=radarrId)
event_stream(type='movie', action='update', movie=radarrId)
return '', 204 return '', 204
@ -904,8 +898,6 @@ class MoviesEditSave(Resource):
else: else:
list_missing_subtitles_movies(no=radarrid) list_missing_subtitles_movies(no=radarrid)
event_stream(type='movie', action='update', movie=radarrid)
return '', 204 return '', 204

@ -233,7 +233,7 @@ def list_missing_subtitles(no=None, epno=None):
event_stream(type='episode', action='update', series=missing_subtitles_item[2], event_stream(type='episode', action='update', series=missing_subtitles_item[2],
episode=missing_subtitles_item[1]) episode=missing_subtitles_item[1])
event_stream(type='badges') event_stream(type='badges')
def list_missing_subtitles_movies(no=None): def list_missing_subtitles_movies(no=None):
@ -293,7 +293,7 @@ def list_missing_subtitles_movies(no=None):
(missing_subtitles_item[0], missing_subtitles_item[1])) (missing_subtitles_item[0], missing_subtitles_item[1]))
event_stream(type='movie', action='update', movie=missing_subtitles_item[1]) event_stream(type='movie', action='update', movie=missing_subtitles_item[1])
event_stream(type='badges') event_stream(type='badges')
def series_full_scan_subtitles(): def series_full_scan_subtitles():

Loading…
Cancel
Save