Use app version in Jellyfin client headers (#156)
Release / build (amd64, darwin, macos-latest) (push) Has been cancelled
Release / build (amd64, linux, ubuntu-latest) (push) Has been cancelled
Release / build (amd64, windows, windows-latest) (push) Has been cancelled
Release / build (arm64, darwin, macos-latest) (push) Has been cancelled
Release / build (arm64, linux, ubuntu-latest) (push) Has been cancelled
Release / release (push) Has been cancelled
Release / update-homebrew (push) Has been cancelled

* Use app version in Jellyfin client headers

* Use shared app metadata for version reporting
This commit is contained in:
laamalif
2026-03-30 21:56:34 +04:00
committed by GitHub
parent 534d380582
commit 11e685c7a4
4 changed files with 34 additions and 4 deletions
+19
View File
@@ -0,0 +1,19 @@
package appmeta
var (
clientName = "cliamp"
deviceName = "cliamp"
version = "dev"
)
func SetVersion(v string) {
if v != "" {
version = v
}
}
func ClientName() string { return clientName }
func DeviceName() string { return deviceName }
func Version() string { return version }