|
|
@ -559,12 +559,12 @@ class SubtitleNameInfo(Resource):
|
|
|
|
result = guessit(name, options=opts)
|
|
|
|
result = guessit(name, options=opts)
|
|
|
|
|
|
|
|
|
|
|
|
res = dict()
|
|
|
|
res = dict()
|
|
|
|
if result['episode'] is not None:
|
|
|
|
if 'episode' in result:
|
|
|
|
res['episode'] = result['episode']
|
|
|
|
res['episode'] = result['episode']
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
res['episode'] = 0
|
|
|
|
res['episode'] = 0
|
|
|
|
|
|
|
|
|
|
|
|
if result['season'] is not None:
|
|
|
|
if 'season' in result:
|
|
|
|
res['season'] = result['season']
|
|
|
|
res['season'] = result['season']
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
res['season'] = 0
|
|
|
|
res['season'] = 0
|
|
|
|