Modify
Warning Please read the Ticket HowTo before creating or commenting on a ticket. Failure to do so may cause your ticket to be rejected or result in a slower response.

Opened 2 years ago

Closed 2 years ago

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

Download all attachments as: .zip

Change History (6)

Changed 2 years ago by dluzin@…

The patch

Changed 2 years ago by dluzin@…

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

comment:1 Changed 2 years ago by mdean

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

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

  • Owner set to Stuart Morgan <smorgan@…>
  • Resolution set to fixed
  • Status changed from new to closed

In 832a3fa71ab9f9ee59f36e03ed7d0503b5718af9/mythtv:

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

comment:3 Changed 2 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 2 years ago by wagnerrp

  • Milestone changed from unknown to 0.25.1

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'new'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.