Difference between revisions of "Little Gems"

From MythTV Official Wiki
Jump to: navigation, search
m (pywikipedia assisted cleanup -> replacing Myth Frontend with MythFrontend)
Line 1: Line 1:
Here are some little gems that help when using mythtv.
+
Here are some little gems that help when using MythTV.
  
 
+
=HTML=
'''HTML'''
 
  
 
* Did you know that your backend (0.14+) gives a nice HTML output? Try http://yourmythttvbox:6544/
 
* Did you know that your backend (0.14+) gives a nice HTML output? Try http://yourmythttvbox:6544/
  
'''[[MythWeb]]'''
+
==MythWeb==
  
* Want to have add a password to mythweb? Check [http://httpd.apache.org/docs-2.0/howto/auth.html this] out!
+
* Want password authentication to [[MythWeb]]? Check [http://httpd.apache.org/docs-2.0/howto/auth.html this] out!
  
 
+
=Myth Commands/tools=
'''Myth Commands/tools'''
 
  
 
* Did you know that the MythTV source tarball contains a contrib/ directory with lots of little tools for all sorts of things?
 
* Did you know that the MythTV source tarball contains a contrib/ directory with lots of little tools for all sorts of things?
  
* Did you know that one of those tools in the contrib/ directory is mythtvosd, a program which lets you display *anything* you want as an on screen display?  This is useful for notifying you of mail, caller id, or anything you want!
+
==mythtvosd==
  
''mythtvosd'' can be called using one of a series of built-in OSD templates:
+
mythtvosd is a program which lets you display *anything* you want as an on screen display.  This is useful for notifying you of mail, caller id, or anything you want! ''mythtvosd'' can be called using one of a series of built-in OSD templates:
  
 
- '''alert''' : displays a popup in the upper-right corner with a specified message. Use --alert_text="''your message''" command line switch.
 
- '''alert''' : displays a popup in the upper-right corner with a specified message. Use --alert_text="''your message''" command line switch.
Line 25: Line 23:
 
- '''cid''' : displays a caller-id formatted message, including calling phone number, name, time, etc. Use --caller_name="''name''", --caller_number="''number''", --caller_date="''date''" on the command line.
 
- '''cid''' : displays a caller-id formatted message, including calling phone number, name, time, etc. Use --caller_name="''name''", --caller_number="''number''", --caller_date="''date''" on the command line.
  
For example, to display a scrolling message across the screen, use: <pre><nowiki>
+
For example, to display a scrolling message across the screen, use:
mythtvosd --template=scroller --scroll_text="New mail has arrived."
+
mythtvosd --template=scroller --scroll_text="New mail has arrived."
</nowiki></pre>
 
 
 
  
'''Display'''
+
=Display=
  
 
* Did you know that you can enable antialiasing by executing '<code><nowiki>export QT_XFT=1</nowiki></code>' before starting [[MythFrontend]]? ([http://gossamer-threads.com/lists/mythtv/dev/4684 ref.])
 
* Did you know that you can enable antialiasing by executing '<code><nowiki>export QT_XFT=1</nowiki></code>' before starting [[MythFrontend]]? ([http://gossamer-threads.com/lists/mythtv/dev/4684 ref.])
Line 36: Line 32:
 
* Did you know that you can disable the XV acceleration (so you can take screenshots) by executing '<code><nowiki>export NO_XV=1</nowiki></code>' before starting [[MythFrontend]]?
 
* Did you know that you can disable the XV acceleration (so you can take screenshots) by executing '<code><nowiki>export NO_XV=1</nowiki></code>' before starting [[MythFrontend]]?
  
'''Video'''
+
=Video=
  
 
* Did you know you can export the nuv file to vcd, xvid, avi, other?
 
* Did you know you can export the nuv file to vcd, xvid, avi, other?
 
Check out [http://extras.mythtvtalk.com nuv2disk] or [http://forevermore.net/mythtv/ nuvexport]
 
Check out [http://extras.mythtvtalk.com nuv2disk] or [http://forevermore.net/mythtv/ nuvexport]
  
* Can I merge two MPG files together?<br>
+
* Did you know you merge two MPG files together?<br>
 
Yes, with:
 
Yes, with:
<pre><nowiki>
+
cat File1 File2 > Merged File-name.
cat File1 File2 > Merged File-name.
+
([[Fix Me]]: can this be done with NUV files too? I don't think so since they have a file header)
</nowiki></pre>
 
([[Fix Me]]: can this be done with NUV files too?)
 
<br>
 
* Can I merge two AVI files?<br>
 
Yes, but not the same way as above, using transcoder utilites
 
<pre><nowiki>
 
avimerge -o "name of the new.avi" -i cd1.avi cd2.avi cd3.avi
 
</nowiki></pre>
 
  
 +
* Did you know you merge two AVI files?<br>
 +
Yes, but not the same way as above, using transcoder utilities
 +
avimerge -o "name of the new.avi" -i cd1.avi cd2.avi cd3.avi
  
'''Misc'''
+
=Misc=
  
 
* Did you know that you can record a program in LiveTV by pressing RECORD which has a default keybinding of 'R'? The recording starts at the time you press the key. ''No'' data is copied from the LiveTV buffer. This will (hopefully) be resolved within the next few releases, as it is a much-requested feature. Be patient.
 
* Did you know that you can record a program in LiveTV by pressing RECORD which has a default keybinding of 'R'? The recording starts at the time you press the key. ''No'' data is copied from the LiveTV buffer. This will (hopefully) be resolved within the next few releases, as it is a much-requested feature. Be patient.
Line 61: Line 52:
 
* Did you know that playback and recording can be filtered on a per channel basis?  See [[Filter Instructions]].
 
* Did you know that playback and recording can be filtered on a per channel basis?  See [[Filter Instructions]].
  
* Did you know that if you messed up the keybindings beyond recognition, you can execute (in mysql) '<code><nowiki>echo "delete from keybindings ;" | mysql -u mythtv -pmythtv mythconverg</nowiki></code>'?
+
* Did you know that if you messed up the keybindings beyond recognition, you can execute the following (when using MySQL)
 +
echo "delete from keybindings ;" | mysql -u mythtv -pmythtv mythconverg
  
 
* Did you know that if you put *.png,*.jpg,*.jpeg or *.gif image files into your music folder, [[MythMusic]] will pick a random one when it plays from that folder and you're using the [[Album Art]] visualization.
 
* Did you know that if you put *.png,*.jpg,*.jpeg or *.gif image files into your music folder, [[MythMusic]] will pick a random one when it plays from that folder and you're using the [[Album Art]] visualization.

Revision as of 12:07, 1 February 2006

Here are some little gems that help when using MythTV.

HTML

MythWeb

  • Want password authentication to MythWeb? Check this out!

Myth Commands/tools

  • Did you know that the MythTV source tarball contains a contrib/ directory with lots of little tools for all sorts of things?

mythtvosd

mythtvosd is a program which lets you display *anything* you want as an on screen display. This is useful for notifying you of mail, caller id, or anything you want! mythtvosd can be called using one of a series of built-in OSD templates:

- alert : displays a popup in the upper-right corner with a specified message. Use --alert_text="your message" command line switch.

- scroller : displays a scrolling message across the bottom of the screen. Use --scroll_text="your message" command line switch.

- cid : displays a caller-id formatted message, including calling phone number, name, time, etc. Use --caller_name="name", --caller_number="number", --caller_date="date" on the command line.

For example, to display a scrolling message across the screen, use:

mythtvosd --template=scroller --scroll_text="New mail has arrived."

Display

  • Did you know that you can enable antialiasing by executing 'export QT_XFT=1' before starting MythFrontend? (ref.)
  • Did you know that you can disable the XV acceleration (so you can take screenshots) by executing 'export NO_XV=1' before starting MythFrontend?

Video

  • Did you know you can export the nuv file to vcd, xvid, avi, other?

Check out nuv2disk or nuvexport

  • Did you know you merge two MPG files together?

Yes, with:

cat File1 File2 > Merged File-name.

(Fix Me: can this be done with NUV files too? I don't think so since they have a file header)

  • Did you know you merge two AVI files?

Yes, but not the same way as above, using transcoder utilities

avimerge -o "name of the new.avi" -i cd1.avi cd2.avi cd3.avi

Misc

  • Did you know that you can record a program in LiveTV by pressing RECORD which has a default keybinding of 'R'? The recording starts at the time you press the key. No data is copied from the LiveTV buffer. This will (hopefully) be resolved within the next few releases, as it is a much-requested feature. Be patient.
  • Did you know that playback and recording can be filtered on a per channel basis? See Filter Instructions.
  • Did you know that if you messed up the keybindings beyond recognition, you can execute the following (when using MySQL)
echo "delete from keybindings ;" | mysql -u mythtv -pmythtv mythconverg
  • Did you know that if you put *.png,*.jpg,*.jpeg or *.gif image files into your music folder, MythMusic will pick a random one when it plays from that folder and you're using the Album Art visualization.
  • Did you know that pressing 'd' in the profile-group menu lets you delete profile groups? (0.15+) (Is this still true? Doesn't seem to work in Knopp Myth 5A15.)
  • If you are having font related problems such as menu fonts not appearing a readable size, try installing the truetype Windows fonts using your distributions font installer.