forked from nikita/muzika-gromche
Show Artist & Song metadata in config
This commit is contained in:
parent
6a71ed578b
commit
f20a500992
|
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
## MuzikaGromche 1337.9001.69
|
## MuzikaGromche 1337.9001.69
|
||||||
|
|
||||||
|
- Show real Artist & Song info in the config.
|
||||||
|
|
||||||
## MuzikaGromche 1337.9001.68 - LocalHost hotfix
|
## MuzikaGromche 1337.9001.68 - LocalHost hotfix
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1640,7 +1640,7 @@ namespace MuzikaGromche
|
||||||
// Create slider entry for track
|
// Create slider entry for track
|
||||||
var seasonal = track.Season is Season season ? $"This is seasonal content for {season.Name}.\n\n" : "";
|
var seasonal = track.Season is Season season ? $"This is seasonal content for {season.Name}.\n\n" : "";
|
||||||
string warning = track.IsExplicit ? "Explicit Content/Lyrics!\n\n" : "";
|
string warning = track.IsExplicit ? "Explicit Content/Lyrics!\n\n" : "";
|
||||||
string description = $"Language: {language.Full}\n\n{seasonal}{warning}Random (relative) chance of selecting this track.\n\nSet to zero to effectively disable the track.";
|
string description = $"Song: {track.Song} by {track.Artist}\n\nLanguage: {language.Full}\n\n{seasonal}{warning}Random (relative) chance of selecting this track.\n\nSet to zero to effectively disable the track.";
|
||||||
track.Weight = configFile.Bind(
|
track.Weight = configFile.Bind(
|
||||||
new ConfigDefinition(section, track.Name),
|
new ConfigDefinition(section, track.Name),
|
||||||
50,
|
50,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue