[mythtv-users] 0.25fixes: mythtshutdown --status does not recognize recordings
Greg G.
dargllun at googlemail.com
Fri May 11 15:29:46 UTC 2012
On 11.05.2012 16:56, Bill Meek wrote:
> On 05/11/2012 04:32 AM, Martin Ginkel wrote:
>> 2012/5/11 Greg G.<dargllun at googlemail.com>:
>>> seems like there's a regression in 0.25fixes: when there is an ongoing
>>> recording, mythshutdown --status or --check won't return a status code
>>> of 8, but 0.
>
> Hi
>
> Try mythshutdown --help check (or status.) I'm using:
>
> mythshutdown --check=1
>
> and it works fine. The ==1 part says 'do check recording status'.
Thanks for this tip. It made me compare
$ mythshutdown --help
and http://www.mythtv.org/wiki/Mythshutdown, it seems interesting that
the built in usage information is less accurate than the one in the web.
The tool won't tell me that --status and --check have hidden parameters.
Anyway it helped, the following input was made with an ongoing recording:
$ mythshutdown --check; echo $?
0
$ mythshutdown --check=1; echo $?
1
$ mythshutdown --check=255; echo $?
0
$ mythshutdown --status; echo $?
0
$ mythshutdown --status=1; echo $?
8
$ mythshutdown --status=255; echo $?
0
So it seems I just need to specify that extra flag. Yet, I'm 99.999%
sure I did not have to do that with 0.24fixes...
Thanks again!
--
Regards
greg
More information about the mythtv-users
mailing list