Note:
GetAllMusicFiles
and OnMusicFilesRetrieved
have changed...
You will need to locate the blocks in your project if you are using them so you don't lose their functionality.
Removed the GetAllAudioFiles
function and the OnAudioFilesRetrieved
event that got all audio file types from the device, since it is not needed because now the GetMusicFiles function does that.
FUNCTIONS
GetMusicFiles
The GetAllMusicFiles function has been renamed to GetMusicFiles and a parameter has been added to set the type of audio file you want to get.
Input types: MP3, AAC, WAV, OGG, AMR, FLAC, MIDI, 3GP, MP4, M4A, MKA.
- Setting
All
will get all audio types.
SetPlaylist
Set a list of songs.
songs
: List of song paths.
GetPlaylist
Get the list of songs set in SetPlaylist.
PlaybackSpeed
Set the playback speed (0.5 to 2.0 recommended).
speed
: The number must be greater than 0.0.
Repeat
Set the repeat mode.
repeatMode
: RepeatMode
helper block with these options:
repeatAll
repeatOne
repeatOff
Loop:
Calling the function causes playback to loop for the time set in the start and end parameters.
start
: Start time in milliseconds.
end
: End time in milliseconds.
- The set song segment will not stop playing until you call the
DisableLoop
function.
Minutes to milliseconds example:
DisableLoop
Disable loop playback, the song will continue to play normally.
GetSongsCount
Get the number of songs in the playlist in the app.
Shuffle
Set songs to shuffle mode.
Next
Go to the next song.
Shuffle mode applies to Next if enabled.
Previous
Go back to the previous song.
Shuffle mode does not apply here, the song will be returned to the index before the current one.
CurrentSongIndex
Get the index of the currently playing song.
EVENT
OnSongIndexChanged
Event is fired when a new song starts by getting its index.
OnPlaybackComplete
Event is fired when a song ends, except in RepeatOne mode.
OnMusicFilesRetrieved
It's activated when all music files have been retrieved from the device and provides lists of paths, titles, artists, albums, durations and bitRates.
bitRates
- New parameter.
OnSetPlaylist
Event triggered when playlist of songs is complete.
OnNext
The event is fired when using the Next function.
OnPrevious
The event is fired when using the Previous function.
ㅤExtension: Version: 1.0.5ㅤ
joejsanz.player.joedevplayer.aix (1.6 MB)