<View id="PhotoGUI">
<Attributes>
<Table key="PhotoGUI_items">
<Pair key="icon"><String>/dev_flash/vsh/resource/explore/icon/games.png</String></Pair>
<Pair key="title"><String>Playstation®</String></Pair>
<Pair key="info"><String>It only does everything!</String></Pair>
<Pair key="str_noitem"><String>msg_error_no_content</String></Pair>
<Pair key="child"><String>segment</String></Pair>
</Table>
</Attributes>
<Items>
<Query
class="type:x-xmb/folder-pixmap"
key="PhotoGUI_items"
attr="PhotoGUI_items"
src="#PhotoGUI_items"
/>
</Items>
</View>
<View id="PhotoGUI_items">
<Items>
<Query class="type:x-xmb/folder-pixmap" key="PS3_games" attr="PS3_games" src="xcb://localhost/query?cond=Ae+PhotoList:PhotoList.type %xCB_LIST_TYPE_PHOTO_TAGS+Ae+PhotoList:PhotoList.numOfItems 2811" />
<Query class="type:x-xmb/folder-pixmap" key="PS2_games" attr="PS2_games" src="xcb://localhost/query?cond=Ae+PhotoList:PhotoList.type %xCB_LIST_TYPE_PHOTO_TAGS+Ae+PhotoList:PhotoList.numOfItems 2918" />
<Query class="type:x-xmb/folder-pixmap" key="PS1_games" attr="PS1_games" src="xcb://localhost/query?cond=Ae+PhotoList:PhotoList.type %xCB_LIST_TYPE_PHOTO_TAGS+Ae+PhotoList:PhotoList.numOfItems 1522" />
<Query class="type:x-xmb/folder-pixmap" key="PSP_games" attr="PSP_games" src="xcb://localhost/query?cond=Ae+PhotoList:PhotoList.type %xCB_LIST_TYPE_PHOTO_TAGS+Ae+PhotoList:PhotoList.numOfItems 953" />
<Query class="type:x-xmb/folder-pixmap" key="PSN_games" attr="PSN_games" src="xcb://localhost/query?cond=Ae+PhotoList:PhotoList.type %xCB_LIST_TYPE_PHOTO_TAGS+Ae+PhotoList:PhotoList.numOfItems 10" />
<Query class="type:x-xmb/folder-pixmap" key="Bluray" attr="Bluray" src="xcb://localhost/query?cond=Ae+PhotoList:PhotoList.type %xCB_LIST_TYPE_PHOTO_TAGS+Ae+PhotoList:PhotoList.numOfItems 4" />
<Query class="type:x-xmb/folder-pixmap" key="DVD" attr="DVD" src="xcb://localhost/query?cond=Ae+PhotoList:PhotoList.type %xCB_LIST_TYPE_PHOTO_TAGS+Ae+PhotoList:PhotoList.numOfItems 111" />
</Items>
</View>
<Table key="view_photo">
<Pair key="month"><String>xcb://localhost/query?ssort=root.view_sort_selected.photo_month&cond=Ae+PhotoList:PhotoList.type %xCB_LIST_TYPE_PHOTO_ALBUM_MONTH+An+PhotoList:PhotoList.numOfItems 2918+An+PhotoList:PhotoList.numOfItems 2811+An+PhotoList:PhotoList.numOfItems 1522+An+PhotoList:PhotoList.numOfItems 953+An+PhotoList:PhotoList.numOfItems 10+An+PhotoList:PhotoList.numOfItems 4</String></Pair>
<Pair key="year"><String>xcb://localhost/query?ssort=root.view_sort_selected.photo_year&cond=Ae+PhotoList:PhotoList.type %xCB_LIST_TYPE_PHOTO_ALBUM_YEAR+An+PhotoList:PhotoList.numOfItems 2918+An+PhotoList:PhotoList.numOfItems 2811+An+PhotoList:PhotoList.numOfItems 1522+An+PhotoList:PhotoList.numOfItems 953+An+PhotoList:PhotoList.numOfItems 10+An+PhotoList:PhotoList.numOfItems 4</String></Pair>
<Pair key="album"><String>xcb://localhost/query?sort=+PhotoList:Common.titleForSort&cond=Ae+PhotoList:PhotoList.type %xCB_LIST_TYPE_PHOTO_TAGS+An+PhotoList:PhotoList.numOfItems 2918+An+PhotoList:PhotoList.numOfItems 2811+An+PhotoList:PhotoList.numOfItems 1522+An+PhotoList:PhotoList.numOfItems 953+An+PhotoList:PhotoList.numOfItems 10+An+PhotoList:PhotoList.numOfItems 4</String></Pair>
<Pair key="all"><String>xcb://localhost/query?sort=+PhotoList:Common.titleForSort&cond=Ae+PhotoList:PhotoList.type %xCB_LIST_TYPE_PHOTO_TAGS+An+PhotoList:PhotoList.numOfItems 2918+An+PhotoList:PhotoList.numOfItems 2811+An+PhotoList:PhotoList.numOfItems 1522+An+PhotoList:PhotoList.numOfItems 953+An+PhotoList:PhotoList.numOfItems 10+An+PhotoList:PhotoList.numOfItems 4</String></Pair>
</Table>
src="xcb://localhost/query?cond=Ae+PhotoList:PhotoList.type %xCB_LIST_TYPE_PHOTO_TAGS+Ae+PhotoList:Common.tags PS3"
This is exciting! Progressing very quickly it seems at this point@DeViL303 One of the disadvantages is that Team Rebug didn't implement the PhotoGUI feature in Cobra 8.2
The feature is only present in PS3HEN 3.x and Mamba.
https://github.com/Joonie86/COBRA-7.3/blob/master/486/LITE/stage2/mappath.c#L549
https://github.com/PS3Xploit/PS3HEN/blob/master/payload/mappath.c#L618
https://github.com/aldostools/COBRA/blob/master/486/REX/stage2/mappath.c#L332
https://github.com/aldostools/MAMBA/blob/master/stage2/mappath.c#L346
@Joonie if you're interested, I have updated my fork of "Cobra 8.3". It's untested due I don't have a flasher
https://github.com/aldostools/COBRA/tree/master/486
It includes PhotoGUI and other additional features listed in the "spoiler" of this post.
https://www.psx-place.com/threads/u...-4-84-on-cex-dex-deh.22627/page-4#post-236639
No luck unfortunately. I suspect we can ONLY use these specific PhotoList entries here. And I don't really know what 95% of them mean. I can make guesses of course but we need to know the exact syntax of the filter too. So If we could use the extfilepath or clstname or something like that it might work.Try this devil, the info stored in the database for the Photolist:Common.tags is a text string... is the same text string you need to type (with the on screen keyboard) when you create a custom album
Im not sure how are you creating that albums (and assigning images to them), but the point is... if your album is named "PS3" then you can do this:
src="xcb://localhost/query?cond=Ae+PhotoList:PhotoList.type %xCB_LIST_TYPE_PHOTO_TAGS+Ae+PhotoList:Common.tags PS3 Games"
src="xcb://localhost/query?cond=Ae+PhotoList:PhotoList.type %xCB_LIST_TYPE_PHOTO_TAGS+Ae+PhotoList:Common.tags PS3"
xmb://localhost/dev_bdvd/root.xml#Photo.Ai+xCB:PhotoList
Ideally we would not use the album name or the amount of images as a filter.. As these have disadvantages over other filtering methods (if there are any):
Off topic but it looks like photolist can load items from an xml too.
- If we use the number of images as a filter then adding a new game will need an XMB refresh and xml edit.
- If you we use the album name then only hard coded names will work, user will not be able to customizes folder.
- If we can filter by album name, We could add a whitelist of accepted album names that will ONLY show in game
- PS3 Games
- PS2 Games
- PS1 Games
- PSP Games
- PSN Games
- DVD Movies
- Bluray Movies
- Driving Games
- Shooting Games
- Platformers
- Favourites
- etc etc
Code:xmb://localhost/dev_bdvd/root.xml#Photo.Ai+xCB:PhotoList
Yeah if we had a way to do that it would be great, but either its not possible or we dont know the correct syntax yet. I didnt explain very well there, i was just saying it would be better if we could do it another way basically, as that way the user COULD rename and group as they pleased.I don't see anything wrong with "hard coded names". I don't remember anyone asking to rename webMAN folders.
Yeah I got that bit.. But I do not know of any accepted syntax for wildcards in these xmls, never seen one.Have you tried using a wildcard? I think that's what aldo is suggesting above? So * Games would cover all albums with Games in the title preceding the wildcard... IF it works
Yeah I got that bit.. But I do not know of any accepted syntax for wildcards in these xmls, never seen one.
Anyway wildcards are not needed right now as we cant filter by name at all yet. that would be another step for after, Now we just need to get ANY filtering by static hard coded name to work. Testing wildcards will come after.
The wildcard idea would be great, but its only really be useful as a way to allow the user to still rename albums, which is not the issue right now yet.
Ok, so all of these will show the grid view without using registry.xml
Code:<Query class="type:x-xmb/folder-pixmap" key="ps3" attr="ps3" src="xcb://localhost/query?cond=Ae+PhotoList:PhotoList.type %xCB_LIST_TYPE_PHOTO_ALBUM_YEAR" />
src="xcb://localhost/query?cond=Ae+PhotoList:PhotoList.type %xCB_LIST_TYPE_PHOTO_ALBUM"
I have not tried those "range" or "like" but I think it will be easier to get something exact working first with the same filters, then try wildcards after. I will have a play around with those too though.Have you tried AGL or Ap operands? AGL would be useful for a "range" of names. Ap seems to be a "like" operand.
I will try those but I dont think they will work.Did you try with PhotoList:Common.fileName or PhotoList:Common.dirPath ?
https://www.psdevwiki.com/ps3/XMBML_Functions
Well we have no problem with viewing all albums in game, that is easy. And for me that would be no big deal.. As i dont use my ps3 for normal photos. The reason I would like to get the filter working is so the PS3 is still 100% compatible with every ones photo collections they might have. We dont want to add a feature and remove another at the same time if we can help it..Ah sorry, misunderstood thought you had filtering by name.. skimming a lil bit.. going back to a previous post
Could you not simply use
and omit the need for another tag ie number of items.. I might go back and read this whole topic because you've probably tried that alreadyCode:src="xcb://localhost/query?cond=Ae+PhotoList:PhotoList.type %xCB_LIST_TYPE_PHOTO_ALBUM"
Because a lot of them are optional, in total there are around 250 availables (around 100 for "Common" and around 150 more specific)I think the wiki might be wrong here when it says the common fields work with photolist. The difference is the albums dont really exist anywhere. So how can it have a filepath for example? How can it have a filename?
View attachment 25329