]> git.r.bdr.sh - rbdr/lyricli/blob - Sources/lyrics_engine.swift
661ce86c1e5b9c9c675bb1a9cd1ad3f4829f143d
[rbdr/lyricli] / Sources / lyrics_engine.swift
1 /// Looks for lyrics on the internet
2 class LyricsEngine {
3
4 let track: Track
5
6 var lyrics: String? {
7 get {
8 if track.artist == "test" && track.name == "test" {
9 return "Doo doo doo"
10 }
11
12 return nil
13 }
14 }
15
16 init(withTrack targetTrack: Track) {
17
18 track = targetTrack
19 }
20 }