open Media Playback in the catalog ↗
Services
| service | methods | what it does |
|---|---|---|
com.webos.media | 161 | Core media pipeline service: acquires and manages media resources and pipelines, attaches audio/video, reports buffering and playback… |
com.webos.service.dmost | 27 | Appears to manage LG Channels / Channel Plus free streaming: reports broadcast and channel state, enables/disables Channel Plus, handles… |
com.webos.service.mediacontroller | 23 | Media controller: registers and activates media sessions and handles AVRCP remote playback control (metadata, cover art, play/mute status,… |
com.webos.service.mediaindexer | 23 | Media indexer: scans internal and USB storage for audio, video and image files and extracts metadata, exposing media lists and per-device… |
com.webos.service.utp.subtitle | 20 | UTP subtitle/caption service: enables and disables subtitles and DVB subtitle PES, reports current subtitle and rating info, and controls… |
com.webos.service.photorenderer | 18 | Photo renderer: opens, draws and plays photos with scaling, rotation, translation, color filters, thumbnails and transitions, and captures… |
com.webos.service.tv.dvr | 18 | TV DVR service: schedules and runs program, manual, scheduled, and external-input recordings, manages timeshift buffering, and plays back… |
com.webos.service.wowplay | 18 | WOWCAST wireless-audio/soundbar service: pairs and connects soundbars over BLE and Wi-Fi P2P, reports soundbar status, calibration and… |
airplay.service | 17 | Apple AirPlay and HomeKit integration: manages the AirPlay mirroring window, position and audio state, handles MFi authentication keys,… |
com.webos.service.capture | 14 | Screen/video capture service: creates capture handles, configures output, clip regions, and properties, and executes one-shot or… |
com.webos.service.tv.capture | 13 | TV screen-capture service: creates capture handles, executes captures (including one-shot), and configures clip regions, options, output… |
com.webos.service.mediarecorder | 11 | Media recorder service (webOS OSE): opens a recorder, sets audio/video and output formats and file, starts/stops/pauses recording, and… |
com.webos.pipeline.record | 8 | Audio/video recording pipeline: starts, stops, pauses and resumes capture of audio, video and still images, with status subscription. |
com.webos.service.airplayadaptor | 8 | AirPlay adaptor: starts, stops, restarts and reports the status of AirPlay, and handles MFi authentication keys. |
com.webos.service.miracast | 7 | Miracast (Wi-Fi Display) service: manages device discovery, pairing and connection, reports connection/media/P2P state and statistics, and… |
ssap:media.controls | 5 | SSAP media controls (TV remote-control protocol): play, pause, stop, fast-forward and rewind for media playback. |
com.webos.service.appcasting | 4 | Appears to handle app casting/second-screen control: exchanges commands and app messages, relays UIBC (user input back channel) events,… |
airplay.homekit | 3 | AirPlay/HomeKit integration helper: manages pairing and reports setup-code and pairing events for Apple AirPlay and HomeKit on the TV. |
com.webos.mediadb | 3 | Media metadata database (a db8-style store, including EPG data): find, get, put, delete and batch records, compact and dump the store, and… |
com.webos.service.camera2 | 3 | Camera service: enumerates cameras, opens/closes devices, queries and sets formats and properties, captures images and streams, and… |
com.webos.service.capturetv | 3 | Opaque TV capture pipeline node exposing info/nodeStart/quit; appears to start a capture pipeline node for live TV. |
com.webos.service.nais | 3 | Appears to provide a QR-code-based service plus subtitle controls, reporting service status and supported-platform info. |
com.webos.service.remotediag | 3 | Remote diagnostics service: downloads terms, reports status, and subscribes to and reports media info for remote support/diagnostics. |
com.palm.mediadb | 2 | Legacy Palm media database service exposing image catalog queries such as listing photo albums and images. Limited to media indexing based… |
com.webos.service.apiadapter | 2 | API adapter that bridges remote/second-screen clients to on-device functions: audio (sound output, mute), system settings, external… |
com.webos.service.capturepermission | 2 | Screen-capture permission service: checks and sets whether screen capture is permitted. |
com.webos.service.gingaccwebservices | 2 | Ginga interactive-DTV middleware web services (ISDB-T, e.g. Brazil): media controller and key-session handling, key sets and server URL,… |
com.webos.service.gingaccwebservices.test | 2 | Test interface for Ginga interactive-TV middleware (ISDB) web services: dev mode, consent history, key sets, media controller/key sessions… |
com.webos.service.multiviewcontroller | 2 | Multiview controller: creates and arranges app views for split/multi-view, changes mode, position and size of sub-apps, and mixes per-view… |
ssap:media.viewer | 2 | SSAP external-control endpoint for the media viewer: opens and closes it. |
com.test.interc.service.fake | 1 | Fake/test interceptor service that mocks caption, data-broadcast and settings reads (captions, locale, sound, emergency info) for testing.… |
com.webos.service.commercial.scapadapter | 1 | Commercial/pro-TV SCAP adapter (set-top/conditional-access integration) with a large configuration surface: OSD language and lock, picture… |
com.webos.service.dmrsvc | 1 | DLNA Digital Media Renderer service: plays media pushed from DLNA controllers, reporting play status and managing volume, mute, subtitles,… |
com.webos.service.mediasync | 1 | Media synchronization service exposing a single setup call; its full role is not inferable from the method name. |
com.webos.service.mvpd | 1 | MVPD (pay-TV operator) service: manages the operator channel list, initial/last channel, parental-control ratings, operator settings and… |
com.webos.service.systemservice | 1 | Core system service: reads/sets the clock and time zone, queries device and OS info, manages preferences and ringtones, handles… |
Documented methods to start with
Public and SSAP methods from LG's documentation, none flagged dangerous. Each opens in the catalog with its full parameter table. Run them on a rooted TV or in Developer Mode.
Requests resources from the mediaserver. Typical usage is to request the number of audio and video decoders or other hardware components used by the pipeline. Acquire calls can be used to dynamically add more resources…
params: resources, connectionId
$ luna-send -n 1 -f luna://com.webos.media/acquire '{}'Allows to transfer the control of a pipeline to be handed over to a different client. When this occurs, the original client gets notified that it got detached from the pipeline and can no longer control the pipeline.…
params: mediaId
$ luna-send -n 1 -f luna://com.webos.media/attach '{}'Gets JSON formatted output of currently active media pipelines. Note: Typically, a luna methods returns a JSON object as response. However, in this case, an array of object will be returned.
params: mediaId
$ luna-send -n 1 -f luna://com.webos.media/getActivePipelines '{}'Gets information about the display on which the specified application instance is launched. Note: This method supports multi-screen playback.
params: instanceId
$ luna-send -n 1 -f luna://com.webos.media/getDisplayId '{}'Provides the application's foreground information.
params: subscribe
$ luna-send -n 1 -f luna://com.webos.media/getForegroundAppInfo '{}'Requests the media server to retrieve pipeline state information.
params: mediaId
$ luna-send -n 1 -f luna://com.webos.media/getPipelineState '{}'Loads a new pipeline for the specified URI. The media server returns a unique id to the client which is used for subsequent operations on the pipeline.
params: uri, type, payload
$ luna-send -n 1 -f luna://com.webos.media/load '{}'Notifies the media server that the specific pipeline is currently in use. This command raises the timestamp record of the corresponding pipeline to lessen the chance to be picked as the target for a policyAction, which…
params: connectionId
$ luna-send -n 1 -f luna://com.webos.media/notifyActivity '{}'Marks a pipeline as background. This API is called when the media object in question is carded, deleted, or otherwise removed from view. Note: Background video content is not currently visible on the display surface.
params: connectionId
$ luna-send -n 1 -f luna://com.webos.media/notifyBackground '{}'Marks a pipeline as foreground. This API is called when the media object in question is un-carded and made visible. Note: Foreground pipeline video content is currently visible on the display surface.
params: connectionId
$ luna-send -n 1 -f luna://com.webos.media/notifyForeground '{}'Notifies the playback status of media pipelines.
params: connectionId, pipelineStatus, pid
$ luna-send -n 1 -f luna://com.webos.media/notifyPipelineStatus '{}'Requests the media server to pause the media object.
params: mediaId
$ luna-send -n 1 -f luna://com.webos.media/pause '{}'Requests the media server to play the media object.
params: mediaId
$ luna-send -n 1 -f luna://com.webos.media/play '{}'Dynamically adds more resources to the pipeline.
params: connectionId, resources
$ luna-send -n 1 -f luna://com.webos.media/reacquire '{}'Media Content Provider (unmanaged) must register with Media Display Controller to allow proper management of video content and displays or audio outputs. NOTE: In managed case, this API is internally invoked from…
params: mediaId, appId
$ luna-send -n 1 -f luna://com.webos.media/registerMedia '{}'Registers with the Resource Manager. Session is persistent across all start/end transaction and acquire/release cycles. Registered clients and their current resource requirements will be tracked by Resource Manager.…
params: type, appId
$ luna-send -n 1 -f luna://com.webos.media/registerPipeline '{}'Informs media server the resources are released correctly and are not being used anymore. Note: This method is applicable for unmanaged pipelines only.
params: resources, connectionId
$ luna-send -n 1 -f luna://com.webos.media/release '{}'Seeks the media object to a specified time position.
params: position, mediaId
$ luna-send -n 1 -f luna://com.webos.media/seek '{}'Selects an audio or subtitle track of an open pipeline
params: mediaId, type, index
$ luna-send -n 1 -f luna://com.webos.media/selectTrack '{}'Sets the pipeline media play rate.
params: playRate, mediaId, audioOutput
$ luna-send -n 1 -f luna://com.webos.media/setPlayRate '{}'Sets subtitle background color for an open media pipeline
params: mediaId, bgColor
$ luna-send -n 1 -f luna://com.webos.media/setSubtitleBackgroundColor '{}'Sets subtitle background opacity for an open media pipeline
params: mediaId, bgOpacity
$ luna-send -n 1 -f luna://com.webos.media/setSubtitleBackgroundOpacity '{}'Sets subtitle character color (similar to setSubtitleColor, different values) for an open media pipeline
params: mediaId, charColor
$ luna-send -n 1 -f luna://com.webos.media/setSubtitleCharacterColor '{}'Sets subtitle character opacity for an open media pipeline
params: mediaId, charOpacity
$ luna-send -n 1 -f luna://com.webos.media/setSubtitleCharacterOpacity '{}'Sets subtitle color for an open media pipeline
params: mediaId, color
$ luna-send -n 1 -f luna://com.webos.media/setSubtitleColor '{}'Shows or hides subtitles for an open media pipeline
params: mediaId, enable
$ luna-send -n 1 -f luna://com.webos.media/setSubtitleEnable '{}'Sets subtitle text encoding for an open media pipeline
params: mediaId, encoding
$ luna-send -n 1 -f luna://com.webos.media/setSubtitleEncoding '{}'Sets subtitle font size for an open media pipeline
params: mediaId, fontSize
$ luna-send -n 1 -f luna://com.webos.media/setSubtitleFontSize '{}'Sets subtitle vertical position for an open media pipeline
params: mediaId, position
$ luna-send -n 1 -f luna://com.webos.media/setSubtitlePosition '{}'Loads an external subtitle file for an open pipeline
params: mediaId, uri, preferredEncodings
$ luna-send -n 1 -f luna://com.webos.media/setSubtitleSource '{}'luna-send yourself. See dangerous.md.