XMBML Functions: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
m (→‎Parameters: change table columns)
Line 10: Line 10:
{| class="wikitable sortable"
{| class="wikitable sortable"
|-
|-
! Description !! Parameter !! Accepted values !! Example
! Description !! Parameter !! Confirmed accepted values !! Example
|-
|-
| Returned items limit || limit || (null)<br />Numbers up to 2048? || limit=2048
| Returned items limit || limit || (null)<br />Numbers up to 2048? || limit=2048
Line 31: Line 31:
|-
|-
| ???????? || perm || (null)<br />1 || perm=1
| ???????? || perm || (null)<br />1 || perm=1
|-
|}
=== Value for cond and sort ===
{| class="wikitable sortable"
|-
! 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)<br/>%xCB_MEDIA_FORMAT_DATA<br/>%xCB_MEDIA_FORMAT_PS3GAME_BD<br/>%xCB_MEDIA_FORMAT_PS3GAME_DVD<br/>%xCB_MEDIA_FORMAT_PS3CONTENT_BD<br/>%xCB_MEDIA_FORMAT_PS3CONTENT_DVD<br/>%xCB_MEDIA_FORMAT_PS1GAME_CD<br/>%xCB_MEDIA_FORMAT_BDMV<br/>%xCB_MEDIA_FORMAT_BDAV<br/>%xCB_MEDIA_FORMAT_AVCHD<br/>%xCB_MEDIA_FORMAT_DVD_VIDEO<br/>%xCB_MEDIA_FORMAT_DVDPVR
|-
| StorageMedia || StorageMedia:StorageMedia.type || (null)<br/>%xCB_MEDIA_TYPE_BDROM<br/>%xCB_MEDIA_TYPE_DVDROM<br/>%xCB_MEDIA_TYPE_DVDPRW<br/>%xCB_MEDIA_TYPE_DVDMR<br/>%xCB_MEDIA_TYPE_CDROM<br/>%xCB_MEDIA_TYPE_CDMRW<br/>%xCB_MEDIA_TYPE_MS_STD<br/>%xCB_MEDIA_TYPE_MS_R<br/>%xCB_MEDIA_TYPE_MS_IOX<br/>%xCB_MEDIA_TYPE_SD<br/>%xCB_MEDIA_TYPE_CF<br/>%xCB_MEDIA_TYPE_PS3_BD<br/>%xCB_MEDIA_TYPE_PS3_DVD<br/>%xCB_MEDIA_TYPE_PS2MC<br/>%xCB_MEDIA_TYPE_PS1MC<br/>%xCB_MEDIA_TYPE_PS1_CD<br/>%xCB_MEDIA_TYPE_PDA<br/>%xCB_MEDIA_TYPE_DLNA<br/>%xCB_MEDIA_TYPE_WM<br/>%xCB_MEDIA_TYPE_SACD<br/>%xCB_MEDIA_TYPE_CDDA<br/>%xCB_MEDIA_TYPE_DSD<br/>%xCB_MEDIA_TYPE_AAD ''[OFW 1.10]''
|-
|-
|}
|}

Revision as of 15:52, 9 February 2012

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

Value for cond and sort

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]