<players> <playercount>[% playercount | html %]</playercount> <player> <is_described/> <player_id>[% player %]</player_id> [% IF player_name %]<player_name>[% player_name | html %]</player_name>[% END %] </player> [% IF player_chooser_list %] [% player_chooser_list %] [% END %] </players> <player_status> <transport> <mode>[% mode | html %]</mode> <playmode>[% IF modeplay %]playing[% END %][% IF modepause %]paused[% END %][% IF modestop %]stopped[% END %]</playmode> [% IF modeplay %]<playing/>[% END %] [% IF modepause %]<paused/>[% END %] [% IF modestop %]<stopped/>[% END %] [% IF currentsong %] [% IF not modeplay %]<play_url></play_url>[% END %] [% IF not modepause %]<pause_url></pause_url>[% END %] [% IF not modestop %]<stop_url></stop_url>[% END %] <play_prev_url></play_prev_url> <play_next_url></play_next_url> [% END %] [% IF rate && currentsong %]<rate>[% rate | html %]</rate>[% END %] [% IF rateval && currentsong %]<rateval>[% rateval | html %]</rateval>[% END %] [% IF sleeptime %]<sleeptime>[% sleeptime | html %]</sleeptime>[% END %] [% IF sleep %]<sleep>[% sleep | html %]</sleep>[% END %] </transport> <shuffle> [% IF shuffleoff %]<shuffle_off/>[% END %] [% IF shuffleon %]<shuffle_songs/>[% END %] [% IF shufflealbum %]<shuffle_albums/>[% END %] [% IF not shuffleoff %]<shuffle_off_url></shuffle_off_url>[% END %] [% IF not shufflealbum %]<shuffle_albums_url></shuffle_albums_url>[% END %] [% IF not shuffleon %]<shuffle_songs_url></shuffle_songs_url>[% END %] </shuffle> <repeat> [% IF repeatone %]<repeat_one/>[% END %] [% IF repeatall %]<repeat_all/>[% END %] [% IF repeatoff %]<repeat_off/>[% END %] [% IF not repeatone %]<repeat_one_url></repeat_one_url>[% END %] [% IF not repeatall %]<repeat_all_url></repeat_all_url>[% END %] [% IF not repeatoff %]<repeat_off_url></repeat_off_url>[% END %] </repeat> <volume>[% volume | html %]</volume> <volume_url></volume_url> <bass>[% bass | html %]</bass> <bass_url></bass_url> <treble>[% treble | html %]</treble> <treble_url></treble_url> [% IF currentsong %] <current_song> <playlist_offset>[% thissongnum %]</playlist_offset> <remove_url></remove_url> <seconds_elapsed>[% songtime | html %]</seconds_elapsed> <seconds_total>[% durationseconds | html %]</seconds_total> [% END %] [% IF title %]<song>[% END %] [% PROCESS _xml_song.html %] [% IF title %]</song>[% END %] [% IF currentsong %] </current_song> [% END %] </player_status> [% IF playlist %] <playlist> [% END %] [% IF cansave %]<save_url></save_url>[% END %] [% playlist %] [% IF playlist %] </playlist> [% END %]