-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
634 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,7 +43,6 @@ | |
|
||
.side-pane .bottom-bar { | ||
border-radius: 0 0 12px 12px; | ||
margin: 0 1px 1px 1px; | ||
} | ||
|
||
.music-navrail { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
using Gee; | ||
|
||
namespace Victrola { | ||
public class Lyric : Object { | ||
|
||
/* Fields */ | ||
public string title { get; set; } | ||
public string artist { get; set; } | ||
public string lyric { get; set; } | ||
public string lyric_sync { get; set; } | ||
private string[] urls; | ||
public string current_url { get; set; } | ||
public string current_sync_url { get; set; } | ||
|
||
public void add_url(string url) { | ||
urls += url; | ||
} | ||
|
||
public int get_len_urls() { | ||
return urls.length; | ||
} | ||
|
||
public string get_url_from_index(int index) { | ||
if (index > get_len_urls()) { | ||
return ""; | ||
} | ||
return urls[index]; | ||
} | ||
} | ||
} |
Oops, something went wrong.