Commits on Sep 26, 2016
  1. Only ensure we're playing etc if jukebox enabled.

    Just had an annoyance where I'd disabled the jukebox, but it kept re-starting
    playback when I hit stop.
    committed Sep 26, 2016
Commits on Aug 6, 2016
  1. API support for runtime enable/disable.

    Make it possible to leave the jukebox app running, but enable/disable it at
    committed Aug 6, 2016
  2. Store enabled flag in the DB.

    Seems a little hackish, but we're already using the DB for data shared by the UI
    process and the queue worker, so it's a reasonable place for this to go, I
    committed Aug 6, 2016
Commits on Dec 31, 2012
  1. Be more robust in queue-handling.

    Wrap MPD-talking stuff in an eval so if Audio::MPD throws an exception, we
    mostly ignore it and continue, rather than having the queue-handling process
    potentially exit.
    committed Dec 31, 2012
  2. Disable auto-focus search box

    committed Dec 31, 2012
Commits on Jul 7, 2012
  1. Top 50 songs.

    TODO: make this configurable
    committed Jul 7, 2012
Commits on Jan 2, 2012
  1. Less retardedness.

    (This works, by accident, but is clearly wrong :) )
    committed Jan 2, 2012
Commits on Dec 31, 2011
  1. Auto-focus the search field

    committed Dec 31, 2011
  2. Don't crash if there's not enough songs around current.

    If there weren't enough songs around the currently-playing song in the playlist,
    this code died with "Modification of non-creatable array value attempted"  (I
    dont recall that happening before, though).
    committed Dec 31, 2011
  3. Correct field name.

    (I must have fixed this last time we had a party, and not committed it.
    committed Dec 31, 2011
Commits on May 21, 2011
  1. Use D::P::Database convenience methods.

    This reminds me, I need to think about a convenient way to generate clauses for
    null values (e.g. "... WHERE fieldname IS NULL").
    Perhaps just using undef, e.g.:
        quick_select('table', { foo => undef });
    ... which would result in:
        SELECT * FROM table WHERE foo IS NULL;
    Needs moar thought.
    committed May 21, 2011
Commits on Apr 12, 2011
  1. Play in random order, if config->{random} is set.

    Often people queue several tracks at once; pulling tracks from the queue in
    random order is more fair on everyone, I think.
    Configurable, so if you want songs played in the order they were queued, set
    'random' to 0 in the config (or remove it entirely).
    committed Apr 12, 2011
  2. If the song has no title tag, use the filename.

    Better to show the filename, if there's no tags, than just " by ".
    committed Apr 12, 2011
Commits on Nov 17, 2010
  1. Start using some AJAX to avoid page reloads.

    Show current song via AJAX, automatically refreshed, and implement song skip via
    AJAX too.
    Thanks to tadzik for suggesting this.
    committed Nov 17, 2010
Commits on Nov 12, 2010
  1. HTML-fail.

    committed Nov 12, 2010
  2. Move styles into a cacheable stylesheet.

    No point sending a buttload of CSS in the <head> of the page each time.
    committed Nov 12, 2010
  3. Set default port to 4000.

    committed Nov 12, 2010
  4. Don't rely on MySQL stuff like now().

    Want to be able to work with SQLite etc too.
    committed Nov 12, 2010
Commits on Nov 6, 2010
  1. Don't overshoot the end of the playlist.

    When showing songs around the current song, if it's near the end we would
    "overshoot" and end up with songs that don't exist.  Don't do that.
    committed Nov 6, 2010
  2. Add the DB table schema.

    committed Nov 6, 2010