From e10069306da04ef2146a35aa9417493ecf192032 Mon Sep 17 00:00:00 2001 From: psykose Date: Tue, 15 Oct 2024 08:57:36 +0200 Subject: [PATCH] remove unused with_password the login and auth uses with_token seemingly --- src/api.vala | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/api.vala b/src/api.vala index 60c85f3..7e721c2 100644 --- a/src/api.vala +++ b/src/api.vala @@ -137,18 +137,6 @@ public class Subsonic : Object { private string url; 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) { 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"; -- 2.47.0