<?xml version="1.0" encoding="utf-8"?>
<configuration>
	<section id="browse">
		<command id="custombrowse">
			<!-- Should result in a link to: 
				http://localhost:9000/iPeng/plugins/CustomBrowse/custombrowse_contextlist.html?noitems=1&hierarchy=group_track&contextid=123&contexttype=track&contextname=Enter%20Sandman&player=01%3A02%3A03%3A04%3A05%3A06
				where:
					Currently playing track has id: 123
					Currently playing track has title: Enter Sandman
					Currently selecte player is the one with MAC address: 01:02:03:04:05:06

			-->
			<weight>20</weight>
			<name>Song Details</name>
			<icon>plugins/CustomBrowse/html/images/custombrowse_40x30_f.png</icon>
			<url>plugins/CustomBrowse/custombrowse_contextlist.html?noitems=1&amp;hierarchy=group_track</url>
			<type>content</type>
			<parameters>
				<!-- the "id" parameter is a parameter that should be filled with the object id of the selected item -->
				<id>contextid</id>
				<!-- the "type" parameter is a special parameter that should contain the values:
                                      track : if a track is clicked
                                      album : if a album is clicked
                                      artist : if a artist is clicked
                                -->
				<type>contexttype</type>
				<!-- the "title" parameter is a parameter that should be filled with the object title/name of the selected item -->
				<title>contextname</title>
				<!-- the "player" parameter is a parameter that should be filled with the currently selected player -->
				<player>player</player>
			</parameters>
		</command>
	</section>
	<section id="nowplaying">
		<command id="trackstat">
			<!-- Should result in a link to: 
				http://localhost:9000/iPeng/plugins/TrackStat/all.html?flatlist=1&currenttrackstatitem=123&album=3&player=01%3A02%3A03%3A04%3A05%3A06
				where:
					Currently playing track has id: 123
					Currently playing track belongs to album with id: 3
					Currently selecte player is the one with MAC address: 01:02:03:04:05:06
			-->
			<weight>10</weight>
			<name>Statistics</name>
			<icon>plugins/TrackStat/html/images/empty.png</icon>
			<url>plugins/TrackStat/all.html?flatlist=1</url>
			<type>content</type>
			<parameters>
				<id>currenttrackstatitem</id>
				<!-- the "album" parameter is a parameter that should be filled with the album id of the selected track -->
				<album_id>album</album_id>
				<player>player</player>
			</parameters>
		</command>
		<command id="songinfo">
			<weight>25</weight>
			<name>Song Info</name>
			<icon>html/images/NowPlayingAlbumInfo.png</icon>
			<url>songinfo.html</url>
			<type>content</type>
		</command>
		<command id="albumreview">
			<weight>30</weight>
			<name>Album Review</name>
			<!--icon>plugins/AlbumReview/html/images/albumreview.png</icon-->
			<url>plugins/AlbumReview/pure.html</url>
			<type>content</type>
		</command>
		<command id="biography">
			<weight>40</weight>
			<name>Biography</name>
			<!--icon>plugins/AlbumReview/html/images/albumreview.png</icon-->
			<url>plugins/Biography/pure.html</url>
			<type>content</type>
		</command>
	</section>
	<section id="toolbar">
		<command id="artists">
			<!-- Should replace the artists icon in bottom toolbar with a link to: 
				http://localhost:9000/iPeng/plugins/CustomBrowse/custombrowse_list.html?hierarchy=artists&mainBrowseMenu=1
			-->
			<name>Artists</name>
			<icon>html/image/iArtistWhite.png</icon>
			<url>plugins/CustomBrowse/custombrowse_list.html?hierarchy=artists&amp;mainBrowseMenu=1</url>
		</command>
		<command id="playlists">
			<!-- Should replace the playlists icon in bottom toolbar with a link that executes the following JSON command on the currently selected player: 
				randomplay tracks
			-->
			<name>Random Mix</name>
			<icon>plugins/RandomPlay/html/images/icon.png</icon>
			<cmd>randomplay tracks</cmd>
		</command>
	</section>
</configuration>
