XMBML Functions: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
(→‎Value for cond and sort: StorageMedia object)
Line 49: Line 49:
|-
|-
| 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]''
| 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]''
|-
| StorageMedia || StorageMedia:StorageMedia.reserved24 || (null)<br/>%xCB_DEVICE_TYPE_USBPSP<br/>%xCB_DEVICE_TYPE_USBAAD<br/>%xCB_DEVICE_TYPE_USBAADWM<br/>%xCB_DEVICE_TYPE_USBWM<br/>%xCB_DEVICE_TYPE_USBMASS<br/>%xCB_DEVICE_TYPE_USBCAMERA<br/>%xCB_DEVICE_TYPE_MS<br/>%xCB_DEVICE_TYPE_SD<br/>%xCB_DEVICE_TYPE_C<br/>%xCB_DEVICE_TYPE_ETHER
|-
| StorageMedia || StorageMedia:StorageMedia.hybrid || (null)<br/>HYBRID
|-
| StorageMedia || StorageMedia:StorageMedia.audio.channelType || (null)
|-
| StorageMedia || StorageMedia:StorageMedia.stat.version || (null)
|-
| StorageMedia || StorageMedia:StorageMedia.stat.mediaStatus || (null)<br/>%xCB_MEDIA_INSERTED
|-
| StorageMedia || StorageMedia:Common.stat.timeImported || (null)
|-| StorageMedia || StorageMedia:Common.titleForSort || (null)
|-| StorageMedia || StorageMedia:Common.fileName || (null)<br/>EX_GAME<br/>THEMEDIR<br/>EX_VIDEO<br/>VIDEODIR<br/>(any file or dir name?)
|-
|-
|}
|}

Revision as of 16:40, 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]
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)