Commit a75c3426 authored by Felix Paul Kühne's avatar Felix Paul Kühne

VLCMedia: add new keys for total track number, director, season, episode, show...

VLCMedia: add new keys for total track number, director, season, episode, show name, actors, album artist, disc number
parent ba499407
...@@ -50,6 +50,14 @@ extern NSString *const VLCMetaInformationEncodedBy; /* NSString */ ...@@ -50,6 +50,14 @@ extern NSString *const VLCMetaInformationEncodedBy; /* NSString */
extern NSString *const VLCMetaInformationArtworkURL; /* NSString */ extern NSString *const VLCMetaInformationArtworkURL; /* NSString */
extern NSString *const VLCMetaInformationArtwork; /* NSImage */ extern NSString *const VLCMetaInformationArtwork; /* NSImage */
extern NSString *const VLCMetaInformationTrackID; /* NSString */ extern NSString *const VLCMetaInformationTrackID; /* NSString */
extern NSString *const VLCMetaInformationTrackTotal; /* NSString */
extern NSString *const VLCMetaInformationDirector; /* NSString */
extern NSString *const VLCMetaInformationSeason; /* NSString */
extern NSString *const VLCMetaInformationEpisode; /* NSString */
extern NSString *const VLCMetaInformationShowName; /* NSString */
extern NSString *const VLCMetaInformationActors; /* NSString */
extern NSString *const VLCMetaInformationAlbumArtist; /* NSString */
extern NSString *const VLCMetaInformationDiscNumber; /* NSString */
/* Notification Messages */ /* Notification Messages */
/** /**
......
...@@ -5,6 +5,12 @@ New APIs: ...@@ -5,6 +5,12 @@ New APIs:
- added properties: titleDescriptions, indexOfLongestTitle - added properties: titleDescriptions, indexOfLongestTitle
- added selector: chaptersForTitleIndex: - added selector: chaptersForTitleIndex:
- VLCMedia
- added keys: VLCMetaInformationTrackTotal, VLCMetaInformationDirector,
VLCMetaInformationSeason, VLCMetaInformationEpisode,
VLCMetaInformationShowName, VLCMetaInformationActors,
VLCMetaInformationAlbumArtist, VLCMetaInformationDiscNumber
Deprecated APIs: Deprecated APIs:
- VLCMediaPlayer - VLCMediaPlayer
- titles, chaptersForTitleIndex: - titles, chaptersForTitleIndex:
......
...@@ -51,6 +51,14 @@ NSString *const VLCMetaInformationEncodedBy = @"encodedBy"; ...@@ -51,6 +51,14 @@ NSString *const VLCMetaInformationEncodedBy = @"encodedBy";
NSString *const VLCMetaInformationArtworkURL = @"artworkURL"; NSString *const VLCMetaInformationArtworkURL = @"artworkURL";
NSString *const VLCMetaInformationArtwork = @"artwork"; NSString *const VLCMetaInformationArtwork = @"artwork";
NSString *const VLCMetaInformationTrackID = @"trackID"; NSString *const VLCMetaInformationTrackID = @"trackID";
NSString *const VLCMetaInformationTrackTotal = @"trackTotal";
NSString *const VLCMetaInformationDirector = @"director";
NSString *const VLCMetaInformationSeason = @"season";
NSString *const VLCMetaInformationEpisode = @"episode";
NSString *const VLCMetaInformationShowName = @"showName";
NSString *const VLCMetaInformationActors = @"actors";
NSString *const VLCMetaInformationAlbumArtist = @"AlbumArtist";
NSString *const VLCMetaInformationDiscNumber = @"discNumber";
/* Notification Messages */ /* Notification Messages */
NSString *const VLCMediaMetaChanged = @"VLCMediaMetaChanged"; NSString *const VLCMediaMetaChanged = @"VLCMediaMetaChanged";
...@@ -706,6 +714,14 @@ NSString *const VLCMediaTracksInformationTextEncoding = @"encoding"; // NSString ...@@ -706,6 +714,14 @@ NSString *const VLCMediaTracksInformationTextEncoding = @"encoding"; // NSString
VLCStringToMeta(Publisher), VLCStringToMeta(Publisher),
VLCStringToMeta(ArtworkURL), VLCStringToMeta(ArtworkURL),
VLCStringToMeta(TrackID), VLCStringToMeta(TrackID),
VLCStringToMeta(TrackTotal),
VLCStringToMeta(Director),
VLCStringToMeta(Season),
VLCStringToMeta(Episode),
VLCStringToMeta(ShowName),
VLCStringToMeta(Actors),
VLCStringToMeta(AlbumArtist),
VLCStringToMeta(DiscNumber),
nil]; nil];
#undef VLCStringToMeta #undef VLCStringToMeta
} }
...@@ -732,6 +748,14 @@ NSString *const VLCMediaTracksInformationTextEncoding = @"encoding"; // NSString ...@@ -732,6 +748,14 @@ NSString *const VLCMediaTracksInformationTextEncoding = @"encoding"; // NSString
VLCMetaToString(Publisher, type); VLCMetaToString(Publisher, type);
VLCMetaToString(ArtworkURL, type); VLCMetaToString(ArtworkURL, type);
VLCMetaToString(TrackID, type); VLCMetaToString(TrackID, type);
VLCMetaToString(TrackTotal, type);
VLCMetaToString(Director, type);
VLCMetaToString(Season, type);
VLCMetaToString(Episode, type);
VLCMetaToString(ShowName, type);
VLCMetaToString(Actors, type);
VLCMetaToString(AlbumArtist, type);
VLCMetaToString(DiscNumber, type);
#undef VLCMetaToString #undef VLCMetaToString
return nil; return nil;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment