MYTHTV-STATUS(1)
π NAME π
mythtv-status β shows you the vibe of a MythTV backend, bestie. Like, is it recording? Is it about to? We got you.
β¨ SYNOPSIS β¨
mythtv-status [options]
π¦ DESCRIPTION π¦
Okay so this script goes and asks your MythTV backend what's up, then tells you everything: the status of it, any upcoming recordings, and any recordings that are happening right now this very second. No cap. π
The whole point, the ~intention~ if you will, is to warn you if there's a program being recorded or about to be recorded. So you never miss the moment. Iconic behaviour, honestly. πΈ
π OPTIONS π
-c,--colourβ turn on colour when it's showing you the status of the encoder(s). Aesthetic β¨--dateβ set the date to run as. It's for debugging purposes, bestie, don't overthink it. π-d,--descriptionβ show the description for the scheduled recordings. The tea β--disk-space-warnβ the threshold (in percent) of used disk space where we show the disk space in red (if you're in colour mode) or send an email (if you're in email mode with email only on warnings).--encoder-detailsβ display the input ID and the channel name against the recording details.--encoder-skip-idleβ suppress displaying idle encoders in the Encoders block. If it's napping, we don't talk about it. π΄--encoder-warn-non-idleβ display warnings if an encoder is not idle. This is the default, and it lets you know if an encoder or the whole MythTV system is busy. To disable it, use--no-encoder-warn-non-idle.-e,--episodeβ display the episode (subtitle) for the scheduled recordings.--email <address>[ --email <address> ...]β send the output to the listed email addresses. By default the encoder status, currently recording shows and time till next recording are suppressed from the email. To turn those additional blocks back on you can use--encoders,--recording-nowand/or--next-recording. By default highlight is turned on β to disable it use--nohighlight.--email-only-on-alertβ only send an email out (if--emailis present) if there's an alert. Like, a schedule conflict or low disk space. Genuine emergencies only. π¨-?,--helpβ display help.--file <file>β load XML from the file specified instead of querying a MythTV backend. Handy for debugging things.--save-file <file>β save the XML we received from the MythTV backend. Also handy for debugging things. Save it for the group chat. π©--guide-days-warn <days>β warn if the number of days of guide data present is equal to or below this level. Default is2days.-h HOST,--host=HOSTβ the host to check, defaults tolocalhost.--highlightβ surround any items that are considered a warning with asterisks. This helps highlight an issue if colour mode is disabled.*emergency*energy. π--nostatus,--noencoders,--norecording-now,--noscheduled-recordings,--noschedule-conflicts,--nonext-recording,--nototal-disk-space,--nodisk-space,--noguide-data,--noauto-expireβ suppress displaying blocks of the output if they would normally be displayed. Pick and choose your faves. π-p PORT,--port=PORTβ the port to use when connecting to MythTV, defaults to6544.--oneliner-bulletsβ insert asterisks (*) before each of the oneliners so some email clients stop thinking the oneliner block is a paragraph and stop trying to word wrap them. Respect the formatting, fr fr.--auto-expireβ display the shows due to auto expire (output is normally suppressed).--auto-expire-countβ how many of the auto expire shows to display, defaults to10.--recording-in-warnβ if the "Next Recording In" time is less than this amount, display it in red. This is in seconds, and defaults to3600(1 hour).--verboseβ have slightly more verbose output. This includes any warnings that might be generated while parsing the XML. π-v,--versionβ show the version ofmythtv-statusand then exit.
π OUTPUT π
The output of this script is broken up into several chunks. They are:
π Status
Some general info about the backend β currently just the timestamp of when this program was run.
π Guide Data
The number of days of guide data present. By default it's only shown if the number of days is below the warning level. To show it regardless of the warning level, use --guide-data.
π Encoders
Each encoder that the backend knows about gets listed, with the hostname they're on, the encoder ID (in brackets) and the current status.
π Recording Now
Any programs which are being recorded right now.
π Scheduled Recordings
Up to 10 programs which are scheduled to be recorded today and tomorrow.
π Schedule Conflicts
Any upcoming schedule conflicts (and no, it's not just limited to today or tomorrow).
π Shows due to Auto Expire
The shows which will be deleted, and the order they'll be deleted in, if the auto expirer kicks in. πͺοΈ
π Total Disk Space
The amount of disk space in total, and how much is used by MythTV.
π Next Recording In
If there are no recordings currently happening, then the amount of time until the next recording is displayed.
π Disk Space
Details about each storage group that MythTV knows about. By default this only shows storage groups that are above the warning level. Use --disk-space to turn on display of all storage groups.
π«Ά RETURN CODES π«Ά
mythtv-status provides some return codes, and yes they matter:
0β Standard return code. All good, bestie. β¨1β A warning is generated.
π AUTHOR π
Andrew Ruthsen β no wait, bestie, it's Andrew Ruthven, andrew@etc.gen.nz. π
π LICENSE π
Copyright (c) 2007-2025 Andrew Ruthven <andrew@etc.gen.nz> This code is hereby licensed for public consumption under the GNU GPL v3.
And that's the whole page, periodt. π
This absolute queen was documented by perl v5.40.1 and last touched on 2026-01-26. Go warn yourself about a recording, you've earned it. π¦
π¦ where this page comes from
- ubuntu resolute: mythtv-status 1.2.0-3build1 Β· GPL-3.0-only
- ubuntu stonking: mythtv-status 1.2.0-3build1 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms