Prioritize Hearing Impaired/CC On/Off
#1
This might already be implemented, but here it goes.

Currently 'Sync' subtitles are prioritized on top of list but sometimes CC/hearing impaired subtitles comes at top or random location.

What i would prefer would be a sorting "Sync > CC (at top)" if enabled and if disabled "Sync > CC (At bottom) since i'm not hearing impaired i wouldn't want it on top of the list to be automatically downloaded.

Is it possible to enable/disable hearing impaired already and i'm just too thick to find it?

I'm not sure if Sync sorting is integrated in the service or each specific addon. Would give me a clue where to code it in.
Reply
#2
Did abit more digging and found it's located in service.py by each addon. By subscene.com addon as example:

Replacing:
subtitles.sort(key=lambda x: [not x['sync']])

with this (CC/Hearing impaired NOT prioritized):
subtitles.sort(key=lambda x: [not x['sync'],x['hearing_imp']])
or with this (CC/Hearing impaired prioritized):
subtitles.sort(key=lambda x: [not x['sync'],not x['hearing_imp']])

It gaves perfect result of what i wanted.

People can change this themselves. I'll try get this implemented as a setting in Subscene.com and OpenSubtitles.org addons.

You may close this topic if you have nothing to add.
Reply

Logout Mark Read Team Forum Stats Members Help
Prioritize Hearing Impaired/CC On/Off0