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

From LinuxMCE
Jump to: navigation, search
m (chilaacelb)
(remove spam links)
Line 1: Line 1:
[http://poison.ddns.us/topic/messina-strait.html messina strait] [http://monast.isasecret.com/resources/mount-everest.html mount everest videos] [http://gallia.isasecret.com/description/long-nails.html long nails] [http://acture.isasecret.com/wildlife-gift.html wildlife gift] [http://smetra.wan.io/sandra-model.html model nude sandra] [http://plashy.mrbonus.com/alaska-cabin.html alaska cabin] [http://velure.isasecret.com/small/pens.html fountain pen] [http://shawneebirchfie.aboutus.vg/buy-nascar-tickets.html buy nascar tickets] [http://manaev.freehostia.com/web/clit-vibrator.html clit vibrator] [http://glassrockboy.freehostia.com/text/carvedilol.html carvedilol] [http://bellynda.profil.in/view/buy-laptop-computer.html buy computer laptop low price] [http://wrung.mrbonus.com/styles/turboxs.html turboxs] [http://gammon.isasecret.com/data/square-centimetres.html square centimetres] [http://built.longmusic.com/html/cute-surfer-boys.html cute surfer boys] [http://getontheboat.ifrance.com/sitemap.html website] [http://monast.isasecret.com/resources/smartjoy-drivers.html smartjoy drivers] [http://chantellehernan.ourprofile.net/resources/renta-viagra.html renta viagra] [http://shank.portrelay.com/resources/midland-rockhounds.html midland rockhounds] [http://jewelreith.ourprofile.net/q/holistic-medicine.html natural holistic medicine] [http://skolzashiy.wan.io/blog/sex-movie-free.html sex movie free] [http://carameloholic.freehostia.com/new/photosynthesis.html photosynthesis] [http://highly.yourtrap.com/new/salsa-recipes.html salsa recipes] [http://ruthfremonta.freehostia.com/q/bindi-sue-irwin.html bindi sue irwin] [http://cheyennelevy.ecv.vg/resources/quote-about-violent.html quote about violent video game] [http://marlyscat.w8w.pl/alpha-modelscom.html alpha models.com] [http://muurli.ifrance.com/resources/march-in-the-light.html we are march in the light of god siyahamba] [http://katelyns.w8w.pl/blog/thairath-thai-newspaper.html thairath thai newspaper] [http://rabinovich.freehostia.com/data/pennis-enlargement.html pennis enlargement pill] [http://manaev.freehostia.com/web/hot-chicks.html big chick dick hot] [http://martovskiy.ifrance.com/html/unassisted-childbirth.html unassisted childbirth] [http://round.ddns.us/swim-final.html swim final] [http://sought.justdied.com/wiki/wwe-goldberg.html wwe goldberg] [http://bellynda.profil.in/view/bollywood-ringtones.html bollywood ringtones] [http://dinabeadles.ide.am/description/mediation-and-advocacy.html mediation and advocacy] [http://highly.yourtrap.com/new/one-step-beyond.html one step beyond] [http://thetoad.ifrance.com/content/bayliner-deck.html bayliner deck boats] [http://sought.justdied.com/wiki/radisson-hotel.html radisson hotel toronto mississauga] [http://fount.isasecret.com/new/visa-card-australia.html visa card australia] [http://www.kaciarynka.cz28.com/ domain] [http://thepetecom.profil.in/blog/comparing-diets.html comparing diets] [http://muurli.ifrance.com/resources/star-wars-pictures.html funny star war picture] [http://grisellarsen.ide.am/directory/american-heritage.html american credit heritage union] [http://airinik.profil.in/view/home-business.html home based business] [http://wrung.mrbonus.com/styles/karate-tiger-3.html karate tiger 3] [http://sourly.isasecret.com/content/im-ready-to-fall.html im ready to fall in love tonight lyrics] [http://ultrawoman.ifrance.com/styles/free-gay-bears.html free gay bears] [http://sought.justdied.com/wiki/red-cardinal-bird.html red cardinal bird] [http://tinishav.w8w.pl/view/tattoo-letters.html chinese letter tattoo] [http://sourly.isasecret.com/content/ebaycomau.html ebay.com.au] [http://muurli.ifrance.com/resources/christian-rock.html christian rock] [http://sooknormandin.aboutus.vg/sitemap.html web] [http://lying.yourtrap.com/natural-of-ashland.html natural of ashland] [http://shank.portrelay.com/resources/zebra-bow-string.html zebra bow string] [http://monast.isasecret.com/resources/orange-county-production.html orange county production company] [http://familyguy23.ifrance.com/blog/feed-rss-xml.html feed free rss xml] [http://grisellarsen.ide.am/directory/best-elliptical.html best elliptical trainer] [http://darina.wan.io/library/levemir.html levemir] [http://micharandazzo.ourprofile.net/willies-ski-pittsburgh.html willies ski pittsburgh] [http://skolzashiy.wan.io/sitemap.html website] [http://skolzashiy.wan.io/blog/pool-cleaners.html pool cleaners] [http://smetra.wan.io/desktop-wallpaper.html desktop download free wallpaper] [http://airinik.profil.in/view/olimpus-cameras.html olimpus cameras] [http://martovskiy.ifrance.com/html/sciatic-and-pregnancy.html sciatic and pregnancy] [http://widow.ddns.us/content/silkscreen.html silkscreen] [http://wouid.mrbonus.com/small/noun-power-point.html noun power point] [http://gammon.isasecret.com/data/mentos.html mentos soda] [http://gallia.isasecret.com/description/illness-and-injury.html illness and injury prevention plan] [http://maireje.w8w.pl/library/yosemite-park.html yosemite park] [http://jamesustaita.ecv.vg/directory/wireless-sensing.html wireless sensing solution] [http://carameloholic.freehostia.com/new/fica.html fica] [http://highly.yourtrap.com/new/diamond-dog-food.html diamond dog food review] [http://odiliabielecki.aboutus.vg/webtycho.html webtycho] [http://gabrieleshoop.datadiri.com/view/my-horoscope.html my horoscope] [http://ivanensis.profil.in/amoxicillin.html amoxicillin] [http://round.ddns.us/recycle-21-manual.html recycle 2.1 manual] [http://discov.portrelay.com/description/iva-kleinova.html iva kleinova] [http://mercedezalkire.aboutus.vg/la-venda-by-miguel.html la venda miguel de unamuno] [http://cheyennelevy.ecv.vg/sitemap.html web] [http://mserg.ifrance.com/sixapart-livejournal.html sixapart livejournal] [http://glassrockboy.freehostia.com/text/coverletter-sample.html sample accounting cover letter] [http://johnetteeppler.ide.am/data/pop-punjabi-song.html pop punjabi song] [http://deriv.justdied.com/q/lenny-randle.html lenny randle] [http://ultrawoman.ifrance.com/styles/thats-the-way.html goes jackson janet love thats way] [http://guiana.myftp.info/pages/free-live-cam-girls.html free live web cam girl] [http://lorainda.wan.io/library/fun-pictures.html fun pictures] [http://katelyns.w8w.pl/blog/computer-briefcases.html computer briefcases] [http://lying.yourtrap.com/northern-california.html northern california wedding photography] [http://lidiame.w8w.pl/comments/brookstone.html brookstone] [http://gammon.isasecret.com/data/scrapbooking-idea.html scrapbooking page idea] [http://should.yourtrap.com/lib/western-lamps.html lamp mysticism western] [http://kizzygochenour.ecv.vg/tifa-blowjob.html tifa blowjob] [http://wouid.mrbonus.com/small/what-is-rainforest.html what is rainforest] [http://glyndap.w8w.pl/wiki/the-girl-next.html the girl next door song credits] [http://lateshacl.w8w.pl/wiki/stockton-real.html estate ga real stockton] [http://rabinovich.freehostia.com/data/chevrolet.html chevrolet] [http://highly.yourtrap.com/new/true-refrigeration.html true refrigeration] [http://gallia.isasecret.com/description/the-biggest.html the biggest loser trainers] [http://helenaimbre.freehostia.com/html/omega.html omega] [http://tinishav.w8w.pl/view/wee.html football pee wee] [http://manaev.freehostia.com/sitemap.html url] [http://boomstickreport.freehostia.com/q/trial-version-motorola.html trial version motorola phone tools] [http://guiana.myftp.info/pages/toyota-sera-review.html toyota sera review] [http://taynasvobodnay.ifrance.com/view/casket-manufacturers.html casket manufacturers] [http://manaev.freehostia.com/web/france.html google france] [http://deriv.justdied.com/q/exterior-shutters.html exterior shutters] [http://helenaimbre.freehostia.com/html/decadurabolin.html best deca durabolin prices] [http://monast.isasecret.com/resources/paradise-beverage.html paradise beverage] [http://velure.isasecret.com/small/insulation-knauff.html insulation knauff] [http://helenaimbre.freehostia.com/html/vacation-homes.html florida home orlando vacation] [http://unlov.ikwb.com/directory/cilice.html belt cilice] [http://vbrilliant.datadiri.com/text/computer-sex.html computer download free game sex] [http://www.gravenimages.inspiringteachers.com/ sitemap] [http://ruthfremonta.freehostia.com/q/bed-bath-and.html bed bath and beyond coupon] [http://cheese.justdied.com/lib/explanation-of-llc.html explanation of llc] [http://thetoad.ifrance.com/content/top-vagina.html top vagina] [http://wouid.mrbonus.com/small/love-is-a-burning.html love is a burning thing] [http://lateshacl.w8w.pl/wiki/breaking-news.html breaking news] [http://odiliabielecki.aboutus.vg/lexar-password-resetting.html lexar password resetting secure usb] [http://katlynhofer.ourprofile.net/comments/atk-natural-hairy.html atk natural hairy lady] [http://poison.ddns.us/topic/prime-time-transportation.html prime time transportation] [http://emnity.serveusers.com/trident-blade.html blade driver trident] [http://crieth.mrbonus.com/blog/training-public.html training public speaking] [http://gammon.isasecret.com/data/real-madrid.html real madrid football club] [http://sourly.isasecret.com/content/duplo.html lego duplo block o dile] [http://built.longmusic.com/html/wall-painting.html wall painting ideas] [http://rabinovich.freehostia.com/data/james-avery-jewelry.html james avery jewelry] [http://thetoad.ifrance.com/content/breast-saggy.html breast saggy lactating] [http://unlov.ikwb.com/directory/the-door-soft-parade.html the door soft parade lyric] [http://bellynda.profil.in/view/golf-apparel.html golf apparel] [http://lidiame.w8w.pl/comments/pamela-anderson.html anderson central comedy pamela roast uncensored] [http://stout.yourtrap.com/q/dirty-simpsons.html dirty simpsons] [http://katlynhofer.ourprofile.net/comments/go-ask-alice.html go ask alice summary] [http://lidiame.w8w.pl/comments/impulse-dance.html impulse dance company] [http://poison.ddns.us/topic/pinto-beans.html pinto beans] [http://thetoad.ifrance.com/content/benjamin-moore.html benjamin moore paint] [http://deriv.justdied.com/q/planting.html planting] [http://deriv.justdied.com/q/debt-elimination.html debt elimination scams] [http://lorainda.wan.io/library/ways-to-make-money.html ways to make money online] [http://taynasvobodnay.ifrance.com/view/stock-table.html stock table] [http://stout.yourtrap.com/q/what-is-a-series.html series and parallel circuit voltage] [http://sourly.isasecret.com/content/nerja-rentals.html nerja rentals] [http://built.longmusic.com/html/skinny-cow-icecream.html skinny cow icecream] [http://widow.ddns.us/content/pute.html pute] [http://sadyebeegle.ourprofile.net/data/history-taekwondo.html history taekwondo] [http://lorainda.wan.io/sitemap.html http map] [http://kovshegru.profil.in/resources/ring-tone-maker.html ring tone maker] [http://katelyns.w8w.pl/blog/peace-signs.html peace signs] [http://ivanensis.profil.in/mp3-free-music.html mp3 free music download legal] [http://vanessamitten.datadiri.com/wiki/health-insurance.html optima health insurance] [http://fount.isasecret.com/new/tgp-black-pussy.html tgp black pussy gallery] [http://guiana.myftp.info/pages/petunias-pinch.html petunias pinch] [http://manaev.freehostia.com/web/stripper.html stripper] [http://airinik.profil.in/view/activex.html video active x] [http://wouid.mrbonus.com/small/competition.html dance competition] [http://smetra.wan.io/wiring-diagrams.html automotive diagram wiring] [http://grisellarsen.ide.am/directory/ardent-companies.html ardent companies] [http://unlov.ikwb.com/directory/fishing-gifts.html fly fishing gift] [http://guiana.myftp.info/pages/tax-form-990ez.html tax form 990ez] [http://gammon.isasecret.com/data/los-angeles-county.html angeles california county los recorder] [http://getontheboat.ifrance.com/activexperts-network.html activexperts network monitor manager] [http://mserg.ifrance.com/indians-hunting.html indians hunting buffalo] [http://sought.justdied.com/wiki/leather-healthy.html leather healthy back bags] [http://expel.serveusers.com/arizona-zen-garden.html arizona zen garden landscaping] [http://gallia.isasecret.com/description/shaved-smooth.html shaved smooth beaver] [http://bellynda.profil.in/view/indian-erotic-stories.html indian erotic stories] [http://helenaimbre.freehostia.com/html/herpes-type.html herpes type 1 picture] [http://deriv.justdied.com/q/buy-ottomans.html buy ottomans] [http://lightbird.ifrance.com/directory/brother-printer.html brother printer parts] [http://maireje.w8w.pl/library/wakeel.html wakeel] [http://helenaimbre.freehostia.com/html/jp-morgan-chase.html jp morgan chase bank na] [http://helenaimbre.freehostia.com/html/games-to-play.html games to play] [http://lightbird.ifrance.com/directory/africa-highest.html africa highest mountains] [http://acture.isasecret.com/control-valve.html control valve] [http://skolzashiy.wan.io/blog/soma-buy-online.html soma buy online] [http://airinik.profil.in/view/order-vicodin.html order vicodin online no prescription] [http://stout.yourtrap.com/q/and-1-basketball.html and 1 basketball tour tickets] [http://stout.yourtrap.com/q/imaginarium.html city doll glitter house imaginarium] [http://helenaimbre.freehostia.com/html/love-poem.html black ghetto love poem] [http://blakniteludlam.freehostia.com/new/interracial-threesome.html mmf threesome interracial] [http://fount.isasecret.com/new/gundam-models.html gundam wing model] [http://getontheboat.ifrance.com/latin-america-agribusiness.html latin america agribusiness finance funds] [http://built.longmusic.com/html/is-it-me-youre.html is it me youre looking for lionel richie] [http://jamesustaita.ecv.vg/directory/army-correspondence.html army correspondence courses] [http://catwoman19801.freehostia.com/mature-nudes.html mature nude] [http://wouid.mrbonus.com/small/tanah-lot-bali.html tanah lot bali] [http://sourly.isasecret.com/content/favelas.html da favelas garotas peladas] [http://sooknormandin.aboutus.vg/pet-transportation.html pet transportation] [http://stout.yourtrap.com/q/oriental-trading.html co.com oriental trading] [http://helenaimbre.freehostia.com/html/avis-car-rental.html avis canada car rent] [http://emnity.serveusers.com/pnemo.html pnemo] [http://crieth.mrbonus.com/blog/tanging-ikaw-ang.html tanging ikaw ang nasa isip ko lyrics] [http://acture.isasecret.com/marfan-syndrome.html picture of people with marfan syndrome] [http://katelyns.w8w.pl/blog/yvan-cournoyer.html cournoyer nude yvan] [http://sonnet.yourtrap.com/computer-clean.html clean computer up virus] [http://highly.yourtrap.com/new/time-shares.html marriott time share] [http://katelyns.w8w.pl/blog/5300g-review.html 5300g review] [http://marlyscat.w8w.pl/albion-house-sheffield.html albion house sheffield] [http://meghann.w8w.pl/small/rediffmail-login.html rediffmail login cgi] [http://glassrockboy.freehostia.com/text/lesbian-love.html lesbian love] [http://discov.portrelay.com/description/wizard.html wizard]
 
 
[[Category: Tutorials]]
 
[[Category: Tutorials]]
 
[[Category: Hardware| ]]
 
[[Category: Hardware| ]]

Revision as of 07:48, 2 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.