RuudBurger/CouchPotatoServer — pull request #3188 by rfgamaral (2014-05-03 17:05:55+00:00)
Title: Avoid duplicate subtitle language identifier

CouchPotato currently adds the subtitle language identifier to the subtitle file name to identify the subtitle language if multiple subtitles were downloaded. However, Subliminal also does this by default. The current CP behavior will lead to duplicate subtitle language identifiers in the subtitle file name.

This commit prevents that by checking if the identifier is already there. If it's not, CP will add it as usual.