Media Center Core Commands: Difference between revisions
(→View) |
|||
(196 intermediate revisions by 14 users not shown) | |||
Line 1: | Line 1: | ||
{{see also|DevZone}} |
|||
#pragma once |
|||
MC Core Commands are used to control various aspects of Media Center via software or command line. |
|||
Each command consists of a name (or number), followed by an optional parameter which selects or specifies the particular command behavior. |
|||
The full, C++ header is available here: |
|||
Media Core Commands (for Media Center 9.x and later) |
|||
[http://www.jriver.com/DevZone/MCCommands.h JRiver Media Core Commands Header File] |
|||
Copyright (c) 2003-2006 J. River, Inc. -- All Rights Reserved. |
|||
Notes |
|||
Each command has a "what command" (i.e. MCC_PLAY_PAUSE) and also an optional parameter, |
|||
* Save the MCCommands.h file to your hard drive to avoid potential line break issues. |
|||
which is explained by the comment following the command. If you don't use the parameter, |
|||
* Commands have changed over time; use the Wiki's page history to see previous versions of this page. Some commands may only work with the latest version of Media Center. |
|||
set it to '0'. |
|||
= How To Issue Media Core Commands = |
|||
Both parts are numbers. To determine what number a command is, count up from the command above |
|||
it with a number. |
|||
Look up the command name / number and its parameter in the tables below. For example, the command to toggle between play and pause is MCC_PLAY_PAUSE. It has command number (enum value) 10000 and its accompanying parameter is ignored. Some '''MCC''' commands may be targeted a particular Zone - see [[#Specifying Zones|Specifying Zones]]. |
|||
Example (1): MCC_PLAY_PAUSE = 10000; MCC_PLAY = 10001; MCC_STOP = 10002; etc... |
|||
Example (2): MCC_OPEN_FILE = 20000; MCC_OPEN_URL = 20001; etc... |
|||
== Issuing a command from the command line == |
|||
Note: Some commands may only work with the latest version of Media Center. |
|||
Assuming you are familiar with the first section of [[The_Command_Line|The Command Line]], the general syntax for issuing an MCC command from the Windows command line (or equivalent) is: |
|||
<code>'''MC'''''<version>'''''.exe''' '''/MCC''' ''<command number>''''','''''<parameter>''</code> |
|||
'''Note''': Command ''numbers'' must be used; command ''names'' are not used on the command line. |
|||
enum MC_COMMANDS |
|||
{ |
|||
MCC_FIRST = 10000, |
|||
Example: To toggle between play and pause in MC16, use the command: |
|||
MC18.exe /MCC 10000,0 |
|||
Note: The '''MCC''' commands can be entered in Vista and Windows 7 directly into ''Search Files and Programs'' under the Windows Start menu, or as commands in a Windows command shell, which can be launched in Vista and Windows 7 by entering '''cmd.exe''' in ''Search Files and Programs'' under the Windows Start menu. It is available under the Accessories menu as ''Command Prompt'' in previous versions of Windows. |
|||
Playback (range 10,000 to 20,000) |
|||
To issue playback commands to a specific zone, mask these values with the parameter: |
|||
Current Zone: 0 |
|||
Zone 0: 16777216 (or 0x1000000 hex) |
|||
Zone 1: 33554432 (or 0x2000000 hex) |
|||
Zone 2: 50331648 (or 0x3000000 hex) |
|||
Zone 3: 67108864 (or 0x4000000 hex) |
|||
Zone 4: 83886080 (or 0x5000000 hex) |
|||
Zone 5: 100663296 (or 0x6000000 hex) |
|||
etc... (keep adding 16777216 (or 2^24)) (up to Zone 31) |
|||
for the geeks, this is the top 6 bits of the 32-bit parameter |
|||
the lower 24 bits are used for the rest of the parameter (see the C++ macros below if you like) |
|||
if bit 32 is set, we assume someone passed in a simple negative number, so discard the zone portion |
|||
On Mac: |
|||
for parameters >= 0: zone number + parameter |
|||
<code>'''/Applications/Media\ Center\ ''<version>''.app/Contents/MacOS/Launcher.app/Contents/MacOS/Launcher''' '''/MCC''' ''<command number>''''','''''<parameter>''</code> |
|||
for parameters < 0: zone number + (16777216 + parameter) |
|||
example: parameter -1 to zone 3: 67108864 + (16777216 + -1) = 83886079 |
|||
==Playback== |
|||
{| border="1" cellspacing="0" cellpadding="5" |
|||
! Enum !! Command !! parameter |
|||
|- |
|||
|10000||MCC_PLAY_PAUSE || [ignore] |
|||
|- |
|||
|10001||MCC_PLAY|| [ignore] |
|||
|- |
|||
|10002||MCC_STOP||[BOOL bDisplayWarning] |
|||
|- |
|||
|10003 ||MCC_NEXT||[BOOL bNotActualNext] |
|||
|- |
|||
|10004 ||MCC_PREVIOUS|| [ignore] |
|||
|- |
|||
|10005|| MCC_SHUFFLE||[0: toggle shuffle; 1: shuffle, jump to PN; 2: shuffle, no jump] |
|||
|- |
|||
|10006|| MCC_CONTINUOUS||[ignore] |
|||
|- |
|||
|10007|| MCC_UPDATE_VIS||[ignore] |
|||
|- |
|||
|10008|| MCC_FAST_FORWARD||[ignore] |
|||
|- |
|||
|10009|| MCC_REWIND||[ignore] |
|||
|- |
|||
|10010|| MCC_STOP_CONDITIONAL||[ignore] |
|||
|- |
|||
|10011|| MCC_SET_ZONE||[int nZoneIndex (-1 toggles forward, -2 toggles backwards)] |
|||
|- |
|||
|10012|| MCC_TOGGLE_FULLSCREEN||[BOOL bForceReturnFromFullScreen] |
|||
|- |
|||
|10013|| MCC_SHOW_WINDOW,||[BOOL bJumpToPlayingNow] |
|||
|- |
|||
|10014|| MCC_MINIMIZE_WINDOW||[ignore] |
|||
|- |
|||
|10015|| MCC_PLAY_CPLDB_INDEX||[int nIndex] |
|||
|- |
|||
|10016|| MCC_SHOW_DSP_STUDIO||[ignore] |
|||
|- |
|||
|10017|| MCC_VOLUME_MUTE||[0: toggle; 1: mute; 2: unmute] |
|||
|- |
|||
|10018|| MCC_VOLUME_UP||[int nDeltaPercent] |
|||
|- |
|||
|10019|| MCC_VOLUME_DOWN||[int nDeltaPercent] |
|||
|- |
|||
|10020|| MCC_VOLUME_SET||[int nPercent] |
|||
|- |
|||
|10021|| MCC_SHOW_PLAYBACK_OPTIONS||[ignore] |
|||
|- |
|||
|10022|| MCC_SET_PAUSE||[BOOL bPause (-1 toggles)] |
|||
|- |
|||
|10023|| MCC_SET_CURRENTLY_PLAYING_RATING||int nRating (0 means ?)] |
|||
|- |
|||
|10024|| MCC_SHOW_PLAYBACK_ENGINE_MENU||[screen point (loword: x, hiword: y) -- must send directly] |
|||
|- |
|||
|10025|| MCC_PLAY_NEXT_PLAYLIST||[ignore] |
|||
|- |
|||
|10026|| MCC_PLAY_PREVIOUS_PLAYLIST||[ignore] |
|||
|- |
|||
|10027|| MCC_MAXIMIZE_WINDOW||ignore] |
|||
|- |
|||
|10028|| MCC_RESTORE_WINDOW||[ignore] |
|||
|- |
|||
|10029|| MCC_SET_PLAYERSTATUS||[PLAYER_STATUS_CODES Code] |
|||
|- |
|||
|10030|| MCC_SET_ALTERNATE_PLAYBACK_SETTINGS||[BOOL bAlternateSettings (-1 toggles)] |
|||
|- |
|||
|10031|| MCC_SET_PREVIEW_MODE_SETTINGS||[low 12 bits: int nDurationSeconds, high 12 bits: int nStartSeconds] |
|||
|- |
|||
|10032|| MCC_SHOW_PLAYBACK_ENGINE_DISPLAY_PLUGIN_MENU||[screen point (loword: x, hiword: y) -- must send directly] |
|||
|- |
|||
|10033|| MCC_DVD_MENU||[ignore] |
|||
|- |
|||
|10034|| MCC_SEEK_FORWARD||[int nMilliseconds (0 means default -- varies depending on playback type)] |
|||
|- |
|||
|10035|| MCC_SEEK_BACK||[int nMilliseconds (0 means default -- varies depending on playback type)] |
|||
|- |
|||
|10037||MCC_DETACH_DISPLAY, ||[BOOL bDetach (-1 toggles)] |
|||
|} |
|||
On Linux: |
|||
==File== |
|||
<code>'''/usr/lib/jriver/MC''<version>''/mc''<version>''''' '''/MCC''' ''<command number>''''','''''<parameter>''</code> |
|||
== Issuing a command from C++ == |
|||
{| border="1" cellspacing="0" cellpadding="5" |
|||
The calling syntax for posting a WM_MC_COMMAND -based message to the MC frame is demonstrated in the example below. |
|||
|- |
|||
| 20000 ||MCC_OPEN_FILE = 20000, || [ignore] |
|||
|- |
|||
| 20001 ||MCC_OPEN_URL, || [ignore] |
|||
|- |
|||
| 20002 ||MCC_PRINT_LIST, || [ignore] |
|||
|- |
|||
| 20003 ||MCC_EXPORT_PLAYLIST, || [ignore] |
|||
|- |
|||
| 20004 ||MCC_EXPORT_ALL_PLAYLISTS, || [ignore] |
|||
|- |
|||
| 20005 ||MCC_UPLOAD_FILES, || [ignore] |
|||
|- |
|||
| 20006 ||MCC_EMAIL_FILES, || [ignore] |
|||
|- |
|||
| 20007 ||MCC_EXIT, || [BOOL bForce] |
|||
|- |
|||
| 20008 ||MCC_UPDATE_LIBRARY, || [ignore] |
|||
|- |
|||
| 20009 ||MCC_CLEAR_LIBRARY, || [ignore] |
|||
|- |
|||
| 20010 ||MCC_EXPORT_LIBRARY, || [ignore] |
|||
|- |
|||
| 20011 ||MCC_BACKUP_LIBRARY, || [ignore] |
|||
|- |
|||
| 20012 ||MCC_RESTORE_LIBRARY, || [ignore] |
|||
|- |
|||
| 20013 ||MCC_LIBRARY_MANAGER, || [ignore] |
|||
|- |
|||
| 20014 ||MCC_IMAGE_ACQUIRE, || [ignore] |
|||
|- |
|||
| 20015 ||MCC_ORDER_PRINTS, || [ignore] |
|||
|- |
|||
| 20016 ||MCC_PRINT_IMAGES, || [ignore] |
|||
|- |
|||
| 20017 ||MCC_PRINT, || [ignore] |
|||
|- |
|||
| 20018 ||MCC_PRINT_PAGESETUP, || [ignore] |
|||
|- |
|||
| 20019 ||MCC_PERBCAST_PLAYLIST, || [ignore] |
|||
|} |
|||
Example: To post a command to toggle between play and pause |
|||
==Edit== |
|||
HWND hwndMC = FindWindow(_T("MJFrame"), NULL); |
|||
{| border="1" cellspacing="0" cellpadding="5" |
|||
PostMessage(hwndMC, WM_MC_COMMAND, MCC_PLAY_PAUSE, 0); |
|||
Notes on usage |
|||
|- |
|||
* Use command numbers when calling from the command line, enum names from within software (e.g. MCC_PLAY_PAUSE). |
|||
| 21000 ||MCC_COPY, || [ignore] |
|||
* Set parameter to 0 if unused. |
|||
|- |
|||
| 21001 ||MCC_PASTE, || [ignore] |
|||
|- |
|||
| 21002 ||MCC_SELECT_ALL, || [ignore] |
|||
|- |
|||
| 21003 ||MCC_SELECT_INVERT, || [ignore] |
|||
|- |
|||
| 21004 ||MCC_DELETE, || [BOOL bAggressive] |
|||
|- |
|||
| 21005 ||MCC_RENAME, || [ignore] |
|||
|- |
|||
| 21006 ||MCC_UNDO, || [ignore] |
|||
|- |
|||
| 21007 ||MCC_REDO, || [ignore] |
|||
|- |
|||
| 21008 ||MCC_QUICK_SEARCH, || [BOOL bRepeatLastSearch] |
|||
|- |
|||
| 21009 ||MCC_ADD_PLAYLIST, || [MEDIAFILE_INFO_ARRAY * paryFiles = NULL] |
|||
|- |
|||
| 21010 ||MCC_ADD_SMARTLIST, || [ignore] |
|||
|- |
|||
| 21011 ||MCC_ADD_PLAYLIST_GROUP, || [ignore] |
|||
|- |
|||
| 21012 ||MCC_PROPERTIES, || [MEDIAFILE_INFO_ARRAY * paryFiles = NULL (-1 toggles) (note: never PostMessage(...) a pointer)] |
|||
|- |
|||
| 21013 ||MCC_TOGGLE_TAGGING_MODE, || [ignore] |
|||
|- |
|||
| 21014 ||MCC_CUT, || [ignore] |
|||
|- |
|||
| 21015 ||MCC_DESELECT_ALL, || [ignore] |
|||
|- |
|||
| 21016 ||MCC_DELETE_ALL, || [BOOL bAggressive] |
|||
|- |
|||
| 21017 ||MCC_ADD_PODCAST_FEED, || [ignore] |
|||
|- |
|||
| 21018 ||MCC_EDIT_PODCAST_FEED, || [ignore] |
|||
|- |
|||
| 21019 ||MCC_ADD_PODCAST_DEFAULTS, || [ignore] |
|||
|- |
|||
| 21020 ||MCC_CREATE_STOCK_SMARTLISTS, || [ignore] |
|||
|- |
|||
| 21021 ||MCC_ENABLE_PODCAST_DOWNLOAD, || [ignore] |
|||
|- |
|||
| 21022 ||MCC_DISABLE_PODCAST_DOWNLOAD, || [ignore] |
|||
|} |
|||
==View== |
|||
{| border="1" cellspacing="0" cellpadding="5" |
|||
|- |
|||
| 22000 ||MCC_TOGGLE_MODE || [-1: Next Mode, 0: Standard, 1: Mini, 2: Full Screen, 3: Theater View, 4: Windowed] |
|||
|- |
|||
| 22001 ||MCC_THEATER_VIEW, || [SHOW_THEATER_VIEW_MODES Mode] |
|||
|- |
|||
| 22002 ||MCC_PARTY_MODE, || [ignore] |
|||
|- |
|||
| 22003 ||MCC_SHOW_TREE_ROOT, || [int nTreeRootIndex] |
|||
|- |
|||
| 22004 ||MCC_FIND_MUSIC, || [wchar * pstrSearch (note: memory will be deleted by receiver)] |
|||
|- |
|||
| 22005 ||MCC_BACK, || [int nLevels (0 does 1 level)] |
|||
|- |
|||
| 22006 ||MCC_FORWARD, || [int nLevels (0 does 1 level)] |
|||
|- |
|||
| 22007 ||MCC_REFRESH, || [ignore] |
|||
|- |
|||
| 22008 ||MCC_SET_LIST_STYLE, || [int nListStyle (-1 toggles)] |
|||
|- |
|||
| 22009 ||MCC_SET_MODE, || [-3: Current Mode (update settings), -2: Close Display, -1: Next Mode, 0: Standard, 1: Mini, 2: Full Screen, 3: Theater View, 4: Windowed] |
|||
|- |
|||
| 22010 ||MCC_SHOW_ARTISTINFO, || [ignore] |
|||
|- |
|||
| 22011 ||MCC_SHOW_FINDCD, || [ignore] |
|||
|- |
|||
| 22012 ||MCC_SHOW_RECENTLYIMPORTED, || [ignore] |
|||
|- |
|||
| 22013 ||MCC_SHOW_TOPHITS, || [ignore] |
|||
|- |
|||
| 22014 ||MCC_SHOW_RECENTLYPLAYED, || [ignore] |
|||
|- |
|||
| 22015 ||MCC_SET_MEDIA_MODE, || [int nMediaMode] |
|||
|- |
|||
| 22016 ||MCC_CONFIGURE_ACCESS_CONTROL, || [ignore] |
|||
|- |
|||
| 22017 ||MCC_SET_SERVER_MODE, || [BOOL bServerMode] |
|||
|- |
|||
| 22018 ||MCC_SET_MODE_FOR_EXTERNAL_PROGRAM_LAUNCH, || [int nType (0: starting external app, 1: ending external app)] |
|||
|} |
|||
==Tools (range 23,000 to 24,000)== |
|||
=MC Commands= |
|||
MCC_TOOLS_SECTION = 23000, |
|||
MCC_IMPORT = 23000, // [loword: bAutomatic, hiword: bDisableAlreadyRunningWarning] |
|||
MCC_RIP, // [ignore] |
|||
MCC_BURN, // [ignore] |
|||
MCC_RECORD, // [ignore] |
|||
MCC_CONVERT, // [ignore] |
|||
MCC_ANALYZE_AUDIO, // [ignore] |
|||
MCC_MEDIA_EDITOR, // [ignore] |
|||
MCC_CD_LABELER, // [ignore] |
|||
MCC_DOWNLOAD_MANAGER, // [ignore] |
|||
MCC_MEDIA_SERVER, // [ignore] |
|||
MCC_MUSICEX_MANAGER, // [ignore] |
|||
MCC_PLUGIN_MANAGER, // [ignore] |
|||
MCC_SKIN_MANAGER, // [ignore] |
|||
MCC_OPTIONS, // [int nPageNo] |
|||
MCC_RENAME_CD_FILES, // [ignore] |
|||
MCC_WMLICENSE_MANAGER, // [ignore] |
|||
MCC_SERVICES_MANAGER, // [ignore] |
|||
MCC_HH_UPLOAD, // [loword: nDeviceSessionID (0 gets default), hiword: flags (1: sync only; 2: show warnings)] |
|||
MCC_HH_UPDATE_AFTER_UPLOAD_WORKER_FINISHED, // [int nDeviceSessionID] |
|||
MCC_HH_CLOSE_DEVICE, // [int nDeviceSessionID] |
|||
MCC_HH_SHOW_OPTIONS, // [int nDeviceSessionID] |
|||
==Help (range 24,000 to 25,000)== |
|||
The MCC commands table and defines below were auto-generated on 2014-06-09 from the latest MCCommands.h (19.0.138) file posted above. |
|||
MCC_HELP_SECTION = 24000, |
|||
==MC Commands Table== |
|||
MCC_HELP_CONTENTS = 24000, // [ignore] |
|||
MCC_HELP_HOWTO_IMPORT_FILES, // [ignore] |
|||
MCC_HELP_HOWTO_PLAY_FILES, // [ignore] |
|||
MCC_HELP_HOWTO_RIP, // [ignore] |
|||
MCC_HELP_HOWTO_BURN, // [ignore] |
|||
MCC_HELP_HOWTO_ORGANIZE_FILES, // [ignore] |
|||
MCC_HELP_HOWTO_VIEW_SCHEMES, // [ignore] |
|||
MCC_HELP_HOWTO_MANAGE_PLAYLISTS, // [ignore] |
|||
MCC_HELP_HOWTO_EDIT_PROPERTIES, // [ignore] |
|||
MCC_HELP_HOWTO_FIND, // [ignore] |
|||
MCC_HELP_HOWTO_CONFIGURE, // [ignore] |
|||
MCC_CHECK_FOR_UPDATES, // [ignore] |
|||
MCC_BUY, // [ignore] |
|||
MCC_INSTALL_LICENSE, // [ignore] |
|||
MCC_REGISTRATION_INFO, // [ignore] |
|||
MCC_PLUS_FEATURES, // [ignore] |
|||
MCC_INTERACT, // [ignore] |
|||
MCC_SYSTEM_INFO, // [ignore] |
|||
MCC_ABOUT, // [ignore] |
|||
MCC_CONFIGURE_DEBUG_LOGGING, // [ignore] |
|||
MCC_TEST, // [ignore] |
|||
==Tree (range 25,000 to 26,000)== |
|||
===Playback=== |
|||
MCC_TREE_SECTION = 25000, |
|||
Range: 10,000 to 20,000 |
|||
MCC_ADD_VIEW_SCHEME = 25000, // [ignore] |
|||
MCC_EDIT_VIEW_SCHEME, // [ignore] |
|||
MCC_OBSOLETE_25002, // [ignore] |
|||
MCC_OBSOLETE_25003, // [ignore] |
|||
MCC_OBSOLETE_25004, // [ignore] |
|||
MCC_OBSOLETE_25005, // [ignore] |
|||
MCC_TREE_PLAY, // [ignore] |
|||
MCC_TREE_ADD_TO_PLAYING_NOW, // [ignore] |
|||
MCC_TREE_ADD_DIRECTORY, // [ignore] |
|||
MCC_TREE_IMPORT, // [ignore] |
|||
MCC_TREE_ADD_CD_FOLDER, // [ignore] |
|||
MCC_UPDATE_FROM_CD_DATABASE, // [ignore] |
|||
MCC_SUBMIT_TO_CD_DATABASE, // [ignore] |
|||
MCC_TREE_RIP, // [ignore] |
|||
<strike> MCC_CLEAR_PLAYING_NOW, // [0: all files; 1: leave playing file]</strike> |
|||
MCC_COPY_LISTENING_TO, // [BOOL bPaste] |
|||
<strike> MCC_TREE_SET_EXPANDED, // [0: collapsed; 1: expanded]</strike> |
|||
MCC_RESET_VIEW_SCHEMES, // [ignore] |
|||
MCC_TREE_ERASE_CD_DVD, // [ignore] |
|||
MCC_UPDATE_FROM_CDPLAYER_INI, // [ignore] |
|||
MCC_TREE_EJECT, // [ignore] |
|||
MCC_TREE_ADD_VIRTUAL_DEVICE, // [ignore] |
|||
Note: See [[#Specifying Zones|Specifying Zones]] to learn about issuing commands to a specific Zone. |
|||
==List (range 26,000 to 27,000)== |
|||
<table border=1 cellspacing=0 width="100%"> |
|||
MCC_LIST_SECTION = 26000, |
|||
<tr> |
|||
MCC_LIST_UPDATE_ORDER = 26000, // [ignore] |
|||
<th>Enum</th><th>Command</th><th>Parameter</th> |
|||
MCC_LIST_SHUFFLE_ORDER, // [ignore] |
|||
</tr><tr> |
|||
MCC_LIST_IMPORT, // [ignore] |
|||
<td id="10000">10000</td><td>MCC_PLAY_PAUSE</td><td>ignore</td> |
|||
MCC_LIST_REMOVE_ORDER, // [ignore] |
|||
</tr><tr> |
|||
MCC_LOCATE_FILE, // [int nLocation (-1: on disk (internal); -2: on disk (external); 0-n: library field index) |
|||
<td id="10001">10001</td><td>MCC_PLAY</td><td>ignore</td> |
|||
MCC_LIST_MOVE_DISK_FILES, // [ignore] |
|||
</tr><tr> |
|||
MCC_LIST_INCREMENT_SELECTION, // [int nDelta] |
|||
<td id="10002">10002</td><td>MCC_STOP</td><td>bool bDisplayError</td> |
|||
MCC_LIST_REMOVE_DUPLICATES, // [ignore] |
|||
</tr><tr> |
|||
MCC_LIST_AUTO_SIZE_COLUMN, // [int nColumn, zero-based column index (-1: all)] |
|||
<td id="10003">10003</td><td>MCC_NEXT</td><td>int nFlags (1: bNotActualNext, 2: bNoChapters)</td> |
|||
MCC_LIST_CUSTOMIZE_VIEW, // [ignore] |
|||
</tr><tr> |
|||
MCC_LIST_COPY_DISK_FILES, // [ignore] |
|||
<td id="10004">10004</td><td>MCC_PREVIOUS</td><td>int nFlags (1: reserved, 2: bNoChapters, 4: no seek to beginning)</td> |
|||
MCC_LIST_SET_RIP_CHECK, // [0: uncheck, 1: check, -1: toggle] |
|||
</tr><tr> |
|||
MCC_LIST_DOWNLOAD, // [ignore] |
|||
<td id="10005">10005</td><td>MCC_SHUFFLE</td><td>0: toggle shuffle mode; 1: shuffle, jump to PN; 2: shuffle, no jump; 3: off; 4: on; 5:automatic</td> |
|||
</tr><tr> |
|||
<td id="10006">10006</td><td>MCC_CONTINUOUS</td><td>0: toggle continuous; 1: off; 2: playlist; 3: song; 4: stop after each</td> |
|||
</tr><tr> |
|||
<td id="10007">10007</td><td>MCC_OBSOLETE_10007</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="10008">10008</td><td>MCC_FAST_FORWARD</td><td>int nRate</td> |
|||
</tr><tr> |
|||
<td id="10009">10009</td><td>MCC_REWIND</td><td>int nRate</td> |
|||
</tr><tr> |
|||
<td id="10010">10010</td><td>MCC_STOP_CONDITIONAL</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="10011">10011</td><td>MCC_SET_ZONE</td><td>int nZoneIndex (-1 toggles forward, -2 toggles backwards)</td> |
|||
</tr><tr> |
|||
<td id="10012">10012</td><td>MCC_TOGGLE_DISPLAY</td><td>bool bExcludeTheaterView</td> |
|||
</tr><tr> |
|||
<td id="10013">10013</td><td>MCC_SHOW_WINDOW</td><td>bool bJumpToPlayingNow</td> |
|||
</tr><tr> |
|||
<td id="10014">10014</td><td>MCC_MINIMIZE_WINDOW</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="10015">10015</td><td>MCC_PLAY_CPLDB_INDEX</td><td>int nIndex</td> |
|||
</tr><tr> |
|||
<td id="10016">10016</td><td>MCC_SHOW_DSP_STUDIO</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="10017">10017</td><td>MCC_VOLUME_MUTE</td><td>0: toggle; 1: mute; 2: unmute</td> |
|||
</tr><tr> |
|||
<td id="10018">10018</td><td>MCC_VOLUME_UP</td><td>int nDeltaPercent</td> |
|||
</tr><tr> |
|||
<td id="10019">10019</td><td>MCC_VOLUME_DOWN</td><td>int nDeltaPercent</td> |
|||
</tr><tr> |
|||
<td id="10020">10020</td><td>MCC_VOLUME_SET</td><td>int nPercent</td> |
|||
</tr><tr> |
|||
<td id="10021">10021</td><td>MCC_SHOW_PLAYBACK_OPTIONS</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="10022">10022</td><td>MCC_SET_PAUSE</td><td>bool bPause (-1 toggles)</td> |
|||
</tr><tr> |
|||
<td id="10023">10023</td><td>MCC_SET_CURRENTLY_PLAYING_RATING</td><td>int nRating (1 through 5; 0 clears, but see [http://yabb.jriver.com/interact/index.php?topic=68940 here].)</td> |
|||
</tr><tr> |
|||
<td id="10024">10024</td><td>MCC_SHOW_PLAYBACK_ENGINE_MENU</td><td>screen point (loword: x, hiword: y) -- must send directly</td> |
|||
</tr><tr> |
|||
<td id="10025">10025</td><td>MCC_PLAY_NEXT_PLAYLIST</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="10026">10026</td><td>MCC_PLAY_PREVIOUS_PLAYLIST</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="10027">10027</td><td>MCC_MAXIMIZE_WINDOW</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="10028">10028</td><td>MCC_RESTORE_WINDOW</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="10029">10029</td><td>MCC_SET_PLAYERSTATUS</td><td>PLAYER_STATUS_CODES Code</td> |
|||
</tr><tr> |
|||
<td id="10030">10030</td><td>MCC_SET_ALTERNATE_PLAYBACK_SETTINGS</td><td>bool bAlternateSettings (-1 toggles)</td> |
|||
</tr><tr> |
|||
<td id="10031">10031</td><td>MCC_SET_PREVIEW_MODE_SETTINGS</td><td>low 12 bits: int nDurationSeconds, high 12 bits: int nStartSeconds</td> |
|||
</tr><tr> |
|||
<td id="10032">10032</td><td>MCC_SHOW_PLAYBACK_ENGINE_DISPLAY_PLUGIN_MENU</td><td>screen point (loword: x, hiword: y) -- must send directly</td> |
|||
</tr><tr> |
|||
<td id="10033">10033</td><td>MCC_DVD_MENU</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="10034">10034</td><td>MCC_SEEK_FORWARD</td><td>int nMilliseconds (0 means default -- varies depending on playback type)</td> |
|||
</tr><tr> |
|||
<td id="10035">10035</td><td>MCC_SEEK_BACK</td><td>int nMilliseconds (0 means default -- varies depending on playback type)</td> |
|||
</tr><tr> |
|||
<td id="10036">10036</td><td>MCC_STOP_AFTER_CURRENT_FILE</td><td>bool bStopAfterCurrentFile (-1 toggles)</td> |
|||
</tr><tr> |
|||
<td id="10037">10037</td><td>MCC_DETACH_DISPLAY</td><td>bool bDetach (-1 toggles)</td> |
|||
</tr><tr> |
|||
<td id="10038">10038</td><td>MCC_SET_MODE_ZONE_SPECIFIC</td><td>[[#UI_MODES|UI_MODES mode]]</td> |
|||
</tr><tr> |
|||
<td id="10039">10039</td><td>MCC_STOP_INTERNAL</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="10040">10040</td><td>MCC_PLAYING_NOW_REMOVE_DUPLICATES</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="10041">10041</td><td>MCC_SHUFFLE_REMAINING</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="10042">10042</td><td>MCC_PLAY_FIRST_FILE</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="10043">10043</td><td>MCC_PLAY_LAST_FILE</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="10044">10044</td><td>MCC_PLAY_FILE_BY_STRING</td><td>BSTR bstrFile (deleted by receiver)</td> |
|||
</tr><tr> |
|||
<td id="10045">10045</td><td>MCC_PLAY_FILE_AGAIN</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="10046">10046</td><td>MCC_HANDLE_PLAYBACK_ERROR</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="10047">10047</td><td>MCC_PLAY_AUTOMATIC_PLAYLIST</td><td>BSTR bstrSeed (deleted by receiver)</td> |
|||
</tr><tr> |
|||
<td id="10048">10048</td><td>MCC_SEEK</td><td>int nPositionMilliseconds</td> |
|||
</tr><tr> |
|||
<td id="10049">10049</td><td>MCC_CLEAR_PLAYING_NOW_ZONE_SPECIFIC</td><td>0: all files; 1: leave playing file</td> |
|||
</tr><tr> |
|||
<td id="10050">10050</td><td>MCC_PLAY_RADIO_LAST_FM</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="10051">10051</td><td>MCC_SHOW_ON_SCREEN_DISPLAY</td><td>0: position bar</td> |
|||
</tr><tr> |
|||
<td id="10052">10052</td><td>MCC_SET_SUBTITLES</td><td>int nIndex (-1 toggles forward, -2 toggles backwards)</td> |
|||
</tr><tr> |
|||
<td id="10053">10053</td><td>MCC_SET_AUDIO_STREAM</td><td>int nIndex (-1 toggles forward, -2 toggles backwards)</td> |
|||
</tr><tr> |
|||
<td id="10054">10054</td><td>MCC_SET_VIDEO_STREAM</td><td>int nIndex (-1 toggles forward, -2 toggles backwards)</td> |
|||
</tr><tr> |
|||
<td id="10055">10055</td><td>MCC_VIDEO_SCREEN_GRAB</td><td>0: use as thumbnail; 1: save as external file</td> |
|||
</tr><tr> |
|||
<td id="10056">10056</td><td>MCC_SET_VOLUME_MODE</td><td>int nMode (internal type EPlaybackVolumeModes) (0: application, 1: internal; 2: system; 3: disabled)</td> |
|||
</tr><tr> |
|||
<td id="10057">10057</td><td>MCC_RESTART_PLAYBACK</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="10058">10058</td><td>MCC_ZONE_SWITCH</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="10059">10059</td><td>MCC_SKIP_TO</td><td>SKIP_TO_MODES Mode</td> |
|||
</tr><tr> |
|||
<td id="10060">10060</td><td>MCC_LINK_ZONE</td><td>int nZoneID</td> |
|||
</tr><tr> |
|||
<td id="10061">10061</td><td>MCC_UNLINK_ZONE</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="10062">10062</td><td>MCC_PLAY_RADIO_MEDIANET</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="10063">10063</td><td>MCC_CLEAR_PLAYED_ZONE_SPECIFIC</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="10064">10064</td><td>MCC_PLAY_LAST_TV_CHANNEL</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="10065">10065</td><td>MCC_BLURAY_POPUP_MENU</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="10066">10066</td><td>MCC_PLAY_SYNCED_CPLDB_INDEX</td><td>int nIndex</td> |
|||
</tr><tr> |
|||
<td id="10067">10067</td><td>MCC_STOP_AFTER_DELAY</td><td>int nMinutes (negative value for hard stop)</td> |
|||
</tr><tr> |
|||
<td id="10068">10068</td><td>MCC_STOP_AFTER_TRACKS</td><td>int nNumberTracks (negative one to reset)</td> |
|||
</tr><tr> |
|||
<td id="10069">10069</td><td>MCC_PLAY_SELECTED</td><td>0: play replace, 1: append, 2: play next</td> |
|||
</tr><tr> |
|||
<td id="10070">10070</td><td>MCC_PLAY_AUTO_PLAYLIST_CLOUD</td><td>BSTR: seed</td> |
|||
</tr><tr> |
|||
<td id="10071">10071</td><td>MCC_CLEAR_REMAINING_ZONE_SPECIFIC</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="10072">10072</td><td>MCC_SEEK_PERCENT</td><td>int nPercent</td> |
|||
</tr><tr> |
|||
<td id="10073">10073</td><td>MCC_SHUFFLE_ALBUMS</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="10074">10074</td><td>MCC_JRVR_PROFILE_OUTPUT</td><td>Profile ID (-1: Default Profile, -2: Auto Select Profile)</td> |
|||
</tr><tr> |
|||
<td id="10075">10075</td><td>MCC_JRVR_PROFILE_SCALING</td><td>Profile ID (-1: Default Profile, -2: Auto Select Profile)</td> |
|||
</tr><tr> |
|||
<td id="10076">10076</td><td>MCC_JRVR_PROFILE_FILTERING</td><td>Profile ID (-1: Default Profile, -2: Auto Select Profile)</td> |
|||
</tr><tr> |
|||
<td id="10077">10077</td><td>MCC_JRVR_PROFILE_ADVANCED</td><td>Profile ID (-1: Default Profile, -2: Auto Select Profile)</td> |
|||
</tr> |
|||
</table> |
|||
===File=== |
|||
Range: 20,000 to 21,000 |
|||
<table border=1 cellspacing=0 width="100%"> |
|||
==System (range 26,000 to 27,000)== |
|||
<tr> |
|||
<th>Enum</th><th>Command</th><th>Parameter</th> |
|||
</tr><tr> |
|||
<td id="20000">20000</td><td>MCC_OPEN_FILE</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="20001">20001</td><td>MCC_OPEN_URL</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="20002">20002</td><td>MCC_PRINT_LIST</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="20003">20003</td><td>MCC_EXPORT_PLAYLIST</td><td>int nPlaylistID (-1 for active view)</td> |
|||
</tr><tr> |
|||
<td id="20004">20004</td><td>MCC_EXPORT_ALL_PLAYLISTS</td><td>bool bSilent</td> |
|||
</tr><tr> |
|||
<td id="20005">20005</td><td>MCC_UPLOAD_FILES</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="20006">20006</td><td>MCC_EMAIL_FILES</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="20007">20007</td><td>MCC_EXIT</td><td>int nMode (0: normal, 1: force close (close media server), 2: force close (allow media server))</td> |
|||
</tr><tr> |
|||
<td id="20008">20008</td><td>MCC_UPDATE_LIBRARY</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="20009">20009</td><td>MCC_CLEAR_LIBRARY</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="20010">20010</td><td>MCC_EXPORT_LIBRARY</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="20011">20011</td><td>MCC_BACKUP_LIBRARY</td><td>int nMode (0: normal, 1: silent automatic backup)</td> |
|||
</tr><tr> |
|||
<td id="20012">20012</td><td>MCC_RESTORE_LIBRARY</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="20013">20013</td><td>MCC_LIBRARY_MANAGER</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="20014">20014</td><td>MCC_IMAGE_ACQUIRE</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="20015">20015</td><td>MCC_PRINT_IMAGES</td><td>MFKEY nKey (-1 for selected files)</td> |
|||
</tr><tr> |
|||
<td id="20016">20016</td><td>MCC_PRINT</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="20017">20017</td><td>MCC_OBSOLETE_20017</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="20018">20018</td><td>MCC_OBSOLETE_20018</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="20019">20019</td><td>MCC_OBSOLETE_20019</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="20020">20020</td><td>MCC_OBSOLETE_20020</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="20021">20021</td><td>MCC_OBSOLETE_20021</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="20022">20022</td><td>MCC_OBSOLETE_20022</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="20023">20023</td><td>MCC_OBSOLETE_20023</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="20024">20024</td><td>MCC_IMPORT_PLAYLIST</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="20025">20025</td><td>MCC_LOAD_LIBRARY</td><td>int nLibraryIndex</td> |
|||
</tr><tr> |
|||
<td id="20026">20026</td><td>MCC_SYNC_LIBRARY</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="20027">20027</td><td>MCC_EMAIL_PODCAST_FEED</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="20028">20028</td><td>MCC_LOAD_LIBRARY_READ_ONLY</td><td>int nLibraryIndex</td> |
|||
</tr><tr> |
|||
<td id="20029">20029</td><td>MCC_ADD_LIBRARY</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="20030">20030</td><td>MCC_EXPORT_ITUNES</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="20031">20031</td><td>MCC_DISCONNECT_LIBRARY</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="20032">20032</td><td>MCC_SYNC_WITH_LIBRARY_SERVER</td><td>bool bSilent</td> |
|||
</tr><tr> |
|||
<td id="20033">20033</td><td>MCC_STOP_ALL_ZONES</td><td>bool bStopRemoteZones</td> |
|||
</tr><tr> |
|||
<td id="20034">20034</td><td>MCC_CLONE_LIBRARY</td><td>int nLibraryIndex</td> |
|||
</tr><tr> |
|||
<td id="20035">20035</td><td>MCC_OPEN_LIVE</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="20036">20036</td><td>MCC_PLAY_RADIO_PARADISE</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="20037">20037</td><td>MCC_IMPORT_ITUNES</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="20038">20038</td><td>MCC_PLAY_RADIO_JRIVER</td><td>int nStationNumber</td> |
|||
</tr><tr> |
|||
<td id="20039">20039</td><td>MCC_EXPORT_ALL_TO_ITUNES</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="20040">20040</td><td>MCC_IMPORT_ITUNES_DATABASE</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="20041">20041</td><td>MCC_SET_CROSS_PLATFORM_RULES</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="20042">20042</td><td>MCC_DOWNLOAD_FROM_LIBRARY_SERVER</td><td>ignore</td> |
|||
</tr> |
|||
</table> |
|||
===Edit=== |
|||
MCC_SYSTEM_SECTION = 27000, |
|||
Range: 21,000 to 22,000 |
|||
MCC_KEYSTROKE = 27000, // [int nKeyCode] |
|||
MCC_SHUTDOWN, // [ignore] |
|||
<table border=1 cellspacing=0 width="100%"> |
|||
<tr> |
|||
<th>Enum</th><th>Command</th><th>Parameter</th> |
|||
</tr><tr> |
|||
<td id="21000">21000</td><td>MCC_COPY</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="21001">21001</td><td>MCC_PASTE</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="21002">21002</td><td>MCC_SELECT_ALL</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="21003">21003</td><td>MCC_SELECT_INVERT</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="21004">21004</td><td>MCC_DELETE</td><td>bool bAggressive</td> |
|||
</tr><tr> |
|||
<td id="21005">21005</td><td>MCC_RENAME</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="21006">21006</td><td>MCC_UNDO</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="21007">21007</td><td>MCC_REDO</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="21008">21008</td><td>MCC_QUICK_SEARCH</td><td>bool bRepeatLastSearch</td> |
|||
</tr><tr> |
|||
<td id="21009">21009</td><td>MCC_ADD_PLAYLIST</td><td>MEDIAFILE_INFO_ARRAY * paryFiles = NULL</td> |
|||
</tr><tr> |
|||
<td id="21010">21010</td><td>MCC_ADD_SMARTLIST</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="21011">21011</td><td>MCC_ADD_PLAYLIST_GROUP</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="21012">21012</td><td>MCC_PROPERTIES</td><td>MEDIAFILE_INFO_ARRAY * paryFiles = NULL (-1 toggles) (note: never PostMessage(...) a pointer)</td> |
|||
</tr><tr> |
|||
<td id="21013">21013</td><td>MCC_TOGGLE_TAGGING_MODE</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="21014">21014</td><td>MCC_CUT</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="21015">21015</td><td>MCC_DESELECT_ALL</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="21016">21016</td><td>MCC_DELETE_ALL</td><td>bool bAggressive</td> |
|||
</tr><tr> |
|||
<td id="21017">21017</td><td>MCC_ADD_PODCAST_FEED</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="21018">21018</td><td>MCC_EDIT_PODCAST_FEED</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="21019">21019</td><td>MCC_ADD_PODCAST_DEFAULTS</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="21020">21020</td><td>MCC_CREATE_STOCK_SMARTLISTS</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="21021">21021</td><td>MCC_ENABLE_PODCAST_DOWNLOAD</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="21022">21022</td><td>MCC_DISABLE_PODCAST_DOWNLOAD</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="21023">21023</td><td>MCC_EDIT_PLAYLIST</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="21024">21024</td><td>MCC_EDIT_PLAYING_NOW</td><td>int nZoneID</td> |
|||
</tr><tr> |
|||
<td id="21025">21025</td><td>MCC_EDIT_DISC_INFORMATION</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="21026">21026</td><td>MCC_EDIT_SMARTLIST</td><td>int nPlaylistID</td> |
|||
</tr><tr> |
|||
<td id="21027">21027</td><td>MCC_REFRESH_PODCAST_FEED</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="21028">21028</td><td>MCC_LOOKUP_MOVIE_INFORMATION</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="21029">21029</td><td>MCC_ADD_ZONE</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="21030">21030</td><td>MCC_ADD_AUTOMATIC_PLAYLIST</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="21031">21031</td><td>MCC_SET_WRITE_TAGS</td><td>bool bWriteTags (-1 toggles)</td> |
|||
</tr><tr> |
|||
<td id="21032">21032</td><td>MCC_PASTE_TAGS</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="21033">21033</td><td>MCC_SHUFFLE_SELECTION</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="21034">21034</td><td>MCC_CLOSE_QUICK_SEARCH</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="21035">21035</td><td>MCC_ADD_ZONE_GROUP</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="21036">21036</td><td>MCC_COMBINE</td><td>int nPlaylistID</td> |
|||
</tr><tr> |
|||
<td id="21037">21037</td><td>MCC_ADD_DYNAMIC_ZONE</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="21038">21038</td><td>MCC_PLAYLIST_SEARCH</td><td>ignore</td> |
|||
</tr> |
|||
</table> |
|||
===View=== |
|||
==Other (range 30,000 to 31,000)== |
|||
Range: 22,000 to 23,000 |
|||
<table border=1 cellspacing=0 width="100%"> |
|||
MCC_OTHER_SECTION = 30000, |
|||
<tr> |
|||
MCC_RELOAD_MC_VIEW = 30000, // [ignore] |
|||
<th>Enum</th><th>Command</th><th>Parameter</th> |
|||
MCC_CUSTOMIZE_TOOLBAR, // [ignore] |
|||
</tr><tr> |
|||
MCC_PLAY_TV, // [ignore] |
|||
<td id="22000">22000</td><td>MCC_TOGGLE_MODE</td><td>[[#UI_MODES|UI_MODES mode]]</td> |
|||
MCC_UPDATE_WEBPAGES, // [ignore] |
|||
</tr><tr> |
|||
MCC_SHOW_RUNNING_MC, // [BOOL bToggleVisibility] |
|||
<td id="22001">22001</td><td>MCC_THEATER_VIEW</td><td>0: Toggle, 1: Home, 2: Playing Now, 3: Audio, 4: Images, 5: Video, 6: Playlists, 7: CD & DVD, 8: TV, 9: TV Guide, 10: TV Recordings</td> |
|||
MCC_SHOW_MENU, // [int nMenuID] |
|||
</tr><tr> |
|||
MCC_TUNE_TV, // [ignore] |
|||
<td id="22002">22002</td><td>MCC_PARTY_MODE</td><td>ignore</td> |
|||
MCC_PLAY_PLAYLIST, // [int nPlaylistID] |
|||
</tr><tr> |
|||
MCC_SENDTO_TOOL, // [0: labeler; 1: media editor; 2: default editor; 3: ftp upload; 4: email] |
|||
<td id="22003">22003</td><td>MCC_SHOW_TREE_ROOT</td><td>-1: Toggle, 0: Hide, 1: Show</td> |
|||
MCC_SHOW_VIEW_INFO, // [new CMCViewInfo * (for internal use only)] |
|||
</tr><tr> |
|||
MCC_SERVICES_HOME, // [ignore] |
|||
<td id="22004">22004</td><td>MCC_FIND_MEDIA</td><td>wchar * pstrSearch (note: memory will be deleted by receiver)</td> |
|||
MCC_DEVICE_CHANGED, // [new DEVICE_CHANGE_INFO * (for internal use only)] |
|||
</tr><tr> |
|||
MCC_HH_FINISHED_FUNCTION, |
|||
<td id="22005">22005</td><td>MCC_BACK</td><td>int nLevels (0 does 1 level)</td> |
|||
MCC_CONFIGURE_THEATER_VIEW, // [ignore] |
|||
</tr><tr> |
|||
MCC_SET_STATUSTEXT, // [wchar * pstrText (note: memory will be deleted by receiver)] |
|||
<td id="22006">22006</td><td>MCC_FORWARD</td><td>int nLevels (0 does 1 level)</td> |
|||
MCC_UPDATE_UI_SIZE_AFTER_MAXIMIZE, // [ignore] |
|||
</tr><tr> |
|||
MCC_REENUM_PORTABLE_DEVICES, // [BOOL bDeviceConnected] |
|||
<td id="22007">22007</td><td>MCC_REFRESH</td><td>int nFlags (1: no webpage refresh)</td> |
|||
MCC_PLAY_ADVANCED, // [PLAY_COMMAND * pCommand (deleted by receiver)] |
|||
</tr><tr> |
|||
MCC_UPDATE_STATUS_BAR, // [ignore] |
|||
<td id="22008">22008</td><td>MCC_SET_LIST_STYLE</td><td>int nListStyle (-1 toggles)</td> |
|||
</tr><tr> |
|||
<td id="22009">22009</td><td>MCC_SET_MODE</td><td>[[#UI_MODES|UI_MODES mode]]</td> |
|||
</tr><tr> |
|||
<td id="22010">22010</td><td>MCC_OBSOLETE_22010</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="22011">22011</td><td>MCC_OBSOLETE_22011</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="22012">22012</td><td>MCC_SHOW_RECENTLYIMPORTED</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="22013">22013</td><td>MCC_SHOW_TOPHITS</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="22014">22014</td><td>MCC_SHOW_RECENTLYPLAYED</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="22015">22015</td><td>MCC_SET_MEDIA_MODE</td><td>int nMediaMode</td> |
|||
</tr><tr> |
|||
<td id="22016">22016</td><td>MCC_OBSOLETE_22016</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="22017">22017</td><td>MCC_SET_SERVER_MODE</td><td>bool bServerMode</td> |
|||
</tr><tr> |
|||
<td id="22018">22018</td><td>MCC_SET_MODE_FOR_EXTERNAL_PROGRAM_LAUNCH</td><td>int nType (0: starting external app, 1: ending external app)</td> |
|||
</tr><tr> |
|||
<td id="22019">22019</td><td>MCC_SET_MODE_FOR_SECOND_INSTANCE_LAUNCH</td><td>[[#UI_MODES|UI_MODES mode]]</td> |
|||
</tr><tr> |
|||
<td id="22020">22020</td><td>MCC_HOME</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="22021">22021</td><td>MCC_ROLLUP_VIEW_HEADER</td><td>bool bRollup (-1: toggle)</td> |
|||
</tr><tr> |
|||
<td id="22022">22022</td><td>MCC_FOCUS_SEARCH_CONTROL</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="22023">22023</td><td>MCC_SET_ACTIVE_VIEW_KEY</td><td>int nViewKey (-1: toggle, -2: toggle backwards, -3: new view)</td> |
|||
</tr><tr> |
|||
<td id="22024">22024</td><td>MCC_CLOSE_VIEW_KEY</td><td>int nViewKey (-1: current view)</td> |
|||
</tr><tr> |
|||
<td id="22025">22025</td><td>MCC_VIEW_ZOOM_SET</td><td>int nZoomPercentage</td> |
|||
</tr><tr> |
|||
<td id="22026">22026</td><td>MCC_VIEW_ZOOM_INCREMENT</td><td>int nZoomDeltaPercentage</td> |
|||
</tr><tr> |
|||
<td id="22027">22027</td><td>MCC_FIND_MEDIA_WITH_WIZARD</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="22028">22028</td><td>MCC_SET_USER</td><td>int nUserId</td> |
|||
</tr><tr> |
|||
<td id="22029">22029</td><td>MCC_SHOW_TREE</td><td>bool bShowTree (-1 toggles)</td> |
|||
</tr><tr> |
|||
<td id="22030">22030</td><td>MCC_SET_TOOLTIPS</td><td>bool bTooltips (-1 toggles)</td> |
|||
</tr><tr> |
|||
<td id="22031">22031</td><td>MCC_AUDIO_ONLY_MODE</td><td>bool bAudioOnlyMode (-1 toggles)</td> |
|||
</tr><tr> |
|||
<td id="22032">22032</td><td>MCC_SHOW_SHARED_PLAYLISTS</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="22033">22033</td><td>MCC_SET_ZONE_VISIBLE</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="22034">22034</td><td>MCC_SHOW_PLAYING_FILE</td><td>int nFlags (1: no force; 2: only do Playing Now)</td> |
|||
</tr><tr> |
|||
<td id="22035">22035</td><td>MCC_F11</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="22036">22036</td><td>MCC_SHOW_PLAYLIST</td><td>int nPlaylistID</td> |
|||
</tr><tr> |
|||
<td id="22037">22037</td><td>MCC_SPLIT_VIEW_TOGGLE</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="22038">22038</td><td>MCC_SHOW_PLAYERBAR</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="22039">22039</td><td>MCC_SET_PLAYERBAR_ALTERNATE_TEXT</td><td>bool bValue (-1 toggles)</td> |
|||
</tr><tr> |
|||
<td id="22040">22040</td><td>MCC_LOCK_TAB</td><td>bool bValue (-1 toggles)</td> |
|||
</tr><tr> |
|||
<td id="22041">22041</td><td>MCC_SHOW_SPOTLIGHT</td><td>int nType (0: current file, 1: current selection</td> |
|||
</tr><tr> |
|||
<td id="22042">22042</td><td>MCC_CLEAR_SEARCH_CONTROL</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="22045">22045</td><td>MCC_SHOW_VIEW_HEADER_MENU</td><td>ignore</td> |
|||
</tr> |
|||
</table> |
|||
===Tools=== |
|||
Range: 23,000 to 24,000 |
|||
<table border=1 cellspacing=0 width="100%"> |
|||
==Image tools (range 31,000 to 32,000)== |
|||
<tr> |
|||
<th>Enum</th><th>Command</th><th>Parameter</th> |
|||
</tr><tr> |
|||
<td id="23000">23000</td><td>MCC_IMPORT</td><td>int nFlags (1: bDisableAlreadyRunningWarning, 2: bFirstImportMode)</td> |
|||
</tr><tr> |
|||
<td id="23001">23001</td><td>MCC_RIP_CD</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="23002">23002</td><td>MCC_BURN</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="23003">23003</td><td>MCC_RECORD_AUDIO</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="23004">23004</td><td>MCC_CONVERT</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="23005">23005</td><td>MCC_ANALYZE_AUDIO</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="23006">23006</td><td>MCC_MEDIA_EDITOR</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="23007">23007</td><td>MCC_CD_LABELER</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="23008">23008</td><td>MCC_OBSOLETE_23008</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="23009">23009</td><td>MCC_OBSOLETE_23009</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="23010">23010</td><td>MCC_SKIN_MANAGER</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="23011">23011</td><td>MCC_OPTIONS</td><td>int nPageID</td> |
|||
</tr><tr> |
|||
<td id="23012">23012</td><td>MCC_RENAME_CD_FILES</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="23013">23013</td><td>MCC_OBSOLETE_23013</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="23014">23014</td><td>MCC_OBSOLETE_23014</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="23015">23015</td><td>MCC_HANDHELD_UPLOAD</td><td>loword: nDeviceSessionID (0 gets default), hiword: flags (1: sync only; 2: show warnings)</td> |
|||
</tr><tr> |
|||
<td id="23016">23016</td><td>MCC_HANDHELD_UPDATE_UPLOAD_WORKER_FINISHED</td><td>int nDeviceSessionID</td> |
|||
</tr><tr> |
|||
<td id="23017">23017</td><td>MCC_HANDHELD_CLOSE_DEVICE</td><td>int nDeviceSessionID</td> |
|||
</tr><tr> |
|||
<td id="23018">23018</td><td>MCC_HANDHELD_SHOW_OPTIONS</td><td>int nDeviceSessionID</td> |
|||
</tr><tr> |
|||
<td id="23019">23019</td><td>MCC_HANDHELD_INFO_DUMP</td><td>bool bShowInfo</td> |
|||
</tr><tr> |
|||
<td id="23020">23020</td><td>MCC_IMPORT_AUTO_RUN_NOW</td><td>bool bSilent</td> |
|||
</tr><tr> |
|||
<td id="23021">23021</td><td>MCC_IMPORT_AUTO_CONFIGURE</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="23022">23022</td><td>MCC_HANDHELD_EJECT</td><td>int nDeviceSessionID</td> |
|||
</tr><tr> |
|||
<td id="23023">23023</td><td>MCC_RECORD_TV</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="23024">23024</td><td>MCC_FIND_AND_REPLACE</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="23025">23025</td><td>MCC_CLEAN_PROPERTIES</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="23026">23026</td><td>MCC_FILL_TRACK_ORDER</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="23027">23027</td><td>MCC_MOVE_COPY_FIELDS</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="23028">23028</td><td>MCC_REMOVE_TAGS</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="23029">23029</td><td>MCC_UPDATE_TAGS_FROM_DB</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="23030">23030</td><td>MCC_UPDATE_DB_FROM_TAGS</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="23031">23031</td><td>MCC_LOOKUP_TRACK_INFO_FROM_INTERNET</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="23032">23032</td><td>MCC_SUBMIT_TRACK_INFO_TO_INTERNET</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="23033">23033</td><td>MCC_OBSOLETE_23033</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="23034">23034</td><td>MCC_FILL_PROPERTIES_FROM_FILENAME</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="23035">23035</td><td>MCC_RENAME_FILES_FROM_PROPERTIES</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="23036">23036</td><td>MCC_COVER_ART_ADD_FROM_FILE</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="23037">23037</td><td>MCC_COVER_ART_QUICK_ADD_FROM_FILE</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="23038">23038</td><td>MCC_COVER_ART_GET_FROM_INTERNET</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="23039">23039</td><td>MCC_COVER_ART_SUBMIT_TO_INTERNET</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="23040">23040</td><td>MCC_COVER_ART_GET_FROM_SCANNER</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="23041">23041</td><td>MCC_COVER_ART_SELECT_SCANNER</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="23042">23042</td><td>MCC_COVER_ART_GET_FROM_CLIPBOARD</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="23043">23043</td><td>MCC_COVER_ART_COPY_TO_CLIPBOARD</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="23044">23044</td><td>MCC_COVER_ART_REMOVE</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="23045">23045</td><td>MCC_COVER_ART_PLAY</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="23046">23046</td><td>MCC_COVER_ART_SAVE_TO_EXTERNAL_FILE</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="23047">23047</td><td>MCC_COVER_ART_REBUILD_THUMBNAIL</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="23048">23048</td><td>MCC_RINGTONE</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="23049">23049</td><td>MCC_AUDIO_CALIBRATION</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="23050">23050</td><td>MCC_MARK_PLAYED</td><td>ignore</td>50 |
|||
</tr><tr> |
|||
<td id="23051">23051</td><td>MCC_MARK_NOT_PLAYED</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="23052">23052</td><td>MCC_LINK_TRACKS</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="23053">23053</td><td>MCC_BREAK_TRACK_LINKS</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="23054">23054</td><td>MCC_AB_COMPARISON</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="23055">23055</td><td>MCC_COVER_ART_EDIT</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="23056">23056</td><td>MCC_BUILD_MISSING_THUMBNAILS</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="23057">23057</td><td>MCC_UPLOAD_TO_CLOUD</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="23058">23058</td><td>MCC_LOOKUP_LYRICS</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="23059">23059</td><td>MCC_COVER_ART_GET_ARTIST_IMAGES_FROM_LAST_FM</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="23060">23060</td><td>MCC_COVER_ART_GET_COMPOSER_IMAGES_FROM_GOOGLE</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="23061">23061</td><td>MCC_LOOKUP_DATE</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="23062">23062</td><td>MCC_LOCK_PLAYLIST</td><td>int nPlaylistID</td> |
|||
</tr><tr> |
|||
<td id="23063">23063</td><td>MCC_UNLOCK_PLAYLIST</td><td>int nPlaylistID</td> |
|||
</tr><tr> |
|||
<td id="23064">23064</td><td>MCC_GET_SHARING_URL</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="23065">23065</td><td>MCC_UNSHARE</td><td>ignore</td> |
|||
</tr> |
|||
</table> |
|||
===Help=== |
|||
MCC_IMAGE_SECTION = 31000, |
|||
Range: 24,000 to 25,000 |
|||
MCC_IMAGE_SET_DESKTOP_BACK = 31000, // [ignore] |
|||
<strike> MCC_IMAGE_ROTATE_LEFT, // [ignore] |
|||
MCC_IMAGE_ROTATE_RIGHT, // [ignore] |
|||
MCC_IMAGE_ROTATE_UPSIDEDOWN, // [ignore] </strike> |
|||
MCC_IMAGE_RESIZE, // [ignore] |
|||
MCC_IMAGE_EDIT, // [ignore] |
|||
<table border=1 cellspacing=0 width="100%"> |
|||
==Query (range 32,000 to 33,000)== |
|||
<tr> |
|||
<th>Enum</th><th>Command</th><th>Parameter</th> |
|||
</tr><tr> |
|||
<td id="24000">24000</td><td>MCC_HELP_CONTENTS</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="24001">24001</td><td>MCC_HELP_HOWTO_IMPORT_FILES</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="24002">24002</td><td>MCC_HELP_HOWTO_PLAY_FILES</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="24003">24003</td><td>MCC_HELP_HOWTO_RIP</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="24004">24004</td><td>MCC_HELP_HOWTO_BURN</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="24005">24005</td><td>MCC_HELP_HOWTO_ORGANIZE_FILES</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="24006">24006</td><td>MCC_HELP_HOWTO_VIEW_SCHEMES</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="24007">24007</td><td>MCC_HELP_HOWTO_MANAGE_PLAYLISTS</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="24008">24008</td><td>MCC_HELP_HOWTO_EDIT_PROPERTIES</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="24009">24009</td><td>MCC_HELP_HOWTO_FIND</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="24010">24010</td><td>MCC_HELP_HOWTO_CONFIGURE</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="24011">24011</td><td>MCC_CHECK_FOR_UPDATES</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="24012">24012</td><td>MCC_BUY</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="24013">24013</td><td>MCC_INSTALL_LICENSE</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="24014">24014</td><td>MCC_REGISTRATION_INFO</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="24015">24015</td><td>MCC_PLUS_FEATURES</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="24016">24016</td><td>MCC_INTERACT</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="24017">24017</td><td>MCC_SYSTEM_INFO</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="24018">24018</td><td>MCC_ABOUT</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="24019">24019</td><td>MCC_CONFIGURE_DEBUG_LOGGING</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="24020">24020</td><td>MCC_WIKI</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="24021">24021</td><td>MCC_TEST</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="24022">24022</td><td>MCC_SHOW_EULA</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="24023">24023</td><td>MCC_BENCHMARK</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="24024">24024</td><td>MCC_UPGRADE_TO_MASTER_LICENSE</td><td>ignore</td> |
|||
</tr> |
|||
</table> |
|||
===Tree=== |
|||
MCC_QUERY_SECTION = 32000, |
|||
Range: 25,000 to 26,000 |
|||
<table border=1 cellspacing=0 width="100%"> |
|||
<tr> |
|||
<th>Enum</th><th>Command</th><th>Parameter</th> |
|||
</tr><tr> |
|||
<td id="25000">25000</td><td>MCC_ADD_VIEW_SCHEME</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="25001">25001</td><td>MCC_EDIT_VIEW_SCHEME</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="25002">25002</td><td>MCC_OBSOLETE_25002</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="25003">25003</td><td>MCC_OBSOLETE_25003</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="25004">25004</td><td>MCC_OBSOLETE_25004</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="25005">25005</td><td>MCC_OBSOLETE_25005</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="25006">25006</td><td>MCC_OBSOLETE_25006</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="25007">25007</td><td>MCC_OBSOLETE_25007</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="25008">25008</td><td>MCC_TREE_ADD_DIRECTORY</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="25009">25009</td><td>MCC_TREE_IMPORT</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="25010">25010</td><td>MCC_TREE_ADD_CD_FOLDER</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="25011">25011</td><td>MCC_UPDATE_FROM_CD_DATABASE</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="25012">25012</td><td>MCC_SUBMIT_TO_CD_DATABASE</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="25013">25013</td><td>MCC_TREE_RIP</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="25014">25014</td><td>MCC_CLEAR_PLAYING_NOW</td><td>0: all files; 1: leave playing file</td> |
|||
</tr><tr> |
|||
<td id="25015">25015</td><td>MCC_COPY_LISTENING_TO</td><td>bool bPaste</td> |
|||
</tr><tr> |
|||
<td id="25016">25016</td><td>MCC_TREE_SET_EXPANDED</td><td>0: collapsed; 1: expanded</td> |
|||
</tr><tr> |
|||
<td id="25017">25017</td><td>MCC_RESET_VIEW_SCHEMES</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="25018">25018</td><td>MCC_TREE_ERASE_CD_DVD</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="25019">25019</td><td>MCC_UPDATE_FROM_CDPLAYER_INI</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="25020">25020</td><td>MCC_TREE_EJECT</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="25021">25021</td><td>MCC_TREE_ADD_VIRTUAL_DEVICE</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="25022">25022</td><td>MCC_TREE_RENAME_PLAYLIST</td><td>int nPlaylistID</td> |
|||
</tr><tr> |
|||
<td id="25023">25023</td><td>MCC_TWITTER_LISTENING_TO</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="25024">25024</td><td>MCC_SCROBBLE_LISTENING_TO</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="25025">25025</td><td>MCC_TREE_OPEN_DIRECTORY_IN_FILE_MANAGER</td><td>ignore</td> |
|||
</tr> |
|||
</table> |
|||
===List=== |
|||
==Commands (used internally -- get routed standard way)== |
|||
Range: 26,000 to 27,000 |
|||
<table border=1 cellspacing=0 width="100%"> |
|||
MCC_COMMANDS_SECTION = 33000, |
|||
<tr> |
|||
MCC_GET_SELECTED_FILES = 33000, // [loword: GET_SELECTION_MODES Mode, hiword: short nFlags (1: for playback)] |
|||
<th>Enum</th><th>Command</th><th>Parameter</th> |
|||
MCC_PRINTVIEW, // [ignore] |
|||
</tr><tr> |
|||
MCC_OUTPUT, // [ignore] |
|||
<td id="26000">26000</td><td>MCC_LIST_UPDATE_ORDER</td><td>ignore</td> |
|||
MCC_SETFOCUS, // [ignore] |
|||
</tr><tr> |
|||
MCC_SELECT_FILES, // [CMediaArray *] |
|||
<td id="26001">26001</td><td>MCC_LIST_SHUFFLE_ORDER</td><td>ignore</td> |
|||
MCC_DOUBLE_CLICK, // [ignore] |
|||
</tr><tr> |
|||
MCC_PLAY_OR_SHOW, // [ignore] |
|||
<td id="26002">26002</td><td>MCC_LIST_IMPORT</td><td>ignore</td> |
|||
MCC_SHOW_CURRENT_FILE, // [int nFlags (1: force, 2: select)] |
|||
</tr><tr> |
|||
MCC_UPDATE_SIZES, // [ignore] |
|||
<td id="26003">26003</td><td>MCC_LIST_REMOVE_ORDER</td><td>ignore</td> |
|||
MCC_BUY_SELECTED_TRACKS, // [int nPurchaseFlags] |
|||
</tr><tr> |
|||
MCC_BUY_ALL_TRACKS, // [int nPurchaseFlags] |
|||
<td id="26004">26004</td><td>MCC_LOCATE_FILE</td><td>int nLocation (-1: on disk (internal); -2: on disk (external); 0-n: library field index)</td> |
|||
MCC_BUY_ALBUM, // [int nPurchaseFlags] |
|||
</tr><tr> |
|||
MCC_UPDATE_AFTER_PLUGIN_INSTALLED, // [ignore] |
|||
<td id="26005">26005</td><td>MCC_LIST_OBSOLETE_26005</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="26006">26006</td><td>MCC_LIST_INCREMENT_SELECTION</td><td>int nDelta</td> |
|||
</tr><tr> |
|||
<td id="26007">26007</td><td>MCC_LIST_REMOVE_DUPLICATES</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="26008">26008</td><td>MCC_LIST_AUTO_SIZE_COLUMN</td><td>int nColumn, zero-based column index (-1: all)</td> |
|||
</tr><tr> |
|||
<td id="26009">26009</td><td>MCC_LIST_CUSTOMIZE_VIEW</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="26010">26010</td><td>MCC_LIST_COPY_DISK_FILES</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="26011">26011</td><td>MCC_LIST_SET_RIP_CHECK</td><td>0: uncheck, 1: check, -1: toggle</td> |
|||
</tr><tr> |
|||
<td id="26012">26012</td><td>MCC_LIST_DOWNLOAD</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="26013">26013</td><td>MCC_LIST_GET_LIST_POINTER</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="26014">26014</td><td>MCC_LOCATE_STACK</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="26015">26015</td><td>MCC_SET_AS_STACK_TOP</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="26016">26016</td><td>MCC_EXPAND_STACK</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="26017">26017</td><td>MCC_COLLAPSE_STACK</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="26018">26018</td><td>MCC_AUTOSTACK</td><td>0: by name, 1: artist, album, name, 2: Artist, Album, Track # and Name</td> |
|||
</tr><tr> |
|||
<td id="26019">26019</td><td>MCC_CHECK_STACKS</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="26020">26020</td><td>MCC_STACK</td><td>int nZeroBasedSelection</td> |
|||
</tr><tr> |
|||
<td id="26021">26021</td><td>MCC_UNSTACK</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="26022">26022</td><td>MCC_ADD_TO_STACK</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="26023">26023</td><td>MCC_PANE_RESET_SELECTION</td><td>int nPaneIndex (-1 resets all)</td> |
|||
</tr><tr> |
|||
<td id="26024">26024</td><td>MCC_LIST_REMOVE_ALL</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="26025">26025</td><td>MCC_LIST_LOCK</td><td>bool bLock (-1 toggles)</td> |
|||
</tr><tr> |
|||
<td id="26026">26026</td><td>MCC_PANE_SET_EXPANDED</td><td>loword: nPaneIndex, hiword: 0: collapsed; 1: expanded</td> |
|||
</tr><tr> |
|||
<td id="26031">26031</td><td>MCC_LIST_SEND_TO_PLAYING_NOW</td><td>SENDTO_PLAYING_NOW_TYPES Type</td> |
|||
</tr><tr> |
|||
<td id="26032">26032</td><td>MCC_LIST_SELECT_RANDOM</td><td>ignore</td> |
|||
</tr> |
|||
</table> |
|||
===System=== |
|||
Range: 27,000 to 28,000 |
|||
<table border=1 cellspacing=0 width="100%"> |
|||
==Notifications (used internally -- go to all view windows)== |
|||
<tr> |
|||
<th>Enum</th><th>Command</th><th>Parameter</th> |
|||
</tr><tr> |
|||
<td id="27000">27000</td><td>[[MCC_KEYSTROKE]]</td><td>int nKeyCode</td> |
|||
</tr><tr> |
|||
<td id="27001">27001</td><td>MCC_SHUTDOWN</td><td>int nMode (0: shutdown; 1: sleep; 2: hibernate; 3: restart) (based on CSystemShutdown::EShutdownModes)</td> |
|||
</tr> |
|||
</table> |
|||
===Playback Engine=== |
|||
MCC_NOTIFICATIONS_SECTION = 34000, |
|||
Range: 28,000 to 29,000 |
|||
MCC_NOTIFY_FONT_CHANGED = 34000, // [ignore] |
|||
MCC_NOTIFY_VIEW_CHANGED, // [ignore] |
|||
MCC_NOTIFY_PLAYER_INFO_CHANGED, // [PLAYER_INFO_CHANGES nChange] |
|||
MCC_NOTIFY_TOOLTIPS_CHANGED, // [BOOL bEnabled] |
|||
MCC_UPDATE, // [int nFlags] |
|||
MCC_NOTIFY_FOCUS_CHANGED, // [ignore] |
|||
MCC_SAVE_PROPERTIES, // [ignore] |
|||
MCC_NOTIFY_UI_MODE_CHANGED, // [ignore] |
|||
MCC_NOTIFY_SELECTION_CHANGED, // [HWND hwndSource] |
|||
MCC_NOTIFY_FILE_CHANGED, // [int nMFKey (-1: invalidates all files)] |
|||
MCC_NOTIFY_FILE_STATUS_CHANGED, // [int nMFKey (-1: invalidates all files)] |
|||
MCC_NOTIFY_FILE_ENSURE_VISIBLE, // [int nMFKey] |
|||
MCC_NOTIFY_GET_TAB_HWNDS, // [ignore] |
|||
MCC_NOTIFY_BURNER_QUEUE_CHANGED, // [int nFlags (1: folder change)] |
|||
MCC_NOTIFY_BURNER_PROGRESS_CHANGED, // [int nPercentage] |
|||
MCC_NOTIFY_BURNER_STATUS_CHANGED, // [LPCTSTR pStatus] |
|||
MCC_NOTIFY_BURNER_STARTED, // [ignore] |
|||
MCC_NOTIFY_BURNER_FINISHED, // [ignore] |
|||
MCC_NOTIFY_BURNER_FAILED, // [LPCTSTR pError] |
|||
MCC_NOTIFY_BURNER_CLOSE_UI, // [ignore] |
|||
MCC_NOTIFY_BURNER_PREPARE_FOR_NEXT_COPY, // [LPCTSTR pStatus] |
|||
MCC_NOTIFY_RIP_STARTED, // [ignore] |
|||
MCC_NOTIFY_RIP_FINISHED, // [ignore] |
|||
MCC_NOTIFY_RIP_FAILED, // [LPCTSTR pError] |
|||
MCC_NOTIFY_RIP_PROGRESS_CHANGED, // [ignore] |
|||
MCC_NOTIFY_RIP_QUEUE_CHANGED, // [ignore] |
|||
MCC_NOTIFY_DOWNLOAD_FINISHED, // [int nMFKey (-1: unknown)] |
|||
MCC_NOTIFY_DOWNLOAD_FAILED, // [int nMFKey (-1: unknown)] |
|||
MCC_NOTIFY_DOWNLOAD_STATUS_CHANGED, // [LPCTSTR pStatus] |
|||
MCC_NOTIFY_STATUS_CHECKER_COMPLETE, // [ignore] |
|||
MCC_NOTIFY_ZONE_CHANGED, // [ignore] |
|||
MCC_NOTIFY_DISPLAY_OWNER_CHANGED, // [HWND hwndOwner] |
|||
MCC_NOTIFY_AFTER_FIRST_UPDATE_LAYOUT_WINDOW, // [ignore] |
|||
MCC_NOTIFY_AFTER_FIRST_UPDATE_APPLY_VIEW_STATE,// [ignore] |
|||
MCC_NOTIFY_PROCESS_TIME_REMAINING, // [int nSecondsRemaining] |
|||
MCC_NOTIFY_UI_UPDATE_ENABLE_DISABLE_STATES, // [ignore] |
|||
MCC_NOTIFY_UI_SKIN_CHANGED, // [ignore] |
|||
MCC_UPDATE_WINDOW_LAYOUT, // [ignore] |
|||
MCC_NOTIFY_SAVE_UI_BEFORE_SHUTDOWN, // [ignore] |
|||
MCC_NOTIFY_UPDATE_CONTROL_BARS, // [ignore] |
|||
MCC_NOTIFY_PLAYLIST_FILES_CHANGED, // [int nPlaylistID] |
|||
MCC_NOTIFY_PLAYLIST_INFO_CHANGED, // [int nPlaylistID] |
|||
MCC_NOTIFY_PLAYLIST_ADDED, // [int nPlaylistID] |
|||
MCC_NOTIFY_PLAYLIST_REMOVED, // [int nPlaylistID] |
|||
MCC_NOTIFY_PLAYLIST_COLLECTION_CHANGED, // [ignore] |
|||
MCC_NOTIFY_HANDHELD_OPTIONS_CHANGED, // [ignore] |
|||
MCC_NOTIFY_HANDHELD_PROGRESS_CHANGED, // [int nPercent] |
|||
MCC_NOTIFY_HANDHELD_UPLOAD_STARTED, // [int nDeviceSessionID (0 gets default)] |
|||
MCC_NOTIFY_HANDHELD_NEW_DEVICE_ARRIVED, // [ing nDeviceSessionID] |
|||
MCC_NOTIFY_HANDHELD_AFTER_DEVICE_CHANGED, // [ignore] |
|||
MCC_NOTIFY_HANDHELD_QUEUE_CHANGED, // [ignore] |
|||
MCC_NOTIFY_HANDHELD_INFO_COMPLETE, // [ignore] |
|||
MCC_NOTIFY_HANDHELD_AFTER_UPLOAD_FINISHED, // [ignore] |
|||
MCC_NOTIFY_COMPACT_MEMORY, // [ignore] |
|||
MCC_NOTIFY_SEARCH_CHANGED, // [ignore] |
|||
<table border=1 cellspacing=0 width="100%"> |
|||
/////////////////////////////////////////////////////////////////////////////// |
|||
<tr> |
|||
// Last |
|||
<th>Enum</th><th>Command</th><th>Parameter</th> |
|||
/////////////////////////////////////////////////////////////////////////////// |
|||
</tr><tr> |
|||
MCC_LAST = 40000 |
|||
<td id="28000">28000</td><td>MCC_PLAYBACK_ENGINE_ZOOM_IN</td><td>ignore</td> |
|||
}; |
|||
</tr><tr> |
|||
<td id="28001">28001</td><td>MCC_PLAYBACK_ENGINE_ZOOM_OUT</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="28002">28002</td><td>MCC_PLAYBACK_ENGINE_UP</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="28003">28003</td><td>MCC_PLAYBACK_ENGINE_DOWN</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="28004">28004</td><td>MCC_PLAYBACK_ENGINE_LEFT</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="28005">28005</td><td>MCC_PLAYBACK_ENGINE_RIGHT</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="28006">28006</td><td>MCC_PLAYBACK_ENGINE_ENTER</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="28007">28007</td><td>MCC_PLAYBACK_ENGINE_FIRST</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="28008">28008</td><td>MCC_PLAYBACK_ENGINE_LAST</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="28009">28009</td><td>MCC_PLAYBACK_ENGINE_NEXT</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="28010">28010</td><td>MCC_PLAYBACK_ENGINE_PREVIOUS</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="28011">28011</td><td>MCC_PLAYBACK_ENGINE_PAUSE</td><td>bool bPause (-1 toggles)</td> |
|||
</tr><tr> |
|||
<td id="28012">28012</td><td>MCC_IMAGE_PAN_AND_ZOOM</td><td>bool bPanAndZoom (-1 toggles)</td> |
|||
</tr><tr> |
|||
<td id="28013">28013</td><td>MCC_IMAGE_TOGGLE_EFFECT</td><td>int nDelta</td> |
|||
</tr><tr> |
|||
<td id="28014">28014</td><td>MCC_IMAGE_RAPID_ZOOM</td><td>int nRapidZoom</td> |
|||
</tr><tr> |
|||
<td id="28015">28015</td><td>MCC_DVD_SET_AUDIO_STREAM</td><td>int nAudioStream (-1 toggles)</td> |
|||
</tr><tr> |
|||
<td id="28016">28016</td><td>MCC_DVD_SHOW_MENU</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="28017">28017</td><td>MCC_TV_RECORD</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="28018">28018</td><td>MCC_TV_SNAPSHOT</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="28019">28019</td><td>MCC_TV_CHANGE_STANDARD</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="28020">28020</td><td>MCC_PLAYBACK_ENGINE_OSD_VIDEO_PROC_AMP</td><td>int nIndex (0 for brightness, 1 for contrast, etc. -1 cycles)</td> |
|||
</tr><tr> |
|||
<td id="28021">28021</td><td>MCC_PLAYBACK_ENGINE_SET_CUR_VIDEO_PROC_AMP</td><td>int nStep (... -2, -1, 1, 2, etc. 0 is invalid and will default to 1)</td> |
|||
</tr><tr> |
|||
<td id="28022">28022</td><td>MCC_PLAYBACK_ENGINE_SET_ASPECT_RATIO</td><td>-1: cycles; 0 - 8: selects individual Aspect Ratio Modes</td> |
|||
</tr><tr> |
|||
<td id="28023">28023</td><td>MCC_PLAYBACK_ENGINE_SCROLL_UP</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="28024">28024</td><td>MCC_PLAYBACK_ENGINE_SCROLL_DOWN</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="28025">28025</td><td>MCC_PLAYBACK_ENGINE_SCROLL_LEFT</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="28026">28026</td><td>MCC_PLAYBACK_ENGINE_SCROLL_RIGHT</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="28027">28027</td><td>MCC_TV_SET_SAVE_TIME_SHIFTING</td><td>int nSaveMode (0 - 6, -1 cycles by incrementing, -2 cycles by decrementing)</td> |
|||
</tr><tr> |
|||
<td id="28028">28028</td><td>MCC_PLAYBACK_ENGINE_ZOOM_TO_PRESET</td><td>int 0 to fit window, 1 for 100%, 2 for 200%</td> |
|||
</tr><tr> |
|||
<td id="28029">28029</td><td>MCC_TV_SCAN_PROGRAMMING_EVENTS</td><td>ignored</td> |
|||
</tr><tr> |
|||
<td id="28030">28030</td><td>MCC_TV_CHANGE_CHANNEL_KEY</td><td>int nKey</td> |
|||
</tr><tr> |
|||
<td id="28031">28031</td><td>MCC_TV_PLAY_CHANNEL_POSITION</td><td>int Playlist position</td> |
|||
</tr><tr> |
|||
<td id="28032">28032</td><td>MCC_PLAYBACK_ENGINE_SET_SUBTITLES</td><td>int nIndex (-1 toggles forward, -2 toggles backwards, -3 to browse for subtitles)</td> |
|||
</tr><tr> |
|||
<td id="28033">28033</td><td>MCC_PLAYBACK_ENGINE_SET_AUDIO_STREAM</td><td>int nIndex (-1 toggles forward, -2 toggles backwards)</td> |
|||
</tr><tr> |
|||
<td id="28034">28034</td><td>MCC_PLAYBACK_ENGINE_SET_VIDEO_STREAM</td><td>int nIndex (-1 toggles forward, -2 toggles backwards)</td> |
|||
</tr><tr> |
|||
<td id="28035">28035</td><td>MCC_PLAYBACK_ENGINE_VIDEO_SCREEN_GRAB</td><td>0: use as thumbnail; 1: save as external file</td> |
|||
</tr><tr> |
|||
<td id="28036">28036</td><td>MCC_PLAYBACK_ENGINE_VIDEO_LIPSYNC</td><td>int nShiftMS</td> |
|||
</tr><tr> |
|||
<td id="28037">28037</td><td>MCC_PLAYBACK_ENGINE_SET_SUBTITLE_TIMING</td><td>int nChangeMS</td> |
|||
</tr><tr> |
|||
<td id="28038">28038</td><td>MCC_PLAYBACK_ENGINE_VIDEO_ZOOM</td><td>int nZoomAmount (100 is 1.0)</td> |
|||
</tr><tr> |
|||
<td id="28039">28039</td><td>MCC_IMAGE_SET_FOCUS</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="25040">25040</td><td>MCC_STEP_FORWARD_FRAMES</td><td>int nNumOfFrames (0 is special and default when no parameter is passed - to the next Keyframe)</td> |
|||
</tr><tr> |
|||
<td id="28041">28041</td><td>MCC_STEP_BACK_FRAMES</td><td>int nNumOfFrames (0 is special and default when no parameter is passed - to the previous Keyframe)</td> |
|||
</tr><tr> |
|||
<td id="28042">28042</td><td>MCC_PLAYBACK_ENGINE_TOGGLE_COMSKIP</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="28043">28043</td><td>MCC_PLAYBACK_ENGINE_HIDE_OSD</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="28044">28044</td><td>MCC_PLAYBACK_ENGINE_VIDEO_LIPSYNC_ZONE</td><td>int nShiftMS, positive or negative increment, zero to reset to 0. Value is saved in zone setting</td> |
|||
</tr><tr> |
|||
<td id="28045">28045</td><td>MCC_BLURAY_SHOW_POPUP_MENU</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="28046">28046</td><td>MCC_PLAYBACK_ENGINE_SETTINGS_CHANGED</td><td>ignore</td> |
|||
</tr> |
|||
</table> |
|||
===Other=== |
|||
Range: 30,000 to 31,000 |
|||
<table border=1 cellspacing=0 width="100%"> |
|||
==Customization specific (used internally)== |
|||
<tr> |
|||
#define MCC_CUSTOMIZATION_OFFSET 100000 |
|||
<th>Enum</th><th>Command</th><th>Parameter</th> |
|||
</tr><tr> |
|||
<td id="30000">30000</td><td>MCC_RELOAD_MC_VIEW</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="30001">30001</td><td>MCC_CUSTOMIZE_TOOLBAR</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="30002">30002</td><td>MCC_PLAY_TV</td><td>int nChannelNumber, user assigned channel number</td> |
|||
</tr><tr> |
|||
<td id="30003">30003</td><td>MCC_UPDATE_WEBPAGES</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="30004">30004</td><td>MCC_SHOW_RUNNING_MC</td><td>bool bToggleVisibility</td> |
|||
</tr><tr> |
|||
<td id="30005">30005</td><td>MCC_SHOW_MENU</td><td>int nMenuID</td> |
|||
</tr><tr> |
|||
<td id="30006">30006</td><td>MCC_TUNE_TV</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="30007">30007</td><td>MCC_PLAY_PLAYLIST</td><td>int nPlaylistID</td> |
|||
</tr><tr> |
|||
<td id="30008">30008</td><td>MCC_SENDTO_TOOL</td><td>0: labeler; 1: media editor; 2: default editor; 3: ftp upload; 4: email; 5 Menalto Gallery; 6 Web Gallery</td> |
|||
</tr><tr> |
|||
<td id="30009">30009</td><td>MCC_SHOW_VIEW_INFO</td><td>new CMCViewInfo * (for internal use only)</td> |
|||
</tr><tr> |
|||
<td id="30010">30010</td><td>MCC_OBSOLETE_30010</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="30011">30011</td><td>MCC_DEVICE_CHANGED</td><td>new DEVICE_CHANGE_INFO * (for internal use only)</td> |
|||
</tr><tr> |
|||
<td id="30012">30012</td><td>MCC_CONFIGURE_THEATER_VIEW</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="30013">30013</td><td>MCC_SET_STATUSTEXT</td><td>BSTR bstrText (deleted by receiver)</td> |
|||
</tr><tr> |
|||
<td id="30014">30014</td><td>MCC_UPDATE_UI_AFTER_ACTIVE_WINDOW_CHANGE</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="30015">30015</td><td>MCC_REENUM_PORTABLE_DEVICES</td><td>bool bDeviceConnected</td> |
|||
</tr><tr> |
|||
<td id="30016">30016</td><td>MCC_PLAY_ADVANCED</td><td>PLAY_COMMAND * pCommand (deleted by receiver)</td> |
|||
</tr><tr> |
|||
<td id="30017">30017</td><td>MCC_UPDATE_STATUS_BAR</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="30018">30018</td><td>MCC_REQUEST_PODCAST_UPDATE</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="30019">30019</td><td>MCC_REQUEST_PODCAST_PURGE</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="30020">30020</td><td>MCC_OBSOLETE_30020</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="30021">30021</td><td>MCC_SHOW_INVALID_CD_VOLUME_WARNING</td><td>TCHAR cDriveLetter</td> |
|||
</tr><tr> |
|||
<td id="30022">30022</td><td>MCC_PLAY_TV_CHANNEL_FOR_CLIENT</td><td>the MFKEY key of the TV channel to be played</td> |
|||
</tr><tr> |
|||
<td id="30023">30023</td><td>MCC_STOP_SERVING_TV_FILE</td><td>CTVPlayer *: pointer to TVPlayer object serving the file</td> |
|||
</tr><tr> |
|||
<td id="30025">30025</td><td>MCC_SET_OSD_ENABLED</td><td>-1 toggles, 1 turns on, 0 turns off (/mcc 30025,-1)</td> |
|||
</tr><tr> |
|||
<td id="30026">30026</td><td>MCC_TOGGLE_THEATER_VIEW_GRIDS_CHANNEL_NAME</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="30027">30027</td><td>MCC_PASTE_PLAYING_NOW_IMAGE_FROM_CLIPBOARD</td><td>int nZoneID</td> |
|||
</tr><tr> |
|||
<td id="30028">30028</td><td>MCC_SHOW_SERVER_PRESENTATION_WEBPAGE</td><td>int nDeviceSessionID</td> |
|||
</tr><tr> |
|||
<td id="30029">30029</td><td>MCC_PLAY_TRAILER</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="30030">30030</td><td>MCC_MOVE_TAB</td><td>int nDelta</td> |
|||
</tr><tr> |
|||
<td id="30031">30031</td><td>MCC_CHECK_LOADED</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="30032">30032</td><td>MCC_RELAUNCH_PROGRAM</td><td>ignore</td> |
|||
</tr> |
|||
</table> |
|||
===Image Tools=== |
|||
Range: 31,000 to 32,000 |
|||
<table border=1 cellspacing=0 width="100%"> |
|||
How to issue Media Core commands |
|||
<tr> |
|||
<th>Enum</th><th>Command</th><th>Parameter</th> |
|||
</tr><tr> |
|||
<td id="31000">31000</td><td>MCC_IMAGE_SET_DESKTOP_BACK</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="31001">31001</td><td>MCC_IMAGE_ROTATE_LEFT</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="31002">31002</td><td>MCC_IMAGE_ROTATE_RIGHT</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="31003">31003</td><td>MCC_IMAGE_ROTATE_UPSIDEDOWN</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="31004">31004</td><td>MCC_IMAGE_RESIZE</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="31005">31005</td><td>MCC_IMAGE_EDIT</td><td>int nFileKey</td> |
|||
</tr><tr> |
|||
<td id="31006">31006</td><td>MCC_IMAGE_DELETE</td><td>int nFileKey</td> |
|||
</tr><tr> |
|||
<td id="31007">31007</td><td>MCC_IMAGE_PREVIEW_SHOW</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="31008">31008</td><td>MCC_IMAGE_PREVIEW_HIDE</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="31009">31009</td><td>MCC_IMAGE_LOCATE_ON_MAP</td><td>ignore</td> |
|||
</tr> |
|||
</table> |
|||
===Query=== |
|||
a) Post a WM_MC_COMMAND based message to the MC frame |
|||
Range: 32,000 to 33,000 |
|||
<table border=1 cellspacing=0 width="100%"> |
|||
Example (C++ source code): |
|||
<tr> |
|||
HWND hwndMC = FindWindow(_T("MJFrame"), NULL); |
|||
<th>Enum</th><th>Command</th><th>Parameter</th> |
|||
PostMessage(hwndMC, WM_MC_COMMAND, MCC_PLAY_PAUSE, 0); |
|||
</tr><tr> |
|||
<td id="32000">32000</td><td>MCC_QUERY_UI_MODE</td><td>bool bInternalMode; Exit status is current [[#UI_MODES|UI_MODES]]</td> |
|||
</tr><tr> |
|||
<td id="32001">32001</td><td>MCC_QUERY_WEBPAGE_VIEW</td><td>ignore</td> |
|||
</tr> |
|||
</table> |
|||
===Commands=== |
|||
b) Fire the same command through the launcher (i.e. 'MC11.exe') in the system directory |
|||
Range: 33,000 to 34,000 |
|||
Note: These are used internally; standard routing. |
|||
Example (command-line program): |
|||
'MC11.exe' /MCC 10000, 0 |
|||
<table border=1 cellspacing=0 width="100%"> |
|||
// the WM_APP based message (WM_APP = 32768, so WM_MC_COMMAND = 33768) |
|||
<tr> |
|||
#define WM_MC_COMMAND (WM_APP + 1000) |
|||
<th>Enum</th><th>Command</th><th>Parameter</th> |
|||
</tr><tr> |
|||
<td id="33000">33000</td><td>MCC_GET_SELECTED_FILES</td><td>loword: GET_SELECTION_MODES Mode, hiword: short nFlags (1: for playback)</td> |
|||
</tr><tr> |
|||
<td id="33001">33001</td><td>MCC_PRINTVIEW</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="33002">33002</td><td>MCC_OUTPUT</td><td>int nPlaylistID (-1 for active view)</td> |
|||
</tr><tr> |
|||
<td id="33003">33003</td><td>MCC_SETFOCUS</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="33004">33004</td><td>MCC_SELECT_FILES</td><td>CMediaArray *</td> |
|||
</tr><tr> |
|||
<td id="33005">33005</td><td>MCC_DOUBLE_CLICK</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="33006">33006</td><td>MCC_PLAY_OR_SHOW</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="33007">33007</td><td>MCC_SHOW_CURRENT_FILE</td><td>int nFlags (1: force, 2: select)</td> |
|||
</tr><tr> |
|||
<td id="33008">33008</td><td>MCC_BUY_SELECTED_TRACKS</td><td>int nPurchaseFlags</td> |
|||
</tr><tr> |
|||
<td id="33009">33009</td><td>MCC_BUY_ALL_TRACKS</td><td>int nPurchaseFlags</td> |
|||
</tr><tr> |
|||
<td id="33010">33010</td><td>MCC_BUY_ALBUM</td><td>int nPurchaseFlags</td> |
|||
</tr><tr> |
|||
<td id="33011">33011</td><td>MCC_UPDATE_AFTER_PLUGIN_INSTALLED</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="33012">33012</td><td>MCC_UPDATE_AFTER_SKIN_INSTALLED</td><td>bool bMiniView</td> |
|||
</tr> |
|||
</table> |
|||
===Notifications=== |
|||
// extended MC_COMMAND message that takes a structure with extra information (internal use only) |
|||
Range: 34,000 to 35,000 |
|||
#define WM_MC_COMMAND_EX (WM_APP + 1001) |
|||
Note: These are used internally; routed to all view windows. |
|||
// return value for unhandled MCC commands |
|||
#define MCC_UNHANDLED 0 |
|||
<table border=1 cellspacing=0 width="100%"> |
|||
// flags for command enable, disable, and check |
|||
<tr> |
|||
enum MCC_UPDATEUI_FLAGS |
|||
<th>Enum</th><th>Command</th><th>Parameter</th> |
|||
{ |
|||
</tr><tr> |
|||
MCC_UPDATEUI_ENABLE = 1, |
|||
<td id="34000">34000</td><td>MCC_NOTIFY_FONT_CHANGED</td><td>ignore</td> |
|||
MCC_UPDATEUI_DISABLE = 2, |
|||
</tr><tr> |
|||
MCC_UPDATEUI_PRESSED = 4, |
|||
<td id="34001">34001</td><td>MCC_NOTIFY_VIEW_CHANGED</td><td>ignore</td> |
|||
}; |
|||
</tr><tr> |
|||
<td id="34002">34002</td><td>MCC_NOTIFY_BEFORE_ACTIVE_VIEW_CHANGED</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="34003">34003</td><td>MCC_NOTIFY_ACTIVE_VIEW_CHANGED</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="34004">34004</td><td>MCC_NOTIFY_PLAYER_INFO_CHANGED</td><td>PLAYER_INFO_CHANGES nChange</td> |
|||
</tr><tr> |
|||
<td id="34005">34005</td><td>MCC_NOTIFY_TOOLTIPS_CHANGED</td><td>bool bEnabled</td> |
|||
</tr><tr> |
|||
<td id="34006">34006</td><td>MCC_NOTIFY_OPTIONS_CHANGED</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="34007">34007</td><td>MCC_UPDATE</td><td>int nFlags</td> |
|||
</tr><tr> |
|||
<td id="34008">34008</td><td>MCC_NOTIFY_FOCUS_CHANGED</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="34009">34009</td><td>MCC_SAVE_PROPERTIES</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="34010">34010</td><td>MCC_NOTIFY_UI_MODE_CHANGED</td><td>[[#UI_MODES|UI_MODES NewMode]]</td> |
|||
</tr><tr> |
|||
<td id="34011">34011</td><td>MCC_NOTIFY_SELECTION_CHANGED</td><td>int nViewKey</td> |
|||
</tr><tr> |
|||
<td id="34012">34012</td><td>MCC_NOTIFY_FILE_CHANGED</td><td>int nFileKey (-1: invalidates all files)</td> |
|||
</tr><tr> |
|||
<td id="34013">34013</td><td>MCC_NOTIFY_FILE_STATUS_CHANGED</td><td>int nFileKey (-1: invalidates all files)</td> |
|||
</tr><tr> |
|||
<td id="34014">34014</td><td>MCC_NOTIFY_FILE_ENSURE_VISIBLE</td><td>int nFileKey</td> |
|||
</tr><tr> |
|||
<td id="34015">34015</td><td>MCC_NOTIFY_GET_TAB_HWNDS</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="34016">34016</td><td>MCC_NOTIFY_BURNER_QUEUE_CHANGED</td><td>int nFlags (1: folder change)</td> |
|||
</tr><tr> |
|||
<td id="34017">34017</td><td>MCC_NOTIFY_BURNER_PROGRESS_CHANGED</td><td>int nPercentage</td> |
|||
</tr><tr> |
|||
<td id="34018">34018</td><td>MCC_NOTIFY_BURNER_STATUS_CHANGED</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="34019">34019</td><td>MCC_NOTIFY_BURNER_STARTED</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="34020">34020</td><td>MCC_NOTIFY_BURNER_FINISHED_INTERNAL</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="34021">34021</td><td>MCC_NOTIFY_BURNER_FINISHED</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="34022">34022</td><td>MCC_NOTIFY_BURNER_FAILED_INTERNAL</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="34023">34023</td><td>MCC_NOTIFY_BURNER_FAILED</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="34024">34024</td><td>MCC_NOTIFY_BURNER_CLOSE_UI</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="34025">34025</td><td>MCC_NOTIFY_BURNER_PREPARE_FOR_NEXT_COPY</td><td>LPCTSTR pStatus</td> |
|||
</tr><tr> |
|||
<td id="34026">34026</td><td>MCC_NOTIFY_RIP_STARTED</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="34027">34027</td><td>MCC_NOTIFY_RIP_FINISHED</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="34028">34028</td><td>MCC_NOTIFY_RIP_FAILED</td><td>LPCTSTR pError</td> |
|||
</tr><tr> |
|||
<td id="34029">34029</td><td>MCC_NOTIFY_RIP_PROGRESS_CHANGED</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="34030">34030</td><td>MCC_NOTIFY_RIP_QUEUE_CHANGED</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="34031">34031</td><td>MCC_NOTIFY_DVD_RIP_STARTED</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="34032">34032</td><td>MCC_NOTIFY_DVD_RIP_FINISHED</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="34033">34033</td><td>MCC_NOTIFY_DVD_RIP_FAILED</td><td>int nErrorCode</td> |
|||
</tr><tr> |
|||
<td id="34034">34034</td><td>MCC_NOTIFY_DVD_RIP_PROGRESS_CHANGED</td><td>int nPercent</td> |
|||
</tr><tr> |
|||
<td id="34035">34035</td><td>MCC_NOTIFY_DOWNLOAD_FINISHED</td><td>int nFileKey (-1: unknown)</td> |
|||
</tr><tr> |
|||
<td id="34036">34036</td><td>MCC_NOTIFY_DOWNLOAD_FAILED</td><td>int nFileKey (-1: unknown)</td> |
|||
</tr><tr> |
|||
<td id="34037">34037</td><td>MCC_NOTIFY_DOWNLOAD_STATUS_CHANGED</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="34038">34038</td><td>MCC_NOTIFY_STATUS_CHECKER_COMPLETE</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="34039">34039</td><td>MCC_NOTIFY_CURRENT_ZONE_CHANGED</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="34040">34040</td><td>MCC_NOTIFY_DISPLAY_OWNER_CHANGED</td><td>JRWnd * pwndOwner</td> |
|||
</tr><tr> |
|||
<td id="34041">34041</td><td>MCC_NOTIFY_AFTER_FIRST_UPDATE_LAYOUT_WINDOW</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="34042">34042</td><td>MCC_NOTIFY_AFTER_FIRST_UPDATE_APPLY_VIEW_STATE</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="34043">34043</td><td>MCC_NOTIFY_PROCESS_TIME_REMAINING</td><td>int nSecondsRemaining</td> |
|||
</tr><tr> |
|||
<td id="34044">34044</td><td>MCC_NOTIFY_UI_UPDATE_ENABLE_DISABLE_STATES</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="34045">34045</td><td>MCC_NOTIFY_UI_SKIN_CHANGED</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="34046">34046</td><td>MCC_UPDATE_WINDOW_LAYOUT</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="34047">34047</td><td>MCC_NOTIFY_SAVE_UI_BEFORE_SHUTDOWN</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="34048">34048</td><td>MCC_OBSOLETE_34046</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="34049">34049</td><td>MCC_NOTIFY_PLAYLIST_FILES_CHANGED</td><td>int nPlaylistID</td> |
|||
</tr><tr> |
|||
<td id="34050">34050</td><td>MCC_NOTIFY_PLAYLIST_INFO_CHANGED</td><td>int nPlaylistID</td> |
|||
</tr><tr> |
|||
<td id="34051">34051</td><td>MCC_NOTIFY_PLAYLIST_ADDED_INTERNAL</td><td>int nPlaylistID</td> |
|||
</tr><tr> |
|||
<td id="34052">34052</td><td>MCC_NOTIFY_PLAYLIST_ADDED_BY_USER</td><td>int nPlaylistID</td> |
|||
</tr><tr> |
|||
<td id="34053">34053</td><td>MCC_NOTIFY_PLAYLIST_REMOVED</td><td>int nPlaylistID</td> |
|||
</tr><tr> |
|||
<td id="34054">34054</td><td>MCC_NOTIFY_PLAYLIST_COLLECTION_CHANGED</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="34055">34055</td><td>MCC_NOTIFY_PLAYLIST_PROPERTIES_CHANGED</td><td>int nPlaylistID</td> |
|||
</tr><tr> |
|||
<td id="34056">34056</td><td>MCC_NOTIFY_HANDHELD_UPLOAD_STARTED</td><td>int nDeviceSessionID (0 gets default)</td> |
|||
</tr><tr> |
|||
<td id="34057">34057</td><td>MCC_NOTIFY_HANDHELD_AFTER_DEVICE_CHANGED</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="34058">34058</td><td>MCC_NOTIFY_HANDHELD_QUEUE_CHANGED</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="34059">34059</td><td>MCC_NOTIFY_HANDHELD_INFO_COMPLETE</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="34060">34060</td><td>MCC_NOTIFY_HANDHELD_AFTER_UPLOAD_FINISHED</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="34061">34061</td><td>MCC_NOTIFY_COMPACT_MEMORY</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="34062">34062</td><td>MCC_NOTIFY_SEARCH_CHANGED</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="34063">34063</td><td>MCC_NOTIFY_SEARCH_CONTEXT_CHANGED</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="34064">34064</td><td>MCC_NOTIFY_UPDATE_SHOPPING_CART</td><td>JRStoreBase * pStore</td> |
|||
</tr><tr> |
|||
<td id="34065">34065</td><td>MCC_NOTIFY_UPDATE_NAVIGATION_TRAIL</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="34066">34066</td><td>MCC_NOTIFY_IMPORT_STARTED</td><td>bool bSilent</td> |
|||
</tr><tr> |
|||
<td id="34067">34067</td><td>MCC_NOTIFY_IMPORT_FINISHED</td><td>bool bSilent</td> |
|||
</tr><tr> |
|||
<td id="34068">34068</td><td>MCC_NOTIFY_ROTATED_IMAGES</td><td>MFKEY nKey</td> |
|||
</tr><tr> |
|||
<td id="34069">34069</td><td>MCC_NOTIFY_LOGIN_STATE_CHANGE</td><td>bool bLoggedIn</td> |
|||
</tr><tr> |
|||
<td id="34070">34070</td><td>MCC_NOTIFY_MYGAL_PROGRESS</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="34071">34071</td><td>MCC_NOTIFY_MYGAL_DONE</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="34072">34072</td><td>MCC_NOTIFY_PODCAST_CHANGED</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="34073">34073</td><td>MCC_NOTIFY_PODCAST_SETTINGS_CHANGED</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="34074">34074</td><td>MCC_NOTIFY_CONVERT_PROGRESS</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="34075">34075</td><td>MCC_NOTIFY_CONVERT_UPDATE</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="34076">34076</td><td>MCC_NOTIFY_BREADCRUMBS_CHANGED</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="34077">34077</td><td>MCC_NOTIFY_UI_LANGUAGE_CHANGED</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="34078">34078</td><td>MCC_NOTIFY_INSTALLED_PLUGINS_CHANGED</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="34079">34079</td><td>MCC_NOTIFY_SUGGESTED_MUSIC_CHANGED</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="34080">34080</td><td>MCC_NOTIFY_VIEW_SETTINGS_CHANGED</td><td>int nFlags</td> |
|||
</tr><tr> |
|||
<td id="34081">34081</td><td>MCC_NOTIFY_BEFORE_CONFIGURE_VIEW_SETTINGS</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="34082">34082</td><td>MCC_NOTIFY_TV_RECORDING_CHANGED</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="34083">34083</td><td>MCC_NOTIFY_TV_PROGRAMMING_GUIDE_CHANGED</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="34084">34084</td><td>MCC_NOTIFY_TV_CHANNELS_CHANGED</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="34085">34085</td><td>MCC_NOTIFY_TV_RECORDING_STARTED</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="34086">34086</td><td>MCC_NOTIFY_TV_RECORDING_FINISHED</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="34087">34087</td><td>MCC_NOTIFY_IMPORT_FILES_ADDED</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="34088">34088</td><td>MCC_NOTIFY_PLAYBACK_OPTIONS_CHANGED</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="34089">34089</td><td>MCC_NOTIFY_BEFORE_LAYOUT_USER_INTERFACE</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="34090">34090</td><td>MCC_NOTIFY_AFTER_LAYOUT_USER_INTERFACE</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="34091">34091</td><td>MCC_NOTIFY_ZONE_ADDED_OR_REMOVED</td><td>int nZoneID (PLAYER_ZONE_ID_UNDEFINED means multiple changes)</td> |
|||
</tr><tr> |
|||
<td id="34092">34092</td><td>MCC_NOTIFY_ZONE_LINKED_OR_UNLINKED</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="34093">34093</td><td>MCC_NOTIFY_LIBRARY_LOCATIONS_CHANGED</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="34094">34094</td><td>MCC_NOTIFY_DSP_SETTINGS_CHANGED_IN_CODE</td><td>int nZoneID</td> |
|||
</tr><tr> |
|||
<td id="34095">34095</td><td>MCC_NOTIFY_OPTICAL_DISC_CHANGED</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="34096">34096</td><td>MCC_NOTIFY_STORE_DOWNLOAD_STATUS_CHANGED</td><td>int nStoreNumber</td> |
|||
</tr><tr> |
|||
<td id="34097">34097</td><td>MCC_NOTIFY_CURRENT_PLAYLIST_NEXT_ITEM_TO_PLAY_CHANGED</td><td>int nZone</td> |
|||
</tr><tr> |
|||
<td id="34098">34098</td><td>MCC_NOTIFY_CONTENT_UPLOAD_PROGRESS</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="34099">34099</td><td>MCC_NOTIFY_CONTENT_UPLOAD_UPDATE</td><td>int nEnsureVisibleColumn (if nEnsureVisibleColumn > 0, call EnsureVisible() on the list control)</td> |
|||
</tr><tr> |
|||
<td id="34100">34100</td><td>MCC_NOTIFY_TV_PROPERTIES_CHANGED</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="34101">34101</td><td>MCC_NOTIFY_STATUSBAR_TEXT_CHANGED</td><td>ignore</td> |
|||
</tr> |
|||
</table> |
|||
===Store=== |
|||
Range: 35,000 to 36,000 |
|||
<table border=1 cellspacing=0 width="100%"> |
|||
Helper macros |
|||
<tr> |
|||
<th>Enum</th><th>Command</th><th>Parameter</th> |
|||
</tr><tr> |
|||
<td id="35000">35000</td><td>MCC_STORE_DOWNLOAD</td><td>bool bAllowPurchaseType</td> |
|||
</tr><tr> |
|||
<td id="35001">35001</td><td>MCC_STORE_PURCHASE</td><td>MFKEY nKey</td> |
|||
</tr><tr> |
|||
<td id="35002">35002</td><td>MCC_STORE_SEARCH_AMAZON</td><td>MFKEY nKey</td> |
|||
</tr><tr> |
|||
<td id="35003">35003</td><td>MCC_STORE_SEARCH_AMAZON_MP3_STORE</td><td>MFKEY nKey</td> |
|||
</tr><tr> |
|||
<td id="35004">35004</td><td>MCC_OBSOLETE_35004</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="35005">35005</td><td>MCC_STORE_CHANGE_USER</td><td>ignore</td> |
|||
</tr><tr> |
|||
<td id="35006">35006</td><td>MCC_STORE_CHECK_FOR_DOWNLOADS</td><td>ignore</td> |
|||
</tr> |
|||
</table> |
|||
==Defines== |
|||
// return value for unhandled MCC commands |
|||
#define IS_MCC_COMMAND_IN_RANGE(INDEX, FIRST, LAST) (((abs((int)INDEX)) >= FIRST) && ((abs((int)INDEX)) < LAST) || ((abs((int)INDEX)) >= FIRST + MCC_CUSTOMIZATION_OFFSET) && ((abs((int)INDEX)) < LAST + MCC_CUSTOMIZATION_OFFSET)) |
|||
#define MCC_UNHANDLED 0 |
|||
#define IS_MCC_COMMAND_IN_SECTION(INDEX, FIRST) IS_MCC_COMMAND_IN_RANGE(INDEX, FIRST, FIRST + 1000) |
|||
#define IS_VALID_MCC_COMMAND(INDEX) IS_MCC_COMMAND_IN_RANGE(INDEX, MCC_FIRST, MCC_LAST) |
|||
#define IS_PLAYBACK_MCC_COMMAND(INDEX) IS_MCC_COMMAND_IN_SECTION(INDEX, MCC_PLAYBACK_SECTION) |
|||
#define IS_FILE_MCC_COMMAND(INDEX) IS_MCC_COMMAND_IN_SECTION(INDEX, MCC_FILE_SECTION) |
|||
#define IS_EDIT_MCC_COMMAND(INDEX) IS_MCC_COMMAND_IN_SECTION(INDEX, MCC_EDIT_SECTION) |
|||
#define IS_VIEW_MCC_COMMAND(INDEX) IS_MCC_COMMAND_IN_SECTION(INDEX, MCC_VIEW_SECTION) |
|||
#define IS_TOOL_MCC_COMMAND(INDEX) IS_MCC_COMMAND_IN_SECTION(INDEX, MCC_TOOLS_SECTION) |
|||
#define IS_HELP_MCC_COMMAND(INDEX) IS_MCC_COMMAND_IN_SECTION(INDEX, MCC_HELP_SECTION) |
|||
#define IS_TREE_MCC_COMMAND(INDEX) IS_MCC_COMMAND_IN_SECTION(INDEX, MCC_TREE_SECTION) |
|||
#define IS_LIST_MCC_COMMAND(INDEX) IS_MCC_COMMAND_IN_SECTION(INDEX, MCC_LIST_SECTION) |
|||
#define IS_SYSTEM_MCC_COMMAND(INDEX) IS_MCC_COMMAND_IN_SECTION(INDEX, MCC_SYSTEM_SECTION) |
|||
#define IS_IMAGE_MCC_COMMAND(INDEX) IS_MCC_COMMAND_IN_SECTION(INDEX, MCC_IMAGE_SECTION) |
|||
#define IS_INTERNAL_COMMAND_MCC_COMMAND(INDEX) IS_MCC_COMMAND_IN_SECTION(INDEX, MCC_COMMANDS_SECTION) |
|||
#define IS_NOTIFY_MCC_COMMAND(INDEX) IS_MCC_COMMAND_IN_SECTION(INDEX, MCC_NOTIFICATIONS_SECTION) |
|||
#define IS_CUSTOMIZATION_MCC_COMMAND(INDEX) IS_MCC_COMMAND_IN_RANGE(INDEX, MCC_FIRST + MCC_CUSTOMIZATION_OFFSET, MCC_LAST + MCC_CUSTOMIZATION_OFFSET) |
|||
// flags for command enable, disable, and check |
|||
#define MAKE_MCC_PLAYBACK_PARAM(PARAM, ZONE) (((ZONE) == -1) ? ((PARAM) & 0x00FFFFFF) : ((((ZONE) + 1) << 24) & 0xFF000000) | ((PARAM) & 0x00FFFFFF)) |
|||
enum MCC_UPDATEUI_FLAGS |
|||
#define GET_MCC_PLAYBACK_PARAM(PARAM) (((PARAM) & 0x400000) ? ((PARAM) & 0xFFFFFF) - 0x1000000 : ((PARAM) & 0xFFFFFF)) |
|||
{ |
|||
#define GET_MCC_PLAYBACK_ZONE(PARAM) (((PARAM) & 0x80000000) ? -1 : (((PARAM) >> 24) - 1)) |
|||
MCC_UPDATEUI_ENABLE = 1, |
|||
MCC_UPDATEUI_DISABLE = 2, |
|||
MCC_UPDATEUI_PRESSED = 4, |
|||
}; |
|||
// update flags |
|||
#define MCC_UPDATE_FLAG_THUMBNAILS (1 << 0) |
|||
#define MCC_UPDATE_FLAG_FILE_PROPERTIES (1 << 1) |
|||
#define MCC_UPDATE_FLAG_FILE_ADDED_OR_REMOVED (1 << 2) |
|||
#define MCC_UPDATE_FLAG_TREE_STRUCTURE (1 << 3) |
|||
#define MCC_UPDATE_FLAG_REFILL_LIST (1 << 4) |
|||
#define MCC_UPDATE_FLAG_ITEM_DELETED (1 << 5) |
|||
#define MCC_UPDATE_FLAG_NO_PRESERVE_VIEW_STATE (1 << 6) |
|||
#define MCC_UPDATE_FLAG_WEB_VIEW (1 << 7) |
|||
// update all |
|||
Defines for internal use |
|||
#define MCC_UPDATE_FLAG_ALL (0x7FFFFFFF & ~(MCC_UPDATE_FLAG_NO_PRESERVE_VIEW_STATE)) |
|||
// settings changed flags |
|||
#define MCC_SETTING_CHANGED_FLAG_UNKNOWN (1 << 0) |
|||
#define MCC_SETTING_CHANGED_FLAG_COLUMNS (1 << 1) |
|||
#define MCC_SETTING_CHANGED_FLAG_SORTING (1 << 2) |
|||
#define MCC_SETTING_CHANGED_FLAG_VIEW_SCHEME (1 << 3) |
|||
#define MCC_SETTING_CHANGED_FLAG_GROUPING (1 << 5) |
|||
#define MCC_SETTING_CHANGED_FLAG_LIBRARY_VIEW_SETTINGS (1 << 6) |
|||
// |
// UI modes |
||
enum <span id="UI_MODES">UI_MODES</span> |
|||
#define MCC_UPDATE_FLAG_THUMBNAILS (1 << 0) |
|||
{ |
|||
#define MCC_UPDATE_FLAG_FILE_PROPERTIES (1 << 1) |
|||
// unknown |
|||
#define MCC_UPDATE_FLAG_FILE_ADDED_OR_REMOVED (1 << 2) |
|||
UI_MODE_UNKNOWN = -2000, |
|||
#define MCC_UPDATE_FLAG_TREE_STRUCTURE (1 << 3) |
|||
#define MCC_UPDATE_FLAG_REFILL_LIST (1 << 4) |
|||
#define MCC_UPDATE_FLAG_ITEM_DELETED (1 << 5) |
|||
#define MCC_UPDATE_FLAG_NO_PRESERVE_VIEW_STATE (1 << 6) |
|||
// internal modes |
|||
// update all |
|||
UI_MODE_INTERNAL_NO_UI = -1000, |
|||
#define MCC_UPDATE_FLAG_ALL (0x7FFFFFFF & ~(MCC_UPDATE_FLAG_NO_PRESERVE_VIEW_STATE)) |
|||
UI_MODE_INTERNAL_STANDARD = 0, |
|||
UI_MODE_INTERNAL_MINI_FREEFORM = 1, |
|||
UI_MODE_INTERNAL_MINI_SLIM = 2, |
|||
UI_MODE_INTERNAL_DISPLAY_WINDOWED = 3, |
|||
UI_MODE_INTERNAL_DISPLAY_FULLSCREEN = 4, |
|||
UI_MODE_INTERNAL_THEATER = 5, |
|||
UI_MODE_INTERNAL_COVER = 6, |
|||
// toggles, shortcuts, etc. |
|||
// UI modes |
|||
UI_MODE_SHORTCUT_TEMPORARY_DISPLAY_WINDOWED = -8, |
|||
enum UI_MODES |
|||
UI_MODE_SHORTCUT_TOGGLE_DISPLAY_AND_LAST_USER_INPUT_MODE = -7, |
|||
{ |
|||
UI_MODE_SHORTCUT_TOGGLE_DISPLAY_EXCLUDE_THEATER_VIEW = -6, |
|||
UI_MODE_UNKNOWN = -2000, |
|||
UI_MODE_SHORTCUT_TOGGLE_DISPLAY = -5, |
|||
UI_MODE_NO_UI = -1000, |
|||
UI_MODE_SHORTCUT_LAST_SHUTDOWN = -4, |
|||
UI_MODE_SHORTCUT_CURRENT = -3, |
|||
UI_MODE_SHORTCUT_CLOSE_DISPLAY = -2, |
|||
UI_MODE_SHORTCUT_NEXT = -1, |
|||
UI_MODE_MINI, |
|||
UI_MODE_FULLSCREEN, |
|||
UI_MODE_THEATER, |
|||
UI_MODE_WINDOWED, |
|||
UI_MODE_STACK, |
|||
UI_MODE_SLIM, |
|||
UI_MODE_COUNT, |
|||
}; |
|||
// modes presented to the user |
|||
// player changes |
|||
UI_MODE_STANDARD = 0, |
|||
#define PLAYER_INFO_CHANGE_ALL 0xFFFF |
|||
UI_MODE_MINI = 1, |
|||
#define PLAYER_INFO_CHANGE_PLAYERSTATE (1 << 0) |
|||
UI_MODE_DISPLAY = 2, |
|||
#define PLAYER_INFO_CHANGE_VOLUME (1 << 1) |
|||
UI_MODE_THEATER = 3, |
|||
#define PLAYER_INFO_CHANGE_FILEINFO (1 << 2) |
|||
UI_MODE_COVER = 4, |
|||
#define PLAYER_INFO_CHANGE_PLAYLISTSTATE (1 << 3) |
|||
UI_MODE_COUNT = 5, |
|||
#define PLAYER_INFO_CHANGE_EQCHANGE (1 << 4) |
|||
}; |
|||
#define PLAYER_INFO_CHANGE_IMAGE (1 << 5) |
|||
#define PLAYER_INFO_CHANGE_PLAYING_FILE (1 << 6) |
|||
// player |
// player changes |
||
#define PLAYER_INFO_CHANGE_ALL 0xFFFF |
|||
enum PLAYER_STATUS_CODES |
|||
#define PLAYER_INFO_CHANGE_PLAYER_STATE (1 << 0) |
|||
{ |
|||
#define PLAYER_INFO_CHANGE_VOLUME (1 << 1) |
|||
PLAYER_STATUS_CODE_BUFFERING, |
|||
#define PLAYER_INFO_CHANGE_FILE_INFO (1 << 2) |
|||
PLAYER_STATUS_CODE_LOCATING, |
|||
#define PLAYER_INFO_CHANGE_PLAYLIST (1 << 3) |
|||
PLAYER_STATUS_CODE_CONNECTING, |
|||
#define PLAYER_INFO_CHANGE_DSP (1 << 4) |
|||
PLAYER_STATUS_CODE_DOWNLOADING_CODEC, |
|||
#define PLAYER_INFO_CHANGE_IMAGE (1 << 5) |
|||
PLAYER_STATUS_CODE_ACQUIRING_LICENSE, |
|||
#define PLAYER_INFO_CHANGE_PLAYING_FILE (1 << 6) |
|||
PLAYER_STATUS_CODE_INDIVIDUALIZE_STARTING, |
|||
#define PLAYER_INFO_CHANGE_OUTPUT_INFO (1 << 7) |
|||
PLAYER_STATUS_CODE_INDIVIDUALIZE_CONNECTING, |
|||
PLAYER_STATUS_CODE_INDIVIDUALIZE_REQUESTING, |
|||
PLAYER_STATUS_CODE_INDIVIDUALIZE_RECEIVING, |
|||
PLAYER_STATUS_CODE_INDIVIDUALIZE_COMPLETED, |
|||
}; |
|||
// |
// player status codes |
||
enum PLAYER_STATUS_CODES |
|||
enum SHOW_THEATER_VIEW_MODES |
|||
{ |
{ |
||
PLAYER_STATUS_CODE_BUFFERING, |
|||
SHOW_THEATER_VIEW_MODE_TOGGLE_THEATER_VIEW, |
|||
PLAYER_STATUS_CODE_LOCATING, |
|||
SHOW_THEATER_VIEW_MODE_HOME, |
|||
PLAYER_STATUS_CODE_CONNECTING, |
|||
SHOW_THEATER_VIEW_MODE_PLAYING_NOW, |
|||
PLAYER_STATUS_CODE_DOWNLOADING_CODEC, |
|||
SHOW_THEATER_VIEW_MODE_AUDIO, |
|||
PLAYER_STATUS_CODE_ACQUIRING_LICENSE, |
|||
SHOW_THEATER_VIEW_MODE_IMAGES, |
|||
PLAYER_STATUS_CODE_INDIVIDUALIZE_STARTING, |
|||
SHOW_THEATER_VIEW_MODE_VIDEOS, |
|||
PLAYER_STATUS_CODE_INDIVIDUALIZE_CONNECTING, |
|||
SHOW_THEATER_VIEW_MODE_PLAYLISTS, |
|||
PLAYER_STATUS_CODE_INDIVIDUALIZE_REQUESTING, |
|||
SHOW_THEATER_VIEW_MODE_CD_DVD, |
|||
PLAYER_STATUS_CODE_INDIVIDUALIZE_RECEIVING, |
|||
SHOW_THEATER_VIEW_MODE_TV, |
|||
PLAYER_STATUS_CODE_INDIVIDUALIZE_COMPLETED, |
|||
}; |
|||
}; |
|||
// theater view modes |
|||
enum SHOW_THEATER_VIEW_MODES |
|||
{ |
|||
SHOW_THEATER_VIEW_MODE_TOGGLE_THEATER_VIEW, |
|||
SHOW_THEATER_VIEW_MODE_HOME, |
|||
SHOW_THEATER_VIEW_MODE_PLAYING_NOW, |
|||
SHOW_THEATER_VIEW_MODE_AUDIO, |
|||
SHOW_THEATER_VIEW_MODE_IMAGES, |
|||
SHOW_THEATER_VIEW_MODE_VIDEOS, |
|||
SHOW_THEATER_VIEW_MODE_PLAYLISTS, |
|||
SHOW_THEATER_VIEW_MODE_CD_DVD, |
|||
SHOW_THEATER_VIEW_MODE_TELEVISION, |
|||
SHOW_THEATER_VIEW_MODE_TELEVISION_GUIDE, |
|||
SHOW_THEATER_VIEW_MODE_TELEVISION_RECORDINGS, |
|||
SHOW_THEATER_VIEW_MODE_LAST_VIEWED, |
|||
}; |
|||
// get selection modes |
|||
enum GET_SELECTION_MODES |
|||
{ |
|||
GET_SELECTION_EXACT, |
|||
GET_SELECTION_ALL_ON_NONE, |
|||
GET_SELECTION_ALL_ON_ONE_OR_NONE, |
|||
GET_SELECTION_ALL, |
|||
GET_SELECTION_EXACT_WITH_POSITION, |
|||
}; |
|||
// skip to modes |
|||
enum SKIP_TO_MODES |
|||
{ |
|||
SKIP_TO_UNDEFINED = 0, |
|||
SKIP_TO_PREVIOUS_ALBUM, |
|||
SKIP_TO_NEXT_ALBUM, |
|||
SKIP_TO_PREVIOUS_ARTIST, |
|||
SKIP_TO_NEXT_ARTIST, |
|||
}; |
|||
= Specifying Zones = |
|||
Media Center [[#Playback|Core Commands]] are targeted to a specific playback zone by combining the command's parameter value with the zone specifier value from the '''Zone Specifiers''' table. MC zones are integer indexes, from 0 to n, where 0 is the the first local zone, 1 is the second local zone, and so on. Remote zones, such as those for DLNA devices, will not be contiguous with local zones. A list of zones can be obtained using the MCWS command: |
|||
: <nowiki>http://<server IP>:52199/MCWS/v1/Playback/Zones</nowiki> |
|||
MC version 16.0.118 has simplified command line specification of parameter and zone, eliminating the need for manual calculations prior to usage. The '''/MCC''' option now accepts an alternate syntax in the format of <tt>''[value]'':''[zone index]''</tt> for the parameter (see examples). The text that follows documents and describes the original (and still valid) specification, which would be used when issuing an '''MCC''' command through a mechanism other than the '''MC18.exe''' command. |
|||
{| border="1" cellpadding="3" cellspacing="0" align="right" style="text-align:right;" |
|||
|+ align="bottom" |''Zone Specifiers'' |
|||
! Zone !! Decimal !! Hexidecimal |
|||
|- |
|||
|Current || 0 || 0x00000000 |
|||
|- |
|||
|0 || 16777216 || 0x01000000 |
|||
|- |
|||
|1 || 33554432 || 0x02000000 |
|||
|- |
|||
|2 || 50331648 || 0x03000000 |
|||
|- |
|||
|3 || 67108864 || 0x04000000 |
|||
|- |
|||
|4 || 83886080 || 0x05000000 |
|||
|- |
|||
|5 || 100663296 || 0x06000000 |
|||
|- |
|||
|... || ... || ... |
|||
|- |
|||
|30 || 260046848 || 0x1F000000 |
|||
|- |
|||
|31 || 520093696 || 0x20000000 |
|||
|} |
|||
Technically speaking, the command's parameter is OR'd with the zone specifier value, where bits 0 - 23 specify the command parameter, and bits 24 - 29 specify the zone. For command line usage, the final parameter value to pass to Media Center can be calculated as follows: |
|||
*If the parameter is >= 0, the final value = zone specifier + parameter |
|||
*If the parameter is < 0, the final value = zone specifier + parameter + 16777216 |
|||
Examples |
|||
* Increase volume to 25% for Zone 2 (new parameter specification available starting with MC 16.0.118) |
|||
** '''MC18.exe /MCC 10020,25:2''' |
|||
* Increase volume to 25% for Zone 2 |
|||
**The MCC_VOLUME_SET command has command number 10020 |
|||
**The desired parameter value is 25 |
|||
**Zone 2 in the Zone Specifier table indicates a value of 50331648 (0x03000000 hex) |
|||
**Zone specifier (50331648) + parameter value (25) = 50331673 (0x3000019 hex) |
|||
* Toggle pause for Zone 3 |
|||
**The MCC_SET_PAUSE command has command number 10022 |
|||
**The desired parameter value is -1 (toggles) |
|||
**Zone 3 in the Zone Specifier table indicates a value of 67108864 (0x04000000 hex) |
|||
**Zone specifier (67108864) + parameter value (-1) + 16777216 = 83886079 (0x4FFFFFF hex) |
|||
Notes |
|||
* When bit 32 is set, the zone portion is ignored, and Media Center assumes the parameter is a negative number. |
|||
* See the [[#Helper_Macros|C++ macros]] below for more information. |
|||
The look-up table below shows some pre-calculated parameter values for each of zones 0 through 5 for some typical commands. Find the desired operation, command and command number, and select the cell under the desired zone to obtain the final parameter value. |
|||
<!-- Notice --> |
|||
<!-- The table below has been programmatically auto-generated. --> |
|||
<!-- ****** --> |
|||
{| border="1" cellpadding="2" cellspacing="0" align="center" width="90%" |
|||
|+ align="bottom" |''Example commands / parameter / zone look-up table'' |
|||
! Operation !! MCC Command !! Command<br /> Number !! Parameter<br />Value !! Zone 0 !! Zone 1 !! Zone 2 !! Zone 3 !! Zone 4 !! Zone 5 |
|||
|- |
|||
| Play / Pause || MCC_PLAY_PAUSE || align="center" | 10000 || align="right" | 0 || align="right" | 16777216 || align="right" | 33554432 || align="right" | 50331648 || align="right" | 67108864 || align="right" | 83886080 || align="right" | 100663296 |
|||
|- |
|||
| Play track from start || MCC_PLAY || align="center" | 10001 || align="right" | 0 || align="right" | 16777216 || align="right" | 33554432 || align="right" | 50331648 || align="right" | 67108864 || align="right" | 83886080 || align="right" | 100663296 |
|||
|- |
|||
| Stop || MCC_STOP || align="center" | 10002 || align="right" | 0 || align="right" | 16777216 || align="right" | 33554432 || align="right" | 50331648 || align="right" | 67108864 || align="right" | 83886080 || align="right" | 100663296 |
|||
|- |
|||
| Next || MCC_NEXT || align="center" | 10003 || align="right" | 0 || align="right" | 16777216 || align="right" | 33554432 || align="right" | 50331648 || align="right" | 67108864 || align="right" | 83886080 || align="right" | 100663296 |
|||
|- |
|||
| Previous || MCC_PREVIOUS || align="center" | 10004 || align="right" | 0 || align="right" | 16777216 || align="right" | 33554432 || align="right" | 50331648 || align="right" | 67108864 || align="right" | 83886080 || align="right" | 100663296 |
|||
|- |
|||
| Toggle shuffle mode || MCC_SHUFFLE || align="center" | 10005 || align="right" | 0 || align="right" | 16777216 || align="right" | 33554432 || align="right" | 50331648 || align="right" | 67108864 || align="right" | 83886080 || align="right" | 100663296 |
|||
|- |
|||
| Shuffle - jump to PN || MCC_SHUFFLE || align="center" | 10005 || align="right" | 1 || align="right" | 16777217 || align="right" | 33554433 || align="right" | 50331649 || align="right" | 67108865 || align="right" | 83886081 || align="right" | 100663297 |
|||
|- |
|||
| Shuffle - no jump to PN || MCC_SHUFFLE || align="center" | 10005 || align="right" | 2 || align="right" | 16777218 || align="right" | 33554434 || align="right" | 50331650 || align="right" | 67108866 || align="right" | 83886082 || align="right" | 100663298 |
|||
|- |
|||
| Toggle continuous mode || MCC_CONTINUOUS || align="center" | 10006 || align="right" | 0 || align="right" | 16777216 || align="right" | 33554432 || align="right" | 50331648 || align="right" | 67108864 || align="right" | 83886080 || align="right" | 100663296 |
|||
|- |
|||
| FF || MCC_FAST_FORWARD || align="center" | 10008 || align="right" | 0 || align="right" | 16777216 || align="right" | 33554432 || align="right" | 50331648 || align="right" | 67108864 || align="right" | 83886080 || align="right" | 100663296 |
|||
|- |
|||
| Rew || MCC_REWIND || align="center" | 10009 || align="right" | 0 || align="right" | 16777216 || align="right" | 33554432 || align="right" | 50331648 || align="right" | 67108864 || align="right" | 83886080 || align="right" | 100663296 |
|||
|- |
|||
| Play sequence # || MCC_PLAY_CPLDB_INDEX || align="center" | 10015 || align="right" | 0 || align="right" | 16777216 || align="right" | 33554432 || align="right" | 50331648 || align="right" | 67108864 || align="right" | 83886080 || align="right" | 100663296 |
|||
|- |
|||
| Mute || MCC_VOLUME_MUTE || align="center" | 10017 || align="right" | 0 || align="right" | 16777216 || align="right" | 33554432 || align="right" | 50331648 || align="right" | 67108864 || align="right" | 83886080 || align="right" | 100663296 |
|||
|- |
|||
| Vol +5 || MCC_VOLUME_UP || align="center" | 10018 || align="right" | 5 || align="right" | 16777221 || align="right" | 33554437 || align="right" | 50331653 || align="right" | 67108869 || align="right" | 83886085 || align="right" | 100663301 |
|||
|- |
|||
| Vol -5 || MCC_VOLUME_DOWN || align="center" | 10019 || align="right" | 5 || align="right" | 16777221 || align="right" | 33554437 || align="right" | 50331653 || align="right" | 67108869 || align="right" | 83886085 || align="right" | 100663301 |
|||
|- |
|||
| Vol 0 || MCC_VOLUME_SET || align="center" | 10020 || align="right" | 0 || align="right" | 16777216 || align="right" | 33554432 || align="right" | 50331648 || align="right" | 67108864 || align="right" | 83886080 || align="right" | 100663296 |
|||
|- |
|||
| Vol 25 || MCC_VOLUME_SET || align="center" | 10020 || align="right" | 25 || align="right" | 16777241 || align="right" | 33554457 || align="right" | 50331673 || align="right" | 67108889 || align="right" | 83886105 || align="right" | 100663321 |
|||
|- |
|||
| Vol 50 || MCC_VOLUME_SET || align="center" | 10020 || align="right" | 50 || align="right" | 16777266 || align="right" | 33554482 || align="right" | 50331698 || align="right" | 67108914 || align="right" | 83886130 || align="right" | 100663346 |
|||
|- |
|||
| Vol 75 || MCC_VOLUME_SET || align="center" | 10020 || align="right" | 75 || align="right" | 16777291 || align="right" | 33554507 || align="right" | 50331723 || align="right" | 67108939 || align="right" | 83886155 || align="right" | 100663371 |
|||
|- |
|||
| Vol 100 || MCC_VOLUME_SET || align="center" | 10020 || align="right" | 100 || align="right" | 16777316 || align="right" | 33554532 || align="right" | 50331748 || align="right" | 67108964 || align="right" | 83886180 || align="right" | 100663396 |
|||
|- |
|||
| Toggle pause || MCC_SET_PAUSE || align="center" | 10022 || align="right" | -1 || align="right" | 33554431 || align="right" | 50331647 || align="right" | 67108863 || align="right" | 83886079 || align="right" | 100663295 || align="right" | 117440511 |
|||
|- |
|||
| Rating clear || MCC_SET_CURRENTLY_PLAYING_RATING || align="center" | 10023 || align="right" | 0 || align="right" | 16777216 || align="right" | 33554432 || align="right" | 50331648 || align="right" | 67108864 || align="right" | 83886080 || align="right" | 100663296 |
|||
|- |
|||
| Rating 1 || MCC_SET_CURRENTLY_PLAYING_RATING || align="center" | 10023 || align="right" | 1 || align="right" | 16777217 || align="right" | 33554433 || align="right" | 50331649 || align="right" | 67108865 || align="right" | 83886081 || align="right" | 100663297 |
|||
|- |
|||
| Rating 2 || MCC_SET_CURRENTLY_PLAYING_RATING || align="center" | 10023 || align="right" | 2 || align="right" | 16777218 || align="right" | 33554434 || align="right" | 50331650 || align="right" | 67108866 || align="right" | 83886082 || align="right" | 100663298 |
|||
|- |
|||
| Rating 3 || MCC_SET_CURRENTLY_PLAYING_RATING || align="center" | 10023 || align="right" | 3 || align="right" | 16777219 || align="right" | 33554435 || align="right" | 50331651 || align="right" | 67108867 || align="right" | 83886083 || align="right" | 100663299 |
|||
|- |
|||
| Rating 4 || MCC_SET_CURRENTLY_PLAYING_RATING || align="center" | 10023 || align="right" | 4 || align="right" | 16777220 || align="right" | 33554436 || align="right" | 50331652 || align="right" | 67108868 || align="right" | 83886084 || align="right" | 100663300 |
|||
|- |
|||
| Rating 5 || MCC_SET_CURRENTLY_PLAYING_RATING || align="center" | 10023 || align="right" | 5 || align="right" | 16777221 || align="right" | 33554437 || align="right" | 50331653 || align="right" | 67108869 || align="right" | 83886085 || align="right" | 100663301 |
|||
|} |
|||
[[Category:Developer]] |
|||
// get selection modes |
|||
enum GET_SELECTION_MODES |
|||
{ |
|||
GET_SELECTION_EXACT, |
|||
GET_SELECTION_ALL_ON_NONE, |
|||
GET_SELECTION_ALL_ON_ONE_OR_NONE, |
|||
GET_SELECTION_ALL, |
|||
}; |
Revision as of 16:53, 21 May 2024
- See also: DevZone
MC Core Commands are used to control various aspects of Media Center via software or command line. Each command consists of a name (or number), followed by an optional parameter which selects or specifies the particular command behavior.
The full, C++ header is available here: JRiver Media Core Commands Header File
Notes
- Save the MCCommands.h file to your hard drive to avoid potential line break issues.
- Commands have changed over time; use the Wiki's page history to see previous versions of this page. Some commands may only work with the latest version of Media Center.
How To Issue Media Core Commands
Look up the command name / number and its parameter in the tables below. For example, the command to toggle between play and pause is MCC_PLAY_PAUSE. It has command number (enum value) 10000 and its accompanying parameter is ignored. Some MCC commands may be targeted a particular Zone - see Specifying Zones.
Issuing a command from the command line
Assuming you are familiar with the first section of The Command Line, the general syntax for issuing an MCC command from the Windows command line (or equivalent) is:
MC<version>.exe /MCC <command number>,<parameter>
Note: Command numbers must be used; command names are not used on the command line.
Example: To toggle between play and pause in MC16, use the command:
MC18.exe /MCC 10000,0
Note: The MCC commands can be entered in Vista and Windows 7 directly into Search Files and Programs under the Windows Start menu, or as commands in a Windows command shell, which can be launched in Vista and Windows 7 by entering cmd.exe in Search Files and Programs under the Windows Start menu. It is available under the Accessories menu as Command Prompt in previous versions of Windows.
On Mac:
/Applications/Media\ Center\ <version>.app/Contents/MacOS/Launcher.app/Contents/MacOS/Launcher /MCC <command number>,<parameter>
On Linux:
/usr/lib/jriver/MC<version>/mc<version> /MCC <command number>,<parameter>
Issuing a command from C++
The calling syntax for posting a WM_MC_COMMAND -based message to the MC frame is demonstrated in the example below.
Example: To post a command to toggle between play and pause
HWND hwndMC = FindWindow(_T("MJFrame"), NULL); PostMessage(hwndMC, WM_MC_COMMAND, MCC_PLAY_PAUSE, 0);
Notes on usage
- Use command numbers when calling from the command line, enum names from within software (e.g. MCC_PLAY_PAUSE).
- Set parameter to 0 if unused.
MC Commands
The MCC commands table and defines below were auto-generated on 2014-06-09 from the latest MCCommands.h (19.0.138) file posted above.
MC Commands Table
Playback
Range: 10,000 to 20,000
Note: See Specifying Zones to learn about issuing commands to a specific Zone.
Enum | Command | Parameter |
---|---|---|
10000 | MCC_PLAY_PAUSE | ignore |
10001 | MCC_PLAY | ignore |
10002 | MCC_STOP | bool bDisplayError |
10003 | MCC_NEXT | int nFlags (1: bNotActualNext, 2: bNoChapters) |
10004 | MCC_PREVIOUS | int nFlags (1: reserved, 2: bNoChapters, 4: no seek to beginning) |
10005 | MCC_SHUFFLE | 0: toggle shuffle mode; 1: shuffle, jump to PN; 2: shuffle, no jump; 3: off; 4: on; 5:automatic |
10006 | MCC_CONTINUOUS | 0: toggle continuous; 1: off; 2: playlist; 3: song; 4: stop after each |
10007 | MCC_OBSOLETE_10007 | ignore |
10008 | MCC_FAST_FORWARD | int nRate |
10009 | MCC_REWIND | int nRate |
10010 | MCC_STOP_CONDITIONAL | ignore |
10011 | MCC_SET_ZONE | int nZoneIndex (-1 toggles forward, -2 toggles backwards) |
10012 | MCC_TOGGLE_DISPLAY | bool bExcludeTheaterView |
10013 | MCC_SHOW_WINDOW | bool bJumpToPlayingNow |
10014 | MCC_MINIMIZE_WINDOW | ignore |
10015 | MCC_PLAY_CPLDB_INDEX | int nIndex |
10016 | MCC_SHOW_DSP_STUDIO | ignore |
10017 | MCC_VOLUME_MUTE | 0: toggle; 1: mute; 2: unmute |
10018 | MCC_VOLUME_UP | int nDeltaPercent |
10019 | MCC_VOLUME_DOWN | int nDeltaPercent |
10020 | MCC_VOLUME_SET | int nPercent |
10021 | MCC_SHOW_PLAYBACK_OPTIONS | ignore |
10022 | MCC_SET_PAUSE | bool bPause (-1 toggles) |
10023 | MCC_SET_CURRENTLY_PLAYING_RATING | int nRating (1 through 5; 0 clears, but see here.) |
10024 | MCC_SHOW_PLAYBACK_ENGINE_MENU | screen point (loword: x, hiword: y) -- must send directly |
10025 | MCC_PLAY_NEXT_PLAYLIST | ignore |
10026 | MCC_PLAY_PREVIOUS_PLAYLIST | ignore |
10027 | MCC_MAXIMIZE_WINDOW | ignore |
10028 | MCC_RESTORE_WINDOW | ignore |
10029 | MCC_SET_PLAYERSTATUS | PLAYER_STATUS_CODES Code |
10030 | MCC_SET_ALTERNATE_PLAYBACK_SETTINGS | bool bAlternateSettings (-1 toggles) |
10031 | MCC_SET_PREVIEW_MODE_SETTINGS | low 12 bits: int nDurationSeconds, high 12 bits: int nStartSeconds |
10032 | MCC_SHOW_PLAYBACK_ENGINE_DISPLAY_PLUGIN_MENU | screen point (loword: x, hiword: y) -- must send directly |
10033 | MCC_DVD_MENU | ignore |
10034 | MCC_SEEK_FORWARD | int nMilliseconds (0 means default -- varies depending on playback type) |
10035 | MCC_SEEK_BACK | int nMilliseconds (0 means default -- varies depending on playback type) |
10036 | MCC_STOP_AFTER_CURRENT_FILE | bool bStopAfterCurrentFile (-1 toggles) |
10037 | MCC_DETACH_DISPLAY | bool bDetach (-1 toggles) |
10038 | MCC_SET_MODE_ZONE_SPECIFIC | UI_MODES mode |
10039 | MCC_STOP_INTERNAL | ignore |
10040 | MCC_PLAYING_NOW_REMOVE_DUPLICATES | ignore |
10041 | MCC_SHUFFLE_REMAINING | ignore |
10042 | MCC_PLAY_FIRST_FILE | ignore |
10043 | MCC_PLAY_LAST_FILE | ignore |
10044 | MCC_PLAY_FILE_BY_STRING | BSTR bstrFile (deleted by receiver) |
10045 | MCC_PLAY_FILE_AGAIN | ignore |
10046 | MCC_HANDLE_PLAYBACK_ERROR | ignore |
10047 | MCC_PLAY_AUTOMATIC_PLAYLIST | BSTR bstrSeed (deleted by receiver) |
10048 | MCC_SEEK | int nPositionMilliseconds |
10049 | MCC_CLEAR_PLAYING_NOW_ZONE_SPECIFIC | 0: all files; 1: leave playing file |
10050 | MCC_PLAY_RADIO_LAST_FM | ignore |
10051 | MCC_SHOW_ON_SCREEN_DISPLAY | 0: position bar |
10052 | MCC_SET_SUBTITLES | int nIndex (-1 toggles forward, -2 toggles backwards) |
10053 | MCC_SET_AUDIO_STREAM | int nIndex (-1 toggles forward, -2 toggles backwards) |
10054 | MCC_SET_VIDEO_STREAM | int nIndex (-1 toggles forward, -2 toggles backwards) |
10055 | MCC_VIDEO_SCREEN_GRAB | 0: use as thumbnail; 1: save as external file |
10056 | MCC_SET_VOLUME_MODE | int nMode (internal type EPlaybackVolumeModes) (0: application, 1: internal; 2: system; 3: disabled) |
10057 | MCC_RESTART_PLAYBACK | ignore |
10058 | MCC_ZONE_SWITCH | ignore |
10059 | MCC_SKIP_TO | SKIP_TO_MODES Mode |
10060 | MCC_LINK_ZONE | int nZoneID |
10061 | MCC_UNLINK_ZONE | ignore |
10062 | MCC_PLAY_RADIO_MEDIANET | ignore |
10063 | MCC_CLEAR_PLAYED_ZONE_SPECIFIC | ignore |
10064 | MCC_PLAY_LAST_TV_CHANNEL | ignore |
10065 | MCC_BLURAY_POPUP_MENU | ignore |
10066 | MCC_PLAY_SYNCED_CPLDB_INDEX | int nIndex |
10067 | MCC_STOP_AFTER_DELAY | int nMinutes (negative value for hard stop) |
10068 | MCC_STOP_AFTER_TRACKS | int nNumberTracks (negative one to reset) |
10069 | MCC_PLAY_SELECTED | 0: play replace, 1: append, 2: play next |
10070 | MCC_PLAY_AUTO_PLAYLIST_CLOUD | BSTR: seed |
10071 | MCC_CLEAR_REMAINING_ZONE_SPECIFIC | ignore |
10072 | MCC_SEEK_PERCENT | int nPercent |
10073 | MCC_SHUFFLE_ALBUMS | ignore |
10074 | MCC_JRVR_PROFILE_OUTPUT | Profile ID (-1: Default Profile, -2: Auto Select Profile) |
10075 | MCC_JRVR_PROFILE_SCALING | Profile ID (-1: Default Profile, -2: Auto Select Profile) |
10076 | MCC_JRVR_PROFILE_FILTERING | Profile ID (-1: Default Profile, -2: Auto Select Profile) |
10077 | MCC_JRVR_PROFILE_ADVANCED | Profile ID (-1: Default Profile, -2: Auto Select Profile) |
File
Range: 20,000 to 21,000
Enum | Command | Parameter |
---|---|---|
20000 | MCC_OPEN_FILE | ignore |
20001 | MCC_OPEN_URL | ignore |
20002 | MCC_PRINT_LIST | ignore |
20003 | MCC_EXPORT_PLAYLIST | int nPlaylistID (-1 for active view) |
20004 | MCC_EXPORT_ALL_PLAYLISTS | bool bSilent |
20005 | MCC_UPLOAD_FILES | ignore |
20006 | MCC_EMAIL_FILES | ignore |
20007 | MCC_EXIT | int nMode (0: normal, 1: force close (close media server), 2: force close (allow media server)) |
20008 | MCC_UPDATE_LIBRARY | ignore |
20009 | MCC_CLEAR_LIBRARY | ignore |
20010 | MCC_EXPORT_LIBRARY | ignore |
20011 | MCC_BACKUP_LIBRARY | int nMode (0: normal, 1: silent automatic backup) |
20012 | MCC_RESTORE_LIBRARY | ignore |
20013 | MCC_LIBRARY_MANAGER | ignore |
20014 | MCC_IMAGE_ACQUIRE | ignore |
20015 | MCC_PRINT_IMAGES | MFKEY nKey (-1 for selected files) |
20016 | MCC_PRINT | ignore |
20017 | MCC_OBSOLETE_20017 | ignore |
20018 | MCC_OBSOLETE_20018 | ignore |
20019 | MCC_OBSOLETE_20019 | ignore |
20020 | MCC_OBSOLETE_20020 | ignore |
20021 | MCC_OBSOLETE_20021 | ignore |
20022 | MCC_OBSOLETE_20022 | ignore |
20023 | MCC_OBSOLETE_20023 | ignore |
20024 | MCC_IMPORT_PLAYLIST | ignore |
20025 | MCC_LOAD_LIBRARY | int nLibraryIndex |
20026 | MCC_SYNC_LIBRARY | ignore |
20027 | MCC_EMAIL_PODCAST_FEED | ignore |
20028 | MCC_LOAD_LIBRARY_READ_ONLY | int nLibraryIndex |
20029 | MCC_ADD_LIBRARY | ignore |
20030 | MCC_EXPORT_ITUNES | ignore |
20031 | MCC_DISCONNECT_LIBRARY | ignore |
20032 | MCC_SYNC_WITH_LIBRARY_SERVER | bool bSilent |
20033 | MCC_STOP_ALL_ZONES | bool bStopRemoteZones |
20034 | MCC_CLONE_LIBRARY | int nLibraryIndex |
20035 | MCC_OPEN_LIVE | ignore |
20036 | MCC_PLAY_RADIO_PARADISE | ignore |
20037 | MCC_IMPORT_ITUNES | ignore |
20038 | MCC_PLAY_RADIO_JRIVER | int nStationNumber |
20039 | MCC_EXPORT_ALL_TO_ITUNES | ignore |
20040 | MCC_IMPORT_ITUNES_DATABASE | ignore |
20041 | MCC_SET_CROSS_PLATFORM_RULES | ignore |
20042 | MCC_DOWNLOAD_FROM_LIBRARY_SERVER | ignore |
Edit
Range: 21,000 to 22,000
Enum | Command | Parameter |
---|---|---|
21000 | MCC_COPY | ignore |
21001 | MCC_PASTE | ignore |
21002 | MCC_SELECT_ALL | ignore |
21003 | MCC_SELECT_INVERT | ignore |
21004 | MCC_DELETE | bool bAggressive |
21005 | MCC_RENAME | ignore |
21006 | MCC_UNDO | ignore |
21007 | MCC_REDO | ignore |
21008 | MCC_QUICK_SEARCH | bool bRepeatLastSearch |
21009 | MCC_ADD_PLAYLIST | MEDIAFILE_INFO_ARRAY * paryFiles = NULL |
21010 | MCC_ADD_SMARTLIST | ignore |
21011 | MCC_ADD_PLAYLIST_GROUP | ignore |
21012 | MCC_PROPERTIES | MEDIAFILE_INFO_ARRAY * paryFiles = NULL (-1 toggles) (note: never PostMessage(...) a pointer) |
21013 | MCC_TOGGLE_TAGGING_MODE | ignore |
21014 | MCC_CUT | ignore |
21015 | MCC_DESELECT_ALL | ignore |
21016 | MCC_DELETE_ALL | bool bAggressive |
21017 | MCC_ADD_PODCAST_FEED | ignore |
21018 | MCC_EDIT_PODCAST_FEED | ignore |
21019 | MCC_ADD_PODCAST_DEFAULTS | ignore |
21020 | MCC_CREATE_STOCK_SMARTLISTS | ignore |
21021 | MCC_ENABLE_PODCAST_DOWNLOAD | ignore |
21022 | MCC_DISABLE_PODCAST_DOWNLOAD | ignore |
21023 | MCC_EDIT_PLAYLIST | ignore |
21024 | MCC_EDIT_PLAYING_NOW | int nZoneID |
21025 | MCC_EDIT_DISC_INFORMATION | ignore |
21026 | MCC_EDIT_SMARTLIST | int nPlaylistID |
21027 | MCC_REFRESH_PODCAST_FEED | ignore |
21028 | MCC_LOOKUP_MOVIE_INFORMATION | ignore |
21029 | MCC_ADD_ZONE | ignore |
21030 | MCC_ADD_AUTOMATIC_PLAYLIST | ignore |
21031 | MCC_SET_WRITE_TAGS | bool bWriteTags (-1 toggles) |
21032 | MCC_PASTE_TAGS | ignore |
21033 | MCC_SHUFFLE_SELECTION | ignore |
21034 | MCC_CLOSE_QUICK_SEARCH | ignore |
21035 | MCC_ADD_ZONE_GROUP | ignore |
21036 | MCC_COMBINE | int nPlaylistID |
21037 | MCC_ADD_DYNAMIC_ZONE | ignore |
21038 | MCC_PLAYLIST_SEARCH | ignore |
View
Range: 22,000 to 23,000
Enum | Command | Parameter |
---|---|---|
22000 | MCC_TOGGLE_MODE | UI_MODES mode |
22001 | MCC_THEATER_VIEW | 0: Toggle, 1: Home, 2: Playing Now, 3: Audio, 4: Images, 5: Video, 6: Playlists, 7: CD & DVD, 8: TV, 9: TV Guide, 10: TV Recordings |
22002 | MCC_PARTY_MODE | ignore |
22003 | MCC_SHOW_TREE_ROOT | -1: Toggle, 0: Hide, 1: Show |
22004 | MCC_FIND_MEDIA | wchar * pstrSearch (note: memory will be deleted by receiver) |
22005 | MCC_BACK | int nLevels (0 does 1 level) |
22006 | MCC_FORWARD | int nLevels (0 does 1 level) |
22007 | MCC_REFRESH | int nFlags (1: no webpage refresh) |
22008 | MCC_SET_LIST_STYLE | int nListStyle (-1 toggles) |
22009 | MCC_SET_MODE | UI_MODES mode |
22010 | MCC_OBSOLETE_22010 | ignore |
22011 | MCC_OBSOLETE_22011 | ignore |
22012 | MCC_SHOW_RECENTLYIMPORTED | ignore |
22013 | MCC_SHOW_TOPHITS | ignore |
22014 | MCC_SHOW_RECENTLYPLAYED | ignore |
22015 | MCC_SET_MEDIA_MODE | int nMediaMode |
22016 | MCC_OBSOLETE_22016 | ignore |
22017 | MCC_SET_SERVER_MODE | bool bServerMode |
22018 | MCC_SET_MODE_FOR_EXTERNAL_PROGRAM_LAUNCH | int nType (0: starting external app, 1: ending external app) |
22019 | MCC_SET_MODE_FOR_SECOND_INSTANCE_LAUNCH | UI_MODES mode |
22020 | MCC_HOME | ignore |
22021 | MCC_ROLLUP_VIEW_HEADER | bool bRollup (-1: toggle) |
22022 | MCC_FOCUS_SEARCH_CONTROL | ignore |
22023 | MCC_SET_ACTIVE_VIEW_KEY | int nViewKey (-1: toggle, -2: toggle backwards, -3: new view) |
22024 | MCC_CLOSE_VIEW_KEY | int nViewKey (-1: current view) |
22025 | MCC_VIEW_ZOOM_SET | int nZoomPercentage |
22026 | MCC_VIEW_ZOOM_INCREMENT | int nZoomDeltaPercentage |
22027 | MCC_FIND_MEDIA_WITH_WIZARD | ignore |
22028 | MCC_SET_USER | int nUserId |
22029 | MCC_SHOW_TREE | bool bShowTree (-1 toggles) |
22030 | MCC_SET_TOOLTIPS | bool bTooltips (-1 toggles) |
22031 | MCC_AUDIO_ONLY_MODE | bool bAudioOnlyMode (-1 toggles) |
22032 | MCC_SHOW_SHARED_PLAYLISTS | ignore |
22033 | MCC_SET_ZONE_VISIBLE | ignore |
22034 | MCC_SHOW_PLAYING_FILE | int nFlags (1: no force; 2: only do Playing Now) |
22035 | MCC_F11 | ignore |
22036 | MCC_SHOW_PLAYLIST | int nPlaylistID |
22037 | MCC_SPLIT_VIEW_TOGGLE | ignore |
22038 | MCC_SHOW_PLAYERBAR | ignore |
22039 | MCC_SET_PLAYERBAR_ALTERNATE_TEXT | bool bValue (-1 toggles) |
22040 | MCC_LOCK_TAB | bool bValue (-1 toggles) |
22041 | MCC_SHOW_SPOTLIGHT | int nType (0: current file, 1: current selection |
22042 | MCC_CLEAR_SEARCH_CONTROL | ignore |
22045 | MCC_SHOW_VIEW_HEADER_MENU | ignore |
Tools
Range: 23,000 to 24,000
50Enum | Command | Parameter |
---|---|---|
23000 | MCC_IMPORT | int nFlags (1: bDisableAlreadyRunningWarning, 2: bFirstImportMode) |
23001 | MCC_RIP_CD | ignore |
23002 | MCC_BURN | ignore |
23003 | MCC_RECORD_AUDIO | ignore |
23004 | MCC_CONVERT | ignore |
23005 | MCC_ANALYZE_AUDIO | ignore |
23006 | MCC_MEDIA_EDITOR | ignore |
23007 | MCC_CD_LABELER | ignore |
23008 | MCC_OBSOLETE_23008 | ignore |
23009 | MCC_OBSOLETE_23009 | ignore |
23010 | MCC_SKIN_MANAGER | ignore |
23011 | MCC_OPTIONS | int nPageID |
23012 | MCC_RENAME_CD_FILES | ignore |
23013 | MCC_OBSOLETE_23013 | ignore |
23014 | MCC_OBSOLETE_23014 | ignore |
23015 | MCC_HANDHELD_UPLOAD | loword: nDeviceSessionID (0 gets default), hiword: flags (1: sync only; 2: show warnings) |
23016 | MCC_HANDHELD_UPDATE_UPLOAD_WORKER_FINISHED | int nDeviceSessionID |
23017 | MCC_HANDHELD_CLOSE_DEVICE | int nDeviceSessionID |
23018 | MCC_HANDHELD_SHOW_OPTIONS | int nDeviceSessionID |
23019 | MCC_HANDHELD_INFO_DUMP | bool bShowInfo |
23020 | MCC_IMPORT_AUTO_RUN_NOW | bool bSilent |
23021 | MCC_IMPORT_AUTO_CONFIGURE | ignore |
23022 | MCC_HANDHELD_EJECT | int nDeviceSessionID |
23023 | MCC_RECORD_TV | ignore |
23024 | MCC_FIND_AND_REPLACE | ignore |
23025 | MCC_CLEAN_PROPERTIES | ignore |
23026 | MCC_FILL_TRACK_ORDER | ignore |
23027 | MCC_MOVE_COPY_FIELDS | ignore |
23028 | MCC_REMOVE_TAGS | ignore |
23029 | MCC_UPDATE_TAGS_FROM_DB | ignore |
23030 | MCC_UPDATE_DB_FROM_TAGS | ignore |
23031 | MCC_LOOKUP_TRACK_INFO_FROM_INTERNET | ignore |
23032 | MCC_SUBMIT_TRACK_INFO_TO_INTERNET | ignore |
23033 | MCC_OBSOLETE_23033 | ignore |
23034 | MCC_FILL_PROPERTIES_FROM_FILENAME | ignore |
23035 | MCC_RENAME_FILES_FROM_PROPERTIES | ignore |
23036 | MCC_COVER_ART_ADD_FROM_FILE | ignore |
23037 | MCC_COVER_ART_QUICK_ADD_FROM_FILE | ignore |
23038 | MCC_COVER_ART_GET_FROM_INTERNET | ignore |
23039 | MCC_COVER_ART_SUBMIT_TO_INTERNET | ignore |
23040 | MCC_COVER_ART_GET_FROM_SCANNER | ignore |
23041 | MCC_COVER_ART_SELECT_SCANNER | ignore |
23042 | MCC_COVER_ART_GET_FROM_CLIPBOARD | ignore |
23043 | MCC_COVER_ART_COPY_TO_CLIPBOARD | ignore |
23044 | MCC_COVER_ART_REMOVE | ignore |
23045 | MCC_COVER_ART_PLAY | ignore |
23046 | MCC_COVER_ART_SAVE_TO_EXTERNAL_FILE | ignore |
23047 | MCC_COVER_ART_REBUILD_THUMBNAIL | ignore |
23048 | MCC_RINGTONE | ignore |
23049 | MCC_AUDIO_CALIBRATION | ignore |
23050 | MCC_MARK_PLAYED | ignore |
23051 | MCC_MARK_NOT_PLAYED | ignore |
23052 | MCC_LINK_TRACKS | ignore |
23053 | MCC_BREAK_TRACK_LINKS | ignore |
23054 | MCC_AB_COMPARISON | ignore |
23055 | MCC_COVER_ART_EDIT | ignore |
23056 | MCC_BUILD_MISSING_THUMBNAILS | ignore |
23057 | MCC_UPLOAD_TO_CLOUD | ignore |
23058 | MCC_LOOKUP_LYRICS | ignore |
23059 | MCC_COVER_ART_GET_ARTIST_IMAGES_FROM_LAST_FM | ignore |
23060 | MCC_COVER_ART_GET_COMPOSER_IMAGES_FROM_GOOGLE | ignore |
23061 | MCC_LOOKUP_DATE | ignore |
23062 | MCC_LOCK_PLAYLIST | int nPlaylistID |
23063 | MCC_UNLOCK_PLAYLIST | int nPlaylistID |
23064 | MCC_GET_SHARING_URL | ignore |
23065 | MCC_UNSHARE | ignore |
Help
Range: 24,000 to 25,000
Enum | Command | Parameter |
---|---|---|
24000 | MCC_HELP_CONTENTS | ignore |
24001 | MCC_HELP_HOWTO_IMPORT_FILES | ignore |
24002 | MCC_HELP_HOWTO_PLAY_FILES | ignore |
24003 | MCC_HELP_HOWTO_RIP | ignore |
24004 | MCC_HELP_HOWTO_BURN | ignore |
24005 | MCC_HELP_HOWTO_ORGANIZE_FILES | ignore |
24006 | MCC_HELP_HOWTO_VIEW_SCHEMES | ignore |
24007 | MCC_HELP_HOWTO_MANAGE_PLAYLISTS | ignore |
24008 | MCC_HELP_HOWTO_EDIT_PROPERTIES | ignore |
24009 | MCC_HELP_HOWTO_FIND | ignore |
24010 | MCC_HELP_HOWTO_CONFIGURE | ignore |
24011 | MCC_CHECK_FOR_UPDATES | ignore |
24012 | MCC_BUY | ignore |
24013 | MCC_INSTALL_LICENSE | ignore |
24014 | MCC_REGISTRATION_INFO | ignore |
24015 | MCC_PLUS_FEATURES | ignore |
24016 | MCC_INTERACT | ignore |
24017 | MCC_SYSTEM_INFO | ignore |
24018 | MCC_ABOUT | ignore |
24019 | MCC_CONFIGURE_DEBUG_LOGGING | ignore |
24020 | MCC_WIKI | ignore |
24021 | MCC_TEST | ignore |
24022 | MCC_SHOW_EULA | ignore |
24023 | MCC_BENCHMARK | ignore |
24024 | MCC_UPGRADE_TO_MASTER_LICENSE | ignore |
Tree
Range: 25,000 to 26,000
Enum | Command | Parameter |
---|---|---|
25000 | MCC_ADD_VIEW_SCHEME | ignore |
25001 | MCC_EDIT_VIEW_SCHEME | ignore |
25002 | MCC_OBSOLETE_25002 | ignore |
25003 | MCC_OBSOLETE_25003 | ignore |
25004 | MCC_OBSOLETE_25004 | ignore |
25005 | MCC_OBSOLETE_25005 | ignore |
25006 | MCC_OBSOLETE_25006 | ignore |
25007 | MCC_OBSOLETE_25007 | ignore |
25008 | MCC_TREE_ADD_DIRECTORY | ignore |
25009 | MCC_TREE_IMPORT | ignore |
25010 | MCC_TREE_ADD_CD_FOLDER | ignore |
25011 | MCC_UPDATE_FROM_CD_DATABASE | ignore |
25012 | MCC_SUBMIT_TO_CD_DATABASE | ignore |
25013 | MCC_TREE_RIP | ignore |
25014 | MCC_CLEAR_PLAYING_NOW | 0: all files; 1: leave playing file |
25015 | MCC_COPY_LISTENING_TO | bool bPaste |
25016 | MCC_TREE_SET_EXPANDED | 0: collapsed; 1: expanded |
25017 | MCC_RESET_VIEW_SCHEMES | ignore |
25018 | MCC_TREE_ERASE_CD_DVD | ignore |
25019 | MCC_UPDATE_FROM_CDPLAYER_INI | ignore |
25020 | MCC_TREE_EJECT | ignore |
25021 | MCC_TREE_ADD_VIRTUAL_DEVICE | ignore |
25022 | MCC_TREE_RENAME_PLAYLIST | int nPlaylistID |
25023 | MCC_TWITTER_LISTENING_TO | ignore |
25024 | MCC_SCROBBLE_LISTENING_TO | ignore |
25025 | MCC_TREE_OPEN_DIRECTORY_IN_FILE_MANAGER | ignore |
List
Range: 26,000 to 27,000
Enum | Command | Parameter |
---|---|---|
26000 | MCC_LIST_UPDATE_ORDER | ignore |
26001 | MCC_LIST_SHUFFLE_ORDER | ignore |
26002 | MCC_LIST_IMPORT | ignore |
26003 | MCC_LIST_REMOVE_ORDER | ignore |
26004 | MCC_LOCATE_FILE | int nLocation (-1: on disk (internal); -2: on disk (external); 0-n: library field index) |
26005 | MCC_LIST_OBSOLETE_26005 | ignore |
26006 | MCC_LIST_INCREMENT_SELECTION | int nDelta |
26007 | MCC_LIST_REMOVE_DUPLICATES | ignore |
26008 | MCC_LIST_AUTO_SIZE_COLUMN | int nColumn, zero-based column index (-1: all) |
26009 | MCC_LIST_CUSTOMIZE_VIEW | ignore |
26010 | MCC_LIST_COPY_DISK_FILES | ignore |
26011 | MCC_LIST_SET_RIP_CHECK | 0: uncheck, 1: check, -1: toggle |
26012 | MCC_LIST_DOWNLOAD | ignore |
26013 | MCC_LIST_GET_LIST_POINTER | ignore |
26014 | MCC_LOCATE_STACK | ignore |
26015 | MCC_SET_AS_STACK_TOP | ignore |
26016 | MCC_EXPAND_STACK | ignore |
26017 | MCC_COLLAPSE_STACK | ignore |
26018 | MCC_AUTOSTACK | 0: by name, 1: artist, album, name, 2: Artist, Album, Track # and Name |
26019 | MCC_CHECK_STACKS | ignore |
26020 | MCC_STACK | int nZeroBasedSelection |
26021 | MCC_UNSTACK | ignore |
26022 | MCC_ADD_TO_STACK | ignore |
26023 | MCC_PANE_RESET_SELECTION | int nPaneIndex (-1 resets all) |
26024 | MCC_LIST_REMOVE_ALL | ignore |
26025 | MCC_LIST_LOCK | bool bLock (-1 toggles) |
26026 | MCC_PANE_SET_EXPANDED | loword: nPaneIndex, hiword: 0: collapsed; 1: expanded |
26031 | MCC_LIST_SEND_TO_PLAYING_NOW | SENDTO_PLAYING_NOW_TYPES Type |
26032 | MCC_LIST_SELECT_RANDOM | ignore |
System
Range: 27,000 to 28,000
Enum | Command | Parameter |
---|---|---|
27000 | MCC_KEYSTROKE | int nKeyCode |
27001 | MCC_SHUTDOWN | int nMode (0: shutdown; 1: sleep; 2: hibernate; 3: restart) (based on CSystemShutdown::EShutdownModes) |
Playback Engine
Range: 28,000 to 29,000
Enum | Command | Parameter |
---|---|---|
28000 | MCC_PLAYBACK_ENGINE_ZOOM_IN | ignore |
28001 | MCC_PLAYBACK_ENGINE_ZOOM_OUT | ignore |
28002 | MCC_PLAYBACK_ENGINE_UP | ignore |
28003 | MCC_PLAYBACK_ENGINE_DOWN | ignore |
28004 | MCC_PLAYBACK_ENGINE_LEFT | ignore |
28005 | MCC_PLAYBACK_ENGINE_RIGHT | ignore |
28006 | MCC_PLAYBACK_ENGINE_ENTER | ignore |
28007 | MCC_PLAYBACK_ENGINE_FIRST | ignore |
28008 | MCC_PLAYBACK_ENGINE_LAST | ignore |
28009 | MCC_PLAYBACK_ENGINE_NEXT | ignore |
28010 | MCC_PLAYBACK_ENGINE_PREVIOUS | ignore |
28011 | MCC_PLAYBACK_ENGINE_PAUSE | bool bPause (-1 toggles) |
28012 | MCC_IMAGE_PAN_AND_ZOOM | bool bPanAndZoom (-1 toggles) |
28013 | MCC_IMAGE_TOGGLE_EFFECT | int nDelta |
28014 | MCC_IMAGE_RAPID_ZOOM | int nRapidZoom |
28015 | MCC_DVD_SET_AUDIO_STREAM | int nAudioStream (-1 toggles) |
28016 | MCC_DVD_SHOW_MENU | ignore |
28017 | MCC_TV_RECORD | ignore |
28018 | MCC_TV_SNAPSHOT | ignore |
28019 | MCC_TV_CHANGE_STANDARD | ignore |
28020 | MCC_PLAYBACK_ENGINE_OSD_VIDEO_PROC_AMP | int nIndex (0 for brightness, 1 for contrast, etc. -1 cycles) |
28021 | MCC_PLAYBACK_ENGINE_SET_CUR_VIDEO_PROC_AMP | int nStep (... -2, -1, 1, 2, etc. 0 is invalid and will default to 1) |
28022 | MCC_PLAYBACK_ENGINE_SET_ASPECT_RATIO | -1: cycles; 0 - 8: selects individual Aspect Ratio Modes |
28023 | MCC_PLAYBACK_ENGINE_SCROLL_UP | ignore |
28024 | MCC_PLAYBACK_ENGINE_SCROLL_DOWN | ignore |
28025 | MCC_PLAYBACK_ENGINE_SCROLL_LEFT | ignore |
28026 | MCC_PLAYBACK_ENGINE_SCROLL_RIGHT | ignore |
28027 | MCC_TV_SET_SAVE_TIME_SHIFTING | int nSaveMode (0 - 6, -1 cycles by incrementing, -2 cycles by decrementing) |
28028 | MCC_PLAYBACK_ENGINE_ZOOM_TO_PRESET | int 0 to fit window, 1 for 100%, 2 for 200% |
28029 | MCC_TV_SCAN_PROGRAMMING_EVENTS | ignored |
28030 | MCC_TV_CHANGE_CHANNEL_KEY | int nKey |
28031 | MCC_TV_PLAY_CHANNEL_POSITION | int Playlist position |
28032 | MCC_PLAYBACK_ENGINE_SET_SUBTITLES | int nIndex (-1 toggles forward, -2 toggles backwards, -3 to browse for subtitles) |
28033 | MCC_PLAYBACK_ENGINE_SET_AUDIO_STREAM | int nIndex (-1 toggles forward, -2 toggles backwards) |
28034 | MCC_PLAYBACK_ENGINE_SET_VIDEO_STREAM | int nIndex (-1 toggles forward, -2 toggles backwards) |
28035 | MCC_PLAYBACK_ENGINE_VIDEO_SCREEN_GRAB | 0: use as thumbnail; 1: save as external file |
28036 | MCC_PLAYBACK_ENGINE_VIDEO_LIPSYNC | int nShiftMS |
28037 | MCC_PLAYBACK_ENGINE_SET_SUBTITLE_TIMING | int nChangeMS |
28038 | MCC_PLAYBACK_ENGINE_VIDEO_ZOOM | int nZoomAmount (100 is 1.0) |
28039 | MCC_IMAGE_SET_FOCUS | ignore |
25040 | MCC_STEP_FORWARD_FRAMES | int nNumOfFrames (0 is special and default when no parameter is passed - to the next Keyframe) |
28041 | MCC_STEP_BACK_FRAMES | int nNumOfFrames (0 is special and default when no parameter is passed - to the previous Keyframe) |
28042 | MCC_PLAYBACK_ENGINE_TOGGLE_COMSKIP | ignore |
28043 | MCC_PLAYBACK_ENGINE_HIDE_OSD | ignore |
28044 | MCC_PLAYBACK_ENGINE_VIDEO_LIPSYNC_ZONE | int nShiftMS, positive or negative increment, zero to reset to 0. Value is saved in zone setting |
28045 | MCC_BLURAY_SHOW_POPUP_MENU | ignore |
28046 | MCC_PLAYBACK_ENGINE_SETTINGS_CHANGED | ignore |
Other
Range: 30,000 to 31,000
Enum | Command | Parameter |
---|---|---|
30000 | MCC_RELOAD_MC_VIEW | ignore |
30001 | MCC_CUSTOMIZE_TOOLBAR | ignore |
30002 | MCC_PLAY_TV | int nChannelNumber, user assigned channel number |
30003 | MCC_UPDATE_WEBPAGES | ignore |
30004 | MCC_SHOW_RUNNING_MC | bool bToggleVisibility |
30005 | MCC_SHOW_MENU | int nMenuID |
30006 | MCC_TUNE_TV | ignore |
30007 | MCC_PLAY_PLAYLIST | int nPlaylistID |
30008 | MCC_SENDTO_TOOL | 0: labeler; 1: media editor; 2: default editor; 3: ftp upload; 4: email; 5 Menalto Gallery; 6 Web Gallery |
30009 | MCC_SHOW_VIEW_INFO | new CMCViewInfo * (for internal use only) |
30010 | MCC_OBSOLETE_30010 | ignore |
30011 | MCC_DEVICE_CHANGED | new DEVICE_CHANGE_INFO * (for internal use only) |
30012 | MCC_CONFIGURE_THEATER_VIEW | ignore |
30013 | MCC_SET_STATUSTEXT | BSTR bstrText (deleted by receiver) |
30014 | MCC_UPDATE_UI_AFTER_ACTIVE_WINDOW_CHANGE | ignore |
30015 | MCC_REENUM_PORTABLE_DEVICES | bool bDeviceConnected |
30016 | MCC_PLAY_ADVANCED | PLAY_COMMAND * pCommand (deleted by receiver) |
30017 | MCC_UPDATE_STATUS_BAR | ignore |
30018 | MCC_REQUEST_PODCAST_UPDATE | ignore |
30019 | MCC_REQUEST_PODCAST_PURGE | ignore |
30020 | MCC_OBSOLETE_30020 | ignore |
30021 | MCC_SHOW_INVALID_CD_VOLUME_WARNING | TCHAR cDriveLetter |
30022 | MCC_PLAY_TV_CHANNEL_FOR_CLIENT | the MFKEY key of the TV channel to be played |
30023 | MCC_STOP_SERVING_TV_FILE | CTVPlayer *: pointer to TVPlayer object serving the file |
30025 | MCC_SET_OSD_ENABLED | -1 toggles, 1 turns on, 0 turns off (/mcc 30025,-1) |
30026 | MCC_TOGGLE_THEATER_VIEW_GRIDS_CHANNEL_NAME | ignore |
30027 | MCC_PASTE_PLAYING_NOW_IMAGE_FROM_CLIPBOARD | int nZoneID |
30028 | MCC_SHOW_SERVER_PRESENTATION_WEBPAGE | int nDeviceSessionID |
30029 | MCC_PLAY_TRAILER | ignore |
30030 | MCC_MOVE_TAB | int nDelta |
30031 | MCC_CHECK_LOADED | ignore |
30032 | MCC_RELAUNCH_PROGRAM | ignore |
Image Tools
Range: 31,000 to 32,000
Enum | Command | Parameter |
---|---|---|
31000 | MCC_IMAGE_SET_DESKTOP_BACK | ignore |
31001 | MCC_IMAGE_ROTATE_LEFT | ignore |
31002 | MCC_IMAGE_ROTATE_RIGHT | ignore |
31003 | MCC_IMAGE_ROTATE_UPSIDEDOWN | ignore |
31004 | MCC_IMAGE_RESIZE | ignore |
31005 | MCC_IMAGE_EDIT | int nFileKey |
31006 | MCC_IMAGE_DELETE | int nFileKey |
31007 | MCC_IMAGE_PREVIEW_SHOW | ignore |
31008 | MCC_IMAGE_PREVIEW_HIDE | ignore |
31009 | MCC_IMAGE_LOCATE_ON_MAP | ignore |
Query
Range: 32,000 to 33,000
Enum | Command | Parameter |
---|---|---|
32000 | MCC_QUERY_UI_MODE | bool bInternalMode; Exit status is current UI_MODES |
32001 | MCC_QUERY_WEBPAGE_VIEW | ignore |
Commands
Range: 33,000 to 34,000
Note: These are used internally; standard routing.
Enum | Command | Parameter |
---|---|---|
33000 | MCC_GET_SELECTED_FILES | loword: GET_SELECTION_MODES Mode, hiword: short nFlags (1: for playback) |
33001 | MCC_PRINTVIEW | ignore |
33002 | MCC_OUTPUT | int nPlaylistID (-1 for active view) |
33003 | MCC_SETFOCUS | ignore |
33004 | MCC_SELECT_FILES | CMediaArray * |
33005 | MCC_DOUBLE_CLICK | ignore |
33006 | MCC_PLAY_OR_SHOW | ignore |
33007 | MCC_SHOW_CURRENT_FILE | int nFlags (1: force, 2: select) |
33008 | MCC_BUY_SELECTED_TRACKS | int nPurchaseFlags |
33009 | MCC_BUY_ALL_TRACKS | int nPurchaseFlags |
33010 | MCC_BUY_ALBUM | int nPurchaseFlags |
33011 | MCC_UPDATE_AFTER_PLUGIN_INSTALLED | ignore |
33012 | MCC_UPDATE_AFTER_SKIN_INSTALLED | bool bMiniView |
Notifications
Range: 34,000 to 35,000
Note: These are used internally; routed to all view windows.
Enum | Command | Parameter |
---|---|---|
34000 | MCC_NOTIFY_FONT_CHANGED | ignore |
34001 | MCC_NOTIFY_VIEW_CHANGED | ignore |
34002 | MCC_NOTIFY_BEFORE_ACTIVE_VIEW_CHANGED | ignore |
34003 | MCC_NOTIFY_ACTIVE_VIEW_CHANGED | ignore |
34004 | MCC_NOTIFY_PLAYER_INFO_CHANGED | PLAYER_INFO_CHANGES nChange |
34005 | MCC_NOTIFY_TOOLTIPS_CHANGED | bool bEnabled |
34006 | MCC_NOTIFY_OPTIONS_CHANGED | ignore |
34007 | MCC_UPDATE | int nFlags |
34008 | MCC_NOTIFY_FOCUS_CHANGED | ignore |
34009 | MCC_SAVE_PROPERTIES | ignore |
34010 | MCC_NOTIFY_UI_MODE_CHANGED | UI_MODES NewMode |
34011 | MCC_NOTIFY_SELECTION_CHANGED | int nViewKey |
34012 | MCC_NOTIFY_FILE_CHANGED | int nFileKey (-1: invalidates all files) |
34013 | MCC_NOTIFY_FILE_STATUS_CHANGED | int nFileKey (-1: invalidates all files) |
34014 | MCC_NOTIFY_FILE_ENSURE_VISIBLE | int nFileKey |
34015 | MCC_NOTIFY_GET_TAB_HWNDS | ignore |
34016 | MCC_NOTIFY_BURNER_QUEUE_CHANGED | int nFlags (1: folder change) |
34017 | MCC_NOTIFY_BURNER_PROGRESS_CHANGED | int nPercentage |
34018 | MCC_NOTIFY_BURNER_STATUS_CHANGED | ignore |
34019 | MCC_NOTIFY_BURNER_STARTED | ignore |
34020 | MCC_NOTIFY_BURNER_FINISHED_INTERNAL | ignore |
34021 | MCC_NOTIFY_BURNER_FINISHED | ignore |
34022 | MCC_NOTIFY_BURNER_FAILED_INTERNAL | ignore |
34023 | MCC_NOTIFY_BURNER_FAILED | ignore |
34024 | MCC_NOTIFY_BURNER_CLOSE_UI | ignore |
34025 | MCC_NOTIFY_BURNER_PREPARE_FOR_NEXT_COPY | LPCTSTR pStatus |
34026 | MCC_NOTIFY_RIP_STARTED | ignore |
34027 | MCC_NOTIFY_RIP_FINISHED | ignore |
34028 | MCC_NOTIFY_RIP_FAILED | LPCTSTR pError |
34029 | MCC_NOTIFY_RIP_PROGRESS_CHANGED | ignore |
34030 | MCC_NOTIFY_RIP_QUEUE_CHANGED | ignore |
34031 | MCC_NOTIFY_DVD_RIP_STARTED | ignore |
34032 | MCC_NOTIFY_DVD_RIP_FINISHED | ignore |
34033 | MCC_NOTIFY_DVD_RIP_FAILED | int nErrorCode |
34034 | MCC_NOTIFY_DVD_RIP_PROGRESS_CHANGED | int nPercent |
34035 | MCC_NOTIFY_DOWNLOAD_FINISHED | int nFileKey (-1: unknown) |
34036 | MCC_NOTIFY_DOWNLOAD_FAILED | int nFileKey (-1: unknown) |
34037 | MCC_NOTIFY_DOWNLOAD_STATUS_CHANGED | ignore |
34038 | MCC_NOTIFY_STATUS_CHECKER_COMPLETE | ignore |
34039 | MCC_NOTIFY_CURRENT_ZONE_CHANGED | ignore |
34040 | MCC_NOTIFY_DISPLAY_OWNER_CHANGED | JRWnd * pwndOwner |
34041 | MCC_NOTIFY_AFTER_FIRST_UPDATE_LAYOUT_WINDOW | ignore |
34042 | MCC_NOTIFY_AFTER_FIRST_UPDATE_APPLY_VIEW_STATE | ignore |
34043 | MCC_NOTIFY_PROCESS_TIME_REMAINING | int nSecondsRemaining |
34044 | MCC_NOTIFY_UI_UPDATE_ENABLE_DISABLE_STATES | ignore |
34045 | MCC_NOTIFY_UI_SKIN_CHANGED | ignore |
34046 | MCC_UPDATE_WINDOW_LAYOUT | ignore |
34047 | MCC_NOTIFY_SAVE_UI_BEFORE_SHUTDOWN | ignore |
34048 | MCC_OBSOLETE_34046 | ignore |
34049 | MCC_NOTIFY_PLAYLIST_FILES_CHANGED | int nPlaylistID |
34050 | MCC_NOTIFY_PLAYLIST_INFO_CHANGED | int nPlaylistID |
34051 | MCC_NOTIFY_PLAYLIST_ADDED_INTERNAL | int nPlaylistID |
34052 | MCC_NOTIFY_PLAYLIST_ADDED_BY_USER | int nPlaylistID |
34053 | MCC_NOTIFY_PLAYLIST_REMOVED | int nPlaylistID |
34054 | MCC_NOTIFY_PLAYLIST_COLLECTION_CHANGED | ignore |
34055 | MCC_NOTIFY_PLAYLIST_PROPERTIES_CHANGED | int nPlaylistID |
34056 | MCC_NOTIFY_HANDHELD_UPLOAD_STARTED | int nDeviceSessionID (0 gets default) |
34057 | MCC_NOTIFY_HANDHELD_AFTER_DEVICE_CHANGED | ignore |
34058 | MCC_NOTIFY_HANDHELD_QUEUE_CHANGED | ignore |
34059 | MCC_NOTIFY_HANDHELD_INFO_COMPLETE | ignore |
34060 | MCC_NOTIFY_HANDHELD_AFTER_UPLOAD_FINISHED | ignore |
34061 | MCC_NOTIFY_COMPACT_MEMORY | ignore |
34062 | MCC_NOTIFY_SEARCH_CHANGED | ignore |
34063 | MCC_NOTIFY_SEARCH_CONTEXT_CHANGED | ignore |
34064 | MCC_NOTIFY_UPDATE_SHOPPING_CART | JRStoreBase * pStore |
34065 | MCC_NOTIFY_UPDATE_NAVIGATION_TRAIL | ignore |
34066 | MCC_NOTIFY_IMPORT_STARTED | bool bSilent |
34067 | MCC_NOTIFY_IMPORT_FINISHED | bool bSilent |
34068 | MCC_NOTIFY_ROTATED_IMAGES | MFKEY nKey |
34069 | MCC_NOTIFY_LOGIN_STATE_CHANGE | bool bLoggedIn |
34070 | MCC_NOTIFY_MYGAL_PROGRESS | ignore |
34071 | MCC_NOTIFY_MYGAL_DONE | ignore |
34072 | MCC_NOTIFY_PODCAST_CHANGED | ignore |
34073 | MCC_NOTIFY_PODCAST_SETTINGS_CHANGED | ignore |
34074 | MCC_NOTIFY_CONVERT_PROGRESS | ignore |
34075 | MCC_NOTIFY_CONVERT_UPDATE | ignore |
34076 | MCC_NOTIFY_BREADCRUMBS_CHANGED | ignore |
34077 | MCC_NOTIFY_UI_LANGUAGE_CHANGED | ignore |
34078 | MCC_NOTIFY_INSTALLED_PLUGINS_CHANGED | ignore |
34079 | MCC_NOTIFY_SUGGESTED_MUSIC_CHANGED | ignore |
34080 | MCC_NOTIFY_VIEW_SETTINGS_CHANGED | int nFlags |
34081 | MCC_NOTIFY_BEFORE_CONFIGURE_VIEW_SETTINGS | ignore |
34082 | MCC_NOTIFY_TV_RECORDING_CHANGED | ignore |
34083 | MCC_NOTIFY_TV_PROGRAMMING_GUIDE_CHANGED | ignore |
34084 | MCC_NOTIFY_TV_CHANNELS_CHANGED | ignore |
34085 | MCC_NOTIFY_TV_RECORDING_STARTED | ignore |
34086 | MCC_NOTIFY_TV_RECORDING_FINISHED | ignore |
34087 | MCC_NOTIFY_IMPORT_FILES_ADDED | ignore |
34088 | MCC_NOTIFY_PLAYBACK_OPTIONS_CHANGED | ignore |
34089 | MCC_NOTIFY_BEFORE_LAYOUT_USER_INTERFACE | ignore |
34090 | MCC_NOTIFY_AFTER_LAYOUT_USER_INTERFACE | ignore |
34091 | MCC_NOTIFY_ZONE_ADDED_OR_REMOVED | int nZoneID (PLAYER_ZONE_ID_UNDEFINED means multiple changes) |
34092 | MCC_NOTIFY_ZONE_LINKED_OR_UNLINKED | ignore |
34093 | MCC_NOTIFY_LIBRARY_LOCATIONS_CHANGED | ignore |
34094 | MCC_NOTIFY_DSP_SETTINGS_CHANGED_IN_CODE | int nZoneID |
34095 | MCC_NOTIFY_OPTICAL_DISC_CHANGED | ignore |
34096 | MCC_NOTIFY_STORE_DOWNLOAD_STATUS_CHANGED | int nStoreNumber |
34097 | MCC_NOTIFY_CURRENT_PLAYLIST_NEXT_ITEM_TO_PLAY_CHANGED | int nZone |
34098 | MCC_NOTIFY_CONTENT_UPLOAD_PROGRESS | ignore |
34099 | MCC_NOTIFY_CONTENT_UPLOAD_UPDATE | int nEnsureVisibleColumn (if nEnsureVisibleColumn > 0, call EnsureVisible() on the list control) |
34100 | MCC_NOTIFY_TV_PROPERTIES_CHANGED | ignore |
34101 | MCC_NOTIFY_STATUSBAR_TEXT_CHANGED | ignore |
Store
Range: 35,000 to 36,000
Enum | Command | Parameter |
---|---|---|
35000 | MCC_STORE_DOWNLOAD | bool bAllowPurchaseType |
35001 | MCC_STORE_PURCHASE | MFKEY nKey |
35002 | MCC_STORE_SEARCH_AMAZON | MFKEY nKey |
35003 | MCC_STORE_SEARCH_AMAZON_MP3_STORE | MFKEY nKey |
35004 | MCC_OBSOLETE_35004 | ignore |
35005 | MCC_STORE_CHANGE_USER | ignore |
35006 | MCC_STORE_CHECK_FOR_DOWNLOADS | ignore |
Defines
// return value for unhandled MCC commands #define MCC_UNHANDLED 0
// flags for command enable, disable, and check enum MCC_UPDATEUI_FLAGS { MCC_UPDATEUI_ENABLE = 1, MCC_UPDATEUI_DISABLE = 2, MCC_UPDATEUI_PRESSED = 4, };
// update flags #define MCC_UPDATE_FLAG_THUMBNAILS (1 << 0) #define MCC_UPDATE_FLAG_FILE_PROPERTIES (1 << 1) #define MCC_UPDATE_FLAG_FILE_ADDED_OR_REMOVED (1 << 2) #define MCC_UPDATE_FLAG_TREE_STRUCTURE (1 << 3) #define MCC_UPDATE_FLAG_REFILL_LIST (1 << 4) #define MCC_UPDATE_FLAG_ITEM_DELETED (1 << 5) #define MCC_UPDATE_FLAG_NO_PRESERVE_VIEW_STATE (1 << 6) #define MCC_UPDATE_FLAG_WEB_VIEW (1 << 7)
// update all #define MCC_UPDATE_FLAG_ALL (0x7FFFFFFF & ~(MCC_UPDATE_FLAG_NO_PRESERVE_VIEW_STATE))
// settings changed flags #define MCC_SETTING_CHANGED_FLAG_UNKNOWN (1 << 0) #define MCC_SETTING_CHANGED_FLAG_COLUMNS (1 << 1) #define MCC_SETTING_CHANGED_FLAG_SORTING (1 << 2) #define MCC_SETTING_CHANGED_FLAG_VIEW_SCHEME (1 << 3) #define MCC_SETTING_CHANGED_FLAG_GROUPING (1 << 5) #define MCC_SETTING_CHANGED_FLAG_LIBRARY_VIEW_SETTINGS (1 << 6)
// UI modes
enum UI_MODES
{
// unknown
UI_MODE_UNKNOWN = -2000,
// internal modes UI_MODE_INTERNAL_NO_UI = -1000, UI_MODE_INTERNAL_STANDARD = 0, UI_MODE_INTERNAL_MINI_FREEFORM = 1, UI_MODE_INTERNAL_MINI_SLIM = 2, UI_MODE_INTERNAL_DISPLAY_WINDOWED = 3, UI_MODE_INTERNAL_DISPLAY_FULLSCREEN = 4, UI_MODE_INTERNAL_THEATER = 5, UI_MODE_INTERNAL_COVER = 6,
// toggles, shortcuts, etc. UI_MODE_SHORTCUT_TEMPORARY_DISPLAY_WINDOWED = -8, UI_MODE_SHORTCUT_TOGGLE_DISPLAY_AND_LAST_USER_INPUT_MODE = -7, UI_MODE_SHORTCUT_TOGGLE_DISPLAY_EXCLUDE_THEATER_VIEW = -6, UI_MODE_SHORTCUT_TOGGLE_DISPLAY = -5, UI_MODE_SHORTCUT_LAST_SHUTDOWN = -4, UI_MODE_SHORTCUT_CURRENT = -3, UI_MODE_SHORTCUT_CLOSE_DISPLAY = -2, UI_MODE_SHORTCUT_NEXT = -1,
// modes presented to the user UI_MODE_STANDARD = 0, UI_MODE_MINI = 1, UI_MODE_DISPLAY = 2, UI_MODE_THEATER = 3, UI_MODE_COVER = 4, UI_MODE_COUNT = 5, };
// player changes #define PLAYER_INFO_CHANGE_ALL 0xFFFF #define PLAYER_INFO_CHANGE_PLAYER_STATE (1 << 0) #define PLAYER_INFO_CHANGE_VOLUME (1 << 1) #define PLAYER_INFO_CHANGE_FILE_INFO (1 << 2) #define PLAYER_INFO_CHANGE_PLAYLIST (1 << 3) #define PLAYER_INFO_CHANGE_DSP (1 << 4) #define PLAYER_INFO_CHANGE_IMAGE (1 << 5) #define PLAYER_INFO_CHANGE_PLAYING_FILE (1 << 6) #define PLAYER_INFO_CHANGE_OUTPUT_INFO (1 << 7)
// player status codes enum PLAYER_STATUS_CODES { PLAYER_STATUS_CODE_BUFFERING, PLAYER_STATUS_CODE_LOCATING, PLAYER_STATUS_CODE_CONNECTING, PLAYER_STATUS_CODE_DOWNLOADING_CODEC, PLAYER_STATUS_CODE_ACQUIRING_LICENSE, PLAYER_STATUS_CODE_INDIVIDUALIZE_STARTING, PLAYER_STATUS_CODE_INDIVIDUALIZE_CONNECTING, PLAYER_STATUS_CODE_INDIVIDUALIZE_REQUESTING, PLAYER_STATUS_CODE_INDIVIDUALIZE_RECEIVING, PLAYER_STATUS_CODE_INDIVIDUALIZE_COMPLETED, };
// theater view modes enum SHOW_THEATER_VIEW_MODES { SHOW_THEATER_VIEW_MODE_TOGGLE_THEATER_VIEW, SHOW_THEATER_VIEW_MODE_HOME, SHOW_THEATER_VIEW_MODE_PLAYING_NOW, SHOW_THEATER_VIEW_MODE_AUDIO, SHOW_THEATER_VIEW_MODE_IMAGES, SHOW_THEATER_VIEW_MODE_VIDEOS, SHOW_THEATER_VIEW_MODE_PLAYLISTS, SHOW_THEATER_VIEW_MODE_CD_DVD, SHOW_THEATER_VIEW_MODE_TELEVISION, SHOW_THEATER_VIEW_MODE_TELEVISION_GUIDE, SHOW_THEATER_VIEW_MODE_TELEVISION_RECORDINGS, SHOW_THEATER_VIEW_MODE_LAST_VIEWED, };
// get selection modes enum GET_SELECTION_MODES { GET_SELECTION_EXACT, GET_SELECTION_ALL_ON_NONE, GET_SELECTION_ALL_ON_ONE_OR_NONE, GET_SELECTION_ALL, GET_SELECTION_EXACT_WITH_POSITION, };
// skip to modes enum SKIP_TO_MODES { SKIP_TO_UNDEFINED = 0, SKIP_TO_PREVIOUS_ALBUM, SKIP_TO_NEXT_ALBUM, SKIP_TO_PREVIOUS_ARTIST, SKIP_TO_NEXT_ARTIST, };
Specifying Zones
Media Center Core Commands are targeted to a specific playback zone by combining the command's parameter value with the zone specifier value from the Zone Specifiers table. MC zones are integer indexes, from 0 to n, where 0 is the the first local zone, 1 is the second local zone, and so on. Remote zones, such as those for DLNA devices, will not be contiguous with local zones. A list of zones can be obtained using the MCWS command:
- http://<server IP>:52199/MCWS/v1/Playback/Zones
MC version 16.0.118 has simplified command line specification of parameter and zone, eliminating the need for manual calculations prior to usage. The /MCC option now accepts an alternate syntax in the format of [value]:[zone index] for the parameter (see examples). The text that follows documents and describes the original (and still valid) specification, which would be used when issuing an MCC command through a mechanism other than the MC18.exe command.
Zone | Decimal | Hexidecimal |
---|---|---|
Current | 0 | 0x00000000 |
0 | 16777216 | 0x01000000 |
1 | 33554432 | 0x02000000 |
2 | 50331648 | 0x03000000 |
3 | 67108864 | 0x04000000 |
4 | 83886080 | 0x05000000 |
5 | 100663296 | 0x06000000 |
... | ... | ... |
30 | 260046848 | 0x1F000000 |
31 | 520093696 | 0x20000000 |
Technically speaking, the command's parameter is OR'd with the zone specifier value, where bits 0 - 23 specify the command parameter, and bits 24 - 29 specify the zone. For command line usage, the final parameter value to pass to Media Center can be calculated as follows:
- If the parameter is >= 0, the final value = zone specifier + parameter
- If the parameter is < 0, the final value = zone specifier + parameter + 16777216
Examples
- Increase volume to 25% for Zone 2 (new parameter specification available starting with MC 16.0.118)
- MC18.exe /MCC 10020,25:2
- Increase volume to 25% for Zone 2
- The MCC_VOLUME_SET command has command number 10020
- The desired parameter value is 25
- Zone 2 in the Zone Specifier table indicates a value of 50331648 (0x03000000 hex)
- Zone specifier (50331648) + parameter value (25) = 50331673 (0x3000019 hex)
- Toggle pause for Zone 3
- The MCC_SET_PAUSE command has command number 10022
- The desired parameter value is -1 (toggles)
- Zone 3 in the Zone Specifier table indicates a value of 67108864 (0x04000000 hex)
- Zone specifier (67108864) + parameter value (-1) + 16777216 = 83886079 (0x4FFFFFF hex)
Notes
- When bit 32 is set, the zone portion is ignored, and Media Center assumes the parameter is a negative number.
- See the C++ macros below for more information.
The look-up table below shows some pre-calculated parameter values for each of zones 0 through 5 for some typical commands. Find the desired operation, command and command number, and select the cell under the desired zone to obtain the final parameter value.
Operation | MCC Command | Command Number |
Parameter Value |
Zone 0 | Zone 1 | Zone 2 | Zone 3 | Zone 4 | Zone 5 |
---|---|---|---|---|---|---|---|---|---|
Play / Pause | MCC_PLAY_PAUSE | 10000 | 0 | 16777216 | 33554432 | 50331648 | 67108864 | 83886080 | 100663296 |
Play track from start | MCC_PLAY | 10001 | 0 | 16777216 | 33554432 | 50331648 | 67108864 | 83886080 | 100663296 |
Stop | MCC_STOP | 10002 | 0 | 16777216 | 33554432 | 50331648 | 67108864 | 83886080 | 100663296 |
Next | MCC_NEXT | 10003 | 0 | 16777216 | 33554432 | 50331648 | 67108864 | 83886080 | 100663296 |
Previous | MCC_PREVIOUS | 10004 | 0 | 16777216 | 33554432 | 50331648 | 67108864 | 83886080 | 100663296 |
Toggle shuffle mode | MCC_SHUFFLE | 10005 | 0 | 16777216 | 33554432 | 50331648 | 67108864 | 83886080 | 100663296 |
Shuffle - jump to PN | MCC_SHUFFLE | 10005 | 1 | 16777217 | 33554433 | 50331649 | 67108865 | 83886081 | 100663297 |
Shuffle - no jump to PN | MCC_SHUFFLE | 10005 | 2 | 16777218 | 33554434 | 50331650 | 67108866 | 83886082 | 100663298 |
Toggle continuous mode | MCC_CONTINUOUS | 10006 | 0 | 16777216 | 33554432 | 50331648 | 67108864 | 83886080 | 100663296 |
FF | MCC_FAST_FORWARD | 10008 | 0 | 16777216 | 33554432 | 50331648 | 67108864 | 83886080 | 100663296 |
Rew | MCC_REWIND | 10009 | 0 | 16777216 | 33554432 | 50331648 | 67108864 | 83886080 | 100663296 |
Play sequence # | MCC_PLAY_CPLDB_INDEX | 10015 | 0 | 16777216 | 33554432 | 50331648 | 67108864 | 83886080 | 100663296 |
Mute | MCC_VOLUME_MUTE | 10017 | 0 | 16777216 | 33554432 | 50331648 | 67108864 | 83886080 | 100663296 |
Vol +5 | MCC_VOLUME_UP | 10018 | 5 | 16777221 | 33554437 | 50331653 | 67108869 | 83886085 | 100663301 |
Vol -5 | MCC_VOLUME_DOWN | 10019 | 5 | 16777221 | 33554437 | 50331653 | 67108869 | 83886085 | 100663301 |
Vol 0 | MCC_VOLUME_SET | 10020 | 0 | 16777216 | 33554432 | 50331648 | 67108864 | 83886080 | 100663296 |
Vol 25 | MCC_VOLUME_SET | 10020 | 25 | 16777241 | 33554457 | 50331673 | 67108889 | 83886105 | 100663321 |
Vol 50 | MCC_VOLUME_SET | 10020 | 50 | 16777266 | 33554482 | 50331698 | 67108914 | 83886130 | 100663346 |
Vol 75 | MCC_VOLUME_SET | 10020 | 75 | 16777291 | 33554507 | 50331723 | 67108939 | 83886155 | 100663371 |
Vol 100 | MCC_VOLUME_SET | 10020 | 100 | 16777316 | 33554532 | 50331748 | 67108964 | 83886180 | 100663396 |
Toggle pause | MCC_SET_PAUSE | 10022 | -1 | 33554431 | 50331647 | 67108863 | 83886079 | 100663295 | 117440511 |
Rating clear | MCC_SET_CURRENTLY_PLAYING_RATING | 10023 | 0 | 16777216 | 33554432 | 50331648 | 67108864 | 83886080 | 100663296 |
Rating 1 | MCC_SET_CURRENTLY_PLAYING_RATING | 10023 | 1 | 16777217 | 33554433 | 50331649 | 67108865 | 83886081 | 100663297 |
Rating 2 | MCC_SET_CURRENTLY_PLAYING_RATING | 10023 | 2 | 16777218 | 33554434 | 50331650 | 67108866 | 83886082 | 100663298 |
Rating 3 | MCC_SET_CURRENTLY_PLAYING_RATING | 10023 | 3 | 16777219 | 33554435 | 50331651 | 67108867 | 83886083 | 100663299 |
Rating 4 | MCC_SET_CURRENTLY_PLAYING_RATING | 10023 | 4 | 16777220 | 33554436 | 50331652 | 67108868 | 83886084 | 100663300 |
Rating 5 | MCC_SET_CURRENTLY_PLAYING_RATING | 10023 | 5 | 16777221 | 33554437 | 50331653 | 67108869 | 83886085 | 100663301 |