Filter out collections and playlists libraries
This commit is contained in:
parent
020953c838
commit
02281120dc
1 changed files with 5 additions and 0 deletions
|
|
@ -23,6 +23,11 @@ public class LibraryService : ILibraryService
|
||||||
|
|
||||||
foreach (var library in clientLibraries.Items)
|
foreach (var library in clientLibraries.Items)
|
||||||
{
|
{
|
||||||
|
if (library.Name == "Collections" || library.Name == "Playlists")
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
if (!libraries.ContainsKey(library.Name))
|
if (!libraries.ContainsKey(library.Name))
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue