Commits
- 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
- Commit:
532ca63cfb62d6e60321aff668a4330fdd0a7fb5
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add playlist_push
- Commit:
af27e631bb7de2e74c2bebd8caf8d5707fb9f223
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add next and prev command
- Commit:
13b838834600a04758caef4fae2f1ab61cd357d2
- From:
- Omar Polo <op@omarpolo.com>
- Date:
drop songs from the playlist on error
- Commit:
8891f624779ed4fa401c84d7a82ac804a04faa96
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix play_state in playlist_current and advance
- Commit:
8544abcd4a1bf2bfd027aa1fe4a458f07f794737
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix repeat all
The check is useless, the wraparound is already handled in the
following line.
- Commit:
3baa2617f8fa715685929c415068ab226626a2a3
- From:
- Omar Polo <op@omarpolo.com>
- Date:
initial commit