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: | ||
= Operators = | = Operators = | ||
{ | {| class="wikitable sortable" | ||
|- | |||
! Operator !! Field !! Example | |||
|- | |||
| Ae || And equal || Ae+Game:Game.category GD | |||
|- | |||
| Oe || Or equal || Oe+Game:Game.category GD | |||
|- | |||
| An || And not equal || An+Game:Game.category GD | |||
|- | |||
| On || Or not equal || On+Game:Game.category GD | |||
|- | |||
| Aa || And exists || Aa+Game:Common.title | |||
|- | |||
| Oa || Or exists || Oa+Game:Common.title | |||
|- | |||
| Ai || And ??? <!--/ indexed (in XMB database)? --> || Ai+xCB:MusicList | |||
|- | |||
| Oi || Or ??? <!--/ indexed (in XMB database)? --> || Oi+xCB:MusicList | |||
|- | |||
| Ap || And path ? || Ap+Ps3SaveData:Common.dirPath %xUserHomeDir/savedata | |||
|- | |||
| Op || Or path ? || Op+Ps3SaveData:Common.dirPath %xUserHomeDir/savedata | |||
|- | |||
| Al || And less than || Al+Game:Common.stat.rating 299 | |||
|- | |||
| Ol || Or less than || Ol+Game:Common.stat.rating 299 | |||
|- | |||
| AL || And less or equal than || AL+Game:Common.stat.rating 299 | |||
|- | |||
| OL || Or less or equal than || OL+Game:Common.stat.rating 299 | |||
|- | |||
| Ag || And greater than || Ag+Game:Common.stat.rating 299 | |||
|- | |||
| Og || Or greater than || Og+Game:Common.stat.rating 299 | |||
|- | |||
| AG || And greater or equal than || AG+Game:Common.stat.rating 299 | |||
|- | |||
| OG || Or greater or equal than || OG+Game:Common.stat.rating 299 | |||
|- | |||
| Agl || And greater than and less than || Agl+Person:Person.stat.presence 2 6 | |||
|- | |||
| Ogl || Or greater than and less than || Ogl+Person:Person.stat.presence 2 6 | |||
|- | |||
| AGl || And greater or equal than and less than || AGl+Person:Person.stat.presence 2 6 | |||
|- | |||
| OGl || Or greater or equal than and less than || OGl+Person:Person.stat.presence 2 6 | |||
|- | |||
| AgL || And greater than and less or equal than || AgL+Person:Person.stat.presence 2 6 | |||
|- | |||
| OgL || Or greater than and less or equal than || OgL+Person:Person.stat.presence 2 6 | |||
|- | |||
| AGL || And greater or equal than and less or equal than || AGL+Person:Person.stat.presence 2 6 | |||
|- | |||
| OGL || Or greater or equal than and less or equal than || OGL+Person:Person.stat.presence 2 6 | |||
|- | |||
|} | |||
*A (And) | |||
*O (Or) | |||
*e (equal) | |||
*n (not equal) | |||
*a (exist) | |||
*i (???) | |||
*p (path?) | |||
*g (greater than) | |||
*G (greater or equal than) | |||
*l (less than) | |||
*L (less or equal than) | |||
= host Functions = | = host Functions = | ||
Line 22: | Line 82: | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|+FileSystem Paths Examples | |+FileSystem Paths Examples | ||
! | ! Disk !! Example | ||
|- | |- | ||
| All filesystem || host://localhost/ | | All filesystem || host://localhost/ | ||
Line 36: | Line 96: | ||
| USB Port 3 Disk || host://localhost/dev_usb003 | | USB Port 3 Disk || host://localhost/dev_usb003 | ||
|- | |- | ||
| | | USB Port 4 Disk || host://localhost/dev_usb004 | ||
|- | |||
| USB Port 5 Disk || host://localhost/dev_usb005 | |||
|- | |||
| USB Port 6 Disk || host://localhost/dev_usb006 | |||
|- | |||
| USB Port 7 Disk || host://localhost/dev_usb007 | |||
|- | |- | ||
|} | |} | ||
== host://localhost/q? == | == host://localhost/q? == | ||
Line 54: | Line 118: | ||
| path || FileSystem Path || (null)<br/>path=/<br/>path=/dev_hdd0/game<br/>path=/dev_usb000<br/>path=/dev_bdvd/PS3_CONTENT/THEMEDIR/D000<br/>any other filesystem path | | path || FileSystem Path || (null)<br/>path=/<br/>path=/dev_hdd0/game<br/>path=/dev_usb000<br/>path=/dev_bdvd/PS3_CONTENT/THEMEDIR/D000<br/>any other filesystem path | ||
|- | |- | ||
| suffix || Filter by extension? || (null)<br/>suffix=.*<br/>suffix=.pkg<br/>suffix=.P3T | | suffix || Filter by extension? || (null)<br/>suffix=.*<br/>suffix=.pkg<br/>suffix=.P3T<br/>any other extension? | ||
|- | |- | ||
| subclass || Subclass of the files (mimetype?) || (null)<br/>subclass=x-host/package<br/>subclass=x-host/widget | | subclass || Subclass of the files (mimetype?) || (null)<br/>subclass=x-host/package<br/>subclass=x-host/widget<br/>subclass=x-host/directory<br/>subclass=x-host/theme-content<br/>subclass=x-host/mount-info ''(to confirm)''<br/>subclass=x-host/unknown ''(to confirm)''<br/>subclass=x-host/file ''(to confirm)'' | ||
|- | |- | ||
|} | |} | ||
Line 79: | Line 143: | ||
| Positive or negative condition || having || on<br />off || having=off | | Positive or negative condition || having || on<br />off || having=off | ||
|- | |- | ||
| Main search table? || table || Table from [ | | Main search table? || table || Table from [http://www.ps3devwiki.com/wiki/XMB_database#Tables XMB database tables] || table=MMS_MEDIA_TYPE_SYSTEM | ||
|- | |- | ||
| Run function (from registory.xml variables) || rquery || (null)<br />Variables from registory.xml || rquery=root.fixed_items.fah | | Run function (from registory.xml variables) || rquery || (null)<br />Variables from registory.xml || rquery=root.fixed_items.fah | ||
Line 85: | Line 149: | ||
| Run function (from envirmont variables?) || rqueryenv || (null)<br />backup || rqueryenv=backup | | Run function (from envirmont variables?) || rqueryenv || (null)<br />backup || rqueryenv=backup | ||
|- | |- | ||
| Search condition || cond || (null)<br />Combination of [ | | Search condition || cond || (null)<br />Combination of [http://www.ps3devwiki.com/wiki/XMB_database#Objects_and_fields XMB database object fields] using logical [[#Operators|operators]] || cond=Ae+StorageMedia:StorageMedia.stat.mediaStatus %xCB_MEDIA_INSERTED+Ae+StorageMedia:StorageMedia.deviceType %xCB_DEVICE_TYPE_CF | ||
|- | |- | ||
|} | |} | ||
Line 101: | Line 165: | ||
| 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 || Table from [ | | Main search table? || table || Table from [http://www.ps3devwiki.com/wiki/XMB_database#Tables XMB database tables] || table=MMS_MEDIA_TYPE_SYSTEM | ||
|- | |- | ||
| Filter by subclass? || subclass || (null)<br />x-xcb/unknown<br />x-xcb/game<br />x-xcb/game-disc<br />x-xcb/game-debug<br />x-xcb/game-list<br />x-xcb/content-disc<br />x-xcb/video<br />x-xcb/video-disctitle<br />x-xcb/video-file<br />x-xcb/video-list<br />x-xcb/video-content<br />x-xcb/editingvideo<br />x-xcb/photo<br />x-xcb/photo-list<br />x-xcb/music<br />x-xcb/music-list<br />x-xcb/segment<br />x-xcb/storage-media<br />x-xcb/storagemedia-generic<br />x-xcb/storagemedia-cdda<br />x-xcb/storagemedia-sacd<br />x-xcb/storagemedia-psmc<br />x-xcb/storagemedia-dlna<br />x-xcb/storagemedia-avchd<br />x-xcb/storagemedia-bdc<br />x-xcb/storagemedia-videodisc<br />x-xcb/storagemedia-sdps3<br />x-xcb/storagemedia-sdps2<br />x-xcb/storagemedia-sdpsp<br />x-xcb/storagemedia-psv<br />x-xcb/directory<br />x-xcb/directory-generic<br />x-xcb/directory-photo<br />x-xcb/directory-music<br />x-xcb/directory-video<br />x-xcb/directory-bddata<br />x-xcb/savedata-ps3<br />x-xcb/savedata-ps2<br />x-xcb/savedata-ps1<br />x-xcb/savedata-psp<br />x-xcb/savedata-plus<br />x-xcb/savedata-pspdir<br />x-xcb/achbase<br />x-xcb/achievtitle<br />x-xcb/achievgroup<br />x-xcb/achievflag<br />x-xcb/friendachievtitle<br />x-xcb/friendachievflag<br />x-xcb/friendachievgroup<br />x-xcb/person<br />x-xcb/playedplayer<br />x-xcb/blockedplayer<br />x-xcb/message<br />x-xcb/psv<br />x-xcb/vmc<br />x-xcb/query-condition || subclass=x-xcb/storagemedia-sdps2 | | Filter by subclass? || subclass || (null)<br />x-xcb/unknown<br />x-xcb/game<br />x-xcb/game-disc<br />x-xcb/game-debug<br />x-xcb/game-list<br />x-xcb/content-disc<br />x-xcb/video<br />x-xcb/video-disctitle<br />x-xcb/video-file<br />x-xcb/video-list<br />x-xcb/video-content<br />x-xcb/editingvideo<br />x-xcb/photo<br />x-xcb/photo-list<br />x-xcb/music<br />x-xcb/music-list<br />x-xcb/segment<br />x-xcb/storage-media<br />x-xcb/storagemedia-generic<br />x-xcb/storagemedia-cdda<br />x-xcb/storagemedia-sacd<br />x-xcb/storagemedia-psmc<br />x-xcb/storagemedia-dlna<br />x-xcb/storagemedia-avchd<br />x-xcb/storagemedia-bdc<br />x-xcb/storagemedia-videodisc<br />x-xcb/storagemedia-sdps3<br />x-xcb/storagemedia-sdps2<br />x-xcb/storagemedia-sdpsp<br />x-xcb/storagemedia-psv<br />x-xcb/directory<br />x-xcb/directory-generic<br />x-xcb/directory-photo<br />x-xcb/directory-music<br />x-xcb/directory-video<br />x-xcb/directory-bddata<br />x-xcb/savedata-ps3<br />x-xcb/savedata-ps2<br />x-xcb/savedata-ps1<br />x-xcb/savedata-psp<br />x-xcb/savedata-plus<br />x-xcb/savedata-pspdir<br />x-xcb/achbase<br />x-xcb/achievtitle<br />x-xcb/achievgroup<br />x-xcb/achievflag<br />x-xcb/friendachievtitle<br />x-xcb/friendachievflag<br />x-xcb/friendachievgroup<br />x-xcb/person<br />x-xcb/playedplayer<br />x-xcb/blockedplayer<br />x-xcb/message<br />x-xcb/psv<br />x-xcb/vmc<br />x-xcb/query-condition || subclass=x-xcb/storagemedia-sdps2 | ||
Line 107: | Line 171: | ||
| Filter by genre? || genre || (null)<br />Photo<br />Game<br />Music<br />Video<br/>BdData || genre=Photo | | Filter by genre? || genre || (null)<br />Photo<br />Game<br />Music<br />Video<br/>BdData || genre=Photo | ||
|- | |- | ||
| Sorting || sort || (null)<br />Combination of [ | | Sorting || sort || (null)<br />Combination of [http://www.ps3devwiki.com/wiki/XMB_database#Objects_and_fields XMB database object fields] using sort 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 />Combination of [ | | Search condition || cond || (null)<br />Combination of [http://www.ps3devwiki.com/wiki/XMB_database#Objects_and_fields XMB database object fields] using logical [[#Operators|operators]] || cond=Ae+StorageMedia:StorageMedia.stat.mediaStatus %xCB_MEDIA_INSERTED+Ae+StorageMedia:StorageMedia.deviceType %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 | ||
Line 117: | Line 181: | ||
| ???????? || option || (null)<br />option_hybrid<br />option_plus || option=option_hybrid | | ???????? || option || (null)<br />option_hybrid<br />option_plus || option=option_hybrid | ||
|- | |- | ||
| ???????? || perm || (null)<br />1 || perm=1 | | ???????? || perm || (null)<br />1 || perm=1 | ||
|- | |- | ||
| ???????? || attr ''(to confirm)'' || (null)<br />?????? || attr=PspSdDir:Common.title+PspSdDir:Common.fileName+PspSdDir:Common.titleForSort+PspSdDir:Common.size+PspSdDir:Common.timeCreatedUTC+PspSdDir:Common.dirPath | | ???????? || attr ''(to confirm)'' || (null)<br />?????? || attr=PspSdDir:Common.title+PspSdDir:Common.fileName+PspSdDir:Common.titleForSort+PspSdDir:Common.size+PspSdDir:Common.timeCreatedUTC+PspSdDir:Common.dirPath | ||
Line 126: | Line 190: | ||
|- | |- | ||
| ???????? || opt || (null)<br />parent<br/>logical<br/>shared || opt=parent | | ???????? || opt || (null)<br />parent<br/>logical<br/>shared || opt=parent | ||
|- | |- | ||
|} | |} | ||
Line 147: | Line 209: | ||
= xmb Functions = | = xmb Functions = | ||
== xmb://localhost/ == | == xmb://localhost/%flash == | ||
Allows a direct link to a segment in other XMB .xml configuration file. Usage example: | |||
<pre><Query class="type:x-xmb/folder-pixmap" key="seg_photo_playlist" src="xmb://localhost/%flash/xmb/category_photo.xml#seg_playlist_mgmt"/></pre> | <pre><Query class="type:x-xmb/folder-pixmap" key="seg_photo_playlist" src="xmb://localhost/%flash/xmb/category_photo.xml#seg_playlist_mgmt"/></pre> | ||
Line 162: | Line 219: | ||
! Path !! Example !! notes | ! Path !! Example !! notes | ||
|- | |- | ||
| | | dev_flash/vsh/resource/explore/ || xmb://localhost/%flash || XMB explore root ? | ||
| xmb://localhost/ | |||
|- | |- | ||
|} | |} | ||
= ese Functions = | = ese Functions = | ||
Line 184: | Line 227: | ||
*Managed by dev_flash/vsh/module/ | *Managed by dev_flash/vsh/module/ | ||
**esehttp.sprx | **esehttp.sprx | ||
**eseibrd.sprx | **eseibrd.sprx | ||
**eseidle.sprx | **eseidle.sprx | ||
**eselock.sprx | **eselock.sprx | ||
== ese://localhost/query? == | == ese://localhost/query? == | ||
Line 209: | Line 241: | ||
|- | |- | ||
| ? || ese://localhost/query?type=download_control | | ? || ese://localhost/query?type=download_control | ||
|- | |- | ||
| ? || ese://localhost/query?type=install_game | | ? || ese://localhost/query?type=install_game | ||
Line 247: | Line 277: | ||
<pre><Query class="type:x-xmb/folder-pixmap" key="seg_network_dlnaconf" src="sel://localhost/dlnaconf?category_sysconf.xml#seg_network_dlnaconf"/></pre> | <pre><Query class="type:x-xmb/folder-pixmap" key="seg_network_dlnaconf" src="sel://localhost/dlnaconf?category_sysconf.xml#seg_network_dlnaconf"/></pre> | ||
== sel://localhost/ex? == | == sel://localhost/ex? == | ||
Usage example: | Usage example: | ||
<pre><Query class="type:x-xmb/folder-pixmap" key="gameDir2" attr="gameDir2" src="sel://localhost/ex?root.view_selected.game"/></pre> | <pre><Query class="type:x-xmb/folder-pixmap" key="gameDir2" attr="gameDir2" src="sel://localhost/ex?root.view_selected.game"/></pre> | ||
== sel://localhost/fnregist? == | == sel://localhost/fnregist? == | ||
Line 332: | Line 319: | ||
<pre><Query class="type:x-xmb/folder-pixmap" key="seg_device_kbim_kana" src="sel://localhost/iskana?category_sysconf.xml#seg_device_kbim_kana"/></pre> | <pre><Query class="type:x-xmb/folder-pixmap" key="seg_device_kbim_kana" src="sel://localhost/iskana?category_sysconf.xml#seg_device_kbim_kana"/></pre> | ||
== sel://localhost/ispremo? == | == sel://localhost/ispremo? == | ||
Line 376: | Line 359: | ||
<pre><Query class="type:x-xmb/folder-pixmap" key="seg_fixed_items" src="sel://localhost/nplogin?category_friend.xml#seg_fixed_items"/></pre> | <pre><Query class="type:x-xmb/folder-pixmap" key="seg_fixed_items" src="sel://localhost/nplogin?category_friend.xml#seg_fixed_items"/></pre> | ||
== sel://localhost/ps2emusave? == | == sel://localhost/ps2emusave? == | ||
Usage example: | Usage example: | ||
Line 401: | Line 379: | ||
<pre><Query class="type:x-xmb/folder-pixmap" key="seg_welcome" attr="seg_welcome" src="sel://localhost/welcome?type=game"/></pre> | <pre><Query class="type:x-xmb/folder-pixmap" key="seg_welcome" attr="seg_welcome" src="sel://localhost/welcome?type=game"/></pre> | ||
= xil Functions = | = xil Functions = | ||
== xil://localhost/list? == | == xil://localhost/list? == | ||
Makes a query to a xil.xml configuration file. Usage example: | |||
<pre><Query class="type:x-xmb/folder-pixmap" key="seg_xil" attr="seg_xil" src="xil://localhost/list?t=music"/></pre> | <pre><Query class="type:x-xmb/folder-pixmap" key="seg_xil" attr="seg_xil" src="xil://localhost/list?t=music"/></pre> | ||
Line 429: | Line 399: | ||
! video | ! video | ||
| dev_hdd0/tmp/explore/xil/video/... xil.xml || xil://localhost/list?t=video | | dev_hdd0/tmp/explore/xil/video/... xil.xml || xil://localhost/list?t=video | ||
|- | |- | ||
|} | |} | ||
= chat Functions = | = chat Functions = | ||
== chat://localhost/roomlist? == | == chat://localhost/roomlist? == | ||
Line 497: | Line 423: | ||
<pre><Query class="type:x-xmb/folder-pixmap" key="user_provider_0" attr="user_provider_0" src="user://localhost/create"/></pre> | <pre><Query class="type:x-xmb/folder-pixmap" key="user_provider_0" attr="user_provider_0" src="user://localhost/create"/></pre> | ||
== user://localhost/users == | == user://localhost/users == | ||
Line 515: | Line 439: | ||
== rss:// == | == rss:// == | ||
Usage | Usage example: | ||
<pre><Query class="type:x-xmb/folder-pixmap" key="site_rss_2" attr="site_rss_2" src="rss://http://ps3.drikin.com/rss/sample.xml"/></pre> | <pre><Query class="type:x-xmb/folder-pixmap" key="site_rss_2" attr="site_rss_2" src="rss://http://ps3.drikin.com/rss/sample.xml"/></pre> | ||
{{System Firmware}}<noinclude>[[Category:Main]]</noinclude> | {{System Firmware}}<noinclude>[[Category:Main]]</noinclude> |