]> git.r.bdr.sh - rbdr/lyricli/blob - Sources/lyrics_engine.swift
Merge branch 'feature/read-song-from-command-line' into develop
[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 }