Add songs to highscore.db at start, save date to db, read date and numplayed to song-infos.
This commit is contained in:
1 parent
11a72e6e8d
commit
f0ab780a87
4 files changed
+35
-1
No files matched your search
@@ -148,6 +148,7 @@ namespace VocaluxeLib.Songs
|
||||
public readonly List<string> Language = new List<string>();
|
||||
|
||||
public string DateAdded = "";
|
||||
public int NumPlayed = 0;
|
||||
|
||||
// Notes
|
||||
public readonly CNotes Notes = new CNotes();
|
||||
@@ -534,6 +535,8 @@ namespace VocaluxeLib.Songs
|
||||
sr.Dispose();
|
||||
_CheckFiles();
|
||||
|
||||
CBase.DataBase.GetDataBaseSongInfos(Artist, Title, out NumPlayed, out DateAdded);
|
||||
|
||||
//Before saving this tags to .txt: Check, if ArtistSorting and Artist are equal, then don't save this tag.
|
||||
if (ArtistSorting == "")
|
||||
ArtistSorting = Artist;
|
||||
|
||||
Reference in new issue
Block a user