Mailing List Archive

New user experiences and questions
First of all:
On a RH 7.3 box, MythTV was pretty easy to install. Just had to dig up
the qt-devel and qt-MySQL RPMs, and deal with all the xmltv dependencies.

MythTV seems to be working fine, except for a number of gotchas and
issues:

There does not appear to be any way to have MythTV record in the
background (i.e. without the GUI running) - While it's great for dedicated
PVR machines, it makes it much less useful for people who want to run it
on a machine used for other things. (I don't think I even have X running
more than 50% of the time). Is there any way to do this? (i.e. have a
daemon that starts up at boot and records stuff in the background without
any GUI.)

Similarly, mythfrontend doesn't seem to have any method for exiting other
than killing the app or control-C from whatever xterm it was started from.
If there is a way, I'd love to know, as I didn't see any in the
documentation.

Also, even though in the setup program I chose NOT to associate any of my
Hauppauge WinCast-TV's inputs other than composite with the "default"
source, mythtv probes all inputs at startup and automatically selects the
tuner input, not Composite1. As a result, if I schedule a recording, it
just records static. (I'm using a VCR as my tuner because of the fact
that the VCR is stereo and the audio when using the tuner has a
high-pitched whine that gives me splitting headaches. How do I fix this?
I've looked in tv.cpp and it appears to get input info from the database -
I tried hardcoding the input name to Composite1 and it didn't do anything.

e.g. in tv.cpp (Release 0.6), starting at line 901:
QString inputname = "";
QString chanstr = "";

if (query.isActive() && query.numRowsAffected() > 0)
{
query.next();

chanstr = query.value(0).toString();
inputname = query.value(1).toString();
}

// inputname = "Composite1";
channel->SwitchToInput(inputname);
channel->SetChannelByString(chanstr);

The commented out line is where I tried forcing the input to Composite1.

How do I stop the program from defaulting to the tuner? It makes viewing
with mythtv a minor annoyance, but it's a showstopper for unattended
recording.

Last, the database of recorded shows should be updated at the BEGINNING of
a recording, not at the end. If the machine crashes or loses power before
recording finishes, MythTV forgets that it ever recorded the show and the
MPEG file containing it becomes orphaned. Passing the filename as a
commandline argument to mythtv doesn't play it. (Related question: How
to I play recorded files that aren't in the database?)

Andy
Re: New user experiences and questions [ In reply to ]
On 7 Nov 2002 at 14:33, Andrew Dodd wrote:

> Similarly, mythfrontend doesn't seem to have any method for exiting other than
> killing the app or control-C from whatever xterm it was started from. If
> there is a way, I'd love to know, as I didn't see any in the documentation.

ALT-F4


--
Harondel J. Sibble
Sibble Computer Consulting
Creating solutions for the small business and home computer user.
help@pdscc.com (use pgp keyid 0x3AD5C11D) http://www.pdscc.com
(604) 739-3709 (voice/fax) (604) 686-2253 (pager)
Re: New user experiences and questions [ In reply to ]
On Thursday 07 November 2002 02:33 pm, Andrew Dodd wrote:
> First of all:
> On a RH 7.3 box, MythTV was pretty easy to install. Just had to dig up
> the qt-devel and qt-MySQL RPMs, and deal with all the xmltv dependencies.
>
> MythTV seems to be working fine, except for a number of gotchas and
> issues:
>
> There does not appear to be any way to have MythTV record in the
> background (i.e. without the GUI running) - While it's great for dedicated
> PVR machines, it makes it much less useful for people who want to run it
> on a machine used for other things. (I don't think I even have X running
> more than 50% of the time). Is there any way to do this? (i.e. have a
> daemon that starts up at boot and records stuff in the background without
> any GUI.)

Not currently, no.

> Similarly, mythfrontend doesn't seem to have any method for exiting other
> than killing the app or control-C from whatever xterm it was started from.
> If there is a way, I'd love to know, as I didn't see any in the
> documentation.

There isn't.

> Also, even though in the setup program I chose NOT to associate any of my
> Hauppauge WinCast-TV's inputs other than composite with the "default"
> source, mythtv probes all inputs at startup and automatically selects the
> tuner input, not Composite1. As a result, if I schedule a recording, it
> just records static. (I'm using a VCR as my tuner because of the fact
> that the VCR is stereo and the audio when using the tuner has a
> high-pitched whine that gives me splitting headaches. How do I fix this?
> I've looked in tv.cpp and it appears to get input info from the database -
> I tried hardcoding the input name to Composite1 and it didn't do anything.
<snip>
> The commented out line is where I tried forcing the input to Composite1.
>
> How do I stop the program from defaulting to the tuner? It makes viewing
> with mythtv a minor annoyance, but it's a showstopper for unattended
> recording.

If you could figure out why SwitchToInput() isn't working for you, then it
should record fine -- if hardcoding it like that didn't work, then something
else is wrong. That all seems to be working just fine for me and others,
though.

There isn't a way to specify the starting input, yet, though adding that is on
my todo list already.

> Last, the database of recorded shows should be updated at the BEGINNING of
> a recording, not at the end. If the machine crashes or loses power before
> recording finishes, MythTV forgets that it ever recorded the show and the
> MPEG file containing it becomes orphaned. Passing the filename as a
> commandline argument to mythtv doesn't play it. (Related question: How
> to I play recorded files that aren't in the database?)

I have it updating at the end because I don't want partial recordings in my
database, and I don't want things showing up in the UI before they've
finished recording. It'd be a simple matter to write up a little wrapper
program like the 'mythv' program to play single files, but I've never spent
the time to do it.

Isaac
Re: New user experiences and questions [ In reply to ]
Isaac Richards <ijr@po.cwru.edu> wrote:
> > Last, the database of recorded shows should be updated at the BEGINNING of
> > a recording, not at the end. If the machine crashes or loses power before
> > recording finishes, MythTV forgets that it ever recorded the show and the
> > MPEG file containing it becomes orphaned. Passing the filename as a
> > commandline argument to mythtv doesn't play it. (Related question: How
> > to I play recorded files that aren't in the database?)
>
> I have it updating at the end because I don't want partial recordings in my
> database, and I don't want things showing up in the UI before they've
> finished recording. It'd be a simple matter to write up a little wrapper
> program like the 'mythv' program to play single files, but I've never spent
> the time to do it.

ReplayTV will put the program into the menu as soon as it starts
to record. This allows the user to watch it while the recording is
already in progresss. And is very sweet, IMHO.

Partial recordings suck, but they are eating disk space with no
way for the user to easily delete them from the GUI then.

I'd say insert them in the database on recording start, and then
if it becomes partial, let the user know its partial in the GUI and
let them delete it normally.

--
Shawn.
RE: New user experiences and questions [ In reply to ]
If a machine crashes in the middle of a recording, is the recording
still vali, i.e. can it still be played? If so, what if, at the
beginning of the recording there is a database entry that says it
started to record. Then, at the end of the recording another entry is
made that it was finished. That way you'd have the option of viewing
"partials." Even if the files aren't viewable, you at least have a
listing of failed tapings that can be deleted or, possibly,
automatically rescheduled (it'd be kind of cool if MythTV was always on
the lookout for a specific show - if episode specific information was
available - that was erroneously taped)

Nate
Re: New user experiences and questions [ In reply to ]
On Thursday 07 November 2002 06:12 pm, Shawn Pearce wrote:
> ReplayTV will put the program into the menu as soon as it starts
> to record. This allows the user to watch it while the recording is
> already in progresss. And is very sweet, IMHO.

Err, mythtv lets you watch it while its recording -- just try to watch TV and
it prompts you that it's recording and asks if you want to stop recording and
watch tv, or watch the in-progress recording.

> Partial recordings suck, but they are eating disk space with no
> way for the user to easily delete them from the GUI then.
>
> I'd say insert them in the database on recording start, and then
> if it becomes partial, let the user know its partial in the GUI and
> let them delete it normally.

Sure, if that's what you all want, submit a patch to modify things so it does
that.

Isaac
Re: New user experiences and questions [ In reply to ]
On Thu, 7 Nov 2002, Shawn Pearce wrote:

> Isaac Richards <ijr@po.cwru.edu> wrote:
> > > Last, the database of recorded shows should be updated at the BEGINNING of
> > > a recording, not at the end. If the machine crashes or loses power before
> > > recording finishes, MythTV forgets that it ever recorded the show and the
> > > MPEG file containing it becomes orphaned. Passing the filename as a
> > > commandline argument to mythtv doesn't play it. (Related question: How
> > > to I play recorded files that aren't in the database?)
> >
> > I have it updating at the end because I don't want partial recordings in my
> > database, and I don't want things showing up in the UI before they've
> > finished recording. It'd be a simple matter to write up a little wrapper
> > program like the 'mythv' program to play single files, but I've never spent
> > the time to do it.
>
> ReplayTV will put the program into the menu as soon as it starts
> to record. This allows the user to watch it while the recording is
> already in progresss. And is very sweet, IMHO.

This is the way I first discovered the limitation - I set it to autorecord
Law and Order last night as a test, and wanted to start viewing the
episode at around 10:30 while it was still recording, and found out this
was not possible. :(

I'll do some more work on figuring out why hardcoding my input isn't
working - MythTV has no problem switching to the input after the fact.

I've been debating whether to get a Firewire HD for use with both this
machine and my laptop, now MythTV is pushing me a lot closer to getting
it. To the developers - Thanks sooo much for burning a hole in my pocket. :)

Interesting question - I know MythTV can use remote DB connections - Is
there any reliable way to configure MySQL to put certain tables on a
particular part of the filesystem? i.e. put anything MythTV related on
the Firewire HD, and have my laptop seamlessly read the DB when I plug the
HD into my laptop?
Re: New user experiences and questions [ In reply to ]
Isaac Richards <ijr@po.cwru.edu> wrote:
> On Thursday 07 November 2002 06:12 pm, Shawn Pearce wrote:
> > ReplayTV will put the program into the menu as soon as it starts
> > to record. This allows the user to watch it while the recording is
> > already in progresss. And is very sweet, IMHO.
>
> Err, mythtv lets you watch it while its recording -- just try to watch TV and
> it prompts you that it's recording and asks if you want to stop recording and
> watch tv, or watch the in-progress recording.

Uh, what if I come back 30 minutes into a program and want to watch it
from the start while its still playing? That's what I'm talking about
here. Its not any different than "pausing" live TV in reality...

> > Partial recordings suck, but they are eating disk space with no
> > way for the user to easily delete them from the GUI then.
> >
> > I'd say insert them in the database on recording start, and then
> > if it becomes partial, let the user know its partial in the GUI and
> > let them delete it normally.
>
> Sure, if that's what you all want, submit a patch to modify things so it does
> that.

Gah. Haven't even run mythtv yet and your already asking me for
a patch! :-)

Anyone else have time to do this while I still get my mythv installed?
If not, I'll take care of it soon.

--
Shawn.
Re: New user experiences and questions [ In reply to ]
On Thursday 07 November 2002 07:53 pm, Shawn Pearce wrote:
> Isaac Richards <ijr@po.cwru.edu> wrote:
> > On Thursday 07 November 2002 06:12 pm, Shawn Pearce wrote:
> > > ReplayTV will put the program into the menu as soon as it starts
> > > to record. This allows the user to watch it while the recording is
> > > already in progresss. And is very sweet, IMHO.
> >
> > Err, mythtv lets you watch it while its recording -- just try to watch TV
> > and it prompts you that it's recording and asks if you want to stop
> > recording and watch tv, or watch the in-progress recording.
>
> Uh, what if I come back 30 minutes into a program and want to watch it
> from the start while its still playing? That's what I'm talking about
> here. Its not any different than "pausing" live TV in reality...

How's that different than what mythtv does? You hit 'Watch the in-progress
recording', and it lets you watch it, from the beginning of the recording. I
really fail to see any difference, here...

> Gah. Haven't even run mythtv yet and your already asking me for
> a patch! :-)

