Platforms to show: All Mac Windows Linux Cross-Platform

VLCMediaListMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class VLC MBS VLC Plugin 12.2 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
The class for a media list.
Example
// build a playlist of all MP3 files in a folder
// Instance is a property of the window: Instance As VLCInstanceMBS (created after VLCInstanceMBS.LoadLibrary)
Var list As New VLCMediaListMBS(Instance)
Var folder As FolderItem = SpecialFolder.Music

list.Lock
For Each file As FolderItem In folder.Children
If file.Name.EndsWith(".mp3") Then
Var media As VLCMediaMBS = VLCMediaMBS.MediaWithFile(Instance, file)
If media <> Nil Then Call list.AddMedia(media)
End If
Next
list.Unlock

MessageBox list.Count.ToString + " files in playlist"

This class has no subclasses.

Some methods using this class:

Some properties using this class:

Some related classes:


The items on this page are in the following plugins: MBS VLC Plugin.


VLCMediaLibraryMBS   -   VLCMediaListPlayerMBS


The biggest plugin in space...