From 8a51dd0336f1675e58090448750854d907117b73 Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Wed, 12 Apr 2017 12:05:52 -0500 Subject: [PATCH] fixed bug Signed-off-by: Matt Bruce --- SongCrawler/Program.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SongCrawler/Program.cs b/SongCrawler/Program.cs index 4fbe701..16bff0a 100644 --- a/SongCrawler/Program.cs +++ b/SongCrawler/Program.cs @@ -86,7 +86,8 @@ namespace SongCrawler FireSharp.FirebaseClient client = new FireSharp.FirebaseClient(config); string firepath = string.Format("controllers/{0}/songs", controller); Console.WriteLine("Loading current library"); - List songs = client.Get(firepath).ResultAs>(); + Dictionary dict = client.Get(firepath).ResultAs>(); + List songs = dict.Values.ToList(); if (songs != null) Console.WriteLine(string.Format("{0} songs loaded", songs.Count)); else