Commit Graph

67 Commits

Author SHA1 Message Date
mdb 9b2974d340 Configure MP3 library to automatically close the MP3 source when stop() is
called, this apparently also causes the audio device to be released; undef
the playing song when we stop so that we do the right thing when we start
back up again.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@573 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-02-11 18:25:44 +00:00
mdb 922173cb1e Created simple script to rerip a single track or an entire disc and place
it in the proper repository directory.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@537 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-01-19 04:35:53 +00:00
mdb bbfcaee576 Don't abort the whole ripping process if one track fails to rip. Also
report the branchdir and entryid at the completion of the importing
process so that the user can rerip particular tracks if necessary.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@536 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-01-19 04:35:25 +00:00
mdb 5a1274efd9 Notes.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@535 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-01-19 04:34:42 +00:00
mdb 6273cd94ec Include shared Java libraries.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@532 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-01-17 18:23:05 +00:00
mdb e4e21130e0 Look in conf not rsrc.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@531 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-01-17 18:22:53 +00:00
mdb 2b211cb4b1 We have to call revalidate() rather than repaint() when adding or removing
children or Swing doesn't quite do the right thing.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@352 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-10-12 18:21:27 +00:00
mdb ca99e54921 Update for repackaged PersistenceException.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@331 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-09-21 03:09:01 +00:00
mdb 4057710901 Modified code to use new repository services. Created proper configuration
files rather than hardcoding configuration in classes. Made startup error
reporting appear in a dialog rather than be written to stderr.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@328 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-09-20 20:42:48 +00:00
mdb 7a4064dc55 Code modifications to support new IntMap interface.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@320 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-09-15 17:31:09 +00:00
mdb c73202d716 Updated the build file from the newest template.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@319 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-09-15 17:30:53 +00:00
mdb f8782c8f94 Make sure we can load up an entry for a particular eid that we found in
the playlist.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@316 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-09-14 17:45:46 +00:00
mdb 6e32cd319d Add the entryid as a tool tip so that a user can look up entry ids for use
in external programs (like shoutdiscs.pl).


git-svn-id: https://samskivert.googlecode.com/svn/trunk@217 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-08-06 23:26:42 +00:00
mdb 653347e6b8 If we remove a song from earlier in the playlist than the currently
playing song, we need to adjust the currently playing index accordingly.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@216 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-26 19:26:55 +00:00
mdb 44c20b3412 Rearrange code to prevent recursion if scrollRectToVisible() results in a
call to doLayout() (which it seems to do in certain cases).


git-svn-id: https://samskivert.googlecode.com/svn/trunk@215 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-26 01:33:08 +00:00
mdb 0e89fb5b3a Scroll the playing song into view when we start up.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@214 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-26 01:18:49 +00:00
mdb fe9b84a34d Reset the scrollbar when we switch the contents of the entry list because
otherwise it will stay scrolled which is weird.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@213 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-26 01:18:21 +00:00
mdb 19c58cf9b3 Fixed repaint behavior; added ability to edit entries; other cleanups.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@212 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-26 00:24:22 +00:00
shaper db024caaf5 Use SwingUtil to center frames within the screen bounds.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@201 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-21 02:04:37 +00:00
mdb c807416da4 Fixed play_this_tune(), added log message.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@181 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-13 00:39:32 +00:00
mdb 13f9e12325 Handle playing display more efficiently.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@180 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-13 00:35:42 +00:00
mdb a8272baf6e Arg, the dreaded equals bug.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@179 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-13 00:21:32 +00:00
mdb 4131f9bae5 Added SKIPTO support.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@178 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-13 00:16:01 +00:00
mdb b1e4100d63 More and better playlist management.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@177 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-13 00:11:05 +00:00
samskivert@gmail.com f5203ac52c Look in system properties for our musicd host and port.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@176 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-13 00:10:48 +00:00
mdb d8b95f787b Added getSong() for looking up a song by id from the song array.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@175 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-13 00:10:26 +00:00
mdb eedf10e134 Added support for SKIPTO and PLAYING.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@174 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-13 00:10:05 +00:00
mdb 0973289dc6 Allow arguments to be passed to the JVM via -D.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@173 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-13 00:09:45 +00:00
mdb 64abd69179 If the currently playing track is REMOVEd, skip to the next tune.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@172 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-12 23:42:38 +00:00
mdb da352de418 Cleaned things up, split primary UI so that we can add better playlist
management.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@170 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-12 23:06:55 +00:00
mdb 1928c0eec5 Store the entry and song id in the playlist along with the path and allow
things to be removed from the playlist based on songid.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@169 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-12 22:32:56 +00:00
mdb 29ea556ea6 Exit when the close button is clicked.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@168 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-12 22:32:27 +00:00
mdb 12596ad167 Exit when the window close button is pressed.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@167 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-12 22:31:04 +00:00
mdb 5cac74f256 Switch to us.freedb.org (will make this configurable eventually); log
stack trace if CDDB lookup fails.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@154 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-06-10 21:32:23 +00:00
mdb d3f78fcf1b Swap the position of the "Another" and "Exit" buttons.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@153 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-06-07 08:42:09 +00:00
mdb 567f808c4c All sorts of good new stuff including category support.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@149 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-06-07 08:37:47 +00:00
mdb bfb7a6e925 Added facilities for automatically fiddling the case of the artist, title
and track names according to some canonicalization rules.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@146 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-06-05 17:41:00 +00:00
mdb 4931ffcf90 Bigger! It mahst be bigger!
git-svn-id: https://samskivert.googlecode.com/svn/trunk@145 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-06-05 17:40:18 +00:00
mdb 3d51ed64e8 Added ability to bind to particular interface; cleaned up debugging.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@144 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-06-05 16:52:55 +00:00
mdb 51a33f14fd Created simple prototype music chooser (playlist manager).
git-svn-id: https://samskivert.googlecode.com/svn/trunk@143 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-06-05 16:42:38 +00:00
mdb 6db5867eba Created simple class for communicating with music daemon.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@142 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-06-05 16:42:17 +00:00
mdb 393da669fc Created a script for running the chooser.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@141 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-06-05 16:41:31 +00:00
mdb 32a30546fa More ideas.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@140 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-06-05 16:41:12 +00:00
mdb 6d6eed4fc7 Added PLAYING, made PLAY more sophisticated, added some debugging.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@139 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-06-05 16:40:53 +00:00
mdb 0f9f4f2e5c Handle new invoke() signature, wrap remaining db ops in invoke().
git-svn-id: https://samskivert.googlecode.com/svn/trunk@138 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-06-02 02:22:55 +00:00
mdb 7f70824e42 Fail if we can't connect to the music daemon and get the music daemon host
and port from the environment if they're in there.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@112 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-03-22 03:00:25 +00:00
mdb ed6424b58c Bind to all interfaces.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@111 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-03-22 02:59:13 +00:00
mdb 5ca07d34f5 Generate mp3 file names with leading zeros (ie. xx/ID/05.mp3) so that they
are easier to deal with.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@110 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-03-22 02:45:13 +00:00
mdb 0f249ee49f Output something sane when we aren't playing any songs. Added a "SKIP"
command which allows the currently playing song to be skipped.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@109 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-03-22 02:44:26 +00:00
mdb 7ff3ddc7ac Wrote an mp3 music playing server that can be remotely controlled via TCP
connections using perl and MPEG::MP3Play. Ah how easy it can be to write
things in glue languages.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@108 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-03-22 02:41:36 +00:00