<version> [% PERL %]print $::VERSION;[% END %] </version> <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 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 %] </shuffle> <repeat> [% IF repeatone %]<repeat_one/>[% END %] [% IF repeatall %]<repeat_all/>[% END %] [% IF repeatoff %]<repeat_off/>[% END %] </repeat> <volume>[% volume | html %]</volume> [% IF currentsong %] <current_song> <playlist_offset>[% thissongnum %]</playlist_offset> <seconds_elapsed>[% songtime | html %]</seconds_elapsed> <seconds_total>[% duration | html %]</seconds_total> [% END %] <song> [% PROCESS _xml_song_full.html %] </song> [% IF currentsong %] </current_song> [% END %] </player_status> [% IF playlist %] <playlist> [% END %] [% playlist %] [% IF playlist %] </playlist> [% END %]