annotate README @ 32:f97eb9f0c207 master

Add random song selection for default queue
author Josef "Jeff" Sipek <jeffpc@josefsipek.net>
date Fri, 03 Nov 2006 23:26:35 -0500
parents e40bdeee5e14
children 1ae315a49009
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
27
e40bdeee5e14 Quick little README writeup
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
diff changeset
1 This file describes the concept behind this program. All is licensed under
e40bdeee5e14 Quick little README writeup
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
diff changeset
2 GPLv2.
e40bdeee5e14 Quick little README writeup
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
diff changeset
3
e40bdeee5e14 Quick little README writeup
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
diff changeset
4 There are two playlists:
e40bdeee5e14 Quick little README writeup
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
diff changeset
5
e40bdeee5e14 Quick little README writeup
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
diff changeset
6 1) Priority playlist: initially empty
e40bdeee5e14 Quick little README writeup
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
diff changeset
7
e40bdeee5e14 Quick little README writeup
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
diff changeset
8 2) Default playlist: initial contents are loaded from XMMS's playlist
e40bdeee5e14 Quick little README writeup
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
diff changeset
9
e40bdeee5e14 Quick little README writeup
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
diff changeset
10 When a new song is about to be played, the priority playlist is checked. If
e40bdeee5e14 Quick little README writeup
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
diff changeset
11 there is a song, it is dequeued off the list and played. If the playlist is
e40bdeee5e14 Quick little README writeup
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
diff changeset
12 empty, nothing is done - XMMS just played another song.
e40bdeee5e14 Quick little README writeup
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
diff changeset
13
e40bdeee5e14 Quick little README writeup
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
diff changeset
14 One uses the 'a' and 'd' commands to append (enqueue) and delete (dequeue)
e40bdeee5e14 Quick little README writeup
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
diff changeset
15 songs from the priority lists. For exact command syntax see the 'h' command
e40bdeee5e14 Quick little README writeup
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
diff changeset
16 in the program.
e40bdeee5e14 Quick little README writeup
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
diff changeset
17
e40bdeee5e14 Quick little README writeup
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
diff changeset
18 Here's a sample run of the program:
e40bdeee5e14 Quick little README writeup
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
diff changeset
19
e40bdeee5e14 Quick little README writeup
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
diff changeset
20 jeffpc@batlh:~$ vixm
e40bdeee5e14 Quick little README writeup
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
diff changeset
21 Creating playlists...
e40bdeee5e14 Quick little README writeup
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
diff changeset
22 Loading songs from XMMS's playlist...
e40bdeee5e14 Quick little README writeup
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
diff changeset
23 Instanciating ui thread...
e40bdeee5e14 Quick little README writeup
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
diff changeset
24 /starship
e40bdeee5e14 Quick little README writeup
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
diff changeset
25 Seaching list 0 for 'starship':
e40bdeee5e14 Quick little README writeup
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
diff changeset
26 Seaching list 1 for 'starship':
e40bdeee5e14 Quick little README writeup
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
diff changeset
27 883. Jefferson Starship - With Your Love
e40bdeee5e14 Quick little README writeup
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
diff changeset
28 1570. Starship - We Built This City
e40bdeee5e14 Quick little README writeup
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
diff changeset
29 a1570
e40bdeee5e14 Quick little README writeup
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
diff changeset
30 Enqueuing song: Starship - We Built This City (4:52.000)
e40bdeee5e14 Quick little README writeup
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
diff changeset
31 /Cars
e40bdeee5e14 Quick little README writeup
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
diff changeset
32 Seaching list 0 for 'Cars':
e40bdeee5e14 Quick little README writeup
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
diff changeset
33 Seaching list 1 for 'Cars':
e40bdeee5e14 Quick little README writeup
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
diff changeset
34 321. Cars - You Might Think
e40bdeee5e14 Quick little README writeup
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
diff changeset
35 681. Gary Numan - Cars
e40bdeee5e14 Quick little README writeup
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
diff changeset
36 1676. The Cars - Shake It Up
e40bdeee5e14 Quick little README writeup
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
diff changeset
37 a 321
e40bdeee5e14 Quick little README writeup
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
diff changeset
38 Enqueuing song: Cars - You Might Think (3:07.585)
e40bdeee5e14 Quick little README writeup
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
diff changeset
39 %n
e40bdeee5e14 Quick little README writeup
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
diff changeset
40 1. Starship - We Built This City (4:52.000)
e40bdeee5e14 Quick little README writeup
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
diff changeset
41 2. Cars - You Might Think (3:07.585)
e40bdeee5e14 Quick little README writeup
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
diff changeset
42 q
e40bdeee5e14 Quick little README writeup
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
diff changeset
43 jeffpc@batlh:~$
e40bdeee5e14 Quick little README writeup
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents:
diff changeset
44