Project

General

Profile

Recording format for movies, so that the release year is included.

Added by A L 16 days ago

Hi there.

I am using TVH4.3 with the Schedules Direct internal grabber.

Is it possible to somehow record movies with the year of release in the title, so it automatically gets picked up by Kodi's scraper?

The year is in the EPG information but it can only be seen via the PVR add-on.

For example, rather than having the file name "Hulk.ts", I would like "Hulk (2003).ts"


Replies (6)

RE: Recording format for movies, so that the release year is included. - Added by Em Smith 16 days ago

The "$q" format specifier and its variants (#4667) formats the entire title and may be useful to you.

RE: Recording format for movies, so that the release year is included. - Added by A L 16 days ago

Thank you Em - this looks amazing.

TVHeadend just keeps getting better and better.

Based upon the revisions notes, I think that the best option for me would indeed be to keep movies in their own separate folder.

This being the case - is it that the only thing I need to do is change my default profile string to $3q?

RE: Recording format for movies, so that the release year is included. - Added by Em Smith 16 days ago

You probably want "$3q$n.$x". The "$n" ensures a unique filename if the file already exists. The "$x" is the file extension.

RE: Recording format for movies, so that the release year is included. - Added by A L 11 days ago

Thank you Em.

It is really nice to have separate folders for films and TV, when I press the record button.

Out of interest, how well do you find the sorting works in practice (given that I am using the same method of EPG grabbing as you)?

I tried recording five films, yesterday, and only one of them was identified as such and placed in the movie folder.

RE: Recording format for movies, so that the release year is included. - Added by Em Smith 11 days ago

It should work all the time with the grabber and most of the time with OTA. I use $q instead of $3q, but the code path for determining movie is the same.

It checks the category for "film" or "movie". That should exist for any feature film, short film, or tv movie.

Were the other films placed in to the tvshows directory? Or elsewhere? Perhaps they are using a different recording profile?

When recording, if debug is enabled then it will log "is_movie = x" if it is using the $q/$[123]q specifiers.

If you keep the imported epg xml files then you can check the entry for one that failed and one that worked and post them here. (Doesn't matter which channel you post since the details should be the same).

RE: Recording format for movies, so that the release year is included. - Added by A L 11 days ago

Had another look at this and whenever I set a recording, I never get "is_movie = x" in the log.

Any other thoughts on what I might do to get this working?

I tried changing to to the string to $q$n.$x but am still having the same problem.

    (1-6/6)