caf2003d96
Previously, addnext would try to unconditionally add at index one into a queue. This panicked if the queue was empty. Added two protections, one that checks the index in the InsertTrack function, the other in the addnext command itself to insert at zero if the queue is empty. |
||
---|---|---|
.. | ||
add.go | ||
add_test.go | ||
addnext.go | ||
addnext_test.go | ||
cachesize.go | ||
cachesize_test.go | ||
currenttrack.go | ||
currenttrack_test.go | ||
forceskip.go | ||
forceskip_test.go | ||
forceskipplaylist.go | ||
forceskipplaylist_test.go | ||
help.go | ||
help_test.go | ||
joinme.go | ||
joinme_test.go | ||
kill.go | ||
kill_test.go | ||
listtracks.go | ||
listtracks_test.go | ||
move.go | ||
move_test.go | ||
nexttrack.go | ||
nexttrack_test.go | ||
numcached.go | ||
numcached_test.go | ||
numtracks.go | ||
numtracks_test.go | ||
pause.go | ||
pause_test.go | ||
pkg_init.go | ||
register.go | ||
register_test.go | ||
reload.go | ||
reload_test.go | ||
reset.go | ||
reset_test.go | ||
resume.go | ||
resume_test.go | ||
setcomment.go | ||
setcomment_test.go | ||
shuffle.go | ||
shuffle_test.go | ||
skip.go | ||
skip_test.go | ||
skipplaylist.go | ||
skipplaylist_test.go | ||
toggleshuffle.go | ||
toggleshuffle_test.go | ||
version.go | ||
version_test.go | ||
volume.go | ||
volume_test.go |