Releases: guo-yu/player
Releases · guo-yu/player
v0.6.0
Thanks @ewnd9 and @ObsidianX , player module v0.6.0
is now fully supports volume control and pause
these PRs have been merged in this very release.
PS: v0.6.x
will be the last stable version to support versions lt Node v4.x
, after this release, source codes will NOT be compiled by babel.
v0.5.1
v0.5.0
- Core functions have been rewrited
- Now supporting shuffle songs, to enable shuffle mode, via
player.enable('shuffle')
or parse aoption.shuffle = true
when initing player instance. - API added:
player.enable()
enable a option after instance initedplayer.disable()
disable a option after instance inited- getter
list
viathis.list
- getter
playing
viathis.playing
- API changed:
player.play()
DO NOT acceptcallback
function anymore, to add a listener to play done, useplayer.on('finish')
instead.player.next()
DO NOT acceptcallback
function anymore.