We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 70bd5d5 commit 27dc8a5Copy full SHA for 27dc8a5
1 file changed
custom_libs/subliminal_patch/providers/assrt.py
@@ -94,6 +94,10 @@ def _get_detail(self):
94
return False
95
sub = result['sub']['subs'][0]
96
if not len(sub['filelist']):
97
+ # Single-file subtitle: URL is directly in the sub entry
98
+ if 'url' in sub and sub['url']:
99
+ self._detail = sub
100
+ return sub
101
logger.error('Can\'t get filelist from subtitle details')
102
103
files = sub['filelist']
0 commit comments