Constants.cs 3.02 KB
Newer Older
Axelander's avatar
Axelander committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
namespace SonicStreamer.Common.System
{
    public static class Constants
    {
        // ViewModels
        public const string ViewModelMain = "MainVM";
        public const string ViewModelLogin = "LoginVM";
        public const string ViewModelApplicationSettings = "SettingsVM";
        public const string ViewModelPlayback = "PlaybackVM";
        public const string ViewModelStart = "StartVM";
        public const string ViewModelSearch = "SearchVM";
        public const string ViewModelArtist = "ArtistVM";
        public const string ViewModelAlbum = "AlbumVM";
        public const string ViewModelTrackListing = "TrackListingVM";
        public const string ViewModelFolder = "FolderVM";
        public const string ViewModelPlaylist = "PlaylistVM";
        public const string ViewModelPodcast = "PodcastVM";

        // RoamingSetting
        public const string ContainerLogin = "LoginSettings";
        public const string SettingServerType = "ServerType";

Axelander's avatar
Axelander committed
23 24 25 26
        // LocalSettings
        public const string CacheFileName = "cache.json";
        public const string TrackCacheFolder = "tracks";

Axelander's avatar
Axelander committed
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
        // MusicBrainz

        public const string MusicBrainzArtistQueryParams =
            "-area-beginarea-endarea-arid-artist-artistaccent-alias-begin-comment-country-end-ended-gender-ipi-sortname-tag-type-";

        public const string MusicBrainzRecordingQueryParams =
            "-arid-artist-artistname-creditname-comment-country-date-dur-format-isrc-number-position-primarytype-puid-qdur-recording-recordingaccent-reid-release-rgid--rid-secondarytype-status-tid-tnum-tracks-tracksrelease-tag-type-video-";

        public const string MusicBrainzReleaseGroupQueryParams =
            "-arid-artist-artistname-comment-creditname-primarytype-rgid-releasegroup-releasegroupaccent-releases-release-reid-secondarytype-status-tag-type-";

        public const string MusicBrainzReleaseQueryParams =
            "-arid-artist-artistname-asin-barcode-catno-comment-country-creditname-date-discids-discidsmedium-format-laid-label-lang-mediums-primarytype-puid-quality-reid-release-releaseaccent-rgid-script-secondarytype-status-tag-tracks-tracksmedium-type-";

        public const string MusicBrainzEmptyStream = "Query returned an empty result.";
        public const string MusicBrainzInvalidQueryParameter = "Key not supported ({ 0}).";
        public const string MusicBrainzMissingParameter = "Attribute '{0}' must be specified.";
        public const string MusicBrainzWrongResponseFormat = "Webservice returned invalid response format.";


        public const string PlaybackTrackId = "trackId";
        public const string PlaybackName = "name";
        public const string PlaybackArtist = "artist";
        public const string PlaybackArtistId = "artistId";
        public const string PlaybackAlbum = "album";
        public const string PlaybackAlbumId = "albumId";
        public const string PlaybackCover = "cover";
        public const string PlaybackDuration = "duration";
Axelander's avatar
Axelander committed
55
        public const string PlaybackDurationOutput = "durationOutput";
Axelander's avatar
Axelander committed
56 57
    }
}