$ luna-atlas --cat media

Media Playback luna-send commands.

The media pipeline: playback sessions, the TV's players, DLNA and casting, AirPlay and media metadata. 433 methods in 36 services.

433methods
36services
196documented
196public
9flagged dangerous

open Media Playback in the catalog ↗

Services

servicemethodswhat it does
com.webos.media161Core media pipeline service: acquires and manages media resources and pipelines, attaches audio/video, reports buffering and playback…
com.webos.service.dmost27Appears to manage LG Channels / Channel Plus free streaming: reports broadcast and channel state, enables/disables Channel Plus, handles…
com.webos.service.mediacontroller23Media controller: registers and activates media sessions and handles AVRCP remote playback control (metadata, cover art, play/mute status,…
com.webos.service.mediaindexer23Media 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.subtitle20UTP subtitle/caption service: enables and disables subtitles and DVB subtitle PES, reports current subtitle and rating info, and controls…
com.webos.service.photorenderer18Photo renderer: opens, draws and plays photos with scaling, rotation, translation, color filters, thumbnails and transitions, and captures…
com.webos.service.tv.dvr18TV DVR service: schedules and runs program, manual, scheduled, and external-input recordings, manages timeshift buffering, and plays back…
com.webos.service.wowplay18WOWCAST wireless-audio/soundbar service: pairs and connects soundbars over BLE and Wi-Fi P2P, reports soundbar status, calibration and…
airplay.service17Apple AirPlay and HomeKit integration: manages the AirPlay mirroring window, position and audio state, handles MFi authentication keys,…
com.webos.service.capture14Screen/video capture service: creates capture handles, configures output, clip regions, and properties, and executes one-shot or…
com.webos.service.tv.capture13TV screen-capture service: creates capture handles, executes captures (including one-shot), and configures clip regions, options, output…
com.webos.service.mediarecorder11Media recorder service (webOS OSE): opens a recorder, sets audio/video and output formats and file, starts/stops/pauses recording, and…
com.webos.pipeline.record8Audio/video recording pipeline: starts, stops, pauses and resumes capture of audio, video and still images, with status subscription.
com.webos.service.airplayadaptor8AirPlay adaptor: starts, stops, restarts and reports the status of AirPlay, and handles MFi authentication keys.
com.webos.service.miracast7Miracast (Wi-Fi Display) service: manages device discovery, pairing and connection, reports connection/media/P2P state and statistics, and…
ssap:media.controls5SSAP media controls (TV remote-control protocol): play, pause, stop, fast-forward and rewind for media playback.
com.webos.service.appcasting4Appears to handle app casting/second-screen control: exchanges commands and app messages, relays UIBC (user input back channel) events,…
airplay.homekit3AirPlay/HomeKit integration helper: manages pairing and reports setup-code and pairing events for Apple AirPlay and HomeKit on the TV.
com.webos.mediadb3Media 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.camera23Camera service: enumerates cameras, opens/closes devices, queries and sets formats and properties, captures images and streams, and…
com.webos.service.capturetv3Opaque TV capture pipeline node exposing info/nodeStart/quit; appears to start a capture pipeline node for live TV.
com.webos.service.nais3Appears to provide a QR-code-based service plus subtitle controls, reporting service status and supported-platform info.
com.webos.service.remotediag3Remote diagnostics service: downloads terms, reports status, and subscribes to and reports media info for remote support/diagnostics.
com.palm.mediadb2Legacy Palm media database service exposing image catalog queries such as listing photo albums and images. Limited to media indexing based…
com.webos.service.apiadapter2API adapter that bridges remote/second-screen clients to on-device functions: audio (sound output, mute), system settings, external…
com.webos.service.capturepermission2Screen-capture permission service: checks and sets whether screen capture is permitted.
com.webos.service.gingaccwebservices2Ginga 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.test2Test interface for Ginga interactive-TV middleware (ISDB) web services: dev mode, consent history, key sets, media controller/key sessions…
com.webos.service.multiviewcontroller2Multiview controller: creates and arranges app views for split/multi-view, changes mode, position and size of sub-apps, and mixes per-view…
ssap:media.viewer2SSAP external-control endpoint for the media viewer: opens and closes it.
com.test.interc.service.fake1Fake/test interceptor service that mocks caption, data-broadcast and settings reads (captions, locale, sound, emergency info) for testing.…
com.webos.service.commercial.scapadapter1Commercial/pro-TV SCAP adapter (set-top/conditional-access integration) with a large configuration surface: OSD language and lock, picture…
com.webos.service.dmrsvc1DLNA Digital Media Renderer service: plays media pushed from DLNA controllers, reporting play status and managing volume, mute, subtitles,…
com.webos.service.mediasync1Media synchronization service exposing a single setup call; its full role is not inferable from the method name.
com.webos.service.mvpd1MVPD (pay-TV operator) service: manages the operator channel list, initial/last channel, parental-control ratings, operator settings and…
com.webos.service.systemservice1Core 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.

acquire publiccom.webos.media

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 '{}'
attach publiccom.webos.media

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 '{}'
getActivePipelines publiccom.webos.media

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 '{}'
getDisplayId publiccom.webos.media

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 '{}'
getForegroundAppInfo publiccom.webos.media

Provides the application's foreground information.

params: subscribe

$ luna-send -n 1 -f luna://com.webos.media/getForegroundAppInfo '{}'
getPipelineState publiccom.webos.media

Requests the media server to retrieve pipeline state information.

params: mediaId

$ luna-send -n 1 -f luna://com.webos.media/getPipelineState '{}'
load publiccom.webos.media

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 '{}'
notifyActivity publiccom.webos.media

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 '{}'
notifyBackground publiccom.webos.media

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 '{}'
notifyForeground publiccom.webos.media

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 '{}'
notifyPipelineStatus publiccom.webos.media

Notifies the playback status of media pipelines.

params: connectionId, pipelineStatus, pid

$ luna-send -n 1 -f luna://com.webos.media/notifyPipelineStatus '{}'
pause publiccom.webos.media

Requests the media server to pause the media object.

params: mediaId

$ luna-send -n 1 -f luna://com.webos.media/pause '{}'
play publiccom.webos.media

Requests the media server to play the media object.

params: mediaId

$ luna-send -n 1 -f luna://com.webos.media/play '{}'
reacquire publiccom.webos.media

Dynamically adds more resources to the pipeline.

params: connectionId, resources

$ luna-send -n 1 -f luna://com.webos.media/reacquire '{}'
registerMedia publiccom.webos.media

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 '{}'
registerPipeline publiccom.webos.media

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 '{}'
release publiccom.webos.media

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 '{}'
seek publiccom.webos.media

Seeks the media object to a specified time position.

params: position, mediaId

$ luna-send -n 1 -f luna://com.webos.media/seek '{}'
selectTrack publiccom.webos.media

Selects an audio or subtitle track of an open pipeline

params: mediaId, type, index

$ luna-send -n 1 -f luna://com.webos.media/selectTrack '{}'
setPlayRate publiccom.webos.media

Sets the pipeline media play rate.

params: playRate, mediaId, audioOutput

$ luna-send -n 1 -f luna://com.webos.media/setPlayRate '{}'
setSubtitleBackgroundColor publiccom.webos.media

Sets subtitle background color for an open media pipeline

params: mediaId, bgColor

$ luna-send -n 1 -f luna://com.webos.media/setSubtitleBackgroundColor '{}'
setSubtitleBackgroundOpacity publiccom.webos.media

Sets subtitle background opacity for an open media pipeline

params: mediaId, bgOpacity

$ luna-send -n 1 -f luna://com.webos.media/setSubtitleBackgroundOpacity '{}'
setSubtitleCharacterColor publiccom.webos.media

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 '{}'
setSubtitleCharacterOpacity publiccom.webos.media

Sets subtitle character opacity for an open media pipeline

params: mediaId, charOpacity

$ luna-send -n 1 -f luna://com.webos.media/setSubtitleCharacterOpacity '{}'
setSubtitleColor publiccom.webos.media

Sets subtitle color for an open media pipeline

params: mediaId, color

$ luna-send -n 1 -f luna://com.webos.media/setSubtitleColor '{}'
setSubtitleEnable publiccom.webos.media

Shows or hides subtitles for an open media pipeline

params: mediaId, enable

$ luna-send -n 1 -f luna://com.webos.media/setSubtitleEnable '{}'
setSubtitleEncoding publiccom.webos.media

Sets subtitle text encoding for an open media pipeline

params: mediaId, encoding

$ luna-send -n 1 -f luna://com.webos.media/setSubtitleEncoding '{}'
setSubtitleFontSize publiccom.webos.media

Sets subtitle font size for an open media pipeline

params: mediaId, fontSize

$ luna-send -n 1 -f luna://com.webos.media/setSubtitleFontSize '{}'
setSubtitlePosition publiccom.webos.media

Sets subtitle vertical position for an open media pipeline

params: mediaId, position

$ luna-send -n 1 -f luna://com.webos.media/setSubtitlePosition '{}'
setSubtitleSource publiccom.webos.media

Loads an external subtitle file for an open pipeline

params: mediaId, uri, preferredEncodings

$ luna-send -n 1 -f luna://com.webos.media/setSubtitleSource '{}'
Before you run anything. Methods marked dangerous can change, reset or break things on the TV. Running one from here is exactly as safe as typing the same luna-send yourself. See dangerous.md.

Other categories