Commits
- Commit:
e3317c86113ff236272f6bf1b88cacfe54103be3
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix my email address
used @openbsd.org initially by mistake and got copied around in
most files. Since this has nothing to do officially with the OpenBSD
project, use my own email address.
- Commit:
9fb9424225a739a0fbbfec5d31f21458126fd9c2
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add consume mode
the consume mode implicitly drops the tracks from the playlist when
played 'till the end (note that skipping over a track doesn't trigger
the consume mode - yet?)
- Commit:
f36fd90a2e6ab101692fba0fa643aec5035597cd
- From:
- Omar Polo <op@omarpolo.com>
- Date:
use (a modified version of) kristaps' oconfigure
see GitHub issue #1
- Commit:
ff06024f86fb68ea11b030f669b162794eb5bc19
- From:
- Omar Polo <op@omarpolo.com>
- Date:
keep track of current position and total duration
- Commit:
c86624f6da4f8dd827f4f5211822e8de74fca083
- From:
- Omar Polo <op@omarpolo.com>
- Date:
don't try to match the prev/next song; been broken since tx in load was added
originally i tried to match the previous or next song in the playing
queue after a load command if the current song was not matched. The
idea is ok-ish, but the implementation was broken and become a no-op
after some recent refactoring in that area.
- Commit:
7607911191b7e64b5da7a733b35befd275b2c76d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
setsong in playlist_swap if the player is stopped
- Commit:
3af9396383944c20699d5340bd000f7a5dafb387
- From:
- Omar Polo <op@omarpolo.com>
- Date:
keep the current song if load input was generated by show -p
`amused show -p' generates a listing in the form of
song
> current song
song
...
This adds an heuristic to `amused load' so that the current song can be
set if it's prefixed by "> ". It's particularly useful when
re-importing the state from a previous run.
- Commit:
601093db002025f856a835250585bc4d136ea068
- From:
- Omar Polo <op@omarpolo.com>
- Date:
unify IMSG_ERR and IMSG_EOF handling
IMSG_ERR needs a playlist_dropcurrent(), but otherwise is just the same
as IMSG_EOF: the current song ended and we need to move forward. To
unify, set current_song to NULL in playlist_dropcurrent, which make
sense since right after it we're not playing anything.
- Commit:
a553fbed3ddcda1fee9838f6307fc2c6e19635db
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move to the previous song in playlist_dropcurrent()
this avoids the player skipping two songs on failure.
- Commit:
b21ec899d80b2b7298539334801e73b617cbea3c
- From:
- Omar Polo <op@omarpolo.com>
- Date:
update the heuristic: try to keep `current_song', not play_off
- Commit:
74c987d53230b125b919cd1ab99426e6d81a8bbc
- From:
- Omar Polo <op@omarpolo.com>
- Date:
keep current song in a dedicated variable
playlist.songs[play_off] is not a good representation for the current
playing song after all. After a `load' command, or a flush request, the
play_off changes but we're still playing the "old" song.
This saves the current song in a dedicated variable that's updated upon
playlist_advance and playlist_previous, thus givin a more accurate view.
- Commit:
82e732c933afb90ceeef9e0ac16ca9053a4ea851
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add a heuristic to try to keep the current song after a `load'
- Commit:
a913de2162216a16a67cd8cf5ae0371c258aefc7
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add `jump' subcommand to play the first matching
- Commit:
0977e96a0236af26cfd4663bce2dad656fa1ef07
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add playlist_swap
- Commit:
cd070aeadabc033a40fc829a21f62b4a37684a8c
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add playlist_free