X-Git-Url: https://git.r.bdr.sh/rbdr/lyricli/blobdiff_plain/0b3e11a806e704fa373f0549fb3b6164d45c564a..4425e9001e20e891dab7711644f83a1628788b47:/Sources/Lyricli.swift diff --git a/Sources/Lyricli.swift b/Sources/Lyricli.swift index 6c73e02..d55b500 100644 --- a/Sources/Lyricli.swift +++ b/Sources/Lyricli.swift @@ -3,7 +3,16 @@ public class Lyricli { public static var version = "0.0.0-feature/option-parsing" public static func printLyrics() { - print("Getting Lyrics: Not yet implemented") + + let sourceManager = SourceManager() + + if let currentTrack = sourceManager.currentTrack { + print(currentTrack.artist) + print(currentTrack.name) + } + else { + print("Current track not found") + } } public static func printTitle() {