Project

General

Profile

Feature #3011

Allow to modify recording's to-be-saved-by-title using external programs or scripts

Added by Janne Liukkonen over 9 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Configuration
Target version:
-
Start date:
2015-07-11
Due date:
% Done:

0%

Estimated time:

Description

In my country, Finland, they put extra information to the programs title. For example, The Simpsons are "Simpsonit (7)" or "Simpsonit (12)" depending on the content rating (normal episode vs horror episode). In a result, this makes multiple subdirectories for one program. When this happens with many different TV shows, it's hard to keep track which episode is the newest, plus of course the many many extra folders that are unnecessary.

I've heard something of grabbing and modifying the EPG, but I'm not sure how to do that. Post-processing script can't do this either because it tvheadend losts track of the file?

If I could use sed or some script to decide the filename / title before the recording starts, it would work perfertly. Like put a checkbox "run by shell" next to Format String in the recording options would allow to use sed-command to format it.

$(echo $t | sed 's/ (\ */(/g' | sed -e 's/\s(/(/g'|sed 's/([^)]*)//g') makes "Simpsonit (7)" to "Simpsonit"

Thanks for this great program! If this can't be implemented somehow, I'll figure something out.

Also available in: Atom PDF