]> git.r.bdr.sh - rbdr/lyricli/commitdiff
Add iTunes source to available sources
authorBen Beltran <redacted>
Sat, 20 May 2017 16:21:30 +0000 (11:21 -0500)
committerBen Beltran <redacted>
Sat, 20 May 2017 16:21:30 +0000 (11:21 -0500)
Sources/source_manager.swift

index 5ee1305c9927cb8968ba2aba05b074c19a3c5b17..aaac6963dfacef66482e3a1f7f054eb0138b5010 100644 (file)
@@ -3,7 +3,8 @@ class SourceManager {
 
     // List of sources enabled for the crurent platform
     private var availableSources: [String: Source] = [
-        "arguments": ArgumentsSource()
+        "arguments": ArgumentsSource(),
+        "itunes": ItunesSource()
     ]
 
     // Iterate over the sources until we find a track or run out of sources