示例#1
0
 /// <summary>
 /// Save both ID3v2 and ID3v1
 /// </summary>
 /// <param name="Formula">Formula to rename file while saving</param>
 public bool Save(string Formula)
 {
     ID3v1Info.Save();
     ID3v2Info.Save(Formula);
     ID3v1Info.FilePath = ID3v2Info.FilePath;
     return(true);
 }
示例#2
0
 /// <summary>
 /// Save current ID3Info in specific location
 /// </summary>
 /// <param name="path">Path to save</param>
 /// <returns>True if save successfull</returns>
 public bool SaveAs(string path)
 {
     ID3v2Info.SaveAs(path);
     ID3v1Info.FilePath = ID3v2Info.FilePath;
     ID3v1Info.Save();
     return(true);
 }
示例#3
0
 /// <summary>
 /// Save both ID3v2 and ID3v1
 /// </summary>
 public bool Save()
 {
     ID3v2Info.Save();
     ID3v1Info.Save();
     return(true);
 }
示例#4
0
 /// <summary>
 /// Load both ID3v1 and ID3v2 information from file
 /// </summary>
 public bool Load()
 {
     ID3v2Info.Load();
     ID3v1Info.Load();
     return(true);
 }
示例#5
0
 /// <summary>
 /// Get filename according to specific formula
 /// </summary>
 /// <param name="Formula">Formula to make filename</param>
 /// <returns>System.String Contains filename</returns>
 public string MakeFileName(string Formula)
 {
     return(ID3v2Info.MakeFileName(Formula));
 }
示例#6
0
 /// <summary>
 /// Constructs a MP3-Album
 /// </summary>
 /// <param name="sourcePath">
 /// Path to the source folder of the MP3-Album
 /// </param>
 /// <param name="targetFolder">
 /// Name of the subfolder on the MP3-media server (default: \\DISKSTATION/music), where the digital object shall be stored.
 /// (This subfolder is assumed to be either ArcAudioMP3 for text audios or ArcMusicMP3 for music audios)
 /// </param>
 public Mp3Album(string sourcePath, string targetFolder)
     : base(sourcePath, targetFolder)
 {
     MP3Info = new ID3v2Info();
     //this.m_albumdirectory = new DirectoryInfo(path);
 }