You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/SongControl.cpp
+11-8Lines changed: 11 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -89,19 +89,19 @@ namespace SongControl {
89
89
if (songManager.isOriginalMenuLoop()) returnSongControl::woahThereBuddy("There's nothing to blacklist! Open Menu Loop Randomizer's config directory and edit its <cj>blacklist.txt</c> file to bring back some songs.");
90
90
if (songManager.isOverride()) returnSongControl::woahThereBuddy("You're trying to blacklist your own <cy>override</c>. Double-check your settings again.");
if (!useCustomSongs && !songName.empty()) returnUtils::newNotification(fmt::format("Blacklisted {}. Have fun with the original menu loop. :)", songName));
129
129
}
130
130
131
-
if (!useCustomSongs) returnUtils::newNotification(fmt::format("Blacklisted {} by {} ({}), now playing {}.", songName, songArtist, songID, Utils::getSongName()));
131
+
if (!useCustomSongs) {
132
+
if (songID != -1) returnUtils::newNotification(fmt::format("Blacklisted {} by {} ({}), now playing {}.", songName, songArtist, songID, Utils::getSongName()));
133
+
returnUtils::newNotification(fmt::format("Blacklisted {}, now playing {}.", Utils::toNormalizedString(std::filesystem::path(songBeingBlacklisted).filename()), Utils::getSongName()));
134
+
}
132
135
if (!customSong.empty()) returnUtils::newNotification(fmt::format("Blacklisted {}, now playing {}.", customSong, Utils::currentCustomSong()));
0 commit comments