Merge branch 'development' into python3

This commit is contained in:
Louis Vézina 2019-10-06 19:45:43 -04:00
commit 26f2b865dd
3 changed files with 6 additions and 3 deletions

View File

@ -185,7 +185,9 @@ def sync_episodes():
).execute() ).execute()
# Store subtitles for added or modified episodes # Store subtitles for added or modified episodes
for altered_episode in altered_episodes: for i, altered_episode in enumerate(altered_episodes, 1):
notifications.write(msg='Indexing episodes embedded subtitles...', queue='get_episodes', item=i,
length=len(altered_episodes))
store_subtitles(path_replace(altered_episode[1])) store_subtitles(path_replace(altered_episode[1]))
list_missing_subtitles(altered_episode[2]) list_missing_subtitles(altered_episode[2])

View File

@ -267,7 +267,9 @@ def update_movies():
).execute() ).execute()
# Store subtitles for added or modified movies # Store subtitles for added or modified movies
for altered_movie in altered_movies: for i, altered_movie in enumerate(altered_movies, 1):
notifications.write(msg='Indexing movies embedded subtitles...', queue='get_movies', item=i,
length=len(altered_movies))
store_subtitles_movie(path_replace_movie(altered_movie[1])) store_subtitles_movie(path_replace_movie(altered_movie[1]))
list_missing_subtitles_movies(altered_movie[2]) list_missing_subtitles_movies(altered_movie[2])

View File

@ -2,7 +2,6 @@
<div class="twelve wide column"> <div class="twelve wide column">
<div class="ui grid"> <div class="ui grid">
<div class="middle aligned row"> <div class="middle aligned row">
<div class="two wide column"></div>
<div class="right aligned four wide column"> <div class="right aligned four wide column">
<label>Search for missing Subtitles frequency (in hours)</label> <label>Search for missing Subtitles frequency (in hours)</label>
</div> </div>