Showing posts with label mythtv. Show all posts
Showing posts with label mythtv. Show all posts

mythtv and cifs (samba)

Posted on Tuesday, September 22, 2009 by Nicki

Due to some error in the linux NFS client, I had to use CIFS to mount the storage from FreeNAS on my mythbuntu box. This seems to have created a new issue, whereby recordings do not get deleted by the backend due to "Text file busy" errors.



Because my storage was eventually going to fill up, I wrote a script to delete the recordings from the database and filesystem, and scheduled it in cron. It only deletes recordings that have been watched and with autoexpire on older than 14 days, plus LiveTV recordings with autoexpire on older than 7 days.

The myth.find_orphans.pl script was in a .gz in the referenced directory, so I had to uncompress and chmod it.

mysql -u mythtv -ppassword mythconverg -e "delete from recorded where autoexpire=1 and watched=1 and endtime < curdate() - 14;"
mysql -u mythtv -ppassword mythconverg -e "delete from recorded where storagegroup='LiveTV' and autoexpire > 0 and endtime < curdate() - 7;"
/usr/share/doc/mythtv-backend/contrib/myth.find_orphans.pl --dodelete


nVidia TV Out on mythbuntu

Posted on Tuesday, September 1, 2009 by Nicki

I finally put in the LAN cable from my study/lab/network centre to the lounge so the mediacentre was moved to its final location close to the tv. Next up was getting the TV out to work to my tv. I used this site to get it working. Initally I thought I only had only black and white output, and struggled for 2 hours to try to get it working. I even went to far as to buy an S-Video - RCA cable, because a lot of references I found pointed to the fact that the RCA output on nVidia cards sometimes does not work correctly.


Well, after putting the new cable in, it still gave the same black & white results, but I now it works, because I just tested it on the DVD player. I used xclock to test, and it turns out I tried an incorrect/ignored command line option. After using the correct option, I have color! As they say: if it takes longer than 5 minutes it is probably a stupid mistake.

Next up is configuring the TV output to be the default/only display, and getting the remote blaster and my MNet decoder talking.

Here are the portions I had to add to /etc/X11/xorg.conf to get TV output working.


Section "Device"
Identifier "Device_tv"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce2 MX 100/200"
Option "TVStandard" "PAL-I"
Option "TVOutFormat" "SVIDEO"
Option "ConnectedMonitor" "TV"
EndSection

Section "Monitor"
Identifier "TV"
HorizSync 30-50
VertRefresh 50.0
EndSection

Section "Screen"
Identifier "Screen_tv"
Device "Device_tv"
Monitor "TV"
DefaultDepth 16
Subsection "Display"
Modes "720x576" "720x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Layout_tv"
Screen 0 "Screen_tv" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection

Getting Hauppauge WinTV-PVR-150 IR Blaster to work

Posted on Wednesday, July 29, 2009 by Nicki

I'm ready to move to the next level, to be able to change the channels on my decoder using the IR blaster that comes with the PVR-150. This link will help you a lot: LIRC PVR-150 IR blaster support

I only had to download the firmware and put it into the /lib/firmware directory on mythbuntu, and configure the IR blaster in Mythbuntu Control Center. I still have to figure out which codeset to use, but at least the irsend makes the little led on the blaster flash now.

MythTV on Windows

Posted on by Nicki

I found a nice mythtv front-end for Windows, MythTV Player. Version 0.50 even supports Live TV. It can skip commercials as well.

I found the download here

mythbuntu + Hauppauge PVR150 = win-win

Posted on Tuesday, July 7, 2009 by Nicki

I got a Hauppauge PVR 150 card today, installed it in place of the Genie Wonder Pro, configured it and the remote in the Muthbuntu Control Center, and it works out of the box! No editing of config files, no manual tricks, nada, niks!


It is brilliant when software and hardware gets this this level, especially on Linux.

Big thumbs up to the mythbuntu and mythtv guys, you rock!

mythbuntu 9.04 - 1, KnoppMyth 5.5 - 0

Posted on Sunday, July 5, 2009 by Nicki

I dug an old Athlon 700 out of retirement, and fitted my Genie Wonder Pro TV card in it to see if I can get it working as a media centre.


First I tried KnoppMyth 5.5. Setup worked fine (after I replaced the faulty pc133 memory), but I could not get it to Watch TV, no matter what I tried. After a day or so of struggling, I gave up.

Next was mythbuntu 9.04. Setup went without a hitch, and I could Watch TV!!!! Then the struggle to get the Genie Wonder Pro audio working started. In case you have the same problem - just connect the audio line from the card to your motherboard's aux input and forget about getting btaudio working... I've set up some xmltv schedules, and have some recordings scheduled for the next few days. The machine only has 384mb RAM, so it swaps a bit between certain ops like MythTV setup and MythTV frontend. I'm looking to upgrade to an Intel Atom or such and a proper capture card like a Hauppage 150 soon.

All in all, I have hope for a Linux Media Centre after mythbuntu, they've done a good job in my opinion.