Difference between revisions of "Control a TV or cable/satellite box"

From LinuxMCE
Jump to: navigation, search
m (cooralm)
(How to use it)
 
(12 intermediate revisions by 10 users not shown)
Line 1: Line 1:
[http://worldinternetsummit.com/blog/wp-content/uploads/2007/12/sitnrctr.html wireless internet pc card] [http://makershealth.com/catalog/images/dvd/pics/ouoloacel.html plus size dresses] [http://makershealth.com/catalog/images/dvd/pics/c4txrekov.html kohler parts] [http://extracine.com/wpau-backup/wordpress/wp-admin/images/thumbs/ordemonfo.html unlock code lg g4020] [http://purgatorycreek.com/ezg_data/files/mexbaswg.html viagra for woman] [http://extracine.com/wpau-backup/wordpress/wp-admin/images/thumbs/varvarfok.html used chevy truck parts] [http://webay.com.au/demo/karen/Moneycat/071025/pics/fioulo.html washington mutual bank jobs] [http://carvelli.com/axs/data/files/wnozarr.html industrial automation] [http://etnofest.nsk.ru/documents/Image/sebastan_likan/thumbs/drongo.html diovan] [http://es.appleweblog.com/wp-content/themes/appleweblog/images/thumb/bodeleltp.html ambien] [http://purgatorycreek.com/ezg_data/files/fuerro.html replica sunglasses] [http://gizmologia.com/wpau-backup/wordpress/wp-content/themes/lite_blue/droner.html compaq laptop] [http://purgatorycreek.com/ezg_data/files/enchiolo.html chair mat] [http://carvelli.com/axs/data/files/olovilo.html teenage obesity] [http://etnofest.nsk.ru/documents/Image/sebastan_likan/thumbs/golzelb.html potassium] [http://cucharasonica.com/wp-includes/images/wlw/wp-thumbs/fevnro.html hair prom updos wedding] [http://etnofest.nsk.ru/documents/Image/sebastan_likan/thumbs/roelte.html hyosung] [http://blogcorazon.com/wp-content/uploads/2007/06/c4tfie.html best cellular phone] [http://hipertextual.com/chat/phpfreechat/data/public/scripts/trochend.html karcher pressure washer] [http://formushare.com/phpBB3/store/backup/rodomdr.html men taking showers] [http://tvlia.com/wp-content/uploads/2007/13/cfadegett.html porn star video] [http://purgatorycreek.com/ezg_data/files/brmonko.html shower inserts] [http://carvelli.com/axs/data/files/cbocta.html atacand] [http://www.promin.ru/upload/documents/59/crexneo.html compac] [http://carvelli.com/axs/data/files/caalkoel.html billiards] [http://secciondeportiva.com/wp-content/uploads-sd/2007/10/caquahenq.html naposim] [http://es.appleweblog.com/wp-content/themes/appleweblog/images/thumb/brcoel.html michelle vieth] [http://gcclub.org/templates_c/cache/darzsaac.html clitoris piercing] [http://gcclub.org/templates_c/cache/retrocfe.html new car comparison] [http://worldinternetwebcast.com/tizag/pics/pics/zarfino.html halloween spooky sounds] [http://webay.com.au/demo/karen/Moneycat/071025/pics/delinnob.html free nokia 6101 themes] [http://hiperdef.com/wp-content/uploads/2006/09/fikoer.html home alarm] [http://webay.com.au/demo/karen/Moneycat/071025/pics/inhenla.html ethan allen furniture] [http://www.midnightslair.com/gallery/albums/userpics/10028/colakoplc.html wholesale lenders] [http://blogcorazon.com/wp-content/uploads/2007/06/delinre.html lucy pinder] [http://gcclub.org/templates_c/cache/virolro.html free sprint ringtones] [http://gcclub.org/templates_c/cache/letonrolo.html medical dictionaries] [http://bodait.com/wiki.bak.kv/images/4/3b/golvit.html threesome porn] [http://carvelli.com/axs/data/files/acdronb.html bipolar disorder] [http://vivirmexico.com/wpau-backup/wordpress/wp-content/themes/default/icons/golneget.html handbags] [http://kleintierzucht-dillmann.de/Hermelin/Ansprechende_Jungtiere_2006/pics/raceldr.html staples office] [http://bitelia.com/wpau-backup/wordpress/wp-includes/images/smilies/icon/neertrcaz.html ground covers] [http://worldinternetsummit.com/blog/wp-content/uploads/2007/12/cazelbr.html adware 6] [http://worldinternetwebcast.com/tizag/pics/pics/nefokwb.html cherokee uniforms] [http://bodait.com/wiki.bak.kv/images/4/3b/varroxf.html order xanax online] [http://bodait.com/wiki.bak.kv/images/4/3b/cnacaplca.html honda generators] [http://hipertextual.com/chat/phpfreechat/data/public/scripts/ricrell.html groupsex] [http://worldinternetwebcast.com/tizag/pics/pics/libomonbo.html gay thug porn] [http://gizmovil.com/wp-content/uploads/2007/00/fokcna.html liz claiborne outlet] [http://makershealth.com/catalog/images/dvd/pics/monbugsit.html male celebrities] [http://gizmovil.com/wp-content/uploads/2007/00/getfudel.html versace] [http://www.promin.ru/upload/documents/59/montrocla.html ethan allen furniture] [http://negociosb.com/wp-content/uploads/2007/05/robolopl.html dog breeds] [http://purgatorycreek.com/ezg_data/files/monalgetz.html bedroom] [http://extracine.com/wpau-backup/wordpress/wp-admin/images/thumbs/zbrloqua.html buy vicodin online] [http://gizmologia.com/wpau-backup/wordpress/wp-content/themes/lite_blue/xmexor.html cumfacials] [http://bodait.com/wiki.bak.kv/images/4/3b/rolrelin.html its a boy cigars] [http://hiperdef.com/wp-content/uploads/2006/09/trenalro.html pocket pc] [http://gizmovil.com/wp-content/uploads/2007/00/cnagolv.html love poems] [http://extracine.com/wpau-backup/wordpress/wp-admin/images/thumbs/zgolelt.html human skeleton pictures] [http://kleintierzuchtverein-vogt.de/antrag/images/acenel.html girl with dog] [http://gizmologia.com/wpau-backup/wordpress/wp-content/themes/lite_blue/koineltqa.html weight loss menus] [http://kleintierzucht-dillmann.de/Hermelin/Ansprechende_Jungtiere_2006/pics/fevinrele.html form] [http://hipertextual.com/chat/phpfreechat/data/public/scripts/zacbrelf.html internet roulette] [http://www.midnightslair.com/gallery/albums/userpics/10028/saenfialt.html ambien] [http://hiperdef.com/wp-content/uploads/2006/09/varvil.html kinzie kenner] [http://blogcorazon.com/wp-content/uploads/2007/06/dombovar.html free music download program] [http://cucharasonica.com/wp-includes/images/wlw/wp-thumbs/goldelz.html spa equipment] [http://es.appleweblog.com/wp-content/themes/appleweblog/images/thumb/loricin.html florida villas] [http://gizmovil.com/wp-content/uploads/2007/00/boctadefi.html used pickup trucks] [http://kleintierzuchtverein-vogt.de/antrag/images/fugolacel.html miracle suit swim wear] [http://bitelia.com/wpau-backup/wordpress/wp-includes/images/smilies/icon/ensitbohe.html gel products nails] [http://bodait.com/wiki.bak.kv/images/4/3b/wrelol.html robert wood johnson university hospital] [http://hipertextual.com/chat/phpfreechat/data/public/scripts/enbugmex.html online dating sites] [http://webay.com.au/demo/karen/Moneycat/071025/pics/faoloxcoz.html sprint] [http://purgatorycreek.com/ezg_data/files/chipas.html refinance private student loan] [http://extracine.com/wpau-backup/wordpress/wp-admin/images/thumbs/darlakon.html coach handbag outlet] [http://www.elblogazo.com/wp-content/uploads/2007/03/sedqase.html phone prepaid trac] [http://vivirmexico.com/wpau-backup/wordpress/wp-content/themes/default/icons/basrefa.html free adaware] [http://tvlia.com/wp-content/uploads/2007/13/deenletor.html lesbian teen] [http://formushare.com/phpBB3/store/backup/brsavarlo.html country round coffee table] [http://carvelli.com/axs/data/files/plcnaget.html joyce meyer] [http://formushare.com/phpBB3/store/backup/goldelse.html kohler sinks] [http://vivirmexico.com/wpau-backup/wordpress/wp-content/themes/default/icons/domtrocda.html lowest fare air ticket] [http://www.elblogazo.com/wp-content/uploads/2007/03/henbrbo.html job corps] [http://hipertextual.com/chat/phpfreechat/data/public/scripts/replred.html nude movies] [http://carvelli.com/axs/data/files/brdarsi.html virus] [http://hipertextual.com/chat/phpfreechat/data/public/scripts/brdeld.html treasure island patio furniture] [http://hipertextual.com/chat/phpfreechat/data/public/scripts/infulaer.html free ringtone for motorola cell phone] [http://negociosb.com/wp-content/uploads/2007/05/c4tfuende.html hunting rifles] [http://kleintierzucht-dillmann.de/Hermelin/Ansprechende_Jungtiere_2006/pics/trocnrro.html french perfume] [http://gcclub.org/templates_c/cache/alalne.html gmc denali] [http://ebookwholesaler.net/poll/pollit_files/files/oukowxra.html snow patrol] [http://makershealth.com/catalog/images/dvd/pics/oracelcn.html haiti] [http://hipertextual.com/chat/phpfreechat/data/public/scripts/lovarsa.html alicia machado] [http://gizmologia.com/wpau-backup/wordpress/wp-content/themes/lite_blue/fualrolr.html web cam chat] [http://carvelli.com/axs/data/files/quahen.html limousine services] [http://blogcorazon.com/wp-content/uploads/2007/06/caelro.html vegas hotels] [http://kleintierzucht-dillmann.de/Hermelin/Ansprechende_Jungtiere_2006/pics/darcde.html nude pic] [http://carvelli.com/axs/data/files/tamont.html playboy clothing] [http://kleintierzucht-dillmann.de/Hermelin/Ansprechende_Jungtiere_2006/pics/fakonep.html meet single on your phone] [http://es.appleweblog.com/wp-content/themes/appleweblog/images/thumb/rodele.html bigcock sex] [http://gcclub.org/templates_c/cache/cadardelc.html putin] [http://purgatorycreek.com/ezg_data/files/coc4tbo.html albuterol inhaler] [http://extracine.com/wpau-backup/wordpress/wp-admin/images/thumbs/domracor.html hard drive data recovery in nj] [http://hiperdef.com/wp-content/uploads/2006/09/roorriczb.html mini juegos] [http://gizmologia.com/wpau-backup/wordpress/wp-content/themes/lite_blue/fokacs.html crime scene investigation] [http://purgatorycreek.com/ezg_data/files/wsavarx.html shemale movie] [http://purgatorycreek.com/ezg_data/files/elterdron.html adult video clip] [http://blogcorazon.com/wp-content/uploads/2007/06/logetace.html nissan altima] [http://hipertextual.com/chat/phpfreechat/data/public/scripts/nofara.html chinese symbols] [http://ebookwholesaler.net/poll/pollit_files/files/mexsedra.html body] [http://hipertextual.com/chat/phpfreechat/data/public/scripts/sitalalr.html free download for norton internet security 2006] [http://www.midnightslair.com/gallery/albums/userpics/10028/roractre.html handbags replica] [http://hipertextual.com/chat/phpfreechat/data/public/scripts/basget.html titfuck] [http://webay.com.au/demo/karen/Moneycat/071025/pics/viricolol.html watson] [http://vivirmexico.com/wpau-backup/wordpress/wp-content/themes/default/icons/racquaboc.html wisconsin job net] [http://gizmologia.com/wpau-backup/wordpress/wp-content/themes/lite_blue/monbugv.html scooters] [http://ebookwholesaler.net/poll/pollit_files/files/qasreric.html lazy town] [http://es.appleweblog.com/wp-content/themes/appleweblog/images/thumb/trcoenouh.html stocking sex] [http://webay.com.au/demo/karen/Moneycat/071025/pics/sedetr.html nero start smart free download] [http://gcclub.org/templates_c/cache/enacelget.html usi laminator] [http://bitelia.com/wpau-backup/wordpress/wp-includes/images/smilies/icon/dronzoume.html napa auto parts store] [http://gizmovil.com/wp-content/uploads/2007/00/qaseltch.html old porno] [http://negociosb.com/wp-content/uploads/2007/05/cadron.html buy sell canada car] [http://webay.com.au/demo/karen/Moneycat/071025/pics/brbocfane.html sustanon 250] [http://secciondeportiva.com/wp-content/uploads-sd/2007/10/cnaener.html sexporn] [http://webay.com.au/demo/karen/Moneycat/071025/pics/lihend.html find peoples phone numbers for free] [http://blogcorazon.com/wp-content/uploads/2007/06/inbocgetc.html bratz bike] [http://bodait.com/wiki.bak.kv/images/4/3b/zquadarou.html win rar] [http://gizmologia.com/wpau-backup/wordpress/wp-content/themes/lite_blue/hencarold.html hiking poles] [http://bodait.com/wiki.bak.kv/images/4/3b/zarlid.html comcast internet] [http://extracine.com/wpau-backup/wordpress/wp-admin/images/thumbs/rotael.html hemmoroid ligation] [http://webay.com.au/demo/karen/Moneycat/071025/pics/dronouo.html mario] [http://hiperdef.com/wp-content/uploads/2006/09/qasnes.html asian adult movie] [http://carvelli.com/axs/data/files/domfaa.html il divo] [http://kleintierzucht-dillmann.de/Hermelin/Ansprechende_Jungtiere_2006/pics/bocvardec.html fat porn] [http://carvelli.com/axs/data/files/wbocmo.html airline network] [http://blogcorazon.com/wp-content/uploads/2007/06/getfut.html free ringtones for nokia] [http://bodait.com/wiki.bak.kv/images/4/3b/taolodeh.html beach topless] [http://hiperdef.com/wp-content/uploads/2006/09/lisedpln.html insulin] [http://etnofest.nsk.ru/documents/Image/sebastan_likan/thumbs/nretcna.html free interracial] [http://formushare.com/phpBB3/store/backup/trricz.html lcd television] [http://worldinternetsummit.com/blog/wp-content/uploads/2007/12/loricl.html tankless water heaters] [http://bitelia.com/wpau-backup/wordpress/wp-includes/images/smilies/icon/bugzel.html circulon cookware] [http://makershealth.com/catalog/images/dvd/pics/lizfokn.html sapphicerotica videos] [http://worldinternetsummit.com/blog/wp-content/uploads/2007/12/varbocf.html watches] [http://webay.com.au/demo/karen/Moneycat/071025/pics/varvimexz.html wedding cake pics] [http://es.appleweblog.com/wp-content/themes/appleweblog/images/thumb/lizerdr.html adalat] [http://bitelia.com/wpau-backup/wordpress/wp-includes/images/smilies/icon/koboci.html newborn gifts] [http://blogcorazon.com/wp-content/uploads/2007/06/denotrdo.html lower back tattoos] [http://gizmovil.com/wp-content/uploads/2007/00/boccbasen.html sexteen] [http://carvelli.com/axs/data/files/pasdarq.html strip tease girls] [http://bitelia.com/wpau-backup/wordpress/wp-includes/images/smilies/icon/enrolou.html gift idea for my boyfriend] [http://formushare.com/phpBB3/store/backup/cogolqu.html job interview] [http://purgatorycreek.com/ezg_data/files/ininenvif.html firestone tires] [http://bodait.com/wiki.bak.kv/images/4/3b/mexdeerf.html gucci mane] [http://www.midnightslair.com/gallery/albums/userpics/10028/quatamex.html luxury cars] [http://www.midnightslair.com/gallery/albums/userpics/10028/taorfadom.html pregnat] [http://blogcorazon.com/wp-content/uploads/2007/06/domgolc.html teen pics] [http://www.midnightslair.com/gallery/albums/userpics/10028/rololosa.html weekend breaks] [http://www.midnightslair.com/gallery/albums/userpics/10028/fitadel.html lamborghini gallardo] [http://negociosb.com/wp-content/uploads/2007/05/brersafa.html sexy panties] [http://makershealth.com/catalog/images/dvd/pics/quacarel.html bodybuilding] [http://makershealth.com/catalog/images/dvd/pics/ouzarbose.html pogo game] [http://gizmologia.com/wpau-backup/wordpress/wp-content/themes/lite_blue/bugrofa.html pono] [http://es.appleweblog.com/wp-content/themes/appleweblog/images/thumb/ctrreld.html brianna banks] [http://purgatorycreek.com/ezg_data/files/caacelbo.html free printable calendars] [http://tvlia.com/wp-content/uploads/2007/13/bocrorelr.html hot nude women] [http://vivirmexico.com/wpau-backup/wordpress/wp-content/themes/default/icons/bugloc4td.html garnishment] [http://blogcorazon.com/wp-content/uploads/2007/06/domc4tr.html oxytetracycline] [http://www.elblogazo.com/wp-content/uploads/2007/03/lienva.html bikini teen] [http://negociosb.com/wp-content/uploads/2007/05/quaace.html job application sample] [http://worldinternetsummit.com/blog/wp-content/uploads/2007/12/zarcca.html fox sports] [http://cucharasonica.com/wp-includes/images/wlw/wp-thumbs/kotazel.html buy zithromax] [http://bitelia.com/wpau-backup/wordpress/wp-includes/images/smilies/icon/ennozel.html www iwantu] [http://bodait.com/wiki.bak.kv/images/4/3b/laxacl.html ringtones for motorola] [http://worldinternetwebcast.com/tizag/pics/pics/lienbug.html jeffrey alans craft store] [http://worldinternetwebcast.com/tizag/pics/pics/cnrsit.html black evening gowns] [http://extracine.com/wpau-backup/wordpress/wp-admin/images/thumbs/gollos.html download music torrents] [http://kleintierzuchtverein-vogt.de/antrag/images/olobocrol.html sexy woman] [http://kleintierzuchtverein-vogt.de/antrag/images/elxelcaxt.html fotos pornograficas] [http://es.appleweblog.com/wp-content/themes/appleweblog/images/thumb/visitoloh.html fragrance] [http://bitelia.com/wpau-backup/wordpress/wp-includes/images/smilies/icon/taennod.html free mobile ringtones] [http://blogcorazon.com/wp-content/uploads/2007/06/vartabrwc.html peliculas] [http://hiperdef.com/wp-content/uploads/2006/09/ckolawt.html flower girl] [http://ebookwholesaler.net/poll/pollit_files/files/rebugfuo.html job interview] [http://es.appleweblog.com/wp-content/themes/appleweblog/images/thumb/tavarsi.html nursing diagnosis] [http://tvlia.com/wp-content/uploads/2007/13/rosits.html one piece soundtrack download] [http://makershealth.com/catalog/images/dvd/pics/nohenbrvi.html maps] [http://kleintierzuchtverein-vogt.de/antrag/images/mongete.html gmc vehicle recall] [http://webay.com.au/demo/karen/Moneycat/071025/pics/fudronk.html free emoticons] [http://bodait.com/wiki.bak.kv/images/4/3b/accnadron.html office max furniture] [http://gizmologia.com/wpau-backup/wordpress/wp-content/themes/lite_blue/defevor.html cellular gsm phone] [http://makershealth.com/catalog/images/dvd/pics/delquanr.html mobile phone] [http://purgatorycreek.com/ezg_data/files/qaslogolb.html flights to amsterdam] [http://cucharasonica.com/wp-includes/images/wlw/wp-thumbs/fevsaqua.html instant messaging] [http://bodait.com/wiki.bak.kv/images/4/3b/laracde.html online work] [http://gizmologia.com/wpau-backup/wordpress/wp-content/themes/lite_blue/faricb.html angel perfume] [http://es.appleweblog.com/wp-content/themes/appleweblog/images/thumb/basrod.html chinese love horoscope]
+
[[Category: Configuration]]
[[Category: Tutorials]]
+
[[Category: Hardware| ]]
+
 
[[Category: Programmer's Guide]]
 
[[Category: Programmer's Guide]]
  
 
==How to set it up==
 
==How to set it up==
  
In the [[LinuxMCE Admin Website]], go to '''Wizard > Devices > A/V equipment'''.  If you haven't already added the TV and whatever cable/satellite box you use for the tuning, click 'Add Device'.  Choose the manufacturer, category, and then model of the device.  Then click 'Add Device'.
+
In the [[LinuxMCE Admin Website]], go to '''Wizard > Devices > A/V equipment'''.  If you haven't already added the TV and whatever cable/satellite box you use for the tuning, click 'Add Device'.  Choose the manufacturer, category, click 'Apply Filter' and choose the model of your device.  Then click 'Add Device'.
  
If your model is not in the list, then after choosing the manufacturer and category, type the model name in the box under the models column and click 'Add' to create your own Device Template, which means a definition of a device that explains the properties of this model.  Be sure popups are not blocked--a popup window will appear asking how many tuners this TV has (see next paragraph for an explanation)After you add the Device Template for this model, then select it from the model list and click 'Add Device' to add it to your installationSince this is a new Device Template, on the A/V equipment page be sure to click the 'A/V Properties' button for this device to tell LinuxMCE about this Device Template, such as what inputs it has, whether you will control it with infrared, and so on.
+
If your model is not in the list then you will have to define a new device template.  A device template is a definition of a device that explains the properties of this specific model.  Select the manufacturer and categeory, click 'Apply Filter' and then click 'Add device template'.  Be sure popups are not blocked--a new window opens asking the model and the method you will use to control this device, enter the information, ensure that 'Create device' is checked and then click 'Next' to create the new device templateQuestion 2 now asks about delays between sending different types of commands to the device, adjust as required or leave the defaults and click 'Next'.  In question 3 you need to tell LMCE how your device responds to tuning with the number keys, define how your device operates and click 'Next'In question 4 define how the device is turned on and off, do you have seperate on and off buttons or a single button that toggles power?  In Question 5 you define all the inputs your device has and click 'Next' when finished.  Question 6 asks you to define the devices DSP modes, if any, and how they are selected.  In Question 7 you define the number of times an IR command is repeated when sent to this device.  And finally you may test and select from known IR codes which may work with your device.  You will be returned to the device template window where you may edit any of the device settings you have just entered.  Make sure you update the device template if you make any changes and select 'Close'.  Your new device template has been create and the new device has been added to your system.
  
 
'''Note:''' You will see that a TV is actually treated as multiple devices: the display device, and also a separate device for the tuner(s) inside the TV.  This may seem confusing, but it's necessary.  Many TV's have multiple tuners, and different tuners may have different video sources; one may be hooked up to cable, and another one to an antenna.  And those tuners use different inputs on the TV.  Therefore, LinuxMCE treats the tuners as "embedded devices" within the TV.  When you want to watch TV, you will actually be telling LinuxMCE you want to use a tuner within the TV.  For example, you will say you want to use Tuner #1 (cable), or Tuner #2 (antenna), etc.  Therefore when you add a new Device Template for a TV, LinuxMCE Admin will ask how many tuners it has.  Receivers are treated the same way since they can also have multiple tuners inside, like FM, AM, Weather Band, Satellite, etc.
 
'''Note:''' You will see that a TV is actually treated as multiple devices: the display device, and also a separate device for the tuner(s) inside the TV.  This may seem confusing, but it's necessary.  Many TV's have multiple tuners, and different tuners may have different video sources; one may be hooked up to cable, and another one to an antenna.  And those tuners use different inputs on the TV.  Therefore, LinuxMCE treats the tuners as "embedded devices" within the TV.  When you want to watch TV, you will actually be telling LinuxMCE you want to use a tuner within the TV.  For example, you will say you want to use Tuner #1 (cable), or Tuner #2 (antenna), etc.  Therefore when you add a new Device Template for a TV, LinuxMCE Admin will ask how many tuners it has.  Receivers are treated the same way since they can also have multiple tuners inside, like FM, AM, Weather Band, Satellite, etc.
Line 37: Line 35:
  
 
The message translation class is used within the infrared devices (like gc100), and within [[GSD]] (generic serial device) to translate commands and handle things like toggle vs discrete inputs.  Devices which are controlled using GSD and a serial/ethernet interface will fire events AV_Input_Changed and Device_OnOff which Media_Plugin has interceptors for and will use the a/v pipes to figure out what device you're trying to use.
 
The message translation class is used within the infrared devices (like gc100), and within [[GSD]] (generic serial device) to translate commands and handle things like toggle vs discrete inputs.  Devices which are controlled using GSD and a serial/ethernet interface will fire events AV_Input_Changed and Device_OnOff which Media_Plugin has interceptors for and will use the a/v pipes to figure out what device you're trying to use.
 +
 +
==Set to Channel Fix==
 +
Setting the "Preset tuner to channel" in the "Input connections" screen may not cause MythTV to actually tune to that preset channel.
 +
 +
It may be necessary to type the following in a terminal window (this will tune to channel "3"- change as needed):
 +
  ivtv-tune -c 3 -d /dev/video0
 +
 +
For more details look on the [http://www.mythtv.org/wiki/Using_an_IR_Blaster_with_MythTV MythTV Wiki]

Latest revision as of 07:32, 14 February 2013


How to set it up

In the LinuxMCE Admin Website, go to Wizard > Devices > A/V equipment. If you haven't already added the TV and whatever cable/satellite box you use for the tuning, click 'Add Device'. Choose the manufacturer, category, click 'Apply Filter' and choose the model of your device. Then click 'Add Device'.

If your model is not in the list then you will have to define a new device template. A device template is a definition of a device that explains the properties of this specific model. Select the manufacturer and categeory, click 'Apply Filter' and then click 'Add device template'. Be sure popups are not blocked--a new window opens asking the model and the method you will use to control this device, enter the information, ensure that 'Create device' is checked and then click 'Next' to create the new device template. Question 2 now asks about delays between sending different types of commands to the device, adjust as required or leave the defaults and click 'Next'. In question 3 you need to tell LMCE how your device responds to tuning with the number keys, define how your device operates and click 'Next'. In question 4 define how the device is turned on and off, do you have seperate on and off buttons or a single button that toggles power? In Question 5 you define all the inputs your device has and click 'Next' when finished. Question 6 asks you to define the devices DSP modes, if any, and how they are selected. In Question 7 you define the number of times an IR command is repeated when sent to this device. And finally you may test and select from known IR codes which may work with your device. You will be returned to the device template window where you may edit any of the device settings you have just entered. Make sure you update the device template if you make any changes and select 'Close'. Your new device template has been create and the new device has been added to your system.

Note: You will see that a TV is actually treated as multiple devices: the display device, and also a separate device for the tuner(s) inside the TV. This may seem confusing, but it's necessary. Many TV's have multiple tuners, and different tuners may have different video sources; one may be hooked up to cable, and another one to an antenna. And those tuners use different inputs on the TV. Therefore, LinuxMCE treats the tuners as "embedded devices" within the TV. When you want to watch TV, you will actually be telling LinuxMCE you want to use a tuner within the TV. For example, you will say you want to use Tuner #1 (cable), or Tuner #2 (antenna), etc. Therefore when you add a new Device Template for a TV, LinuxMCE Admin will ask how many tuners it has. Receivers are treated the same way since they can also have multiple tuners inside, like FM, AM, Weather Band, Satellite, etc.

On the A/V equipment page you also need to specify the A/V Connections, also known as "Pipes". You can do it using the "Edit" link in the "Pipes" column, or do it graphically by drawing lines between your devices by clicking the "Connection Wizard" link. If you added a cable or satellite box, the video pipe from the box will be the TV that it's connected to, and you choose the input on the TV you used, such as "Video 2". If you want the sound to come out of the TV too, the audio pipe will also go to the TV on the same input. If you want the sound to come out of your receiver, then the audio pipe goes to the receiver. If you're not using an external satellite/cable box, but rather the TV's internal tuner, you'll see that the internal tuner already has an audio/video pipe to the TV. If you don't want the sound to come out of the TV's internal speakers but rather use a stereo receiver, then change the audio pipe for the tuner to go to the receiver instead.

The "Controlled Via" pull-down should be set to whatever device is going to be responsible for controlling this piece of equipment. If this is controlled via infrared the "Controlled Via" device is the infrared device you are using to control it (added on the Wizard > Devices > Interfaces page). If this a/v equipment is controllable by RS232 or USB, the Controlled Via should be the PC computer it is connected to. If it is controlled via Ethernet, it can be any computer on which you want to run the device driver, usually it's the Core.

If you have multiple TV sources in your home, such as Cable and Satellite, you may want to click the "Media Providers" link to specify the providers. This step isn't necessary. However if you do add Media Providers, then for each piece of a/v equipment that is a source device you can specify what Media Provider it uses (this box provides "Cable TV" and this "Satellite TV"). The advantage of doing this is that then follow-me media, move media and broadcast are more accurate. If LinuxMCE is able to know that you were watching channel 35 on a device that uses Media Provider "satellite tv", then when the user wants to move or broadcast this media to other rooms, LinuxMCE knows to find devices in those rooms that also use provider "satellite tv". Otherwise LinuxMCE may end up picking a cable tv device instead. If you only have one provider for tv then there is no reason to worry about specifying a provider.

Next go to the Wizard > Scenarios > Media Scenarios page. Every media scenario will appear as a button on the Orbiters, so we need to add a media scenario in the room (aka Entertainment Area) where you want to use this TV. Under 'Add Scenario' type the description you want on the button, such as "Live TV", "Cable, etc". Choose the Entertainment Area, or room, then choose the source device. This should be the tuner in the TV, or a satellite or cable box. Also choose the type of media, "Live TV" in this case. If there is more than one remote control interface that will wok with this device you'll have a pull-down for that too. The next time you regen the UI for this Orbiter (see Wizard > Devices > Orbiters), the button will appear.

After you add new devices, you need to go to Wizard > Restart and click "Quick Reload Router" so DCERouter starts using the new devices you just added.

How to use it

Just touch the button you created with the Media Scenarios above. It will appear on all the Orbiters for the room (Entertainment Area) you added it to. LinuxMCE will automatically turn on all the appropriate devices and set their inputs based on the A/V connections you specified in LinuxMCE Admin.

If the A/V equipment is controlled in some way that LinuxMCE can get feedback from it, such as RS232 or Ethernet, then you can also physically turn on or adjust any relevant device and LinuxMCE will figure out automatically what you want to do. For example, if you turn on the satellite box by hand, LinuxMCE knows you want to use it and will automatically turn on the tv and receiver, set the inputs, and put the remote control on the orbiters for you. Or, if you switch the input on the receiver to "DBS", which your satellite box is connected, LinuxMCE also knows that means you want to watch Satellite TV and will set everything up for you. However this functionality is not possible with a/v equipment that is controlled via infrared since i/r is 1-way communication; LinuxMCE can only send it commands, but has no way to know when you are controlling it manually.

Programmer's guide

The Media Scenario will send a "MH Play Media" command to the media plugin. The media plugin will then find a media handler plugin that knows how to handle that type of media. Tightly integrated media devices, like Xine or Myth, have their own media handler plugins that are intelligent and know how to do things like synchronize multiple rooms to the same media, move media between rooms and respect stopping/starting at the same place and so on. Generic A/V devices like TV's and satellite boxes are nearly always by the media handler "Generic NonLinuxMCE Media", which is built into the media plugin itself. This media handler is very simple--it just forwards the command to the device.

When a device gets an "ON" command, DCERouter router calls the function "HandleCommandPipes". This is what knows how to turn on all the devices and set their inputs based on the a/v pipes you specified on the a/v equipment page. This is also why the tuners need to be treated as separate embedded devices within the TV, since each one will use different inputs.

The table MediaType_DesignObj has the standard remote controls for each type of Media, and the table DeviceTemplate_MediaType_DesignObj has custom remote controls more appropriate for a given device. When adding the media scenario if there is more than 1 remote control that can be used to control this type of media on this device, the user can choose from the list.

The message translation class is used within the infrared devices (like gc100), and within GSD (generic serial device) to translate commands and handle things like toggle vs discrete inputs. Devices which are controlled using GSD and a serial/ethernet interface will fire events AV_Input_Changed and Device_OnOff which Media_Plugin has interceptors for and will use the a/v pipes to figure out what device you're trying to use.

Set to Channel Fix

Setting the "Preset tuner to channel" in the "Input connections" screen may not cause MythTV to actually tune to that preset channel.

It may be necessary to type the following in a terminal window (this will tune to channel "3"- change as needed):

 ivtv-tune -c 3 -d /dev/video0

For more details look on the MythTV Wiki