Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dr_unsort(1) [debian man page]

dr_symlinks(1)							  USER COMMANDS 						    dr_symlinks(1)

  NAME
      dr_unsort - unsort the current mpd playlist

  SYNOPSIS
      dr_unsort

  DESCRIPTION
      dr_unsort invokes unsort(1) on the current audio playlist as used by mpd.  Use it if you'd like some variation in your music.

  EXAMPLE
      If The_Beatles/The_White_Album_I/03-Glass_Onion.ogg is the current playing track and your current playlist looks like

	Flying_Lotus/Los_Angeles/01 Brainfeeder.mp3
	The_Beatles/The_White_Album_I/01-Back_in_the_U.S.S.R..ogg
	The_Beatles/The_White_Album_I/02-Dear_Prudence.ogg
      > The_Beatles/The_White_Album_I/03-Glass_Onion.ogg
	The_Beatles/The_White_Album_I/04-Ob-La-Di,_Ob-La-Da.ogg
	The_Beatles/The_White_Album_I/05-Wild_Honey_Pie.ogg
	The_Beatles/The_White_Album_I/06-The_Continuing_Story_of_Bungalow_Bill.ogg
	The_Beatles/The_White_Album_I/07-While_My_Guitar_Gently_Weeps.ogg
	Flying_Lotus/Los_Angeles/02 Breathe . Something_Stellar STar.mp3
	Flying_Lotus/Los_Angeles/03 Beginners Falafel.mp3
	Flying_Lotus/Los_Angeles/04 Camel.mp3
	Napalm_Death/The_Peel_Sessions/01-The_Kill-Prison_Without_Walls-Dead_Part_1.mp3
	Napalm_Death/The_Peel_Sessions/02-Deceiver-Lucid_Fairytale-In_Extremis.mp3
	Napalm_Death/The_Peel_Sessions/03-Blind_To_The_Truth-Negative_Approach-Common_Enemy.mp3
	Napalm_Death/The_Peel_Sessions/04-Obstinate_Direction-Life-You_Suffer_Pt_2.mp3
	Flying_Lotus/Los_Angeles/05 Melt!.mp3
	Flying_Lotus/Los_Angeles/06 Comet Course.mp3
	Flying_Lotus/Los_Angeles/07 Orbit 405.mp3
	Flying_Lotus/Los_Angeles/08 Golden Diva.mp3

      invoking dr_unsort will yield something like e.g.

	Flying_Lotus/Los_Angeles/01 Brainfeeder.mp3
	The_Beatles/The_White_Album_I/01-Back_in_the_U.S.S.R..ogg
	The_Beatles/The_White_Album_I/02-Dear_Prudence.ogg
      > The_Beatles/The_White_Album_I/03-Glass_Onion.ogg
	Flying_Lotus/Los_Angeles/02 Breathe . Something_Stellar STar.mp3
	The_Beatles/The_White_Album_I/04-Ob-La-Di,_Ob-La-Da.ogg
	Napalm_Death/The_Peel_Sessions/01-The_Kill-Prison_Without_Walls-Dead_Part_1.mp3
	Flying_Lotus/Los_Angeles/03 Beginners Falafel.mp3
	The_Beatles/The_White_Album_I/05-Wild_Honey_Pie.ogg
	Napalm_Death/The_Peel_Sessions/02-Deceiver-Lucid_Fairytale-In_Extremis.mp3
	Flying_Lotus/Los_Angeles/04 Camel.mp3
	The_Beatles/The_White_Album_I/06-The_Continuing_Story_of_Bungalow_Bill.ogg
	Napalm_Death/The_Peel_Sessions/03-Blind_To_The_Truth-Negative_Approach-Common_Enemy.mp3
	Flying_Lotus/Los_Angeles/05 Melt!.mp3
	The_Beatles/The_White_Album_I/07-While_My_Guitar_Gently_Weeps.ogg
	Napalm_Death/The_Peel_Sessions/04-Obstinate_Direction-Life-You_Suffer_Pt_2.mp3
	Flying_Lotus/Los_Angeles/06 Comet Course.mp3
	Flying_Lotus/Los_Angeles/07 Orbit 405.mp3
	Flying_Lotus/Los_Angeles/08 Golden Diva.mp3

  WARNING
      Due to limitations in the mpc/mpd protocol, dr_unsort needs filesystem level write access to mpd's playlist directory.

  ENVIRONMENT
      dr_unsort honors strings DR_PLAYLISTS (mpd's playlist directory) and DR_UNSORT (unsort pathname).

  SEE ALSO
      unsort(1), available from http://packages.debian.org/unsort.

  COPYRIGHT AND LICENSE
      This manpage is copyright 2010, 2011 Joost van Baal <joostvb-draai@mdcc.cx>.

      Draai is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, as published by the Free
      Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed	WITHOUT  ANY  WAR-
      RANTY. You should have received a copy of the GNU General Public License along with draai. If not, see http://www.gnu.org/licenses/.

  AUTHOR
      Joost van Baal <joostvb-draai@mdcc.cx>

  dr_symlinks 20110603						     03 juin 2011						      dr_symlinks(1)

Check Out this Related Man Page

draai(1)							  USER COMMANDS 							  draai(1)

  NAME
      draai - manage playlists and play audio files

  SYNOPSIS
      draai [option [option ...]] command [track [track ...] | tracknumber [tracknumber ...]]

  DESCRIPTION
      Draai  is  a wrapper around mpc, making playing music from the commandline more enjoyable. mpc is a client for MPD, the Music Player Daemon.
      Using draai, one can play an audiofile (ogg, mp3, flac, whatever your MPD offers), play all files in a predefined playlist, view details	on
      current, past and future playing songs, skip to the next song, etc.

  GETTING STARTED
      Run "draai init" to get started using draai the way the author likes it.	Other ways of using draai are possible, see below.

  COMMANDS
      draai
	Play music.
      init
	Start a bunch of X terminals setting up some draai jobs: tail, logtail, peek, syslog, ...
      guestlist
	Reschedule  listed tracknumbers as upcoming tracks. Last arguments should be the positions of tracks to be put on the guestlist, not file-
	names.
      unguestlist
	Reschedule listed tracknumbers to end of playlist.
      insert
	Add file to playlist and schedule it as upcoming track.
      tail
	Print information about track when it starts playing, similar to tail -f on a logfile.
      logtail
	Run tail(1) on system log file.
      list
	List current playlist.
      peek
	Show status of current song, and show upcoming $peek FIXME tracks.
      syslog
	Send raw information from tail to syslog. You likely want to run "draai syslog" in the background.
      skip
	Skip this track, start playing the next one now.
      osjittisstil
	Run this if unwanted silence pops up during a playing session (for now, it runs draai --sloppy skip).
      delete
	Delete track(s) from current playlist. Last arguments should be _positions_ of tracks to be removed,  not  filename.  If  no  position	is
	given, deletes upcoming track from playlist.
      fastforward
	Seek forward in current track.
      quit
	quit

  OPTIONS
      --debug (debug), -d
	Be very verbose.
      --playlist (with playlistfile), -p
	Playlist file; option can be supplied more than once. To be used with command "draai".
      --noshuffle (no shuffle), {-S}
	Don't shuffle tracks and leave random mode untouched (default is: do shuffle and disable random mode). See also the script dr_unsort.
      --raw (raw), -r
	Print raw stuff, suitable for postprocessing (if combined with tail, peek or list).
      --sloppy (sloppy), -s
	Don't try hard to make everything sound smooth. If combined with skip: risk a squeak on old hardware.
      --time (with timespec), -t
	If combined with commands quit or draai: time at which to quit or start.

  ENVIRONMENT
      Run  grep DR_ `which draai` to find out about environment variables honored by draai. It honors: booleans: DR_DEBUG and DR_SHUFFLE, DR_TIME-
      STAMP, DR_RAW and DR_SLOPPY ; strings: DR_WATCH ; integers: DR_CROSSFADE, DR_PEEK and DR_SEEK as well as DR_FADEOUT_STEP, DR_FADEOUT_REPEAT,
      and  DR_FADEOUT_SLEEP  and DR_VOLUME_STEP ; and some more strings: DR_SYSLOG_FILE, DR_SYSLOG_FACILITY and DR_SYSLOG_LEVEL . For now, see the
      draai code for what it all means.

  FILES, CONFIGURATION
      All configuration variables (see ENVIRONMENT) can be set in ~/.draai/rc.	This rc-file is sourced as a shell script. If you'd  like  to  set
      the  syslog  facility, set syslog_facility (overruled by DR_SYSLOG_FACILITY). If you'd like to set the watch programma, set watch (overruled
      by DR_WATCH).

  SEE ALSO
      Lots of alternatives for draai exist. One is "herrie", by Ed Schouten and Martijn van den Dungen, see http://freshmeat.net/projects/herrie/.

  COPYRIGHT AND LICENSE
      Draai is (C) 2000-2008 Joost van Baal <joostvb-draai@mdcc.cx>.  Draai is free software; you can redistribute it and/or modify it	under  the
      terms  of the GNU General Public License, as published by the Free Software Foundation, either version 3 of the License, or (at your option)
      any later version. This program is distributed WITHOUT ANY WARRANTY. You should have received a copy of the GNU General Public License along
      with draai. If not, see http://www.gnu.org/licenses/.

  AUTHOR
      Joost van Baal <joostvb-draai@mdcc.cx>

  draai 20110603						     03 juin 2011							    draai(1)
Man Page