From: Ben Beltran Date: Sat, 20 May 2017 16:21:30 +0000 (-0500) Subject: Add iTunes source to available sources X-Git-Tag: 0.2.0^2~2^2~2 X-Git-Url: https://git.r.bdr.sh/rbdr/lyricli/commitdiff_plain/f24ce9a23fbe1eeb017b41c426eb2577dd9bc230?ds=inline Add iTunes source to available sources --- diff --git a/Sources/source_manager.swift b/Sources/source_manager.swift index 5ee1305..aaac696 100644 --- a/Sources/source_manager.swift +++ b/Sources/source_manager.swift @@ -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