Project

General

Profile

Feature #2885

Somthing like grouping of format string...

Added by Sebastian K. over 9 years ago. Updated over 9 years ago.

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

100%

Estimated time:

Description

Don't know how to explain...

Here is just an example. With this file pattern "$c/$t/$t-$e-$n.$x" and having no episode information file name will contain two minus chars.

Is there a way to group these format strings? If empty use this... Something like: "$c/$t/$t{-$e|no episode info available}-$n.$x". So file name will contain "no episode info available".

History

#1

Updated by Jaroslav Kysela over 9 years ago

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

Applied in changeset commit:tvheadend|189b36f3344d41f0f53736af14aef62b4198f3e2.

#2

Updated by Jaroslav Kysela over 9 years ago

It's too much complicated (from the programmer / coding view). I added the delimiters to format strings, so you may use $-e now and if the episode is empty, the minus won't be applied, too. I think that it's enough.

Also available in: Atom PDF