@aldostools i was thinking if it's feasible a way to refresh the webMAN games without a xmb reload too
something like this
This will be the fixed folder My Games, it will have queries for the PS3/PS2...folders
Code:
<View id="seg_my_games">
<Attributes>
<Table key="my_games">
<Pair key="icon"><String>/dev_flash//vsh/resource/explore/icon/folder.png</String></Pair>
<Pair key="title"><String>My Games</String></Pair>
<Pair key="info"><String>Your Games</String></Pair>
<Pair key="child"><String>segment</String></Pair>
</Table>
</Attributes>
<Items>
<Query class="type:x-xmb/folder-pixmap" key="my_games" attr="my_games" src="seg_my_games_items">
</Items>
</View>
<View id="seg_my_games_items">
<Items>
<Query class="type:x-xmb/folder-pixmap" key="ps3games" src="xcb://localhost/dev_hdd0/xmlhost/games/PS3.xml#seg_game"/>
<Query class="type:x-xmb/folder-pixmap" key="ps2games" src="xcb://localhost/dev_hdd0/xmlhost/games/PS2.xml#seg_game"/>
<Query class="type:x-xmb/folder-pixmap" key="ps1games" src="xcb://localhost/dev_hdd0/xmlhost/games/PS1.xml#seg_game"/>
<Query class="type:x-xmb/folder-pixmap" key="psxgames" src="xcb://localhost/dev_hdd0/xmlhost/games/PSP.xml#seg_game"/>
<Query class="type:x-xmb/folder-pixmap" key="pspgames" src="xcb://localhost/dev_hdd0/xmlhost/games/PSX.xml#seg_game"/>
<Query class="type:x-xmb/folder-pixmap" key="roms" src="xcb://localhost/dev_hdd0/xmlhost/games/Roms.xml#seg_game"/>
<Items>
</View>
ThIs is a example of a Folder declared in My games xml. if webMAN finds PS3 games it creates it with queries for games and futures games, So creating this one will make the PS3 games folder automatically appears inside My games Folder and the games will be named according to the queries, each game a small xml in sequence as declared in predefined queries, so as soon as webman creates for example game003.xml it will automatically be added in the folder as the xmls was expecting for it
So it will be refreshed just by closing and opening the MY games folder again or using the xmb_plugin command
Code:
<View id="seg_ps3_games">
<Attributes>
<Table key="ps3_games">
<Pair key="icon"><String>/dev_flash//vsh/resource/explore/icon/PS3.png</String></Pair>
<Pair key="title"><String>PS3 Games</String></Pair>
<Pair key="info"><String>Your PS3 Games</String></Pair>
<Pair key="child"><String>segment</String></Pair>
</Table>
</Attributes>
<Items>
<Query class="type:x-xmb/folder-pixmap" key="ps3_games" attr="ps3_games" src="seg_ps3_games_items">
</Items>
</View>
<View id="seg_ps3_games_items">
<Items>
<Query class="type:x-xmb/folder-pixmap" key="ps3game1" src="xcb://localhost/dev_hdd0/xmlhost/games/game0001.xml#seg_game"/>
<Query class="type:x-xmb/folder-pixmap" key="ps3game2" src="xcb://localhost/dev_hdd0/xmlhost/games/game0002.xml#seg_game"/>
<Query class="type:x-xmb/folder-pixmap" key="ps3game3" src="xcb://localhost/dev_hdd0/xmlhost/games/game0003.xml#seg_game"/>
<Query class="type:x-xmb/folder-pixmap" key="ps3game4" src="xcb://localhost/dev_hdd0/xmlhost/games/game0004.xml#seg_game"/>
<Query class="type:x-xmb/folder-pixmap" key="ps3game5" src="xcb://localhost/dev_hdd0/xmlhost/games/game0005.xml#seg_game"/>
<Query class="type:x-xmb/folder-pixmap" key="ps3game6" src="xcb://localhost/dev_hdd0/xmlhost/games/game0006.xml#seg_game"/>
<Query class="type:x-xmb/folder-pixmap" key="ps3game7" src="xcb://localhost/dev_hdd0/xmlhost/games/game0007.xml#seg_game"/>
<Query class="type:x-xmb/folder-pixmap" key="ps3game8" src="xcb://localhost/dev_hdd0/xmlhost/games/game0008.xml#seg_game"/>
.
.
.
.
.
.
.
<Items>
</View>