Platforms to show: All Mac Windows Linux Cross-Platform
VLCMediaMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | VLC | MBS VLC Plugin | 12.2 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
- 3 properties
- property Handle as Integer
- property Tag as Integer
- property VLC as VLCInstanceMBS
- 19 methods
- method AddOption(options as string)
- method AddOptionFlag(options as string, flags as UInt32)
- method Clone as VLCMediaMBS
- method Constructor(original as VLCMediaMBS)
- method Constructor(vlc as VLCInstanceMBS, URL as string)
- method Destructor
- method Duration as Int64
- method IsParsed as Boolean
- method Meta(type as Integer) as string
- method MRL as string
- method Parse
- method ParseAsync
- method SaveMeta as Boolean
- method SetMeta(meta as Integer, value as string)
- method State as Integer
- method Stats as VLCMediaStatsMBS
- method SubItems as VLCMediaListMBS
- method TrackInfos as VLCMediaTrackInfoMBS()
- method Tracks as VLCMediaTrackMBS()
- 7 shared methods
- shared method MediaWithData(vlc as VLCInstanceMBS, data as memoryblock) as VLCMediaMBS
- shared method MediaWithData(vlc as VLCInstanceMBS, data as string) as VLCMediaMBS
- shared method MediaWithFile(vlc as VLCInstanceMBS, file as folderitem) as VLCMediaMBS
- shared method MediaWithFileDescriptor(vlc as VLCInstanceMBS, fd as Integer) as VLCMediaMBS
- shared method MediaWithPath(vlc as VLCInstanceMBS, Path as string) as VLCMediaMBS
- shared method MediaWithURL(vlc as VLCInstanceMBS, URL as string) as VLCMediaMBS
- shared method NewAsNode(vlc as VLCInstanceMBS, name as string) as VLCMediaMBS
- 40 constants
Metadata Types Constants
Constant | Value | Description |
---|---|---|
kMetaActors | 22 |
Actors |
kMetaAlbum | 4 |
Album |
kMetaAlbumArtist | 23 |
Album artist |
kMetaArtist | 1 |
Artist |
kMetaArtworkURL | 15 |
Artwork URL |
kMetaCopyright | 3 |
Copyright |
kMetaDate | 8 |
Date |
kMetaDescription | 6 |
Description |
kMetaDirector | 18 |
Director |
kMetaDiscNumber | 24 |
Disc number |
kMetaDiscTotal | 25 |
Disc total |
kMetaEncodedBy | 14 |
Encode By |
kMetaEpisode | 20 |
Episode |
kMetaGenre | 2 |
Genre |
kMetaLanguage | 11 |
Language |
kMetaNowPlaying | 12 |
Now Playing |
kMetaPublisher | 13 |
Publisher |
kMetaRating | 7 |
Rating |
kMetaSeason | 19 |
Season |
kMetaSetting | 9 |
Setting |
kMetaShowName | 21 |
ShowName |
kMetaTitle | 0 |
Title |
kMetaTrackID | 16 |
Track ID |
kMetaTrackNumber | 5 |
Track Number |
kMetaTrackTotal | 17 |
Total |
kMetaURL | 10 |
URL |
Media Option Constants
Constant | Value | Description |
---|---|---|
kOptionTrusted | 2 |
Trusted |
kOptionUnique | 16 |
Unique |
State Constants
Constant | Value | Description |
---|---|---|
kStateBuffering | 2 |
Buffering |
kStateEnded | 6 |
Ended |
kStateError | 7 |
Error |
kStateNothingSpecial | 0 |
Nothing special. Video closed for example. |
kStateOpening | 1 |
Opening |
kStatePaused | 4 |
Paused |
kStatePlaying | 3 |
Playing |
kStateStopped | 5 |
Stopped |
Track Type Constants
Constant | Value | Description |
---|---|---|
kTrackTypeAudio | 0 |
Audio |
kTrackTypeText | 2 |
Text |
kTrackTypeUnknown | -1 |
Unknown type |
kTrackTypeVideo | 1 |
Video |
This class has no sub classes.
Some methods using this class:
- VLCEventManagerMBS.Constructor(Media as VLCMediaMBS)
- VLCMediaListMBS.AddMedia(item as VLCMediaMBS) as boolean
- VLCMediaListMBS.GetMedia as VLCMediaMBS
- VLCMediaListMBS.IndexOfItem(item as VLCMediaMBS) as Integer
- VLCMediaListMBS.InsertMedia(item as VLCMediaMBS, index as Integer) as boolean
- VLCMediaListMBS.ItemAtIndex(index as Integer) as VLCMediaMBS
- VLCMediaListMBS.SetMedia(item as VLCMediaMBS)
- VLCMediaListPlayerMBS.PlayItem(item as VLCMediaMBS) as Boolean
- VLCMediaPlayerMBS.Constructor(media as VLCMediaMBS)
Some properties using for this class:
- VLCMediaPlayerMBS.Media as VLCMediaMBS
Some events using this class:
- VLCEventManagerMBS.MediaFreed(media as VLCMediaMBS)
- VLCEventManagerMBS.MediaListItemAdded(item as VLCMediaMBS, index as Integer)
- VLCEventManagerMBS.MediaListItemDeleted(item as VLCMediaMBS, index as Integer)
- VLCEventManagerMBS.MediaListPlayerNextItemSet(item as VLCMediaMBS)
- VLCEventManagerMBS.MediaListWillAddItem(item as VLCMediaMBS, index as Integer)
- VLCEventManagerMBS.MediaListWillDeleteItem(item as VLCMediaMBS, index as Integer)
- VLCEventManagerMBS.MediaPlayerMediaChanged(item as VLCMediaMBS)
- VLCEventManagerMBS.MediaSubItemAdded(media as VLCMediaMBS)
- VLCEventManagerMBS.MediaSubItemTreeAdded(media as VLCMediaMBS)
Some examples using this class:
- /VLC/Play audio
- /VLC/Show two videos
- /VLC/Show video sample
- /VLC/Thumbnailer Console
- /VLC/Thumbnailer GUI
Blog Entries
Release notes
- Version 20.3
- Fixed crash in Tracks function in VLCMediaMBS class.
The items on this page are in the following plugins: MBS VLC Plugin.
VLCMediaListPlayerMBS - VLCMediaPlayerMBS