- Main

* MP3 Server Box
    - Features
    - Developper Doc
    - Download / Install
    - News / Changelog

* MP3SB Clients
    - TK/perl
    - C/Curses
    - Perl/Curses
    - Cgi
    - PHP3
    - WM DockAppS
    - Java
    - Gkrellm
    - GMp3SB
    - Windows(tm)
    - Qt/Kde

* Hardware
    - Supply for car
    - LCD
    - IR
    - Mp3car Client

* Misc
    - FAQ
    - Links
    - Gtk Equal
    - Pictures Gallery

* About
    - Download
    - The Crew
    - Contact Us





Da Picture



MP3SB commands
The current version of MP3SB server accept this commands :
CommandResult
Standard playing command
PLAY xxxplay the song which id=xxx
PLAY+play the next song
PLAY-play the previous song
STATUSreturn the current status
SEEK+fast 5%
SEEK-rewind 5%
SEEK xxxseek to pos = xxx
VOLreturn the current volume
VOL+pump up the volume !!
VOL-pump down the volume !!
VOL xxx (*)set the volume to xxxx
Playlist and more
QLOAD xxxx set playlist to xxxx
QLOADdisable the use of playlist
SCAN (*)only play the first 10 sec of a song
SHUFFLE (*)turn the player in shuffle mode
REPEAT_SONG (*)turn the player in repeat song mode
REPEAT_PLAYLISTturn the player in playlist looping
LIST_MODEretrun the list of current mode setting
Misc
RANDOM (*)Jump to a random song
LIST_EQUAL (*)retrun the list of equalizer files
EQUAL xxx (*)set the equalizer to xxx
EQUAL (*)return the number of current equalizer file
SONG_INFO xx(*)return the infos about xx song_id (current if no x)
LIST_INFO x(*)return info about playlist x (for debug only!!)/TD>
MSG :messsage (*)send a msg to all client (like a chat room)
KILL (*)kill the mp3 server
SHUTDOWNshutdown the computer !!!
(*) only in the mpg123-patched version right now but i plan to merge the twice player soon The server always return Ok / Error for a command. Except for the specials cmds like STATUS

STATUS

$status : Playing / Stopped / Ended
$current_id	: the id of the current played song
$c_offset	: Offset (the current pos)
$percent	: Offset %
$time : current time
$level : current volume
$currrent	: index of the song in the playlist
$playlist	: current playlist (0=no playlist)
$mode : scan / repeat_song/playlist/shuffle/repeat_playlist flags .(0 or 1)
		ex: mode = 00010
		is equal to|repeat_playlist 0|playlist 0|scan 0|shuffle 1|repeat_song 0



Main SQL Table (mp3main)
And the SQL table look like this . Database: mp3db Table: mp3main Rows: 270

Field Type Null Key Default Extra
id int(11) . PRI0auto_increment
filename text . ...
genre varchar(30) YES ...
artist varchar(60) YES ...
album varchar(60) YES ...
songnb int(11) YES ...
songname varchar(60) YES ...
albumdate timestamp(14) YES ...
min int(11) YES ...
sec int(11) YES ...
lastdate timestamp(14) YES ...
hits int(11) YES ...
tag int(11) YES ...
The "hits" is used to have the statistics of the most played songs ..

Playlist SQL Table
Database: mp3db Table: playlist Rows: 6
idint(11)
listidint(11)
songidint(11)

Database: mp3db Table: playlist_info Rows: 1
idint(11)
namevarchar(30)
infotext
datetimestamp(14)


Member of the VA Affiliate Underground



Last modified : Mon Jun 19 22:27:26 2000
Emacs, wml and Gimp Powered
Copyright Jérôme Kerdreux 1999
Contact Jerome.Kerdreux@finix.EU.org