]>
Commit | Line | Data |
---|---|---|
0b3e11a8 | 1 | /// The main Lyricli interface |
194a3581 BB |
2 | public class Lyricli { |
3 | public static var version = "0.0.0-feature/option-parsing" | |
0b3e11a8 BB |
4 | |
5 | public static func printLyrics() { | |
4425e900 BB |
6 | |
7 | let sourceManager = SourceManager() | |
8 | ||
9 | if let currentTrack = sourceManager.currentTrack { | |
10 | print(currentTrack.artist) | |
11 | print(currentTrack.name) | |
12 | } | |
13 | else { | |
14 | print("Current track not found") | |
15 | } | |
0b3e11a8 BB |
16 | } |
17 | ||
18 | public static func printTitle() { | |
19 | print("Getting Song Title: Not yet implemented") | |
20 | } | |
21 | ||
22 | public static func printSources() { | |
23 | print("Listing Sources: Not yet implemented") | |
24 | } | |
25 | ||
26 | public static func enableSource(_ sourceName: String) { | |
27 | print("Enable source \(sourceName): Not yet implemented") | |
28 | } | |
29 | ||
30 | public static func disableSource(_ sourceName: String) { | |
31 | print("Disable source \(sourceName): Not yet implemented") | |
32 | } | |
33 | ||
34 | public static func resetSource(_ sourceName: String) { | |
35 | print("Reset source \(sourceName): Not yet implemented") | |
36 | } | |
194a3581 | 37 | } |