view README @ 42:bc6db55448e1 pure

statistics engine
author Josef "Jeff" Sipek <jeffpc@josefsipek.net>
date Sun, 05 Nov 2006 19:25:30 -0500
parents e40bdeee5e14
children 1ae315a49009
line wrap: on
line source

This file describes the concept behind this program. All is licensed under
GPLv2.

There are two playlists:

1) Priority playlist: initially empty

2) Default playlist: initial contents are loaded from XMMS's playlist

When a new song is about to be played, the priority playlist is checked. If
there is a song, it is dequeued off the list and played. If the playlist is
empty, nothing is done - XMMS just played another song.

One uses the 'a' and 'd' commands to append (enqueue) and delete (dequeue)
songs from the priority lists. For exact command syntax see the 'h' command
in the program.

Here's a sample run of the program:

jeffpc@batlh:~$ vixm
Creating playlists...
Loading songs from XMMS's playlist...
Instanciating ui thread...
/starship
Seaching list 0 for 'starship':
Seaching list 1 for 'starship':
883. Jefferson Starship - With Your Love
1570. Starship - We Built This City
a1570
Enqueuing song: Starship - We Built This City (4:52.000)
/Cars
Seaching list 0 for 'Cars':
Seaching list 1 for 'Cars':
321. Cars - You Might Think
681. Gary Numan - Cars
1676. The Cars - Shake It Up
a 321
Enqueuing song: Cars - You Might Think (3:07.585)
%n
1. Starship - We Built This City (4:52.000)
2. Cars - You Might Think (3:07.585)
q
jeffpc@batlh:~$