Compare commits
2 commits
3615fb59eb
...
0ce58b3ce7
Author | SHA1 | Date | |
---|---|---|---|
0ce58b3ce7 | |||
e10069306d |
1 changed files with 0 additions and 12 deletions
12
src/api.vala
12
src/api.vala
|
@ -137,18 +137,6 @@ public class Subsonic : Object {
|
||||||
private string url;
|
private string url;
|
||||||
private string parameters;
|
private string parameters;
|
||||||
|
|
||||||
public Subsonic.with_password (string url, string username, string password) {
|
|
||||||
this.url = url;
|
|
||||||
this.parameters = @"u=$(Uri.escape_string(username))&p=$(Uri.escape_string(password))&v=1.16.1&c=eu.callcc.audrey";
|
|
||||||
|
|
||||||
this.session = new Soup.Session ();
|
|
||||||
this.session.user_agent = "audrey/linux";
|
|
||||||
|
|
||||||
this.artist_list = new ListStore (typeof (Artist));
|
|
||||||
this.album_list = new ListStore (typeof (Album));
|
|
||||||
this.song_list = new ListStore (typeof (Song));
|
|
||||||
}
|
|
||||||
|
|
||||||
public Subsonic.with_token (string url, string username, string token, string salt) {
|
public Subsonic.with_token (string url, string username, string token, string salt) {
|
||||||
this.url = url;
|
this.url = url;
|
||||||
this.parameters = @"u=$(Uri.escape_string(username))&t=$(Uri.escape_string(token))&s=$(Uri.escape_string(salt))&v=1.16.1&c=eu.callcc.audrey";
|
this.parameters = @"u=$(Uri.escape_string(username))&t=$(Uri.escape_string(token))&s=$(Uri.escape_string(salt))&v=1.16.1&c=eu.callcc.audrey";
|
||||||
|
|
Loading…
Reference in a new issue