[mythtv-users] recording conflicts
Steve Heistand
steve at heistand.org
Wed Aug 13 19:03:01 UTC 2008
sweet, thanks
"Why is it so hot inside this handbasket?"
--
Steve Heistand
steve at heistand.org
---------- Original Message -----------
From: "Michael T. Dean" <mtdean at thirdcontact.com>
To: Discussion about mythtv <mythtv-users at mythtv.org>
Sent: Wed, 13 Aug 2008 14:58:50 -0400
Subject: Re: [mythtv-users] recording conflicts
> On 08/13/2008 02:23 PM, Steve Heistand wrote:
> > is there any way to have "mythtv" (FE/BE/web interface/etc) automatically
> > notify me in some way when there is a recording conflict?
> > the web interface does of course show this when I ask but
> > if I dont look I would never know.
>
> Using myth_upcoming_recordings.pl from the contrib/misc_status_info/
> directory:
>
> myth_upcoming_recordings.pl --recordings -1 --plain_text \
> --no_show_scheduled \
> --heading 'Recording Conflicts\n\n'
>
> Will give you a list of conflicts or "No conflicts." in the event there
> are no conflicts.
>
> You can write a script to call this program and send its output as an
> e-mail using mailx/sendmail/...
>
> Or, you can set up a script (i.e. /home/mythtv/bin/misc_status_info ) as
> the:
>
> Miscellaneous Status Application:
> External application or script that outputs extra information for
> inclusion in the backend status page. See contrib/misc_status_info/README
>
> (specified in mythtv-setup under general backend settings).
>
> The script should contain:
> ----- cut ----
> #!/bin/bash
>
> myth_upcoming_recordings.pl --recordings -1 \
> --no_show_scheduled \
> --heading '<h3>Recording Conflicts</h3>' \
> --no_conflicts_message '<h3>No Conflicts</h3>'
> ----- cut ----
>
> (note the removal of --plain_text) and the list of conflicts will appear
> in the "Miscellaneous" section of the backend status page (available
> through MythWeb's Status or http://<hostname>:6544/
>
> For my misc_status_info, I have:
>
> myth_recent_recordings.pl --recordings=-1 --hours=24 \
> --heading '<h3>Shows Recorded Today</h3>'
>
> You could put that in there, too--such as:
> --- cut ---
> #!/bin/bash
>
> myth_recent_recordings.pl --recordings=-1 --hours=24 \
> --heading '<h3>Shows Recorded Today</h3>'
> myth_upcoming_recordings.pl --recordings -1 \
> --no_show_scheduled \
> --heading '<h3>Recording Conflicts</h3>' \
> --no_conflicts_message '<h3>No Conflicts</h3>'
> --- cut ---
>
> and you'll see what was just recorded as well as what conflicts will
> occur. In the event that you didn't have any shows recorded in the last
> 24 hours, that section will not appear. In the even there are no
> conflicts, the message "No Conflicts" will appear (because of the
> --no_conflicts_message).
>
> See the --help output for myth_upcoming_recordings.pl for more options.
>
> Mike
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
------- End of Original Message -------
More information about the mythtv-users
mailing list