mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 12:10:37 +00:00
Add generated Tags class and remove hand-written CommonTags class
This commit is contained in:
parent
31a1bb9ca2
commit
87786e2e90
3 changed files with 59 additions and 48 deletions
|
@ -1,47 +0,0 @@
|
|||
//
|
||||
// Commontags.cs: Constant tag strings
|
||||
//
|
||||
// Authors:
|
||||
// Alp Toker (alp@atoker.com)
|
||||
//
|
||||
// Copyright (C) 2002 Alp Toker
|
||||
//
|
||||
|
||||
namespace Gst {
|
||||
public sealed class CommonTags {
|
||||
public const string Title = "title";
|
||||
public const string Artist = "artist";
|
||||
public const string Album = "album";
|
||||
public const string Date = "date";
|
||||
public const string Genre = "genre";
|
||||
public const string Comment = "comment";
|
||||
public const string TrackNumber = "track-number";
|
||||
public const string TrackCount = "track-count";
|
||||
public const string AlbumVolumeNumber = "album-disc-number";
|
||||
public const string AlbumVolumeCount = "album-disc-count";
|
||||
public const string Location = "location";
|
||||
public const string Description = "description";
|
||||
public const string Version = "version";
|
||||
public const string Isrc = "isrc";
|
||||
public const string Organization = "organization";
|
||||
public const string Copyright = "copyright";
|
||||
public const string Contact = "contact";
|
||||
public const string License = "license";
|
||||
public const string Performer = "performer";
|
||||
public const string Duration = "duration";
|
||||
public const string Codec = "codec";
|
||||
public const string VideoCodec = "video-codec";
|
||||
public const string AudioCodec = "audio-codec";
|
||||
public const string Bitrate = "bitrate";
|
||||
public const string NominalBitrate = "nominal-bitrate";
|
||||
public const string MinimumBitrate = "minimum-bitrate";
|
||||
public const string MaximumBitrate = "maximum-bitrate";
|
||||
public const string Serial = "serial";
|
||||
public const string Encoder = "encoder";
|
||||
public const string EncoderVersion = "encoder-version";
|
||||
public const string TrackGain = "replaygain-track-gain";
|
||||
public const string TrackPeak = "replaygain-track-peak";
|
||||
public const string AlbumGain = "replaygain-album-gain";
|
||||
public const string AlbumPeak = "replaygain-album-peak";
|
||||
}
|
||||
}
|
|
@ -42,7 +42,7 @@ sources = \
|
|||
Application.cs \
|
||||
Version.cs \
|
||||
AssemblyInfo.cs \
|
||||
CommonTags.cs \
|
||||
Tags.cs \
|
||||
GError.cs \
|
||||
Value.cs \
|
||||
plugins-base/PlayBin.cs \
|
||||
|
|
58
gstreamer-sharp/Tags.cs
Normal file
58
gstreamer-sharp/Tags.cs
Normal file
|
@ -0,0 +1,58 @@
|
|||
namespace Gst {
|
||||
public static class Tags {
|
||||
public const string Title = "title";
|
||||
public const string TitleSortname = "title-sortname";
|
||||
public const string Artist = "artist";
|
||||
public const string ArtistSortname = "musicbrainz-sortname";
|
||||
public const string Album = "album";
|
||||
public const string AlbumSortname = "album-sortname";
|
||||
public const string Composer = "composer";
|
||||
public const string Date = "date";
|
||||
public const string Genre = "genre";
|
||||
public const string Comment = "comment";
|
||||
public const string ExtendedComment = "extended-comment";
|
||||
public const string TrackNumber = "track-number";
|
||||
public const string TrackCount = "track-count";
|
||||
public const string AlbumVolumeNumber = "album-disc-number";
|
||||
public const string AlbumVolumeCount = "album-disc-count";
|
||||
public const string Location = "location";
|
||||
public const string Homepage = "homepage";
|
||||
public const string Description = "description";
|
||||
public const string Version = "version";
|
||||
public const string Isrc = "isrc";
|
||||
public const string Organization = "organization";
|
||||
public const string Copyright = "copyright";
|
||||
public const string CopyrightUri = "copyright-uri";
|
||||
public const string Contact = "contact";
|
||||
public const string License = "license";
|
||||
public const string LicenseUri = "license-uri";
|
||||
public const string Performer = "performer";
|
||||
public const string Duration = "duration";
|
||||
public const string Codec = "codec";
|
||||
public const string VideoCodec = "video-codec";
|
||||
public const string AudioCodec = "audio-codec";
|
||||
public const string SubtitleCodec = "subtitle-codec";
|
||||
public const string Bitrate = "bitrate";
|
||||
public const string NominalBitrate = "nominal-bitrate";
|
||||
public const string MinimumBitrate = "minimum-bitrate";
|
||||
public const string MaximumBitrate = "maximum-bitrate";
|
||||
public const string Serial = "serial";
|
||||
public const string Encoder = "encoder";
|
||||
public const string EncoderVersion = "encoder-version";
|
||||
public const string TrackGain = "replaygain-track-gain";
|
||||
public const string TrackPeak = "replaygain-track-peak";
|
||||
public const string AlbumGain = "replaygain-album-gain";
|
||||
public const string AlbumPeak = "replaygain-album-peak";
|
||||
public const string ReferenceLevel = "replaygain-reference-level";
|
||||
public const string LanguageCode = "language-code";
|
||||
public const string Image = "image";
|
||||
public const string PreviewImage = "preview-image";
|
||||
public const string Attachment = "attachment";
|
||||
public const string BeatsPerMinute = "beats-per-minute";
|
||||
public const string Keywords = "keywords";
|
||||
public const string GeoLocationName = "geo-location-name";
|
||||
public const string GeoLocationLatitude = "geo-location-latitude";
|
||||
public const string GeoLocationLongitude = "geo-location-longitude";
|
||||
public const string GeoLocationElevation = "geo-location-elevation";
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue