Skip to content

Instantly share code, notes, and snippets.

@lamberta
Created April 16, 2010 02:58
Show Gist options
  • Save lamberta/367948 to your computer and use it in GitHub Desktop.
Save lamberta/367948 to your computer and use it in GitHub Desktop.
beejay command-line options
-v version and program information
-p file open an iTunes formatted playlist
-r random mode (shuffle)
-t turn off track numbers
-d use the default library
-o file output a M3U formatted playlist (use with --print)
--print print playlist to screen without playing
--no-see don't print song info to screen
--player=program use a different media player
-s pattern, --search search all fields
--singer pattern search by singer
--title pattern search by song title
--album pattern search by album
$ beejay.py -p forJess.xml -r
1/16 Jawbreaker -- Indictment -- 2:49
2/16 Air -- Jeanne -- 4:19
3/16 Elliott Smith -- Between the Bars -- 2:21
...etc...
$ beejay.py -d --title "holy" --print
1/3 Amy Winehouse -- Some Unholy War -- 2:22
2/3 Allen Ginsberg -- Holy -- 2:56
3/3 David Bowie -- Holy Holy -- 2:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment