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

From LinuxMCE
Jump to: navigation, search
(ololidronvie)
(dronac)
Line 1: Line 1:
 +
[http://bundle.fadlan.com/comments/moonshine-still.html moonshine still] [http://otter.got-game.org/rosey.html rosey] [http://freckl.freeddns.com/teen-kelly-with.html teen kelly with braces] [http://strict.ddns.ms/lib/traffic-safety.html traffic safety signs] [http://meagre.fadlan.com/html/platinum-wedding.html platinum wedding bands] [http://taste.ftpserver.biz/web/our-lady-of-grace.html our lady of grace west babylon ny] [http://brisk.zyns.com/wiki/assistant-adjutant.html assistant adjutant] [http://linens.4mydomain.com/resources/oasis-supernova.html oasis supernova] [http://spital.ddns.us/q/benicar-hct.html benicar hct] [http://nimble.4mydomain.com/data/leather-lingerie.html leather lingerie manufacturers] [http://rooky.ikwb.com/topic/jefferson-county.html jefferson county clerks office] [http://belly.zyns.com/download-salsa.html download salsa music] [http://meagre.fadlan.com/html/mexico-ocean-life.html mexico ocean life] [http://ethiop.got-game.org/hunting-guided.html hunting guided trips] [http://strict.ddns.ms/lib/arcade-game.html arcade game you play on the internet] [http://hearts.ddns.us/blog/amusement-and.html amusement and theme parks boston] [http://bizarre-extreme.voodoo-ref.com/ bizarre extreme fucked model sex] [http://surse.justdied.com/content/nautical.html nautical] [http://hear.zyns.com/html/route-finders-europe.html route finders europe] [http://meagre.fadlan.com/html/stuck-on-you.html stuck on you] [http://sects.ftpserver.biz/new/religious-music.html religious music] [http://widow.fadlan.com/small/nikon-binoculars.html nikon binoculars] [http://spital.ddns.us/q/ay-papi-jab.html ay papi jab] [http://revolt.fadlan.com/pages/ibc.html ibc] [http://rased.ddns.ms/new/propet-shoes.html propet walking shoes] [http://freckl.freeddns.com/seam-rollers.html seam rollers] [http://bottle.4dq.com/pages/pet-turtles.html live pet turtle] [http://ethiop.got-game.org/recipe-singapore.html singapore sling recipe] [http://empery.ddns.ms/data/bulava-watches.html bulava watch] [http://surse.justdied.com/content/hauler-rack.html hauler rack] [http://nessus.mooo.com/view/atv-feeders.html atv deer feeder] [http://nessus.mooo.com/view/stetson-hats.html stetson hats] [http://devil.4mydomain.com/articles/personal-site-hosting.html personal site hosting] [http://liest.zyns.com/new/bachelor-party.html bachelor chicago idea party] [http://fingre.freeddns.com/html/dorm-room-cam.html dorm room cam] [http://meagre.fadlan.com/html/99-restaurant.html 99 dinner restaurant steakhouse] [http://chaud.my03.com/diaphragm-valve.html diaphragm valve bodies] [http://comic-strips.voodoo-ref.com/ comic strips] [http://bettre.got-game.org/directory/personals.html personals] [http://strict.ddns.ms/lib/absolute-audio.html absolute audio nyc] [http://brisk.zyns.com/wiki/carma.html carma] [http://diseas.4mydomain.com/q/cobb-realty.html cobb realty] [http://dagger.mooo.com/directory/envelopes.html colored envelope] [http://fingre.freeddns.com/html/kaman.html kaman] [http://freckl.freeddns.com/sex.html s.e.x.] [http://hearts.ddns.us/blog/diabetic-test.html diabetic test strip] [http://brisk.zyns.com/wiki/just-18.html just 18] [http://david-crowder.mioforum.com/ david crowder] [http://linens.4mydomain.com/resources/shopping-bags.html shopping bags] [http://trunk.got-game.org/blog/lawn-chipper.html lawn chipper] [http://08096.sugaryblog.com/ 08096 showtimes] [http://gnosticism.mioforum.com/ gnosticism] [http://ethiop.got-game.org/bigamy.html aaron bigamy brewer] [http://otter.got-game.org/electrode-grinder.html electrode grinder] [http://nessus.mooo.com/view/supelco.html supelco] [http://chaud.my03.com/rss-parser-php.html rss parser php] [http://belly.zyns.com/nirvana-picture.html nirvana picture] [http://standard-triumph.voodoo-ref.com/ standard triumph] [http://olkneen.fadlan.com/roof-is-on-fire.html bloodhound gang the roof is on fire] [http://defuse.got-game.org/q/angelina-jolie-galleries.html angelina jolie galleries] [http://rased.ddns.ms/new/hyundai-dealerships.html hyundai car dealerships] [http://devil.4mydomain.com/articles/saks-online.html saks online coupons] [http://hairy-bear-galleries.voodoo-ref.com/ hairy bear galleries] [http://whate.freeddns.com/pages/immunoproteins.html immunoproteins] [http://sonnet.fadlan.com/the-cherries.html the cherries football] [http://jovem.zyns.com/topic/audio-search.html audio search] [http://percy.mooo.com/new/titanic-ship.html titanic ship] [http://absey.zyns.com/oregano.html oregano] [http://peruse.zyns.com/comments/canon-printer-support.html canon printer support] [http://fingre.freeddns.com/html/akon-mr-lonely.html akon mr lonely] [http://comic.ddns.ms/small/eternal-snow.html eternal snow] [http://sects.ftpserver.biz/new/2002-2005-ford-sale.html 2002 2005 ford sale thunderbird] [http://whelp.zyns.com/lib/cheap-cell-phones.html cheap cell phones] [http://welkin.4dq.com/new/andres-raya-video.html andres raya video] [http://otter.got-game.org/sitemap.html url] [http://notify.ddns.us/new/sincity-com.html sincity .com] [http://empery.ddns.ms/data/winstrol-steroid.html winstrol steroid] [http://peruse.zyns.com/comments/online-casinos.html online casinos] [http://whate.freeddns.com/pages/dvd-decoder-free.html dvd decoder free] [http://otter.got-game.org/warrick-davies.html warrick davies] [http://notify.ddns.us/new/fet.html fet happy] [http://desist.ddns.us/directory/music-edit-software.html edit music notation software] [http://nessus.mooo.com/view/vitamina-d.html vitamina d] [http://jordan.zyns.com/content/el-pollo-loco.html el pollo loco] [http://taste.ftpserver.biz/web/batman-symbol.html batman symbol tattoo] [http://judas-unchained.uni-nail.com/ judas unchained release] [http://estimulacion.voodoo-ref.com/ estimulacion del clitoris] [http://trunk.got-game.org/blog/400-degree-juvenile.html 400 degree juvenile lyric] [http://freckl.freeddns.com/3-dimensional.html 3 dimensional cell models] [http://bowing.ddns.ms/watch-hip-hop-videos.html watch hip hop videos] [http://devil.4mydomain.com/articles/tecate-spa.html tecate spa] [http://brisk.zyns.com/wiki/innoveda-viewdraw.html innoveda viewdraw] [http://penned.4dq.com/content/autologous-transplantation.html autologous fat transplantation] [http://necks.mooo.com/text/three-credit.html three credit bureaus addresses] [http://breach.my03.com/resources/pto-organization.html pto organization] [http://bottle.4dq.com/pages/pea-and-ham-soup.html pea and ham soup receipe] [http://bender.got-game.org/proses-kehamilan.html proses kehamilan] [http://troien.zyns.com/description/hidden-cam-toilet.html hidden cam toilet] [http://rased.ddns.ms/new/dress-code.html business dress code] [http://cabock.fadlan.com/styles/wholesale-nitric.html wholesale nitric acid] [http://minos.mooo.com/text/nissan-engines.html nissan engines] [http://kinder.zyns.com/text/private-landlords.html private landlords in leeds] [http://biter.4dq.com/description/lamellarins.html lamellarins] [http://diseas.4mydomain.com/q/cartoon-wallpapers.html cartoon wallpapers] [http://linens.4mydomain.com/resources/homes-of-the-future.html homes of the future] [http://cabock.fadlan.com/styles/chefs-jobs.html chefs jobs] [http://defuse.got-game.org/q/oldest.html oldest] [http://defuse.got-game.org/q/car-racks.html car racks] [http://sunder.got-game.org/web/scat.html scat] [http://jovem.zyns.com/topic/canada-homes-for.html by canada home owner sale] [http://civet.ddns.ms/description/cost-of-inground.html inground pool cost] [http://megaworks-550.mioforum.com/ 5.1 550 megaworks thx] [http://sunder.got-game.org/web/triamterene-hctz.html about the medication triamterene hctz] [http://taste.ftpserver.biz/web/victor-french.html victor french actor] [http://pasty.zyns.com/wiki/birdhouse.html blue bird house plan] [http://diseas.4mydomain.com/q/perennials-for.html perennials for shade] [http://sunder.got-game.org/web/tax-refund.html tax refund] [http://bottle.4dq.com/pages/nfl-playoff-prediction.html nfl playoff prediction] [http://desist.ddns.us/directory/minnesota-science.html science museum of minnesota st paul mn] [http://biter.4dq.com/description/mvp-baseball-2005.html mvp baseball 2005 rosters xbox] [http://sonnet.fadlan.com/literati.html literati] [http://trunk.got-game.org/blog/margarita-island.html margarita island vacation] [http://fingre.freeddns.com/html/dyeable-shoes.html dyeable shoes] [http://diseas.4mydomain.com/q/suzuki-xl7.html suzuki xl7 2003] [http://absey.zyns.com/brian-regan-clips.html brian regan clips] [http://autumn.freeddns.com/goatee-styles.html goatee styles] [http://ethiop.got-game.org/spirit-airline.html spirit airline usa] [http://comic.ddns.ms/small/cat-adoption.html cat adoption chicago] [http://carcinogens.uni-nail.com/ carcinogens] [http://bottle.4dq.com/pages/suzette.html suzette] [http://seated.xxxy.info/brazos-county.html brazos county texas real estate] [http://bettre.got-game.org/directory/mazda-miata-hardtop.html mazda miata hardtop] [http://norandex.uni-nail.com/ norandex] [http://sonnet.fadlan.com/meta-bank-sioux.html meta bank sioux falls] [http://chaud.my03.com/paint-manufacturers.html manufacturer paint uk] [http://olkneen.fadlan.com/ping-test-sites.html ping test sites] [http://belly.zyns.com/fuck-teen.html teen fuck] [http://snatch.ddns.us/data/anne-coulter.html anne coulter] [http://jovem.zyns.com/topic/free-bisexual-movies.html bisexual free movie clip] [http://fingre.freeddns.com/html/map-of-pahoa-hawaii.html map of pahoa hawaii] [http://sea-doo-personal.mioforum.com/ doo personal sea watercraft yamaha] [http://parallax-mapping.mioforum.com/ parallax mapping mod] [http://diseas.4mydomain.com/q/pretty-vacant.html pretty vacant] [http://linens.4mydomain.com/resources/dilf-hunter.html dilf hunter] [http://bottle.4dq.com/pages/asset-california.html asset california hiding] [http://snatch.ddns.us/data/private-venture.html capital equity india private venture] [http://gekrauss.fadlan.com/article/tribal-design.html tribal design pictures] [http://bettre.got-game.org/directory/american-wedding.html american preparation wedding] [http://duplication-video.voodoo-ref.com/ colorado duplication video] [http://otter.got-game.org/b3.html b3] [http://widow.fadlan.com/small/lip-shimmers.html lip shimmers] [http://saving.ddns.ms/resources/reality-fusion.html reality fusion game] [http://notify.ddns.us/new/belafonte.html belafonte harper shari] [http://belly.zyns.com/compatibility.html compatibility horoscope sign] [http://peruse.zyns.com/comments/piano-repair.html piano repair] [http://meagre.fadlan.com/html/london-ontario.html london ontario airport hotels] [http://bowing.ddns.ms/ji.html 100an drama ji rapidshare wang yi] [http://otter.got-game.org/sitemap.html link] [http://sects.ftpserver.biz/new/anaesthesiologist.html anaesthesiologist average income] [http://rolls.zyns.com/hoodie.html hoodie] [http://kinder.zyns.com/text/jewellers-in-stevenage.html jewellers in stevenage] [http://taurus.fadlan.com/data/fob.html fob shipping] [http://cabock.fadlan.com/styles/foot.html foot] [http://comic.ddns.ms/small/well-water-treatment.html well water treatment systems] [http://rased.ddns.ms/sitemap.html url] [http://percy.mooo.com/new/suspended-disbelief.html suspended disbelief] [http://penned.4dq.com/content/photogrammetric.html photogrammetric software] [http://penned.4dq.com/content/garter-belt.html garter belt] [http://otter.got-game.org/wood-dollhouses.html doll house kit wood] [http://breach.my03.com/sitemap.html url] [http://jovem.zyns.com/topic/sofa-sleepers.html sofa sleepers] [http://refuge.ddns.ms/sitemap.html url] [http://rooky.ikwb.com/topic/nextel-cup.html nextel cup racing] [http://refuge.ddns.ms/lib/child-spanking.html child spanking] [http://absey.zyns.com/nike-basketball.html nike basketball trainers] [http://rased.ddns.ms/new/her-first-anal.html her first anal sex com] [http://taurus.fadlan.com/data/st-marks-high.html st marks high school wilmington de] [http://sects.ftpserver.biz/new/no-gay-marriages.html no gay marriages] [http://bitten.zyns.com/myownemailcom.html myownemail.com] [http://amy-brown-art.voodoo-ref.com/ amy brown fantasy art] [http://linens.4mydomain.com/resources/adipex-online.html buy adipex online cheap] [http://peruse.zyns.com/comments/famciclovir.html famciclovir] [http://cheap-disney.mioforum.com/ cheap disney vacation packages] [http://whelp.zyns.com/lib/renee-zelwiger.html renee zelwiger] [http://bowing.ddns.ms/animation-programs.html animation programs] [http://lancome-eyeliners.mioforum.com/ lancome eyeliners] [http://hearts.ddns.us/blog/genital-warts.html genital warts look like] [http://jovem.zyns.com/topic/american-press.html american psychiatric press] [http://pasty.zyns.com/wiki/chrome-shop-mafia.html chrome shop mafia] [http://bottle.4dq.com/pages/portable-infrared.html portable infrared curing] [http://saving.ddns.ms/resources/dealing-with-bad.html dealing with bad breath] [http://notify.ddns.us/new/home-appraisal.html home appraisal] [http://jordan.zyns.com/content/laughlin-hotels.html laughlin hotels] [http://window-stopwatch.mioforum.com/ window stopwatch] [http://olkneen.fadlan.com/prescription.html prescription drug companies] [http://bender.got-game.org/culinary-colleges.html culinary colleges] [http://diseas.4mydomain.com/q/gallery-of-inuyasha.html gallery of inuyasha and kagome] [http://rooky.ikwb.com/topic/graduation-speech.html graduation speech] [http://trunk.got-game.org/blog/lyric-sailor-son.html lyric sailor son] [http://autumn.freeddns.com/window-stopwatch.html window stopwatch]
 
basvibor
 
basvibor
 
[[Category: Tutorials]]
 
[[Category: Tutorials]]

Revision as of 19:54, 22 February 2008

moonshine still rosey teen kelly with braces traffic safety signs platinum wedding bands our lady of grace west babylon ny assistant adjutant oasis supernova benicar hct leather lingerie manufacturers jefferson county clerks office download salsa music mexico ocean life hunting guided trips arcade game you play on the internet amusement and theme parks boston bizarre extreme fucked model sex nautical route finders europe stuck on you religious music nikon binoculars ay papi jab ibc propet walking shoes seam rollers live pet turtle singapore sling recipe bulava watch hauler rack atv deer feeder stetson hats personal site hosting bachelor chicago idea party dorm room cam 99 dinner restaurant steakhouse diaphragm valve bodies comic strips personals absolute audio nyc carma cobb realty colored envelope kaman s.e.x. diabetic test strip just 18 david crowder shopping bags lawn chipper 08096 showtimes gnosticism aaron bigamy brewer electrode grinder supelco rss parser php nirvana picture standard triumph bloodhound gang the roof is on fire angelina jolie galleries hyundai car dealerships saks online coupons hairy bear galleries immunoproteins the cherries football audio search titanic ship oregano canon printer support akon mr lonely eternal snow 2002 2005 ford sale thunderbird cheap cell phones andres raya video url sincity .com winstrol steroid online casinos dvd decoder free warrick davies fet happy edit music notation software vitamina d el pollo loco batman symbol tattoo judas unchained release estimulacion del clitoris 400 degree juvenile lyric 3 dimensional cell models watch hip hop videos tecate spa innoveda viewdraw autologous fat transplantation three credit bureaus addresses pto organization pea and ham soup receipe proses kehamilan hidden cam toilet business dress code wholesale nitric acid nissan engines private landlords in leeds lamellarins cartoon wallpapers homes of the future chefs jobs oldest car racks scat by canada home owner sale inground pool cost 5.1 550 megaworks thx about the medication triamterene hctz victor french actor blue bird house plan perennials for shade tax refund nfl playoff prediction science museum of minnesota st paul mn mvp baseball 2005 rosters xbox literati margarita island vacation dyeable shoes suzuki xl7 2003 brian regan clips goatee styles spirit airline usa cat adoption chicago carcinogens suzette brazos county texas real estate mazda miata hardtop norandex meta bank sioux falls manufacturer paint uk ping test sites teen fuck anne coulter bisexual free movie clip map of pahoa hawaii doo personal sea watercraft yamaha parallax mapping mod pretty vacant dilf hunter asset california hiding capital equity india private venture tribal design pictures american preparation wedding colorado duplication video b3 lip shimmers reality fusion game belafonte harper shari compatibility horoscope sign piano repair london ontario airport hotels 100an drama ji rapidshare wang yi link anaesthesiologist average income hoodie jewellers in stevenage fob shipping foot well water treatment systems url suspended disbelief photogrammetric software garter belt doll house kit wood url sofa sleepers url nextel cup racing child spanking nike basketball trainers her first anal sex com st marks high school wilmington de no gay marriages myownemail.com amy brown fantasy art buy adipex online cheap famciclovir cheap disney vacation packages renee zelwiger animation programs lancome eyeliners genital warts look like american psychiatric press chrome shop mafia portable infrared curing dealing with bad breath home appraisal laughlin hotels window stopwatch prescription drug companies culinary colleges gallery of inuyasha and kagome graduation speech lyric sailor son window stopwatch basvibor

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.