[mythtv-users] Shows are not getting recorded, but myth doesn't know
Michael T. Dean
mtdean at thirdcontact.com
Thu Mar 30 06:09:03 UTC 2006
On 03/28/2006 06:26 PM, Craig Hagerman wrote:
>I have had lots of troubles getting mythtv 0.19 installed. Now
>everything is installed and seems to be running OK. I can see live TV
>through mythtv, and I can set it to record a show. I can even see some
>"recorded programs" listed. However, it doesn't seem to REALLY be
>recording anything. I have done a search and there are no .nuv or .mpg
>files anywhere on my system.
>
>I just went to mythweb and clicked on "Recorded Programs". It DOES
>show two programs have been recorded, however there is nothing on my
>hard drive. After I clicked on "recorded programs" mythbackend gave
>these errors:
>
>2006-03-28 18:13:34.637 Could not open
>/home/mythtv/TV//1011_20060328000500.mpg.png. 12 retries remaining.
> ... [snip]...
>2006-03-28 18:13:40.660 Could not open
>/home/mythtv/TV//1011_20060328000500.mpg.png. 0 retries remaining.
>2006-03-28 18:13:41.173 Preview Error: Previewer file
>'/home/mythtv/TV/1006_20060325233000.mpg' is not valid.
>
>
Check permissions on /home/mythtv/TV
>Is that double slash a problem? (.../TV//1011...) I don't know why
>that is there.
>
>
No.
>When I mouse over a program it shows a link like this:
>
>http://192.168.1.36/mythweb/data/recordings/1011_20060328000500.mpg
>
>Why is this? I set it up to put recorded programs in /home/mythtv/TV/.
>Why does it think it is under the web Document Root?
>
>
Imagine if a web server served documents that weren't in the document
root... I could say:
http://192.168.1.36/../etc/shadow
http://192.168.1.36/../../etc/shadow
http://192.168.1.36/../../../etc/shadow
http://192.168.1.36/../../../../etc/shadow
until I got what I wanted. Not good for security.
Therefore, MythWeb must make a "view" of the recordings available under
the document root. The actual files are in /home/mythtv/TV (as your
logs above indicated mythbackend expected them to be.
Mike
More information about the mythtv-users
mailing list