Extend MediaItemMetadata with TrackNumber, Size, BitRate, SampleRate, BitDepth, and ChannelCount (all already present on Track) and populate them in Track.Metadata(). Thread them through dlnaplayer.go into the avtransport.MediaItem so the renderer's DIDL-Lite includes upnp:artist, upnp:album, upnp:originalTrackNumber, plus <res> attributes for duration, size, bitrate, sampleFrequency, bitsPerSample, and nrAudioChannels. The previously dropped Duration field is now populated too. For cover art, add a CoverArtPathFn callback on PlaybackManager wired to ImageManager.GetCoverArtPath in app.go. The DLNA player invokes it when a track is queued, registers the cached cover-thumbnail path with the local proxy, and emits the resulting proxy URL as upnp:albumArtURI so the renderer can display album art alongside the audio. Bumps go-upnpcast to pull in the MediaItem fields and DIDL-Lite emission added in supersonic-app/go-upnpcast#4.
76 lines
3.4 KiB
AMPL
76 lines
3.4 KiB
AMPL
module github.com/dweymouth/supersonic
|
|
|
|
go 1.24.0
|
|
|
|
require (
|
|
fyne.io/fyne/v2 v2.7.2
|
|
github.com/20after4/configdir v0.1.1
|
|
github.com/Microsoft/go-winio v0.6.2
|
|
github.com/boxes-ltd/imaging v1.7.5
|
|
github.com/cenkalti/dominantcolor v1.0.3
|
|
github.com/charlievieth/strcase v0.0.5
|
|
github.com/deluan/sanitize v0.0.0-20241120162836-fdfd8fdfaa55
|
|
github.com/dweymouth/fyne-advanced-list v0.0.0-20250211191927-58ea85eec72c
|
|
github.com/dweymouth/fyne-tooltip v0.4.0
|
|
github.com/dweymouth/go-jellyfin v0.0.0-20250928223159-bd2fb9681ef5
|
|
github.com/go-audio/audio v1.0.0
|
|
github.com/go-audio/wav v1.1.0
|
|
github.com/godbus/dbus/v5 v5.2.2
|
|
github.com/google/uuid v1.6.0
|
|
github.com/hashicorp/go-retryablehttp v0.7.8
|
|
github.com/pelletier/go-toml/v2 v2.3.1
|
|
github.com/quarckster/go-mpris-server v1.0.3
|
|
github.com/supersonic-app/fyne-lyrics v0.0.0-20250614151306-b1880a70a410
|
|
github.com/supersonic-app/go-mpv v0.1.1-0.20250822102843-7a8cde5f5449
|
|
github.com/supersonic-app/go-subsonic v0.0.0-20260416152144-7a5f505a273c
|
|
github.com/supersonic-app/go-upnpcast v0.1.1-0.20260517163705-d76cd97c192f
|
|
github.com/zalando/go-keyring v0.2.8
|
|
golang.org/x/net v0.50.0
|
|
golang.org/x/sys v0.41.0
|
|
golang.org/x/term v0.40.0
|
|
golang.org/x/text v0.34.0
|
|
)
|
|
|
|
require (
|
|
fyne.io/systray v1.12.0 // indirect
|
|
github.com/BurntSushi/toml v1.6.0 // indirect
|
|
github.com/FyshOS/fancyfs v0.0.1 // indirect
|
|
github.com/danieljoos/wincred v1.2.3 // indirect
|
|
github.com/davecgh/go-spew v1.1.1 // indirect
|
|
github.com/fredbi/uri v1.1.1 // indirect
|
|
github.com/fsnotify/fsnotify v1.9.0 // indirect
|
|
github.com/fyne-io/gl-js v0.2.0 // indirect
|
|
github.com/fyne-io/glfw-js v0.3.0 // indirect
|
|
github.com/fyne-io/image v0.1.1 // indirect
|
|
github.com/fyne-io/oksvg v0.2.0 // indirect
|
|
github.com/go-audio/riff v1.0.0 // indirect
|
|
github.com/go-gl/gl v0.0.0-20231021071112-07e5d0ea2e71 // indirect
|
|
github.com/go-gl/glfw/v3.3/glfw v0.0.0-20250301202403-da16c1255728 // indirect
|
|
github.com/go-text/render v0.2.0 // indirect
|
|
github.com/go-text/typesetting v0.3.3-0.20260117213729-06c64e10eb0b // indirect
|
|
github.com/h2non/filetype v1.1.3 // indirect
|
|
github.com/hack-pad/go-indexeddb v0.3.2 // indirect
|
|
github.com/hack-pad/safejs v0.1.1 // indirect
|
|
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
|
|
github.com/jeandeaual/go-locale v0.0.0-20250612000132-0ef82f21eade // indirect
|
|
github.com/jsummers/gobmp v0.0.0-20230614200233-a9de23ed2e25 // indirect
|
|
github.com/koron/go-ssdp v0.1.0 // indirect
|
|
github.com/nfnt/resize v0.0.0-20180221191011-83c6a9932646 // indirect
|
|
github.com/nicksnyder/go-i18n/v2 v2.6.1 // indirect
|
|
github.com/pmezard/go-difflib v1.0.0 // indirect
|
|
github.com/rymdport/portal v0.4.2 // indirect
|
|
github.com/srwiley/oksvg v0.0.0-20221011165216-be6e8873101c // indirect
|
|
github.com/srwiley/rasterx v0.0.0-20220730225603-2ab79fcdd4ef // indirect
|
|
github.com/stretchr/testify v1.11.1 // indirect
|
|
github.com/yuin/goldmark v1.7.16 // indirect
|
|
golang.org/x/image v0.36.0 // indirect
|
|
gopkg.in/yaml.v3 v3.0.1 // indirect
|
|
)
|
|
|
|
replace fyne.io/fyne/v2 v2.7.2 => github.com/dweymouth/fyne/v2 v2.3.0-rc1.0.20260131034631-53eb7128ebc8
|
|
|
|
replace github.com/go-audio/wav v1.1.0 => github.com/dweymouth/go-wav v0.0.0-20250719173115-e60429a83eb0
|
|
|
|
// fixes https://github.com/dweymouth/supersonic/issues/412 until the fix lands upstream
|
|
replace github.com/go-gl/glfw/v3.3/glfw v0.0.0-20240506104042-037f3cc74f2a => github.com/supersonic-app/go-glfw/v3.3/glfw v0.0.0-20250906235349-c09e5a2f6b75
|