Currently it is supported in events but not in user jobs. If possible it would be great to add the support so my user job scripts can work out if a recording is a movie or a series. I dont believe there is a way to do this currently so this would seem easy to add feature.
%RECTYPE% would return 1 if it is a movie, currently it returns a value of %RECTYPE% if you try and use it in a user job.
thanks for considering.
User job arguement %RECTYPE% in user jobs
Forum rules
Please be reasonable and positive with your feature requests, remember that all contributions to MythTV are by volunteers in their spare time. MythTV won't support piracy in any form, including torrents and use of soft cams, so to avoid embarrassment please do not ask.
* One suggestion per thread please. Do not post new suggestions in replies. *
Please be reasonable and positive with your feature requests, remember that all contributions to MythTV are by volunteers in their spare time. MythTV won't support piracy in any form, including torrents and use of soft cams, so to avoid embarrassment please do not ask.
* One suggestion per thread please. Do not post new suggestions in replies. *
Re: User job arguement %RECTYPE% in user jobs
You're looking for Category or CatType not RecType. they will return "series" or "movie" ect and not the bool value you are looking for. you also need guide data that provides the actual category data.
Re: User job arguement %RECTYPE% in user jobs
Category returns values like comedy, drama and so on with my guide data. I have looked at the rectype values in the database and they seem very consistant and will give me what I need and are an integer not a bool.
Cat type is not documented here will try it to see what it does.
https://www.mythtv.org/wiki/User_Jobs#U ... _arguments
Cat type is not documented here will try it to see what it does.
https://www.mythtv.org/wiki/User_Jobs#U ... _arguments
Re: User job arguement %RECTYPE% in user jobs
if you look in https://code.mythtv.org/trac/browser/my ... ingtypes.h(lines 19-32). witch the %RECTYPE% references on the page you linked you will see that it is for recording schedules. So the likely reason it is consistent is you only tend to set a movie to record once.