Project

General

Profile

Bug #3038

Bug when recording : filename too long error

Added by D. Sanchez almost 6 years ago. Updated over 5 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
Category:
PVR / DVR
Target version:
Start date:
2015-08-10
Due date:
% Done:

100%

Estimated time:
Found in version:
4.1-370~gd1def08
Affected Versions:

Description

The following format string prevent recording because the filename generated is too long :
$t $-c - %F+%R $-e$.s$n.$x

Is it possible to truncate the filename within the limits of the filesystem (ext4, ~255 chars) ?

Log :
Aug 9 16:34:30 nas tvheadend22241: dvr: "Des trains pas comme les autres" on "France 5" recorder starting
Aug 9 16:34:30 nas tvheadend22241: mpegts: 506MHz in TNT COFDM BB - tuning on DiBcom 7000PC : DVB-T #0 - T5 bout
Aug 9 16:34:30 nas tvheadend22241: subscription: 0019: "DVR: Des trains pas comme les autres" subscribing on channel "France 5", weight: 300, adapter: "DiBcom 7000PC : DVB-T #0 - T5 bout", network: "TNT COFDM BB", mux: "506MHz", provider: "GR1", service: "France 5", profile="matroska"
Aug 9 16:34:32 nas tvheadend22241: mkv: (null): Unable to create file, open failed -- Nom de fichier trop long
Aug 9 16:34:32 nas tvheadend22241: dvr: Recording error: "/mnt/STORAGE/Enregistrements/Des trains pas comme les autres -France 5 - 2015-08-09+16-36 .Norvege. Documentaire. 2015. Saison 5. Philippe Gougler parcourt la Norvege, en plein hiver ; entre autres curiosites typiques du pays, il visite un train chasse-neige et contemple une aurore boreale..mkv": Unable to open file
Aug 9 16:34:32 nas tvheadend22241: subscription: 0019: "DVR: Des trains pas comme les autres" unsubscribing from "France 5"
Aug 9 16:34:32 nas tvheadend22241: dvr: "Des trains pas comme les autres" on "France 5": End of program: File Not Created

And when deleting the recording :
Aug 9 18:32:02 nas tvheadend22241: dvr: Unable to remove file '/mnt/STORAGE/Enregistrements/Des trains pas comme les autres -France 5 - 2015-08-09+16-36 .Norvege. Documentaire. 2015. Saison 5. Philippe Gougler parcourt la Norvege, en plein hiver ; entre autres curiosites typiques du pays, il visite un train chasse-neige et contemple une aurore boreale..mkv' from disk - - Erreur inconnue -36

Looking at that log, it seems that the EPG source included the description in the subtitle.

Associated revisions

Revision 4570ce60 (diff)
Added by Jaroslav Kysela over 5 years ago

DVR: Use the system limits for the filename length, fixes #3038

History

#1

Updated by Jaroslav Kysela almost 6 years ago

  • Target version set to 4.2
#2

Updated by Jaroslav Kysela over 5 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Also available in: Atom PDF