Minor updates to clear off minor informational messages.
This commit is contained in:
@@ -43,13 +43,13 @@ public abstract class AudioLibrary : IAudioLibrary
|
|||||||
|
|
||||||
public void RemoveLocations(string[] paths)
|
public void RemoveLocations(string[] paths)
|
||||||
{
|
{
|
||||||
foreach (string path in paths)
|
//foreach (string path in paths)
|
||||||
{
|
//{
|
||||||
//if (_locations.Contains(path) == false)
|
// //if (_locations.Contains(path) == false)
|
||||||
// continue;
|
// // continue;
|
||||||
|
|
||||||
|
|
||||||
}
|
//}
|
||||||
|
|
||||||
LocationRemoved?.Invoke(this, new EventArgs());
|
LocationRemoved?.Invoke(this, new EventArgs());
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ public class Playlist
|
|||||||
|
|
||||||
public void AddSongs(Song[] songs, int? index = null)
|
public void AddSongs(Song[] songs, int? index = null)
|
||||||
{
|
{
|
||||||
PlaylistSong[] playlistSongs = songs.Select(song => new PlaylistSong(song)).ToArray();
|
PlaylistSong[] playlistSongs = [.. songs.Select(song => new PlaylistSong(song))];
|
||||||
|
|
||||||
AddSongs(playlistSongs, index);
|
AddSongs(playlistSongs, index);
|
||||||
}
|
}
|
||||||
@@ -84,7 +84,7 @@ public class Playlist
|
|||||||
.OrderBy(Songs.IndexOf)
|
.OrderBy(Songs.IndexOf)
|
||||||
.ToDictionary(Songs.IndexOf, playlistSong => playlistSong);
|
.ToDictionary(Songs.IndexOf, playlistSong => playlistSong);
|
||||||
|
|
||||||
Song[] songs = playlistSongs.Select(playlistSong => playlistSong.Song).ToArray();
|
Song[] songs = [.. playlistSongs.Select(playlistSong => playlistSong.Song)];
|
||||||
Song[] sortedSongs = [.. songs.SortBy(sortOptions)];
|
Song[] sortedSongs = [.. songs.SortBy(sortOptions)];
|
||||||
|
|
||||||
int currentSortIndex = 0;
|
int currentSortIndex = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user