User Tools

Site Tools


class1.multimedia

Class=40 (0x28) Multimedia

CLASS1.MULTIMEDIA

Description

Dedicated class for multimedia functionality. This class was introduced to supplement the control class and to offer multimedia specific control events.

The Play/Pause/Stop etc. events in the CLASS1.CONTROL class can also be used for media control.

Type=1 (0x1) Playback

This is for controlling playback functionality

Data byte Description
0 Function (See below)
1 Zone for which event applies to (0-255). 255 is all zones.
2 Sub-zone for which event applies to (0-255). 255 is all sub-zones.
Function Codes
Code Description
0 Stop
1 Pause
2 Play
3 Forward
4 Rewind
5 Fast Forward
6 Fast Rewind
7 Next Track
30 Previous Track
31 Toggle repeat mode
32 Repeat mode ON
33 Repeat mode OFF
34 Toggle Shuffle mode
35 Shuffle ON
36 Shuffle mode OFF
37 Fade in, Play
38 Fade out, Stop

Appropriate CLASS1.INFORMATION events should be sent from the controlled device as response to this event.

Type=2 (0x2) NavigatorKey English

This is typically for navigation functions or DVD controls

Data byte Description
0 Function
1 Zone for which event applies to (0-255). 255 is all zones.
2 Sub-zone for which event applies to (0-255). 255 is all sub-zones.
Function Codes
Code Description
0..9 0..9 keys
10 10+ key
20 OK
21 Left
22 Right
23 Up
24 Down
25 Menu
26 Selecting
65—90 A..Z Keys
97..122 a-z keys (can't use ASCII hex as numbers are too large so this is the next best thing)

Type=3 (0x3) Adjust Contrast

This is typically for adjusting the contrast level of a display device

Data byte Description
0 A value between 0 and 127 indicates the specific contrast level to set. A value between 128 and 159 is change down by the specified number of contrast levels. A value between 160 and 191 is change up by the specified number of contrast levels. A value of 255 means that this is and extended event and that the specific contrast level is sent in byte 3 and after.
1 Zone for which event applies to (0-255). 255 is all zones.
2 Sub-zone for which event applies to (0-255). 255 is all sub-zones.

Type=4 (0x4) Adjust Focus

This is typically for adjusting the focus settings of a display device

Data byte Description
0 A value between 0 and 127 indicates the specific focus level to set. A value between 128 and 159 is change down by the specified number of focus levels. A value between 160 and 191 is change up by the specified number of focus levels. A value of 255 means that this is and extended event and that the specific focus level is sent in byte 3 and after.
1 Zone for which event applies to (0-255). 255 is all zones.
2 Sub-zone for which event applies to (0-255). 255 is all sub-zones.

Type=5 (0x5) Adjust Tint

This is typically for adjusting the tint settings of a display device

Data byte Description
0 A value between 0 and 127 indicates the specific tint level to set. A value between 128 and 159 is change down by the specified number of tint levels. A value between 160 and 191 is change up by the specified number of tint levels. A value of 255 means that this is and extended event and that the specific tint level is sent in byte 3 and after.
1 Zone for which event applies to (0-255). 255 is all zones.
2 Sub-zone for which event applies to (0-255). 255 is all sub-zones.

Type=6 (0x6) Adjust Color Balance

This is typically for adjusting the color balance settings of a display device.

Data byte Description
0 Reserved.
1 Zone for which event applies to (0-255). 255 is all zones.
2 Sub-zone for which event applies to (0-255). 255 is all sub-zones.

Type=7 (0x7) Adjust Brightness

This is typically for adjusting the tint settings of a display device

Data byte Description
0 A value between 0 and 127 indicates the specific brightness level to set. A value between 128 and 159 is change down by the specified number of brightness levels. A value between 160 and 191 is change up by the specified number of brightness levels. A value of 255 means that this is and extended event and that the specific brightness level is sent in byte 3 and after.
1 Zone for which event applies to (0-255). 255 is all zones.
2 Sub-zone for which event applies to (0-255). 255 is all sub-zones.

Type=8 (0x8) Adjust Hue

This is typically for adjusting the hue settings of a display device

Data byte Description
0 Reserved.
1 Zone for which event applies to (0-255). 255 is all zones.
2 Sub-zone for which event applies to (0-255). 255 is all sub-zones.

Type=9 (0x9) Adjust Bass

This is typically for adjusting the bass level settings of a sound device. Depending on the implementation, this could automatically adjust the treble level. To adjust left and right bass levels, a node would have to use separate zones or sub-zones for left and right.

Data byte Description
0 A value between 0 and 127 indicates the specific bass level to set. A value between 128 and 159 is change down by the specified number of bass levels. A value between 160 and 191 is change up by the specified number of bass levels. A value of 255 means that this is and extended event and that the specific bass level is sent in byte 3 and after.
1 Zone for which event applies to (0-255). 255 is all zones.
2 Sub-zone for which event applies to (0-255). 255 is all sub-zones.

Type=10 (0xA) Adjust Treble

This is typically for adjusting the treble level settings of a sound device. Depending on the implementation, this could automatically adjust the bass level. To adjust left and right treble levels, a node would have to use separate zones or sub-zones for left and right.

Data byte Description
0
1 Zone for which event applies to (0-255). 255 is all zones.
2 Sub-zone for which event applies to (0-255). 255 is all sub-zones.

Type=11 (0xB) Adjust Master Volume

This is typically for adjusting the master volume level. This could be used for adjusting the level for all speakers.

Data byte Description
0
1 Zone for which event applies to (0-255). 255 is all zones.
2 Sub-zone for which event applies to (0-255). 255 is all sub-zones.

Type=12 (0xC) Adjust Front Volume

This is typically for adjusting the front speaker volume level. This usually means the two front speakers as opposed to the single center speaker.

Data byte Description
0
1 Zone for which event applies to (0-255). 255 is all zones.
2 Sub-zone for which event applies to (0-255). 255 is all sub-zones.

Type=13 (0xD) Adjust Center Volume

This is typically for adjusting the front speaker volume level. This usually means the single center speaker as opposed to the two front speakers.

Data byte Description
0
1 Zone for which event applies to (0-255). 255 is all zones.
2 Sub-zone for which event applies to (0-255). 255 is all sub-zones.

Type=14 (0xE) Adjust Rear Volume

This is typically for adjusting the rear speaker volume level.

Data byte Description
0
1 Zone for which event applies to (0-255). 255 is all zones.
2 Sub-zone for which event applies to (0-255). 255 is all sub-zones.

Type=15 (0xF) Adjust Side Volume

This is typically for adjusting the side speaker volume level.

Data byte Description
0
1 Zone for which event applies to (0-255). 255 is all zones.
2 Sub-zone for which event applies to (0-255). 255 is all sub-zones.

Type=16 to 19 Reserved

These are reserved for other future speaker combinations

Type=20 (0x14) Select Disk

This is typically for selecting a disk for playback

Data byte Description
0
1 Zone for which event applies to (0-255). 255 is all zones.
2 Sub-zone for which event applies to (0-255). 255 is all sub-zones.

Type=21 (0x15) Select Track

This is typically for selecting a track for playback

Data byte Description
0
1 Zone for which event applies to (0-255). 255 is all zones.
2 Sub-zone for which event applies to (0-255). 255 is all sub-zones.

Type=22 (0x16) Select Album/Play list

This is typically for selecting an album or play-list for playback

Data byte Description
0
1 Zone for which event applies to (0-255). 255 is all zones.
2 Sub-zone for which event applies to (0-255). 255 is all sub-zones.

Type=23 (0x17) Select Channel

This is typically for selecting a TV Channel

Data byte Description
0
1 Zone for which event applies to (0-255). 255 is all zones.
2 Sub-zone for which event applies to (0-255). 255 is all sub-zones.

Type=24 (0x18) Select Page

This is typically for selecting a page of a film

Data byte Description
0
1 Zone for which event applies to (0-255). 255 is all zones.
2 Sub-zone for which event applies to (0-255). 255 is all sub-zones.

Type=25 (0x19) Select Chapter

This is typically for selecting a chapter of a film

Data byte Description
0
1 Zone for which event applies to (0-255). 255 is all zones.
2 Sub-zone for which event applies to (0-255). 255 is all sub-zones.

Type=26 (0x1A) Select Screen Format

This is for controlling screen format of a display device

Data byte Description
0
1 Zone for which event applies to (0-255). 255 is all zones.
2 Sub-zone for which event applies to (0-255). 255 is all sub-zones.

Type=27 (0x1B) Select Input Source

This is for controlling the input source of a playback device

Data byte Description
0
1 Zone for which event applies to (0-255). 255 is all zones.
2 Sub-zone for which event applies to (0-255). 255 is all sub-zones.
Device Code
Code Description
0 Auto
1 CD
2 AUX
3 DVD
4 SAT
5 VCR
6 Tape
7 Phone
8 Tuner
9 FM
10 AM
11 Radio (9 – 10 are more specific)
16 Component
17 VGA
18 SVideo
19 Video1
20 Video2
21 Video3
22 Sat1
23 Sat2
24 Sat3
25 mp3 source
26 mpeg source

Type=28 (0x1C) Select Output

This is for controlling the output of a playback device

Data byte Description
0
1 Zone for which event applies to (0-255). 255 is all zones.
2 Sub-zone for which event applies to (0-255). 255 is all sub-zones.
Output Code
Code Description
0 Auto
16 Component
17 VGA
18 SVideo
19 Video1
20 Video2
21 Video3
30 HDMI1
32 HDMI2
32 HDMI3

Type=29 (0x1D) Record

Control a recording device.

Data byte Description
0 0 - Start to record, 1 - Stop record, 2 - Disable, AGC 3 - Enable AGC.
1 Zone for which event applies to (0-255). 255 is all zones.
2 Sub-zone for which event applies to (0-255). 255 is all sub-zones.

Type=30 (0x1E) Set Recording Volume

Control a recording device.

Data byte Description
0 A value between 0 and 127 indicates the specific contrast level to set. A value between 128 and 159 is change down by the specified number of contrast levels. A value between 160 and 191 is change up by the specified number of contrast levels. A value of 255 means that this is and extended event and that the specific contrast level is sent in byte 3 and after.
1 Zone for which event applies to (0-255). 255 is all zones.
2 Sub-zone for which event applies to (0-255). 255 is all sub-zones.

Type=40 (0x28) Tivo Function

This is typically for accessing TIVO functions

Data byte Description
0 TIVO Code
1 Zone for which event applies to (0-255). 255 is all zones.
2 Sub-zone for which event applies to (0-255). 255 is all sub-zones.
TIVO Code
Code Description
1 Box Office
2 Services
3 Program Guide
4 Text
5 Info
6 Help
7 Backup
20 Red key
21 Yellow key
22 Green key
23 Blue key
24 White key
25 Black key

Type=50 (0x32) Get Current Title

Get the title for the current active media.

Data byte Description
0 Reserved.
1 Zone for which event applies to (0-255). 255 is all zones.
2 Sub-zone for which event applies to (0-255). 255 is all sub-zones.

Type=51 (0x33) Set media position in milliseconds

This is for controlling the position in the stream/file of a playback device

Data byte Description
0 Reserved
1 Zone for which event applies to (0-255). 255 is all zones.
2 Sub-zone for which event applies to (0-255). 255 is all sub-zones.
3-7 Position in milliseconds, This is an integer with a size specified by the event size. This 0xFF, 0xFFFF, 0xFFFFFF, 0xFFFFFFFF and 0xFFFFFFFFFF is the maximum that can be sent for different sizes.

Type=52 (0x34) Get media information

Get various media information from a device.

Data byte Description
0
1 Zone for which event applies to (0-255). 255 is all zones.
2 Sub-zone for which event applies to (0-255). 255 is all sub-zones.

If a device does not support the requested type of media information its sends a CLASS1.INFORMATION error event or does not response.

Type=53 (0x35) Remove Item from Album

Remove an item from an album.

Data byte Description
0 0-128 - Pos to remove from album/play-list A value of 255 means that this is and extended event and that the specific contrast level is sent in byte 3 and after.
1 Zone for which event applies to (0-255). 255 is all zones.
2 Sub-zone for which event applies to (0-255). 255 is all sub-zones.

Type=54 (0x36) Remove all Items from Album

Remove all items from an album.

Data byte Description
0 Reserved.
1 Zone for which event applies to (0-255). 255 is all zones.
2 Sub-zone for which event applies to (0-255). 255 is all sub-zones.

Type=55 (0x37) Save Album/Play list

Save album/play-list to permanent storage.

Data byte Description
0 0 - Do not overwrite if it already exists 1 - Overwrite if it exist.
1 Zone for which event applies to (0-255). 255 is all zones.
2 Sub-zone for which event applies to (0-255). 255 is all sub-zones.

Type=60 (0x3C) Multimedia Control

Send multimedia information. This can be the title for the current active media. It can be sent as a response to a “Get Title” or similar event or by its own when a new title is playing or other multimedia information has changed.

Response should be Type=61

Data byte Description
0 Control codes
1 Zone for which event applies to (0-255). 255 is all zones.
2 Sub-zone for which event applies to (0-255). 255 is all sub-zones.
3 Index. Base 0. Increase by one for every fragment of the title sent.
4-7 Data.
Control Codes
Code Description
0 Active Title (URL).
1 Set Title(URL).
2 Active Folder(URL).
3 Set Active Folder(URL).
4 Artist(string).
5 Year(string).
6 Genre(string).
7 Album(string).
8 Comment(string).
9 Track(integer).
10 Picture(url).
11 Sample rate(integer).
12 Bit-rate(integer).
13 Channels(integer).
14 Media size bytes(integer).
15 Time(string).
16 Mpeg version(string).
17 Mpeg layer(string).
18 Frequency(integer).
19 Channel Mode.
20 CRC(integer).
21 Copyright(string).
22 Original(string).
23 Emphasis.
24 Media position in milliseconds(integer).
25 Media-length in milliseconds(integer).
26 Version(string).
27 Album/Play list(string).
28 Play file(URL).
29 Add file to album/play-list(URL).
30 Current Folder (URL).
31 Folder content(URL).
32 Set Folder(URL).
33 Get Folder content(URL).
34 Get Folder content albums/play-lists(URL).
35 Get Folder content filter(string)
36 Disks list(String)
37 Folders list(String)
38 Tracks list(String)
39 Albums/Play list list(String)
40 Channels list(String)
41 Pages list(String)
42 Chapters list(String)
43 New Album/Play list(URL)

The last fragment is sent with no data.

Lists in string form have list items separated with a zero (0x00).

Album can be looked upon as a play-list which is a term used for many other multimedia products.

Type=61 (0x3D) Multimedia Control response

Response for multimedia control.



Paradise of the Frog AB

class1.multimedia.txt · Last modified: 2017/07/12 20:11 (external edit)