dandygithub / kodi

KODI Addons Project
GNU General Public License v3.0
75 stars 48 forks source link

Fixed selecting director version #64

Closed ffoxin closed 3 years ago

ffoxin commented 3 years ago

Report: http://xbmc.ru/forum/showpost.php?p=163027&postcount=1134

Cause: selector extracts a list of is_director values for all translations with the currently selected translator. however, only the first is_director flag, even if the user selected second one (i.e. translations "Original" and "Original [director cut]" produces a list of values [false, true], and selecting the first element makes it impossible to watch the Original director's cut).

Solution: extract is_director values for all translations and then select by index.