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

From LinuxMCE
Jump to: navigation, search
m (tabodronmonl)
m (Undo revision 9252 by LetorOmona (Talk) Spam removal)
Line 1: Line 1:
[http://stage.x24hr.com/q/pictures-of-shopping.html pictures of shopping carts] [http://crare.xxxy.info/anything.html anything but clothes] [http://filly.xxuz.com/pavel-korsakov.html pavel korsakov] [http://alessia-merz-video.esavant.in/ alessia merz video] [http://cavil.x24hr.com/web/illusionistic.html illusionistic movies] [http://recks.fartit.com/styles/bukka.html bukka] [http://anderson-honeymoon.ferratu.in/ anderson honeymoon lee pamela tommy video] [http://bames.ikwb.com/tila.html tila] [http://unmade.x24hr.com/description/management-issues.html management issues kakadu] [http://lexington-kentucky.sitenavigate.in/ lexington kentucky movie theatre] [http://taught.freewww.info/article/acclaim-photography.html acclaim photography] [http://crare.xxxy.info/referendum-constitucion.html referendum constitucion europea resultados] [http://pacify.x24hr.com/library/installing-two.html installing two hard drives] [http://tercel.zyns.com/translated-hentai.html translated hentai manga] [http://batch.got-game.org/jesus-video-project.html jesus video project america] [http://bames.ikwb.com/mctavish-travel.html mctavish travel] [http://drives.xxuz.com/notary-application.html notary application for arizona] [http://scolds.freewww.info/blog/nudist-colony.html teen nudist colony] [http://drives.xxuz.com/tower-federal-credit.html tower federal credit union] [http://taught.freewww.info/article/hiroshima.html cold from hiroshima potsdam roosevelt truman war] [http://george.myftp.info/content/carlos-n-charlies.html carlos n charlies] [http://messe.justdied.com/netscape.html netscape] [http://mchammer.isasecret.com/horse-cum-swallowing.html horse cum swallowing] [http://tercel.zyns.com/livework-london.html livework london] [http://twinn.justdied.com/q/mazda.html mazda san diego] [http://arise.x24hr.com/text/a-perfect-circles.html a perfect circles passive video] [http://sacred.ygto.com/mortgage-payment.html mortgage calculator uk] [http://larder.xxxy.info/lib/adolecentes.html adolecentes caracas sus y] [http://allons.www1.biz/topic/markets.html farmer market] [http://unmade.x24hr.com/description/mac-mini.html mac mini] [http://lizard.x24hr.com/blog/musicmatch-jukebox.html musicmatch jukebox free upgrade] [http://abash.isasecret.com/small/like-a-prayer.html like a prayer music video] [http://gnawn.isasecret.com/q/screen-printing.html screen printing press] [http://weekly.longmusic.com/library/summary-of-macbeth.html summary of macbeth act 3 scene 2] [http://pear.x24hr.com/view/aquamarine-movie.html aquamarine movie wallpaper] [http://really.longmusic.com/blog/yorktowne-kitchen.html yorktowne kitchen cabinets] [http://hoars.25u.com/blog/southern-union.html college community southern union] [http://ariana-jollee.voodoo-ref.com/ ariana jollee pic] [http://allons.www1.biz/topic/adonet-connection.html ado.net connection timeout] [http://street-abbreviations.mioforum.com/ street abbreviations] [http://coher.isasecret.com/jane-fonda-starred.html jane fonda starred in this movie] [http://werving-personeel.mioforum.com/ werving personeel - vinden] [http://hoars.25u.com/blog/rinnai-water-heater.html rinnai water heater review] [http://drum.got-game.org/new/art-videoblogs.html art videoblogs] [http://aiming.isasecret.com/library/free-email-lists.html free email list] [http://taught.freewww.info/article/tinted-car-windows.html tinted car windows law] [http://climbs.sexidude.com/pages/katrina-mike-tice.html katrina mike tice video] [http://dexter.zyns.com/vince-carter.html vince carters wife] [http://pear.x24hr.com/view/a-script-in-this.html a script in this movie is causing] [http://recks.fartit.com/styles/tailgate-grill.html barbecue grill tailgate] [http://hoars.25u.com/blog/stage2-networks.html stage2 networks] [http://climbs.sexidude.com/pages/extreme-movie.html extreme movie manager pro 3.5] [http://taketh.isasecret.com/wiki/alley-baggett.html alley baggett videos] [http://batch.got-game.org/irresistible.html irresistible movie simply] [http://lizard.x24hr.com/blog/stephany.html stephany] [http://kitten.xxuz.com/naat.html naat sharif.com] [http://blown.longmusic.com/comments/symphony-x.html symphony x tab] [http://wwwcoxcom.voodoo-ref.com/ www.cox.com] [http://levell.mywww.biz/q/credit-card-holder.html card credit holder] [http://marquee-cinema-huntington.voodoo-ref.com/ marquee cinema huntington wv] [http://landfat.org.in/elektra-2-movie.html elektra 2 movie] [http://searce.isasecret.com/text/infrared-camera.html infrared camera] [http://landfat.org.in/kidnapping-movie.html kidnapping movie] [http://cavil.x24hr.com/web/i2eye-video-phone.html i2eye video phone] [http://blown.longmusic.com/comments/grog.html grog] [http://trans-union-credit.uni-nail.com/ credit online report trans union] [http://gte-credit-union.sugaryblog.com/ credit gte home union] [http://searce.isasecret.com/text/latest-polyphonic.html latest polyphonic ring tones] [http://gnawn.isasecret.com/q/engagement-rings.html cheap engagement ring] [http://tercel.zyns.com/crf250.html crf250] [http://abash.isasecret.com/small/evo-video-driver.html evo video driver] [http://jowls.zyns.com/abnormal-diastolic.html abnormal diastolic pressure] [http://diadem.fartit.com/perennial-plants.html perennial plant for sale] [http://revile.x24hr.com/love-doll.html male love doll] [http://moveth.ygto.com/squirtle.html squirtle] [http://allons.www1.biz/topic/sliders.html ear red slider turtle] [http://bedash.isasecret.com/rnc-compressor.html rnc compressor] [http://olympic-queen.voodoo-ref.com/ olympic queen comforter] [http://abash.isasecret.com/small/kiss-movie-spider.html kiss movie spider woman] [http://left-in-darkness.zonempower.in/ left in darkness movie] [http://pain-relief-cream.voodoo-ref.com/ pain relief cream] [http://fosters.mioforum.com/ fosters and smith] [http://ahwatukee-luxury.voodoo-ref.com/ ahwatukee luxury properties] [http://sighed.zyns.com/lawn-maintenance.html lawn maintenance nj pa] [http://romish.portrelay.com/sitemap.html home] [http://chaff.isasecret.com/small/ana-kurnikova.html ana kurnikova] [http://erlook.ikwb.com/que-son-los.html que son los valores sociales] [http://average-joes-gym.mioforum.com/ average joes gym shirt] [http://essex.zyns.com/entry-gates.html entry gates] [http://waldo.uni-nail.com/ waldo] [http://cydnu.got-game.org/styles/i-had-a-dream.html i had a dream speech video] [http://pc-richards-stores.sugaryblog.com/ pc richards stores] [http://flix.uni-nail.com/ flix] [http://gelded.ikwb.com/web/adult-movie-theater.html adult movie theater sex] [http://vagrom.ikwb.com/soundgarden-baltimore.html soundgarden baltimore md] [http://await.ikwb.com/library/serebii.html pokemon serebii] [http://kitten.xxuz.com/sangria-recipes.html sangria recipes] [http://cavil.x24hr.com/web/adult-club-video.html adult club video] [http://erlook.ikwb.com/ap-id-k-n.html ap id k n] [http://erlook.ikwb.com/panola-college-carthage.html panola college carthage tx] [http://coher.isasecret.com/ashes-video-highlights.html ashes video highlights] [http://batch.got-game.org/erotica-lesbian.html erotica lesbian love sapphic video] [http://abash.isasecret.com/small/lcd-video-cable.html lcd video cable] [http://saturn.sexidude.com/small/carnegie-deli.html carnegie deli] [http://spray.ikwb.com/data/pink-rose.html picture pink rose] [http://grand-turismo.sugaryblog.com/ gran turismo 3] [http://landfat.org.in/age-of-video-gamers.html age of video gamers] [http://revile.x24hr.com/bluebird-of-happiness.html bluebird of happiness story] [http://jowls.zyns.com/info-pic-remember.html info pic remember squirt] [http://crare.xxxy.info/lenox-eternal.html lenox eternal gold] [http://ace-of-base-the.sitenavigate.in/ ace of base the sign music video] [http://gnawn.isasecret.com/q/oc-th.html o.c th] [http://kitten.xxuz.com/loon-lake.html estate lake loon real wa] [http://blown.longmusic.com/comments/jeep-rubicon-used.html jeep rubicon used] [http://revile.x24hr.com/lucia-rijker.html lucia rijker] [http://aspic.myftp.info/new/3d-easy-make-visuals.html 3d easy make visuals] [http://cydnu.got-game.org/styles/er-video-clip.html er video clip] [http://coher.isasecret.com/katrina-music-tribute.html katrina music tribute video] [http://dawn-mckenzie.voodoo-ref.com/ lindsey dawn mckenzie] [http://florida-malpractice.uni-nail.com/ florida malpractice attorneys] [http://arise.x24hr.com/text/angeles-business.html angeles business los production video] [http://pacify.x24hr.com/library/brock-berlin.html brock berlin] [http://hoars.25u.com/blog/mini-cylinder.html mini cylinder head] [http://airwolf-video.trustee-planet.in/ airwolf video game] [http://jesse-mccartney.uni-nail.com/ jesse mccartney lyrics] [http://modest.serveusers.com/permanent-magnet.html brushless permanent magnet motor] [http://sided.mywww.biz/description/i-feel-dizzy-lyrics.html i feel dizzy lyrics] [http://sacred.ygto.com/ls-studio-model.html ls studio model] [http://angora-goats.uni-nail.com/ angora goats] [http://ewood.isasecret.com/blog/long-beach-interim.html long beach interim housing] [http://bodied.25u.com/isassexe.html isass.exe] [http://all-my-children.sitenavigate.in/ child birth video clip] [http://bodied.25u.com/airport-cardiff.html airport cardiff service taxi] [http://really.longmusic.com/blog/reserve-ps3.html reserve ps3] [http://expel.isasecret.com/walmart-customer.html walmart customer service phone number] [http://calve.x24hr.com/description/sugar-on-my-tongue.html sugar on my tongue] [http://4-non-blondes.voodoo-ref.com/ 4 non blondes] [http://blown.longmusic.com/comments/pheasant-hunts.html south dakota pheasant hunts] [http://pacify.x24hr.com/library/stock-quotes-monitor.html stock quotes monitor] [http://lizard.x24hr.com/blog/nakagawa-rico.html nakagawa rico] [http://palace.mynumber.org/small/tall-voluptuous.html tall voluptuous women] [http://batch.got-game.org/accident-automobile.html automobile accident video] [http://vouch.mynumber.org/blog/camaro-pictures.html camaro pictures] [http://ground-transportation.voodoo-ref.com/ ground transportation] [http://livest.www1.biz/girl-bands.html girl bands] [http://livest.www1.biz/sea-base.html pamlico sea base] [http://scopes.www1.biz/iso-butyl-acetophenone.html iso butyl acetophenone] [http://cavil.x24hr.com/web/adult-vacation.html adult vacation video] [http://recks.fartit.com/styles/megan-qt-picture.html megan qt picture of the day] [http://jack-handler.uni-nail.com/ jack handler] [http://moveth.ygto.com/linda-pugh.html linda pugh] [http://erlook.ikwb.com/lake-front-properties.html lake front properties] [http://feste.isasecret.com/new/footlocker.html footlocker] [http://bad-santa.sugaryblog.com/ lauren graham bad santa] [http://gelded.ikwb.com/web/ian-curtis-movie.html ian curtis movie jude law] [http://essex.zyns.com/byu-books.html byu books] [http://drum.got-game.org/new/amazing-in-most.html amazing in most video world] [http://allons.www1.biz/topic/gir-icons.html gir icons] [http://broth.x24hr.com/blog/college-dorm-life.html college dorm life] [http://drum.got-game.org/new/anal-free-hot.html anal free hot sex video] [http://unmade.x24hr.com/description/air-best-central.html air best central conditioner] [http://larder.xxxy.info/lib/el-dorado-winerys.html el dorado winerys] [http://unmade.x24hr.com/description/bearsharecom.html search bearshare.com] [http://essex.zyns.com/men-shoes.html lacoste man shoes] [http://killes.zyns.com/web/in-the-pick-of.html d destiny lyric pick tenacious] [http://hoars.25u.com/blog/northern-lights.html northern lights publishing] [http://saturn.sexidude.com/small/nfkappab.html nfkappab] [http://feste.isasecret.com/new/buy-ambien.html buy ambien online] [http://wincot.serveusers.com/web/kazaa-lite-resurrection.html kazaa lite resurrection] [http://jowls.zyns.com/real-estate.html real estate henderson] [http://saturn.sexidude.com/small/206-car-naza.html 206 car naza] [http://canopy.xxxy.info/jesus-walks-music.html jesus walks music video] [http://any-downloadable.libero-delirium.in/ any downloadable movie play] [http://because-i-could.sugaryblog.com/ because i could not stop for death] [http://batch.got-game.org/adult-free-password.html adult free password video] [http://bodied.25u.com/texas-dui-stop.html texas dui stop] [http://spends.longmusic.com/directory/4x4-custom-trucks.html 4x4 custom trucks] [http://hoars.25u.com/blog/norelle-top-model.html norelle top model] [http://information-on.sugaryblog.com/ information on how to search the internet] [http://checks.fartit.com/content/zygote.html zygote] [http://bames.ikwb.com/types-of-sharks.html type of freshwater shark] [http://messe.justdied.com/antique-pitcher.html antique pitcher] [http://aspic.myftp.info/new/homer-alaska.html homer alaska fishing charter] [http://ignomy.zyns.com/acrobat-adobe.html acrobat adobe distiller download free] [http://jowls.zyns.com/labelling-theory.html labelling theory and juvenile delinquency] [http://chief-election.voodoo-ref.com/ chief election commissionner of india] [http://calve.x24hr.com/description/electric-rc-planes.html 3d electric plane rc] [http://taught.freewww.info/article/online-term-life.html term life insurance online] [http://hoars.25u.com/blog/busa.html busa] [http://twinn.justdied.com/q/phone-prepaid.html phone prepaid verizon] [http://46.sugaryblog.com/ 46] [http://takachi-visors.voodoo-ref.com/ takachi visors] [http://resum.isasecret.com/foul.html foul] [http://searce.isasecret.com/text/kellys-directory.html kellys directory uk] [http://haven.ikwb.com/resources/dermabrasion.html dermabrasion machine] [http://its-my-life-music.ferratu.in/ its my life music video] [http://jennifer-lopez.uni-nail.com/ jennifer lopez sex gallery] [http://residential.voodoo-ref.com/ residential wiring] [http://jowls.zyns.com/music-playing-sites.html music playing sites] [http://killes.zyns.com/web/west-indian.html west indian cultures]
 
 
[[Category: Tutorials]]
 
[[Category: Tutorials]]
 
[[Category: Hardware| ]]
 
[[Category: Hardware| ]]

Revision as of 10:42, 28 February 2008


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'.

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 installation. Since 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.

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.