popcorn-time/popcorn-app — pull request #216 by rpaggi (2014-03-06 01:26:56+00:00)
Title: Fixes on cache in reason of multiple subtitles

I made a change in the cache, because i saw having several occurrences of the same film with various languages in subtitles, for example:
{"Movie 1", "English: ..."}
{"Movie 1", "English: ... Spanish: ..."}
.
{"Movie 1", "English: ... Spanish ..., N '}

Now the cache verify if have an occurrence before insert in DB, if exists it makes a update, if not exists it makes a insert.

Enjoy