Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#10689 closed Patch - Bug Fix (fixed)

mythfrontend can't play bluray rip if there are non-Latin1 characters in path

Reported by: dluzin@… Owned by: Stuart Morgan <smorgan@…>
Priority: major Milestone: 0.25.1
Component: MythTV - Blu-ray Playback Version: Unspecified
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Mythfrontend can't play bluray rip if it's path contains non-Latin1 characters, for example cyrillic ones using UTF-8 locale. The problem resides in libs/libmythtv/bdringbuffer.cpp in BDRingBuffer::OpenFile? function. bd_open function called with path converted to Latin1, that is not correct for systems with non-default locales. Attached is a patch solving this issue.

Attachments (2)

bd_non-Latin1-filenames.patch (3.0 KB) - added by dluzin@… 12 years ago.
The patch
bd_non-Latin1-filenames.2.patch (2.9 KB) - added by dluzin@… 12 years ago.
removed irrelevant encoding conversion of bd rip path (filename) passed to LOG() function

Download all attachments as: .zip

Change History (6)

Changed 12 years ago by dluzin@…

The patch

Changed 12 years ago by dluzin@…

removed irrelevant encoding conversion of bd rip path (filename) passed to LOG() function

comment:1 Changed 12 years ago by sphery

This is a dup of #9797, but with a different patch.

comment:2 Changed 12 years ago by Stuart Morgan <smorgan@…>

Owner: set to Stuart Morgan <smorgan@…>
Resolution: fixed
Status: newclosed

In 832a3fa71ab9f9ee59f36e03ed7d0503b5718af9/mythtv:

Fix playback of blu-ray ISOs containing UTF8 characters. Fixes #10689, #9797

comment:3 Changed 12 years ago by Stuart Morgan <smorgan@…>

In b221af7e25dd4f354d210a90aa3aae441b59c896/mythtv:

Fix playback of blu-ray ISOs containing UTF8 characters. Fixes #10689, #9797
(cherry picked from commit 832a3fa71ab9f9ee59f36e03ed7d0503b5718af9)

comment:4 Changed 12 years ago by Raymond Wagner

Milestone: unknown0.25.1
Note: See TracTickets for help on using tickets.