Opened 14 years ago

Closed 14 years ago

Last modified 14 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@… 14 years ago.
The patch
bd_non-Latin1-filenames.2.patch (2.9 KB ) - added by dluzin@… 14 years ago.
removed irrelevant encoding conversion of bd rip path (filename) passed to LOG() function

Download all attachments as: .zip

Change History (6)

by dluzin@…, 14 years ago

The patch

by dluzin@…, 14 years ago

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

comment:1 by sphery, 14 years ago

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

comment:2 by Stuart Morgan <smorgan@…>, 14 years ago

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

In 832a3fa71ab9f9ee59f36e03ed7d0503b5718af9/mythtv:

Error: Processor CommitTicketReference failed
GIT backend not available

comment:3 by Stuart Morgan <smorgan@…>, 14 years ago

In b221af7e25dd4f354d210a90aa3aae441b59c896/mythtv:

Error: Processor CommitTicketReference failed
GIT backend not available

comment:4 by Raymond Wagner, 14 years ago

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