XMBML Functions

From PS3 Developer wiki
Jump to navigation Jump to search

xcb Functions

query

Usage example:

Parameters

Description Parameter Confirmed accepted values Example
Returned items limit limit (null)
Numbers up to 2048?
limit=2048
Main search table? table (null)
MMS_MEDIA_TYPE_SYSTEM
MMS_MEDIA_TYPE_HDD
MMS_MEDIA_TYPE_PLUS
MMS_MEDIA_TYPE_PS3_BD [OFW 1.10]
MMS_MEDIA_TYPE_PS3_DVD [OFW 1.10]
MMS_MEDIA_TYPE_PS2_DVD [OFW 1.10]
MMS_MEDIA_TYPE_PS2_CD [OFW 1.10]
MMS_MEDIA_TYPE_PS1_CD [OFW 1.10]
table=MMS_MEDIA_TYPE_SYSTEM
Filter by subclass? subclass (null)
x-xcb/storagemedia-sdps2
x-xcb/storagemedia-sdps3
x-xcb/storagemedia-sdpsp
x-xcb/storagemedia-dspsp [OFW 1.10]
x-xcb/storagemedia-psv
x-xcb/storagemedia-psmc
x-xcb/storagemedia-bdc
x-xcb/friendachievgroup
x-xcb/savedata-plus
x-xcb/friendachievflag
subclass=x-xcb/storagemedia-sdps2
Filter by genre? genre (null)
Photo
Game
Music
Video
genre=Photo
Sorting sort (null)
Operators:
+ [increasing]
- [decreasing]
sort=+StorageMedia:StorageMedia.sortOrder+StorageMedia :StorageMedia.timeInserted
Sorting (from registory.xml variables) ssort (null)
Variables from registory.xml
ssort=root.sort_selected.friend_named
Search condition cond (null)
Operators:
Ae+ [A B is equivalent to AND A = B]
An+ [A B is equivalent to AND NOT (A = B) same as AND (A != B)]
Oe+ [A B is equivalent to OR A = B]
On+ [A B is equivalent to OR NOT (A = B) same as OR (A != B)]
AGL+ [A B C is equivalent to AND A in (B, C, ...)]
OGL+ [A B C is equivalent to OR A in (B, C, ...)]
cond=Ae+StorageMedia:StorageMedia.stat.mediaStatus %xCB_MEDIA_INSERTED+Ae+StorageMedia:StorageMedia.d eviceType %xCB_DEVICE_TYPE_CF
Search condition (from registory.xml variables) scond (null)
Variables from registory.xml
scond=root.cond_selected.gamelist_format
???????? option (null)
option_hybrid
option_plus
opt=option_hybrid
???????? perm (null)
1
perm=1

Objects and fields

Object Field Confirmed accepted values
StorageMedia StorageMedia:StorageMedia.sortOrder (null)
StorageMedia StorageMedia:StorageMedia.timeInserted (null)
StorageMedia StorageMedia:StorageMedia.reserved24 (null)
StorageMedia StorageMedia:StorageMedia.mediaFormat (null)
%xCB_MEDIA_FORMAT_DATA
%xCB_MEDIA_FORMAT_PS3GAME_BD
%xCB_MEDIA_FORMAT_PS3GAME_DVD
%xCB_MEDIA_FORMAT_PS3CONTENT_BD
%xCB_MEDIA_FORMAT_PS3CONTENT_DVD
%xCB_MEDIA_FORMAT_PS1GAME_CD
%xCB_MEDIA_FORMAT_BDMV
%xCB_MEDIA_FORMAT_BDAV
%xCB_MEDIA_FORMAT_AVCHD
%xCB_MEDIA_FORMAT_DVD_VIDEO
%xCB_MEDIA_FORMAT_DVDPVR
StorageMedia StorageMedia:StorageMedia.type (null)
%xCB_MEDIA_TYPE_BDROM
%xCB_MEDIA_TYPE_DVDROM
%xCB_MEDIA_TYPE_DVDPRW
%xCB_MEDIA_TYPE_DVDMR
%xCB_MEDIA_TYPE_CDROM
%xCB_MEDIA_TYPE_CDMRW
%xCB_MEDIA_TYPE_MS_STD
%xCB_MEDIA_TYPE_MS_R
%xCB_MEDIA_TYPE_MS_IOX
%xCB_MEDIA_TYPE_SD
%xCB_MEDIA_TYPE_CF
%xCB_MEDIA_TYPE_PS3_BD
%xCB_MEDIA_TYPE_PS3_DVD
%xCB_MEDIA_TYPE_PS2MC
%xCB_MEDIA_TYPE_PS1MC
%xCB_MEDIA_TYPE_PS1_CD
%xCB_MEDIA_TYPE_PDA
%xCB_MEDIA_TYPE_DLNA
%xCB_MEDIA_TYPE_WM
%xCB_MEDIA_TYPE_SACD
%xCB_MEDIA_TYPE_CDDA
%xCB_MEDIA_TYPE_DSD
%xCB_MEDIA_TYPE_AAD [OFW 1.10]
StorageMedia StorageMedia:StorageMedia.reserved24 (null)
%xCB_DEVICE_TYPE_USBPSP
%xCB_DEVICE_TYPE_USBAAD
%xCB_DEVICE_TYPE_USBAADWM
%xCB_DEVICE_TYPE_USBWM
%xCB_DEVICE_TYPE_USBMASS
%xCB_DEVICE_TYPE_USBCAMERA
%xCB_DEVICE_TYPE_MS
%xCB_DEVICE_TYPE_SD
%xCB_DEVICE_TYPE_C
%xCB_DEVICE_TYPE_ETHER
StorageMedia StorageMedia:StorageMedia.hybrid (null)
HYBRID
StorageMedia StorageMedia:StorageMedia.audio.channelType (null)
StorageMedia StorageMedia:StorageMedia.stat.version (null)
StorageMedia StorageMedia:StorageMedia.stat.mediaStatus (null)
%xCB_MEDIA_INSERTED
StorageMedia StorageMedia:Common.stat.timeImported (null)
StorageMedia StorageMedia:StorageMedia.sortOrder (null)
Game Game:Game.gameCategory (null)
Game Game:Game.category (null)1P (Game - PS1 Game)
2P (Game - PS2 Game)
2D (Game - PS2 Emulator Data)
AM (Music, ex: Qriocity Music Unlimited)
AP (Photo, ex: Play Memories)
AT (TV, ex: QOOK TV, Now TV)
AV (Video, ex: Netflix, LoveFilm)
BV (Video, ??????)
CB (Network, ex: Life with Playstation, Folding@home)
GD (Game - Game Data)
HM (Music, ??????)
HD? (Game - HDD Game)
MN? (Game - PSP Mini Game)
PP (Game - PSP Game?)
SD? (Game - Game Save Data)
VF (??????)
WT (??????)
Game Game:Common.dirPath (null)
/dev_hdd0/game
Game Game:Common.fileName (null)
SCEAPPS01
SCEAPPS02
SCEAPPS03
NPIA00002
NPIA00005
(any other game ID?)
Game Game:Common.stat.timeLastUsed (null)
Game Game:Common.timeCreated (null)
Game Game:Common.title (null)
Game Game:Common.titleForSort (null)
Game Game:Common.stat.rating (null)
299
300
(any other number?)