mirror of
https://github.com/morpheus65535/bazarr
synced 2024-12-24 16:52:06 +00:00
Merge branch 'development' of https://github.com/morpheus65535/bazarr into development
This commit is contained in:
commit
a8d7b91490
3 changed files with 6 additions and 6 deletions
|
@ -119,11 +119,11 @@ def get_profile_list():
|
|||
try:
|
||||
profiles_json = requests.get(url_radarr_api_movies, timeout=15)
|
||||
except requests.exceptions.ConnectionError as errc:
|
||||
logging.exception("Error trying to get profiles from Sonarr. Connection Error.")
|
||||
logging.exception("Error trying to get profiles from Radarr. Connection Error.")
|
||||
except requests.exceptions.Timeout as errt:
|
||||
logging.exception("Error trying to get profiles from Sonarr. Timeout Error.")
|
||||
logging.exception("Error trying to get profiles from Radarr. Timeout Error.")
|
||||
except requests.exceptions.RequestException as err:
|
||||
logging.exception("Error trying to get profiles from Sonarr.")
|
||||
logging.exception("Error trying to get profiles from Radarr.")
|
||||
else:
|
||||
# Parsing data returned from radarr
|
||||
for profile in profiles_json.json():
|
||||
|
@ -135,4 +135,4 @@ def profile_id_to_language(id):
|
|||
return profile[1]
|
||||
|
||||
if __name__ == '__main__':
|
||||
update_movies()
|
||||
update_movies()
|
||||
|
|
|
@ -257,4 +257,4 @@ def movies_scan_subtitles(no):
|
|||
for movie in movies:
|
||||
store_subtitles_movie(path_replace_movie(movie[0]))
|
||||
|
||||
list_missing_subtitles_movies(no)
|
||||
list_missing_subtitles_movies(no)
|
||||
|
|
|
@ -1643,4 +1643,4 @@
|
|||
$('.form').form('validate form');
|
||||
$('#loader').removeClass('active');
|
||||
})
|
||||
</script>
|
||||
</script>
|
||||
|
|
Loading…
Reference in a new issue