Project

General

Profile

Can you change the way recordings are named?

Added by Anonymous over 12 years ago

Hi,

I am currently testing out TVheadend and make numerous recordings with it. What I need to do is setup a post process script to rip the subtitles in text format. I then have specially built app to index the subtitles but it was designed for a different filename setup. Like this: "dd-mm_hh-mm-ss_Channel_Programme.srt". Tvheadend names files like this: "channel-program-hh-mm-yyyy-mm-dd.mkv". Is there anyway to change that?

Thanks


Replies (2)

RE: Can you change the way recordings are named? - Added by Hein Rigolo over 12 years ago

The option that you want is not supported standard but if you can write a post-processing script to get the subtitles out of a tvheadend recording you can also do a simple rename on the recorded file. Once the file is created you can do with it what ever you want, so you can also rename it.

Hein

RE: Can you change the way recordings are named? - Added by Anonymous over 12 years ago

Hi Hein,

Yes I am aware of that but I didnt actually write the script myself so I'm unable to do it...

I was hoping someone could maybe help me out or give advice on how to right such a script or add some code to the existing one.

Any example of what the code would be in this case?

Thanks

    (1-2/2)