]> git.r.bdr.sh - rbdr/lyricli/blame - Sources/lyrics_engine.swift
Simulate lyrics engine
[rbdr/lyricli] / Sources / lyrics_engine.swift
CommitLineData
a968bff7
BB
1/// Looks for lyrics on the internet
2class 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}