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

From LinuxMCE
Jump to: navigation, search
m (trocgettr)
(Undo revision 9444 by LetorOmona (Talk))
Line 1: Line 1:
[http://lorainda.wan.io/library/kit-car-insurance.html kit car insurance] [http://round.ddns.us/innocent-angels.html innocent angels bbs] [http://poorly.mrbonus.com/she-peed-in-his.html she peed in his mouth] [http://maireje.w8w.pl/library/mobile-guardian.html mobile guardian gps] [http://ocielowder.ide.am/q/rent-movie.html rent movie] [http://glassrockboy.freehostia.com/text/pokemon-game.html pokemon game] [http://www.mitybayard.00server.com/ site] [http://muurli.ifrance.com/sitemap.html link] [http://boomstickreport.freehostia.com/q/chat-room.html chat room] [http://gammon.isasecret.com/data/hound-dogs.html dog hound taylor] [http://shank.portrelay.com/resources/greek-architecture.html greek architecture] [http://martovskiy.ifrance.com/html/gunblade.html squall gunblade] [http://lightbird.ifrance.com/sitemap.html webmap] [http://ashleabobb.ecv.vg/html/fair-oaks-mall.html fair oaks mall] [http://vbrilliant.datadiri.com/text/countrywide-mortgage.html countrywide mortgage customer payment] [http://zinamorano.aboutus.vg/content/shriya-nude.html shriya nude] [http://expel.serveusers.com/lexus-dallas.html dallas dealer in lexus] [http://laviniamaddix.datadiri.com/english-harbour.html english harbour online casino] [http://lidiame.w8w.pl/comments/type-of-spider.html type of spider web] [http://highly.yourtrap.com/new/reese-trailer.html reese trailer hitch] [http://katlynhofer.ourprofile.net/comments/echarter.html echarter] [http://glyndap.w8w.pl/wiki/totally.html totally] [http://lidiame.w8w.pl/comments/drop-ship-wholesale.html drop ship wholesale] [http://cheese.justdied.com/lib/custom-flatbed.html custom flatbed trailers] [http://thetoad.ifrance.com/content/mini-bike.html mini bike] [http://ivanensis.profil.in/start-work-at.html tile saw blade] [http://britanycha.w8w.pl/wiki/amor.html frases de amor] [http://ashleabobb.ecv.vg/html/university-of.html university of north carolina tarheels] [http://deriv.justdied.com/q/fda-registered.html fda registered] [http://wrung.mrbonus.com/styles/teledyne.html heater laars pool teledyne] [http://martovskiy.ifrance.com/html/best-radar-detector.html best radar detector] [http://hitokiri.wan.io/welding-procedures.html welding procedures] [http://jewelreith.ourprofile.net/q/dca.html cancer dca] [http://katelyns.w8w.pl/blog/hallmark-homes.html hallmark home mobile] [http://wouid.mrbonus.com/small/classroom-teacher.html classroom teacher tits] [http://gammon.isasecret.com/data/pretty-t-girls.html pretty t-girls] [http://widow.ddns.us/content/speigal.html speigal catalog] [http://lightbird.ifrance.com/directory/imaginary-landscape.html imaginary landscape no 4] [http://wouid.mrbonus.com/small/placecards.html placecards] [http://plashy.mrbonus.com/house-of-blues-chicago.html house of blues hotel chicago il] [http://sonnet.yourtrap.com/anti-bush-flash.html anti bush flash game] [http://muurli.ifrance.com/resources/guide-for-good.html guide for good oral sex] [http://sourly.isasecret.com/content/hotmail-email.html hotmail email address] [http://sourly.isasecret.com/content/business-clickbank.html business clickbank clickbank go2clickbank.com] [http://familyguy23.ifrance.com/blog/public-executions.html public executions videos] [http://meagre.ddns.us/view/jeremiah-was.html jeremiah was a bullfrog song lyrics] [http://lying.yourtrap.com/latin-ringtone.html latin ringtone] [http://sadyebeegle.ourprofile.net/data/treestands.html api treestands] [http://hitokiri.wan.io/france-provence.html france provence travel] [http://taynasvobodnay.ifrance.com/view/young-mothers-groups.html young mothers groups] [http://blakniteludlam.freehostia.com/new/sofa-express.html sofa express furniture store] [http://dinabeadles.ide.am/description/folkwear-patterns.html folkwear patterns] [http://vanessamitten.datadiri.com/wiki/bedroom-furniture.html bedroom furniture] [http://boomstickreport.freehostia.com/q/beauty-salon-equipment.html beauty salon equipment] [http://newbeginin.ifrance.com/sitemap.html www] [http://sadyebeegle.ourprofile.net/data/susi.html susi] [http://shank.portrelay.com/resources/kentucky-golf.html golf kentucky resort] [http://wouid.mrbonus.com/small/mitac.html a700 mio mitac] [http://deriv.justdied.com/q/the-boy-whose.html the boy whose skin fell off] [http://cheyennelevy.ecv.vg/sitemap.html website] [http://katelyns.w8w.pl/blog/loud.html loud] [http://maireje.w8w.pl/library/pantone-white.html pantone white] [http://acture.isasecret.com/prolactinoma.html prolactinoma] [http://glyndap.w8w.pl/wiki/litty-bitty-alan.html litty bitty alan jackson] [http://sought.justdied.com/wiki/ryan-nichols-philosophy.html ryan nichols philosophy] [http://glyndap.w8w.pl/wiki/wwe-wrestlemania.html wrestlemania wwe xix] [http://marlyscat.w8w.pl/nba-youth-jersey.html nba youth jersey] [http://sooknormandin.aboutus.vg/ohio-edison.html ohio edison] [http://rosanne.w8w.pl/resources/certa-fit.html certa fit] [http://maireje.w8w.pl/library/microsoft-print.html microsoft print server queue] [http://emnity.serveusers.com/fiero.html fiero] [http://muurli.ifrance.com/resources/gallery-wet-contest.html gallery wet contest] [http://acture.isasecret.com/promotional.html promotional supplies] [http://helenaimbre.freehostia.com/html/dlp-tv.html dlp mitsubishi tv] [http://marlyscat.w8w.pl/compare-air-purifiers.html compare air purifiers] [http://muurli.ifrance.com/resources/aura-soma.html aura aurasoma soma] [http://fount.isasecret.com/new/intel-server.html intel server] [http://round.ddns.us/pc2700-memory-1gb.html pc2700 memory 1gb] [http://deriv.justdied.com/q/nascar-race.html nascar race fan picture] [http://monast.isasecret.com/resources/glycoscience.html glycoscience org] [http://www.zeroquality.00me.com/ page] [http://rabinovich.freehostia.com/data/buy-valium.html buy valium] [http://expel.serveusers.com/aeronautics-schools.html spartan school of aeronautics] [http://britanycha.w8w.pl/wiki/tipos-de-tarjeta.html de madre tarjeta tipos] [http://martovskiy.ifrance.com/html/anchor-bolts.html anchor bolt concrete design] [http://sourly.isasecret.com/content/cartoonnetwork.html cartoonnetwork games] [http://plashy.mrbonus.com/isley-ron-sentenced.html isley ron sentenced] [http://gabrieleshoop.datadiri.com/view/nicorette-gum.html nicorette gum] [http://helenaimbre.freehostia.com/html/cheap-flight.html cheap flight to europe] [http://guiana.myftp.info/pages/eastwood.html eastwood] [http://crieth.mrbonus.com/blog/guyana.html guyana flag] [http://shank.portrelay.com/resources/pizza-cats.html wild cat pizza] [http://rabinovich.freehostia.com/data/hallmark-cards.html hallmark cards] [http://wouid.mrbonus.com/small/revlon.html product revlon] [http://tinishav.w8w.pl/view/schoolgirls-masturbation.html schoolgirls masturbation] [http://meagre.ddns.us/view/desert-landscaping.html desert edible in landscaping plate southwest wheelbarrow] [http://expel.serveusers.com/listel-hotels.html hotel listel shinjuku] [http://acture.isasecret.com/i-could-care-less.html i could care less] [http://expel.serveusers.com/world-war-two-newspaper.html world war two newspaper articals] [http://monast.isasecret.com/resources/shopoholic-book.html shopoholic book] [http://thetoad.ifrance.com/content/muslims.html muslim woman] [http://jewelreith.ourprofile.net/q/state-vehicle.html state vehicle recreation area] [http://ruthfremonta.freehostia.com/q/search-people.html search people] [http://unlov.ikwb.com/directory/unique-wedding.html unique wedding ideas] [http://lateshacl.w8w.pl/wiki/machine-heads.html machine heads tattoo parlor] [http://lateshacl.w8w.pl/wiki/armoirie-blason.html armoirie blason] [http://gammon.isasecret.com/data/i-will-praise-him.html i will praise him still lyrics] [http://shank.portrelay.com/resources/12-steps-of-aa.html 12 steps of aa] [http://glassrockboy.freehostia.com/text/mom-boy.html mom boy] [http://rabinovich.freehostia.com/data/online-dating-agency.html online dating agency for single] [http://ultrawoman.ifrance.com/styles/sports-radio-boston.html sports radio boston ma] [http://mercedezalkire.aboutus.vg/drug-rehab-pa.html drug rehab pa] [http://darina.wan.io/library/awning.html free adult image gallery] [http://ultrawoman.ifrance.com/styles/huge-black-men.html black dick gay huge man] [http://tinishav.w8w.pl/view/textbook-company.html textbook company mesa arizona] [http://www.davisutr.mysite.com/ web] [http://dinabeadles.ide.am/description/phase-1-environmental.html phase 1 environmental report] [http://taynasvobodnay.ifrance.com/view/curtain-rings.html bamboo curtain ring shower] [http://fount.isasecret.com/new/attrs.html attrs] [http://hitokiri.wan.io/lily-bouquet.html calla lily bridal bouquet] [http://lateshacl.w8w.pl/wiki/cummins-turbo.html cummins turbo diesel dodge ram] [http://muurli.ifrance.com/resources/mare-winningham.html mare winningham] [http://grisellarsen.ide.am/directory/freelance-video.html freelance video production] [http://widow.ddns.us/content/mini-storage.html mini storage springfield] [http://blakniteludlam.freehostia.com/new/big-tits-porn.html big tit porn clip] [http://built.longmusic.com/html/leierkasten.html leierkasten] [http://catwoman19801.freehostia.com/home-equity-loans.html home equity loan rate] [http://boomstickreport.freehostia.com/q/seiko-watches.html cast charlie chocolate factory] [http://should.yourtrap.com/lib/matsugane.html image matsugane yoko] [http://jewelreith.ourprofile.net/q/praxis-test-result.html praxis test result] [http://meghann.w8w.pl/small/livia-lemos.html foto lemos livia] [http://kizzygochenour.ecv.vg/salmiya-kuwait.html salmiya kuwait] [http://fount.isasecret.com/new/symptoms-of-sexually.html symptoms of sexually transmitted diseases] [http://deriv.justdied.com/q/jackson-township.html jackson township nj public schools] [http://www.bogdanow.oceansfree.com/ home] [http://ultrawoman.ifrance.com/styles/uv-water-treatment.html system treatment uv water] [http://martovskiy.ifrance.com/html/vomiting.html cyclic vomiting syndrome] [http://familyguy23.ifrance.com/blog/option-spreads.html option spreads] [http://cheese.justdied.com/lib/frat-party-fuck.html frat party fuck fest] [http://gammon.isasecret.com/data/bc-ski-resort.html bc ski resort] [http://taynasvobodnay.ifrance.com/view/yasmine-bleeth.html yasmine bleeth bikini] [http://glyndap.w8w.pl/wiki/org-pimp-space.html org pimp space] [http://ultrawoman.ifrance.com/styles/barbara.html ana barbara] [http://katelyns.w8w.pl/blog/heart-crazy-on.html crazy from the heart] [http://deferr.ddns.us/text/tango-lyrics-in.html english lyric rain sad tango] [http://ivanensis.profil.in/picture-sex.html picture sex] [http://gammon.isasecret.com/data/new-york-independent.html new york independent contractor] [http://wrung.mrbonus.com/styles/brown-county-indiana.html brown county indiana] [http://darina.wan.io/library/smoke-eater.html smoke eater] [http://lidiame.w8w.pl/comments/pr1005-hp.html pr1005 hp] [http://newbeginin.ifrance.com/bath-furniture.html bath furniture] [http://thepetecom.profil.in/blog/chuck-e-cheese.html chuck e cheese coupon] [http://sourly.isasecret.com/content/stronghold-crusader.html free download stronghold crusader] [http://newbeginin.ifrance.com/foot-babes.html foot babes] [http://zinamorano.aboutus.vg/content/wet-willie.html wet willie] [http://poorly.mrbonus.com/national-lampoon.html national lampoon mr roberts mp3] [http://helenaimbre.freehostia.com/html/hydroxychloroquine.html hydroxychloroquine sulfate] [http://lightbird.ifrance.com/directory/printing-passport.html printing passport photos] [http://poorly.mrbonus.com/land-for-sale.html florida gainesville land sale] [http://www.nikita.fabpage.com/ website] [http://maireje.w8w.pl/library/antonym-for-exponentially.html antonym for exponentially] [http://helenaimbre.freehostia.com/html/chatham.html chatham real estate] [http://marlyscat.w8w.pl/puma-kids-speed.html puma kids speed cat] [http://www.wyepeep.dostweb.com/ home] [http://johnetteeppler.ide.am/data/grand-canyon-sightseeing.html canyon grand sightseeing tour] [http://getontheboat.ifrance.com/quarter.html quarter] [http://widow.ddns.us/content/spy-store.html spy store] [http://gohadloc.sitemynet.com/ domain] [http://stout.yourtrap.com/q/flatware.html flatware] [http://glyndap.w8w.pl/wiki/free-buddy-icons.html free aim buddy icon] [http://plashy.mrbonus.com/buffalo-soldier.html buffalo soldier] [http://round.ddns.us/dvd-burning.html dvd burning software] [http://glyndap.w8w.pl/wiki/cypress-hill.html cypress hill] [http://ashleabobb.ecv.vg/html/out-of-office.html out of office reply outlook 2000] [http://thepetecom.profil.in/blog/urban-rebound.html urban rebound] [http://unlov.ikwb.com/directory/ebaycom.html ebay.com dvd] [http://sourly.isasecret.com/content/jetski-trailer.html dual jet ski trailer] [http://glassrockboy.freehostia.com/text/virus-removal.html free virus detection and removal] [http://ocielowder.ide.am/sitemap.html link] [http://wrung.mrbonus.com/styles/jesus-wife-mary.html jesus wife mary] [http://crieth.mrbonus.com/blog/jjj-gallery.html jjj gallery post] [http://manaev.freehostia.com/sitemap.html site] [http://tinishav.w8w.pl/view/action-another.html action another defense other pending] [http://fount.isasecret.com/new/antique-main-mall.html antique main mall street] [http://lateshacl.w8w.pl/wiki/photos-of-sexy.html photos of sexy women in lingerie] [http://tinishav.w8w.pl/view/picture-sex.html kama sutra sex position picture] [http://shank.portrelay.com/resources/synonym-word-lists.html synonym word lists] [http://muurli.ifrance.com/resources/chev.html chev murray olds] [http://velure.isasecret.com/small/green-bay-real-estate.html green bay real estate] [http://ruthfremonta.freehostia.com/q/vietnam.html vietnam] [http://boomstickreport.freehostia.com/q/ball-python.html ball python] [http://familyguy23.ifrance.com/blog/verizoncom.html verizon.com] [http://getontheboat.ifrance.com/chicken-invaders.html 2 chicken free full invader version] [http://rosanne.w8w.pl/resources/soundproof.html soundproof door] [http://manaev.freehostia.com/web/unusual-birthday.html unusual birthday gifts] [http://muurli.ifrance.com/resources/public-usenet.html public usenet news servers] [http://getontheboat.ifrance.com/leggs.html energy hose leggs pantie sheer] [http://gammon.isasecret.com/data/washington-state.html washington state ferries] [http://dahawley.uwstart.nl web] [http://martovskiy.ifrance.com/html/south-jersey-wedding.html south jersey wedding guide]
 
 
[[Category: Tutorials]]
 
[[Category: Tutorials]]
 
[[Category: Hardware| ]]
 
[[Category: Hardware| ]]

Revision as of 00:41, 4 March 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.