mirror of
https://github.com/4sval/FModel.git
synced 2026-03-26 19:55:18 -05:00
audio issue link
This commit is contained in:
parent
96a2692994
commit
18f9db61a8
|
|
@ -42,7 +42,7 @@ public static class Constants
|
|||
|
||||
// Common issues
|
||||
public const string MAPPING_ISSUE_LINK = "https://github.com/4sval/FModel/discussions/418";
|
||||
public const string AUDIO_ISSUE_LINK = DISCORD_LINK; // TODO: add me please
|
||||
public const string AUDIO_ISSUE_LINK = "https://github.com/4sval/FModel/discussions/658";
|
||||
public const string VERSION_ISSUE_LINK = "https://github.com/4sval/FModel/discussions/425";
|
||||
|
||||
public static int PALETTE_LENGTH => COLOR_PALETTE.Length;
|
||||
|
|
|
|||
|
|
@ -246,7 +246,7 @@ public class ApplicationViewModel : ViewModel
|
|||
}
|
||||
else
|
||||
{
|
||||
FLogger.Append(ELog.Error, () => FLogger.Text("Could not download VgmStream", Constants.WHITE, true));
|
||||
FLogger.Append(ELog.Error, () => FLogger.Text("Could not download vgmstream", Constants.WHITE, true));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -674,10 +674,10 @@ public class AudioPlayerViewModel : ViewModel, ISource, IDisposable
|
|||
vgmFilePath = Path.Combine(UserSettings.Default.OutputDirectory, ".data", "vgmstream-cli.exe");
|
||||
if (!File.Exists(vgmFilePath))
|
||||
{
|
||||
Log.Error($"Failed to convert {inputFilePath}, VgmStream is missing");
|
||||
Log.Error("Failed to convert {InputFilePath}, vgmstream is missing", inputFilePath);
|
||||
FLogger.Append(ELog.Error, () =>
|
||||
{
|
||||
FLogger.Text("Failed to convert audio. VgmStream is missing. See: ", Constants.WHITE);
|
||||
FLogger.Text("Failed to convert audio because vgmstream is missing. See: ", Constants.WHITE);
|
||||
FLogger.Link("→ link ←", Constants.AUDIO_ISSUE_LINK, true);
|
||||
});
|
||||
return false;
|
||||
|
|
@ -702,7 +702,7 @@ public class AudioPlayerViewModel : ViewModel, ISource, IDisposable
|
|||
var success = vgmProcess?.ExitCode == 0 && File.Exists(wavFilePath);
|
||||
if (!success)
|
||||
{
|
||||
Log.Error($"Failed to convert {inputFilePath} to .wav format");
|
||||
Log.Error("Failed to convert {InputFilePath} to .wav format", inputFilePath);
|
||||
if (updateUi)
|
||||
{
|
||||
FLogger.Append(ELog.Error, () =>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user