You're the one asking for features :p

> Anyone else have time to do this while I still get my mythv installed?
> If not, I'll take care of it soon.

Isaac
Re: New user experiences and questions [ In reply to ]
Isaac Richards <ijr@po.cwru.edu> wrote:
> On Thursday 07 November 2002 07:53 pm, Shawn Pearce wrote:
> > Isaac Richards <ijr@po.cwru.edu> wrote:
> > > On Thursday 07 November 2002 06:12 pm, Shawn Pearce wrote:
> > > > ReplayTV will put the program into the menu as soon as it starts
> > > > to record. This allows the user to watch it while the recording is
> > > > already in progresss. And is very sweet, IMHO.
> > >
> > > Err, mythtv lets you watch it while its recording -- just try to watch TV
> > > and it prompts you that it's recording and asks if you want to stop
> > > recording and watch tv, or watch the in-progress recording.
> >
> > Uh, what if I come back 30 minutes into a program and want to watch it
> > from the start while its still playing? That's what I'm talking about
> > here. Its not any different than "pausing" live TV in reality...
>
> How's that different than what mythtv does? You hit 'Watch the in-progress
> recording', and it lets you watch it, from the beginning of the recording. I
> really fail to see any difference, here...

Ah. Well, if i had actually run MythTV by now I wouldn't have
asked. :-)

> > Gah. Haven't even run mythtv yet and your already asking me for
> > a patch! :-)
>
> You're the one asking for features :p

Of course. :-) And I can write C++ too! On Linux nonetheless!

--
Shawn.
Re: New user experiences and questions [ In reply to ]
On Fri, 2002-11-08 at 00:50, Andrew Dodd wrote:
> On Thu, 7 Nov 2002, Shawn Pearce wrote:
>

> Interesting question - I know MythTV can use remote DB connections - Is
> there any reliable way to configure MySQL to put certain tables on a
> particular part of the filesystem? i.e. put anything MythTV related on
> the Firewire HD, and have my laptop seamlessly read the DB when I plug the
> HD into my laptop?
>


MySQL uses a seperate directory for each database, so you could link the
mythconverg database to a directory on the firewire HD - however I have
no idea what will happen if you remove the disk while mysql is running,
though it's proberly something bad :)

// blinx
Re: New user experiences and questions [ In reply to ]
On Thu, Nov 07, 2002 at 06:50:12PM -0500, Andrew Dodd wrote:

> Interesting question - I know MythTV can use remote DB connections - Is
> there any reliable way to configure MySQL to put certain tables on a
> particular part of the filesystem? i.e. put anything MythTV related on
> the Firewire HD, and have my laptop seamlessly read the DB when I plug the
> HD into my laptop?

Do you really need the database if you're just going to be watching shows?
You don't need all that programming info, capture card configuration,
scheduled recordings, etc. Better might be to "export" the shows from
mythtv (renaming the files to something you can easily interpret) and
playing them with a standalone player (maybe the mythtv-based player already
discussed). This does not seem hard at all.

--
- mdz