mirror of
https://github.com/rclone/rclone.git
synced 2025-02-28 04:03:28 +08:00

.idx and .sub subtitle files only work if both are present, but the code was overwriting the first-inserted element to subtitlesByName, as it was keyed by the basename without extension. Make subtitlesByName point to a slice of nodes instead.