From 3615fb59ebf3819f6724b14a5b32f3f11331d225 Mon Sep 17 00:00:00 2001 From: Erica Z Date: Mon, 14 Oct 2024 22:27:40 +0200 Subject: [PATCH] actually use the custom user agent tee hee --- src/api.vala | 1 + 1 file changed, 1 insertion(+) diff --git a/src/api.vala b/src/api.vala index a8a824c..60c85f3 100644 --- a/src/api.vala +++ b/src/api.vala @@ -154,6 +154,7 @@ public class Subsonic : Object { 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.session = new Soup.Session (); + this.session.user_agent = "audrey/linux"; this.artist_list = new ListStore (typeof (Artist)); this.album_list = new ListStore (typeof (Album));