Commit dd5b90f8 authored by echel0n's avatar echel0n
Browse files

Merge branch 'release/10.0.46'

parents bc629e03 b437b697
......@@ -2,8 +2,12 @@
 
All notable changes to this project will be documented in this file. Dates are displayed in UTC.
 
#### [10.0.46](https://git.sickrage.ca/SiCKRAGE/sickrage/compare/10.0.45...10.0.46)
#### [10.0.45](https://git.sickrage.ca/SiCKRAGE/sickrage/compare/10.0.44...10.0.45)
 
> 4 October 2021
- fixed issue with show language now displaying correcting in edit show view [`8a33201`](https://git.sickrage.ca/SiCKRAGE/sickrage/commit/8a3320101005be49a83e9203a306180e91a128af)
 
#### [10.0.44](https://git.sickrage.ca/SiCKRAGE/sickrage/compare/10.0.43...10.0.44)
......
{
"name": "sickrage",
"version": "10.0.45",
"version": "10.0.46",
"private": true,
"repository": {
"type": "git",
......
[bumpversion]
current_version = 10.0.45
current_version = 10.0.46
commit = False
tag = False
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\.(?P<release>[a-z]+)(?P<dev>\d+))?
......
......@@ -19,7 +19,7 @@
# along with SiCKRAGE. If not, see <http://www.gnu.org/licenses/>.
# ##############################################################################
__version__ = "10.0.45"
__version__ = "10.0.46"
__install_type__ = ""
import argparse
......
This diff is collapsed.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
......@@ -81729,7 +81729,7 @@ var debugs = {};
var debugEnviron;
exports.debuglog = function(set) {
if (isUndefined(debugEnviron))
debugEnviron = Object({"SENTRY_DSN":'https://[email protected]/2',"PACKAGE_VERSION":"10.0.45"}).NODE_DEBUG || '';
debugEnviron = Object({"SENTRY_DSN":'https://[email protected]/2',"PACKAGE_VERSION":"10.0.46"}).NODE_DEBUG || '';
set = set.toUpperCase();
if (!debugs[set]) {
if (new RegExp('\\b' + set + '\\b', 'i').test(debugEnviron)) {
......@@ -82538,7 +82538,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
 
Sentry.init({
dsn: 'https://[email protected]/2',
release: "10.0.45",
release: "10.0.46",
beforeSend: function beforeSend(event, hint) {
if (event.exception) {
event.exception.values[0].stacktrace.frames.forEach(function (frame) {
......@@ -105,28 +105,28 @@ class TheTVDB(SeriesProvider):
sickrage.app.log.debug(f"[{sid}]: Unable to get series info from {self.name}")
return None
# add season data to cache
for season in resp['seasons']:
season_number = int(float(season.get('seasonNumber')))
for k, v in season.items():
self.cache.add_season_data(sid, season_number, k, v)
# add series data to cache
[self.cache.add_show_data(sid, k, v) for k, v in resp.items()]
[self.cache.add_show_data(sid, k, v) for k, v in resp.items() if k != 'seasons']
# get season and episode data
sickrage.app.log.debug(f'[{sid}]: Getting episode data from {self.name}')
season_type = 'dvd' if dvd_order else 'default'
season_type = 'dvd' if dvd_order else 'official'
resp = sickrage.app.api.series_provider.get_episodes_info(provider=self.slug, series_id=sid, season_type=season_type, language=language)
if not resp or 'seasons' not in resp or 'episodes' not in resp:
sickrage.app.log.debug(f"[{sid}]: Unable to get season and episode data from {self.name}")
if not resp:
sickrage.app.log.debug(f"[{sid}]: Unable to get episode data from {self.name}")
return None
# add season data to cache
for season in resp['seasons']:
season_number = int(float(season.get('seasonNumber')))
for k, v in season.items():
self.cache.add_season_data(sid, season_number, k, v)
# add episode data to cache
episode_incomplete = False
for episode in resp['episodes']:
for episode in resp:
season_number, episode_number = episode.get('seasonNumber'), episode.get('episodeNumber')
if season_number is None or episode_number is None:
episode_incomplete = True
......
10.0.45
\ No newline at end of file
10.0.46
\ No newline at end of file
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment