Editing XMBML Functions
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
= xcb Functions = | = xcb Functions = | ||
== query == | |||
Querys the database for Games, Music, Photos, Video, etc and presents the returned items. | |||
Usage example: | |||
<code><Query class="type:x-xmb/folder-pixmap" key="vmc_device_ms" src="xcb://localhost/query?table=MMS_MEDIA_TYPE_SYSTEM&subclass=x-xcb/storagemedia-psv&sort=+StorageMedia:StorageMedia.sortOrder&genre=Game&cond=Ae+StorageMedia:StorageMedia.stat.mediaStatus %xCB_MEDIA_INSERTED+Ae+StorageMedia:StorageMedia.deviceType %xCB_DEVICE_TYPE_MS+AGL+StorageMedia:StorageMedia.type %xCB_MEDIA_TYPE_MS_STD %xCB_MEDIA_TYPE_MS_IOX+Ae+StorageMedia:StorageMedia.mediaFormat %xCB_MEDIA_FORMAT_DATA" /></code> | |||
=== Parameters === | |||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |- | ||
! Description !! Parameter !! Confirmed 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 | ||
|- | |- | ||
| Main search table? || table || | | Main search table? || table || (null)<br />MMS_MEDIA_TYPE_SYSTEM<br />MMS_MEDIA_TYPE_HDD<br />MMS_MEDIA_TYPE_PLUS<br />MMS_MEDIA_TYPE_PS3_BD ''[OFW 1.10]''<br />MMS_MEDIA_TYPE_PS3_DVD ''[OFW 1.10]''<br />MMS_MEDIA_TYPE_PS2_DVD ''[OFW 1.10]''<br />MMS_MEDIA_TYPE_PS2_CD ''[OFW 1.10]''<br />MMS_MEDIA_TYPE_PS1_CD ''[OFW 1.10]'' || table=MMS_MEDIA_TYPE_SYSTEM | ||
|- | |- | ||
| Filter by subclass? || subclass || (null) | | Filter by subclass? || subclass || (null)<br />x-xcb/storagemedia-sdps2<br />x-xcb/storagemedia-sdps3<br />x-xcb/storagemedia-sdpsp<br />x-xcb/storagemedia-dspsp ''[OFW 1.10]''<br />x-xcb/storagemedia-psv<br />x-xcb/storagemedia-psmc<br />x-xcb/storagemedia-bdc<br />x-xcb/friendachievgroup<br />x-xcb/savedata-plus<br />x-xcb/friendachievflag || subclass=x-xcb/storagemedia-sdps2 | ||
|- | |- | ||
| Filter by genre? || genre || (null)<br />Photo<br />Game<br />Music<br />Video | | Filter by genre? || genre || (null)<br />Photo<br />Game<br />Music<br />Video || genre=Photo | ||
|- | |- | ||
| Sorting || sort || (null)<br /> | | Sorting || sort || (null)<br />'''Operators:'''</br>+ ''[increasing]''<br/>- ''[decreasing]'' || sort=+StorageMedia:StorageMedia.sortOrder+StorageMedia :StorageMedia.timeInserted | ||
|- | |- | ||
| Sorting (from registory.xml variables) || ssort || (null)<br />Variables from registory.xml || ssort=root.sort_selected.friend_named | | Sorting (from registory.xml variables) || ssort || (null)<br />Variables from registory.xml || ssort=root.sort_selected.friend_named | ||
|- | |- | ||
| Search condition || cond || (null)<br /> | | Search condition || cond || (null)<br />'''Operators:'''</br>Ae+ [A B is equivalent to AND A = B]</br>An+ [A B is equivalent to AND NOT (A = B) same as AND (A != B)]</br>Oe+ [A B is equivalent to OR A = B]</br>On+ [A B is equivalent to OR NOT (A = B) same as OR (A != B)]</br>AGL+ [A B C is equivalent to AND A in (B, C, ...)]</br>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)<br />Variables from registory.xml || scond=root.cond_selected.gamelist_format | | Search condition (from registory.xml variables) || scond || (null)<br />Variables from registory.xml || scond=root.cond_selected.gamelist_format | ||
|- | |- | ||
| ???????? || option || (null)<br />option_hybrid<br />option_plus || | | ???????? || option || (null)<br />option_hybrid<br />option_plus || opt=option_hybrid | ||
|- | |- | ||
| ???????? || perm || (null)<br />1 || perm=1 | | ???????? || perm || (null)<br />1 || perm=1 | ||
|- | |- | ||
|} | |} | ||
== | === Objects and fields === | ||
{| class="wikitable sortable" | {| 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]'' | ||
|- | |- | ||
| | | 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?) | |||
|- | |- | ||
| StorageMedia || StorageMedia:StorageMedia.sortOrder || (null) | |||
| | |||
|- | |- | ||
| Game || Game:Game.gameCategory || (null) | |||
| | |||
|- | |- | ||
| | | Game || Game:Game.category || (null)1P (Game - PS1 Game)<br/>2P (Game - PS2 Game)<br/>2D (Game - PS2 Emulator Data)<br/>AM (Music, ex: Qriocity Music Unlimited)<br/>AP (Photo, ex: Play Memories)<br/>AT (TV, ex: QOOK TV, Now TV)<br/>AV (Video, ex: Netflix, LoveFilm)<br/>BV (Video, ??????)<br/>CB (Network, ex: Life with Playstation, Folding@home)<br/>GD (Game - Game Data)<br/>HM (Music, ??????)<br/>HD? (Game - HDD Game)<br/>MN? (Game - PSP Mini Game)<br/>PP (Game - PSP Game?)<br/>SD? (Game - Game Save Data)<br/>VF (??????)<br/>WT (??????) | ||
< | |||
|- | |- | ||
| Game || Game:Common.dirPath || (null)<br/>/dev_hdd0/game | |||
|- | |- | ||
| Game || Game:Common.fileName || (null)<br/>SCEAPPS01<br/>SCEAPPS02<br/>SCEAPPS03<br/>NPIA00002<br/>NPIA00005<br/>(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)<br/>299<br/>300<br/>(any other number?) | ||
|- | |- | ||
|} | |} | ||