v0.0.3 More Things
This new release of dart_vlc adds:
- More advanced playlist modification methods like:
add
for appending a newMedia
to thePlaylist
of thePlayer
.remove
for removing aMedia
from thePlaylist
of thePlayer
from certain index.insert
method for insertingMedia
to certain index.move
aMedia
from one index to another.
- Ability to get all playback
Device
s on machine & change.Devices.all
givesList
of allDevice
s.Player.setDevice
can be used to set a playback device for thePlayer
instance.
- Ability to retrieve metadata of a
Media
(either fromMedia.network
orMedia.file
).- Now you can access metadata of a
Media
by passingparse: true
for parsing the metadata. - Retrieved metadata is stored inside
Media.metas
asMap<String, String>
.
- Now you can access metadata of a
- Now event streams are splitted into four:
Player.currentStream
- Contains:
index
media
medias
isPlaylist
- Contains:
Player.positionStream
- Contains:
position
duration
- Contains:
Player.playbackStream
- Contains:
isPlaying
isSeekable
isCompleted
- Contains:
Player.generalStream
- Contains:
volume
rate
- Contains:
- Thanks to @DomingoMG for thorough testing.