MythTV
Contents
Errors and Solutions
tv_grab_uk_rt - Undefined argument in option spec
Edit /usr/bin/tv_grab_uk_rt and remove days and offset args from GetOptions variable list, and replace with:
'offset' => \ my $opt_offset, 'days' => \ my $opt_days,
See: https://sourceforge.net/tracker/?func=detail&atid=424135&aid=1440322&group_id=39046
QMYSQL3 driver not loaded
- apt-get install libqt3-mt-mysql
Scheduler log output (meaning of "S C I T N" etc)
- Title - Subtitle
- should be pretty obvious!
- Chan
- actual channel number
- ChID
- channel ID in mythtv database
- Day
- day in month of recording
- Start
- start time of recording
- End
- end time of recording
- S
- sourceID - ID of source of programs as defined by mythtv-setup (eg. UK Freeview)
- C
- cardID - ID of card to be used for recording. 0 if not to be recorded.
- I
- inputID - ID of input (combination of source and card). 0 if not to be recorded.
- T
- recording type
- S - SingleRecord
- T - TimeslotRecord
- W - WeekslotRecord
- C - ChannelRecord
- A - AllRecord
- F - FindOneRecord
- d - FindOneDailyRecord
- w - FindOneWeeklyRecord
- O - OverrideRecord/DontRecord
- N
- recording status:
- A - Aborted
- R - Recorded
- n - Recording/WillRecord on CardID
- X - DontRecord
- P - PreviousRecording
- R - CurrentRecording
- E - EarlierShowing
- T - TooManyRecordings
- c - Cancelled
- M - Missed
- C - Conflict
- L - LaterShowing
- r - Repeat
- x - Inactive
- K - LowDiskSpace
- B - TunerBusy
- N - NotListed
- V - NeverRecord
- Pri
- recording priority
MythTV and LIRC
Using the Ctrl key in config lines
Contrary to some sources, the required format for the config line is config=Ctrl+X. For example:
begin prog = mythtv button = TV config = Ctrl+2 end
Repairing broken MythTV tables
- Stop MythTV and MySQL
- cd /var/lib/mysql/mythconverg
- myisamchk *.MYI
- Identify broken tables
- myisamchk -r brokenTable.MYI
- Restart MythTV and MySQL
This will often happen if (with an nVidia driver), the nVidia libglx file has been overwritten by an xserver upgrade. To check for this, run glxinfo | grep direct - if the driver is working the direct rendering should be on. If not, check the /var/log/Xorg.0.log for:
(EE) NVIDIA(0): Failed to initialize the GLX module...
In this case, it's possible to reinstall the latest nvidia linux driver, or alternatively, simply (as root):
mv /usr/X11R6/lib/modules/extensions/libglx.so /usr/X11R6/lib/modules/extensions/libglx.so.orig ln -s /usr/X11R6/lib/modules/extensions/libglx.so.<nvidia ver> /usr/X11R6/lib/modules/extensions/libglx.so
Compiling from SVN
MythTV Core
For ubuntu, ensure the following packages are installed:
- gcc
- g++
- make
- linux-headers-version (also ln -s /usr/src/linux-headers-version /usr/src/linux)
- liblame-dev
- qt3-dev-tools
- lirc
- liblircclient-dev
- libasound2-dev
- libxvmc-dev
- libqt3-mt-dev
- libxxf86vm-dev
- libqt3-mt-mysql
To fix freetype headers not being found, simply:
sudo ln -s /usr/include/freetype2/freetype /usr/include/freetype
MythPlugins
- libmad0-dev
- libid3tag0-dev
- libvorbis-dev
- libflac-dev
- libcdaudio-dev
- libcdparanoia0-dev
- libtiff4-dev
- kdelibs4-dev
- libexif-dev
- fftw3-dev
- libsdl1.2-dev
- libfaad2-dev