コード例 #1
0
ファイル: AthameSettings.cs プロジェクト: kkhrychikov/Athame
 // Defaults
 public AthameSettings()
 {
     AlbumArtworkSaveFormat = AlbumArtworkSaveFormat.DontSave;
     GeneralSavePreference  = new MediaTypeSavePreference
     {
         AskForLocation = false,
         SaveDirectory  = Environment.GetFolderPath(Environment.SpecialFolder.MyMusic),
         SaveFormat     = "{AlbumArtistOrArtist} - {Album.Title}/{TrackNumber} {Title}"
     };
     PlaylistSavePreference = new MediaTypeSavePreference
     {
         AskForLocation = false,
         SaveDirectory  = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments),
         SaveFormat     = "{PlaylistName}/{Title} - {AlbumArtistOrArtist}"
     };
     PlaylistSync = new PlaylistSyncPreference
     {
         SyncDirectory = Environment.GetFolderPath(Environment.SpecialFolder.MyMusic)
     };
     PlaylistSavePreferenceUsesGeneral = false;
     MainWindowPreference          = new WindowPreference();
     SavePlaylist                  = SavePlaylistSetting.DontSave;
     ConfirmExit                   = true;
     IgnoreSaveArtworkWithPlaylist = true;
     KeepSystemAwake               = false;
     WriteWatermarkTags            = true;
 }
コード例 #2
0
 // Defaults
 public AthameSettings()
 {
     AlbumArtworkSaveFormat = AlbumArtworkSaveFormat.DontSave;
     GeneralSavePreference  = new MediaTypeSavePreference
     {
         AskForLocation = false,
         SaveDirectory  = Environment.GetFolderPath(Environment.SpecialFolder.MyMusic),
         SaveFormat     = "{AlbumArtistOrArtist} - {Album.Title}/{TrackNumber} {Title}"
     };
     PlaylistSavePreference = new MediaTypeSavePreference
     {
         AskForLocation = false,
         SaveDirectory  = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments),
         SaveFormat     = "{PlaylistName}"
     };
     PlaylistSavePreferenceUsesGeneral = false;
     MainWindowPreference = new WindowPreference();
 }
コード例 #3
0
 // Defaults
 public AthameSettings()
 {
     ServiceSettings        = new Dictionary <string, StoredSettings>();
     AlbumArtworkSaveFormat = AlbumArtworkSaveFormat.DontSave;
     GeneralSavePreference  = new MediaTypeSavePreference
     {
         AskForLocation = false,
         SaveDirectory  = Environment.GetFolderPath(Environment.SpecialFolder.MyMusic),
         SaveFormat     = "{AlbumArtistOrArtist} - {Album.Title}/{TrackNumber} {Title}"
     };
     PlaylistSavePreference = new MediaTypeSavePreference
     {
         AskForLocation = false,
         SaveDirectory  = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile),
         SaveFormat     = "Playlist Name/{AlbumArtistOrArtist} - {Title}"
     };
     PlaylistSavePreferenceUsesGeneral = true;
     MainWindowPreference = new WindowPreference();
 }