If you run two of such instances (two VLCs) then you can have COM1 and COM2, monitoring both at the same time.Īs 'server script' (besides implementing as native LUA script plugin, using X-Plane SDK), there are also Python bindings for X-Plane, and nice demos, such as charlylima/XPlaneUDP, X-Plane Python plugin, pyxpudpserver, python_interface on etc. So, all the time you change the frequency on the radio, this frequency is aggregated as DATAREF, converted into a LiveATC server URL, sent via telnet as VLC command and VLC will do the job to play the ATC 'sound'. It will connect and start playing, you can ' stop', ' play' again or even ' clear' playlist and ' add' again in order to connect to another airport stream Send a VLC command via telnet with this converted URL, example: ' add ' Start VLC in telnet interface mode (once, let it run all the time)Įstablish a telnet session from this 'server script' or plugin to the VLC telnet port (on localhost - on same PC, port 4212) The ' server script' or plugin will translate the frequency into the URL needed (for VLC later), from a mapping list (hash table) as KnownFrequency-to-URL translation I tried: it worksĬ) have a small script based X-Plane-external 'server program', or write a LUA script, X-Plane SDK plugin which will do these actions:Įnable and get the DATAREF sim/cockpit/radios/com1_freq_hz (and/or others) from X-Plane, as direct plugin or as network connection to this external 'server script' (e.g. How to use in X-Plane, with a hardware radio control panel or settings on cockpit radio?īesides legal issues - LiveATC their web site - technically not difficult.Īnyway, how 'cool' would it be to control the radio (set frequency, toggle) in SIM cockpit and to listen to LiveATC for this frequency.Ī) use VLC media player: it has a great telnet interface where you can 'add' a connection to the LiveATC serverī) just use the direct URL to the LiveATC server, not the web site URL: you can find it in the web site page source. Besides X-ATC-Chatter, LiveTraffic or PilotEdge, I was also thinking:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |