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

From LinuxMCE
Jump to: navigation, search
m (trdelget)
(How to use it)
 
(16 intermediate revisions by 11 users not shown)
Line 1: Line 1:
[http://western-home.voodoo-ref.com/ western home furnishings] [http://sports-funny-pics.sugaryblog.com/ sports funny pics] [http://sided.mywww.biz/description/all-night-long-lyric.html all night long lyric by lionel richie] [http://batch.got-game.org/josh-groban.html josh groban video] [http://bosko.ikwb.com/sitemap.html sitemap] [http://ignomy.zyns.com/sensor-light.html sensor light instructions] [http://archived-websites.voodoo-ref.com/ archived web site] [http://recks.fartit.com/styles/photonics-west.html photonics west 05] [http://little-odessa.zonempower.in/ little odessa movie] [http://www.trustee-planet.in/sitemap.html website] [http://sacred.ygto.com/injection-molded.html injection molded parts] [http://landfat.org.in/im-gonna-getcha.html im gonna getcha good video] [http://really.longmusic.com/blog/ohio-festivals.html fair festival listing ohio state] [http://bedash.isasecret.com/tania.html tania] [http://jowls.zyns.com/minneola-tangelo.html minneola tangelo] [http://jump5-video.zonempower.in/ jump5 video hawaiian roller coaster ride] [http://www.voodoo-ref.com/sitemap.html web] [http://scolds.freewww.info/blog/sw.html by integramod powered site sw] [http://hoars.25u.com/blog/metal-detecting.html metal detecting] [http://leafy-spurge.voodoo-ref.com/ leafy spurge] [http://mchammer.isasecret.com/yo-ranch.html yo ranch texas] [http://aspic.myftp.info/new/image-mixer-sony.html image mixer sony software] [http://goofy-goober.voodoo-ref.com/ goober goofy song] [http://scolds.freewww.info/blog/ryan-mcintyre.html ryan mcintyre] [http://palace.mynumber.org/small/upmc.html upmc shadyside] [http://sighed.zyns.com/ayami.html ayami] [http://sighed.zyns.com/answered-back.html answered back job site web] [http://drum.got-game.org/new/kansas-city-movie.html kansas city movie theaters] [http://monkey-wrench.uni-nail.com/ monkey wrench] [http://coher.isasecret.com/amon-amarth-music.html amon amarth music videos] [http://fists.isasecret.com/pages/leased-line.html leased line] [http://anna-nicole-movie.libero-delirium.in/ anna nicole movie lebian] [http://oceanside-resorts.mioforum.com/ oceanside resorts inc.] [http://sacred.ygto.com/marukawa.html marukawa] [http://raw-diva-search.uni-nail.com/ raw diva search] [http://sided.mywww.biz/description/st-james-parish.html st james parish school board] [http://cavil.x24hr.com/web/its-movie-wonderful.html its movie wonderful world] [http://wet-pussy-licking.mioforum.com/ big licking pussy wet] [http://bonny.portrelay.com/web/marjorie-orr.html marjorie orr] [http://revile.x24hr.com/pitching-grips.html pitching grips] [http://checks.fartit.com/content/association.html association inc sydney united] [http://saturn.sexidude.com/small/terminal-services.html microsoft window 2000 terminal services] [http://climbs.sexidude.com/pages/anna-nicole.html anna nicole porn smith video] [http://modest.serveusers.com/letter-writing.html letter writing for kid] [http://searce.isasecret.com/text/stephen-king.html stephen king wallpaper] [http://asian-movie-pissing.i-amoco.in/ asian movie pissing pussy] [http://sacred.ygto.com/harry-connick.html harry connick jr] [http://sighed.zyns.com/maryland.html maryland] [http://stage.x24hr.com/q/affiliate-programmes.html affiliate programmes to fitness club] [http://landfat.org.in/kenpo-jiu-jitsu.html kenpo jiu jitsu tournament videos] [http://levell.mywww.biz/q/multimodal-study.html multimodal study transport] [http://drives.xxuz.com/lotto-michigan.html lotto michigan state] [http://regard.zyns.com/small/burner.html burner] [http://messe.justdied.com/used-car-value.html used car value] [http://messe.justdied.com/sitemap.html http] [http://saturn.sexidude.com/small/canada-fly-in-fishing.html canada fishing fly in in ontario] [http://bedash.isasecret.com/school-members.html school members (at)yahoo.co.uk nina] [http://twinn.justdied.com/q/renaissance-costumes.html medieval renaissance costume] [http://jennifer-lopex.esavant.in/ jennifer lopex movie sex] [http://fists.isasecret.com/pages/humminbird-fish.html humminbird fish finder] [http://pacify.x24hr.com/library/hebrew-words.html hebrew secret words] [http://amc-atlanta-movies.gloomyfind.in/ amc atlanta movies] [http://lizard.x24hr.com/blog/team-building.html building outdoor program team] [http://sided.mywww.biz/description/lynn-white.html lynn wb11 white] [http://kain-movie.ferratu.in/ kain movie] [http://chaff.isasecret.com/small/horse-bed-spread.html horse bed spread] [http://archicad.voodoo-ref.com/ archicad tutorial] [http://messe.justdied.com/phendimetrazine.html phendimetrazine] [http://jewels.zyns.com/directory/sky-pictures.html in picture sky star] [http://await.ikwb.com/library/invisaline.html invisaline] [http://stage.x24hr.com/q/slide-guitar.html slide guitar] [http://mchammer.isasecret.com/plumbing-dallas.html plumbing dallas] [http://erlook.ikwb.com/dukes-of-hazzard.html duke of hazzard dixie horn] [http://kay-parker-movie.gloomyfind.in/ kay parker movie taboo] [http://growth.zyns.com/comments/burp.html burp] [http://ecchi-anime-videos.esavant.in/ ecchi anime videos] [http://weekly.longmusic.com/library/wwwikeacom.html www.ikea.com] [http://quench.justdied.com/resources/la-duca-shoes.html la duca shoes] [http://bames.ikwb.com/gold-coast-cure.html gold coast cure] [http://bames.ikwb.com/2-wire-drivers.html 2 wire drivers] [http://bonny.portrelay.com/web/bargain-shopping.html bargain shopping] [http://pacify.x24hr.com/library/gundamseed.html gundamseed] [http://really.longmusic.com/blog/ciara.html ciara picture] [http://kitten.xxuz.com/buy-a-business.html buy a business] [http://cydnu.got-game.org/styles/john-wayne-maureen.html john wayne maureen ohara movies] [http://aspic.myftp.info/new/handygames.html handygames] [http://twinn.justdied.com/q/boost-mobile.html boost mobile] [http://filly.xxuz.com/must-be-doing.html must be doing something right guitar chords] [http://ebony-mature-movies.esavant.in/ ebony mature movie] [http://bonny.portrelay.com/web/real-estate-services.html real estate services ny] [http://bames.ikwb.com/flames.html flames] [http://arise.x24hr.com/text/aids-videos.html aids hanging saddam video] [http://levell.mywww.biz/q/arrangement-johns.html arrangement johns long need st supplier term wort] [http://norfolk-newspapers.mioforum.com/ newspaper in norfolk va] [http://hoars.25u.com/blog/lucretius-and.html lucretius and the nature of things] [http://revile.x24hr.com/linseed-oil.html linseed oil] [http://efficiency-engines.uni-nail.com/ efficiency engines] [http://crare.xxxy.info/men-only-magazines.html men only magazines] [http://really.longmusic.com/blog/love-positions.html love positions] [http://bodied.25u.com/online-engineering.html online engineering degree] [http://oaken.isasecret.com/blog/this-is-my-house.html this is my house flash] [http://weekly.longmusic.com/library/nh-strafford.html nh strafford window] [http://bandana.uni-nail.com/ bandana] [http://jewels.zyns.com/directory/casting-crowns.html casting crowns] [http://pacify.x24hr.com/library/drum-bass.html drum bass] [http://aiming.isasecret.com/library/usenet-binaries.html usenet binaries] [http://levell.mywww.biz/q/venture-capital.html venture capital firm] [http://await.ikwb.com/library/heaven-leigh.html by heaven idea leigh lyric nash] [http://larder.xxxy.info/lib/brown-county.html brown county indiana] [http://messe.justdied.com/flower-order.html flower francisco online order san] [http://taught.freewww.info/article/list-builder-bcentral.html list builder bcentral] [http://resum.isasecret.com/appleb.html appleb] [http://junior-girl-models.uni-nail.com/ junior girl model] [http://oaken.isasecret.com/blog/zone-game.html zone game] [http://unmade.x24hr.com/description/broker-dealer.html broker commodity contract dealer] [http://abash.isasecret.com/small/jin-freestyling.html jin freestyling videos] [http://abash.isasecret.com/small/ejaculate-galleriessquirting.html ejaculate galleries.squirting video] [http://feste.isasecret.com/new/tom-brady.html tom brady] [http://kitten.xxuz.com/lake-monticello.html lake monticello real estate] [http://blown.longmusic.com/comments/barcode-reader.html barcode reader] [http://essex.zyns.com/spanish-translations.html english to spanish translation] [http://photo-surgery.voodoo-ref.com/ photo surgery tuck tummy] [http://health-food-products.sugaryblog.com/ food health manufacturer organic product wholesale] [http://weekly.longmusic.com/library/home-based-turn.html home based turn key internet business] [http://saturn.sexidude.com/small/asian-clips.html asian clip free sex] [http://blown.longmusic.com/comments/marylands-agriculture.html marylands agriculture] [http://stage.x24hr.com/q/college-muscle.html college muscle boy] [http://revile.x24hr.com/orange-county.html orange county] [http://landfat.org.in/edited-music-videos.html edited music videos] [http://stage.x24hr.com/q/debt-management.html consolidation debt management] [http://kitten.xxuz.com/all-i-have-by.html all i have by jennifer lopez lyrics] [http://scolds.freewww.info/blog/assembling-bendix.html assembling bendix machine washing] [http://duckworth-boats.uni-nail.com/ duckworth boats] [http://tercel.zyns.com/soraya.html ot soraya] [http://palace.mynumber.org/small/men-in-the-shower.html men in the shower] [http://searce.isasecret.com/text/ali-larter-in.html ali larter in lingerie] [http://karotis.mioforum.com/ karotis] [http://livest.www1.biz/mk3-fatalities.html mk3 fatalities list] [http://used-houseboats.sugaryblog.com/ used house boat for sale] [http://sided.mywww.biz/description/sports-poems.html kid poem sports] [http://expel.isasecret.com/sitemap.html webmap] [http://lowrider-car-shows.uni-nail.com/ low rider car show site] [http://arise.x24hr.com/text/av-free-movies.html av free movies] [http://bci-6bk.sugaryblog.com/ bci-6bk] [http://romish.portrelay.com/description/michelle-phiffer.html michelle phiffer] [http://touareg.sugaryblog.com/ touareg] [http://allons.www1.biz/topic/university-of-edinburgh.html university of edinburgh] [http://revile.x24hr.com/golf-channel.html golf channel] [http://spray.ikwb.com/data/2005-fall-fashion.html 2005 fall fashion news trend] [http://nerf-herder.mioforum.com/ nerf herder] [http://jodie-foster.zonempower.in/ jodie foster latest movie] [http://ewood.isasecret.com/blog/collegehumourcom.html collegehumour.com] [http://sided.mywww.biz/description/auction-design.html auction can design exchange firm from making market online profit] [http://growth.zyns.com/comments/visions-of-germany.html visions of germany video] [http://taketh.isasecret.com/wiki/appendicitis-due.html appendicitis due to foreign body ingestion] [http://arise.x24hr.com/text/lamb-of-god-video.html lamb of god video download] [http://astigmatism-symptoms.uni-nail.com/ astigmatism symptoms] [http://ignomy.zyns.com/wwwtycom.html amazing ty.com] [http://wincot.serveusers.com/web/desert-landscape.html desert landscape] [http://bedash.isasecret.com/golf-tickets.html golf tickets] [http://checks.fartit.com/content/money-employment.html money employment internet internet go2clickbank.com] [http://spends.longmusic.com/directory/video-dumper.html video dumper] [http://notes-letter.sugaryblog.com/ notes letter head] [http://stage.x24hr.com/q/pny.html pny technologies] [http://bedash.isasecret.com/tiger-pictuers.html tiger pictuers] [http://canopy.xxxy.info/exposed-video.html exposed free paris video] [http://climbs.sexidude.com/pages/japanese-suck-movies.html japanese suck movies] [http://oaken.isasecret.com/blog/wolftrap.html wolftrap] [http://haven.ikwb.com/resources/azilect.html azilect effects rasagiline side] [http://scolds.freewww.info/blog/1932-ford.html 1932 ford roadster] [http://dexter.zyns.com/mad-money.html mad money] [http://bosko.ikwb.com/aux-jeux-video.html aux jeux video] [http://jowls.zyns.com/farm-holiday.html farm holiday in tuscany] [http://weekly.longmusic.com/library/ruinous.html ruinous] [http://pacify.x24hr.com/library/catholic-prayer.html catholic prayer] [http://papercutz-nancy.voodoo-ref.com/ papercutz nancy drew] [http://resum.isasecret.com/new-york-state.html new york state income tax forms and instructions] [http://moveth.ygto.com/jmw-turner-bio.html jmw turner bio] [http://mchammer.isasecret.com/maytag-appliances.html maytag home appliance center] [http://quench.justdied.com/resources/scalloped-shingles.html scalloped shingles] [http://turbulent-diffusion.voodoo-ref.com/ turbulent diffusion] [http://weekly.longmusic.com/library/spectator-chair.html spectator chair] [http://anatomy-deleted.libero-delirium.in/ anatomy deleted greys scene video] [http://diadem.fartit.com/vlc.html free vlc player] [http://jowls.zyns.com/sitemap.html website] [http://taught.freewww.info/article/nagy.html sandor solyom nagy] [http://drum.got-game.org/new/jr-moviescom.html jr movies.com] [http://katie-ritchie.sewenty.in/ katie ritchie home video] [http://jowls.zyns.com/laker-schools.html laker schools] [http://ipod-video-new.i-amoco.in/ ipod video new] [http://drum.got-game.org/new/il-lenox-movie.html il lenox movie new theater] [http://romish.portrelay.com/description/impale.html impale] [http://bodied.25u.com/b2k.html b2k] [http://spray.ikwb.com/data/ucla-westwood-campus.html ucla westwood campus] [http://fists.isasecret.com/pages/virgo-match.html virgo match] [http://crare.xxxy.info/job-listings.html job listings] [http://expel.isasecret.com/grapes-of-wrath.html grapes of wrath lesson plan] [http://jowls.zyns.com/shipping-car-to.html shipping car to alaska] [http://growth.zyns.com/comments/living-multi.html living multi] [http://checks.fartit.com/content/sports-advertisement.html sports advertisement]
+
[[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