Project

General

Profile

Rename Recordings

Added by Pluto P almost 12 years ago

is there a way to rename recordings?

I can't find any entry in the webGUI and It doesn't work using xbmc (there is the option from the recordings window).

Thank you


Replies (4)

RE: Rename Recordings - Added by Adam Sutton almost 12 years ago

No there is currently no way to rename recordings in the UI. The only thing you can do is manually rename the files and also to manually update the dvr/log file that references the recording.

Adam

RE: Rename Recordings - Added by Kev S almost 12 years ago

How do you force TVHeadend to read these changes?

For example I have renamed one file to the following (output from ls)

-rwxrwxrwx 1 xbmc plugdev 1.1G Nov 22 00:02 /media/Freeview/The World at War/S2012E1121.mkv

and have amended the log file as follows

hts@williams:~/.hts/tvheadend/dvr/log$ cat ~/.hts/tvheadend/dvr/log/87
{
        "channel": "Yesterday",
        "start": 1353538800,
        "stop": 1353542400,
        "start_extra": 2,
        "stop_extra": 2,
        "config_name": "MKV Standard",
        "creator": "Auto recording by: 192.168.6.107",
        "filename": "/media/Freeview/The World at War/S2012E1121.mkv",
        "title": {
                "eng": "The World at War" 
        },
        "description": {
                "eng": "Pincers: Laurence Olivier narrates the acclaimed documentary series about the Second World War. 1944 sees the steady disintegration of the German war machine, as the Allies advance. [S]" 
        },
        "pri": "low",
        "noresched": 0,
        "autorec": "17",
        "contenttype": 32,
        "broadcast": 80436,
        "container": 1
}

Yet when I try to play from the recordings section the TVHeadend (3.2.18) web gui reports

Nov 24 14:45:00 HTTP: 127.0.0.1: /dvrfile/87 -- 404

Getting my renamer script to handle this is no biggy (a simple grep on the filename will find the DVR file and then a simple json edit would be possible) if only TV Headend could manage to read it!

RE: Rename Recordings - Added by Adam Sutton almost 12 years ago

You can't you'd have to restart I'm afraid :( I need to offload some other jobs so that I can actually do some work on the whole DVR setup.

Adam

RE: Rename Recordings - Added by nf gb over 9 years ago

Hi,

I was trying to achieve the same as Kev S.
Was there any evolution on this subject since the last post? Is there easier way to achieve this on recent versions?

Thanks

    (1-4/4)