markop159 / KODI-Popcorn-Time

With KODI Popcorn Time you can search for movies that you can see immediately in KODI.
142 stars 32 forks source link

Wrong Filename given when looking for subtitles #73

Open NiarK opened 7 years ago

NiarK commented 7 years ago

When playing a movie using this addon, if I try to look for subtitles, the filename used to search for sync subtitles does not correspond to the real file name.

For example, if I'm watching "Doctor Strange", the correponding file name is 'Doctor.Strange.2016.1080p.BluRay.x264-[YTS.AG].mp4', but the name that Kodi use for searching sync subtitles is 'Doctor Strange%20(2016)%20%5B1080p%5D %5BYTS.AG%5DDoctor.Strange.2016.1080p.BluRay.x264-%5BYTS.AG%5D.mp4'.

It uses percent encoding like URL, and also includes the file directory.

This prevents to search for sync subtitles.

markop159 commented 7 years ago

will add wontfix label for now maybe sometime in the future.