Project

General

Profile

Actions

Bug #5668

closed

tvheadend dvr adds invalid utf-8 character in filename for recording where title contains/ends with: 'в)' symbol

Added by Nikolay Kichukov almost 6 years ago. Updated almost 6 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
Category:
PVR / DVR
Target version:
-
Start date:
2019-06-25
Due date:
% Done:

0%

Estimated time:
Found in version:
tvheadend-4.2.8
Affected Versions:

Description

Hello,

What was initially believed to be a bug with the iOS client for tvheadend, see https://github.com/zipleen/tvheadend-iphone-client/issues/246, turns out to be a tvheadend bug.

The issue:
When you create a recording from a title that contains/ends with 'в)' symbol, the filename attribute inside the dvr file contains an invalid utf-8 byte which prevents tvheadend from serving the recording (500 error) and causes the side defect of the iOS app as per the bug referenced earlier.

Reproducible: always

Steps to reproduce:
1.) Craft a specially designed unicode title into your EPG, import into EPG the below example file epg.xml(adjust the dates to match current or future time and your channel id)
2.) Configure your DVR profile like the attached dvr profile: dvr-profile.json


Files

epg.xml (398 Bytes) epg.xml epg in xml for a channel that contains the title string in unicode Nikolay Kichukov, 2019-06-25 21:09
dvr-profile.json (1.13 KB) dvr-profile.json dvr-profile settings Nikolay Kichukov, 2019-06-25 21:14
Actions

Also available in: Atom PDF