Version number

This commit is contained in:
Rob Emery 2025-01-11 15:49:04 +00:00
parent 5b72108538
commit e932e0e38b

View File

@ -23,6 +23,7 @@ import (
"github.com/anacrolix/dms/ssdp" "github.com/anacrolix/dms/ssdp"
"github.com/anacrolix/dms/upnp" "github.com/anacrolix/dms/upnp"
"github.com/navidrome/navidrome/conf" "github.com/navidrome/navidrome/conf"
"github.com/navidrome/navidrome/consts"
"github.com/navidrome/navidrome/log" "github.com/navidrome/navidrome/log"
"github.com/navidrome/navidrome/model" "github.com/navidrome/navidrome/model"
"github.com/navidrome/navidrome/server/events" "github.com/navidrome/navidrome/server/events"
@ -75,7 +76,7 @@ func New(ds model.DataStore, broker events.Broker) *DLNAServer {
AnnounceInterval: time.Duration(30) * time.Second, AnnounceInterval: time.Duration(30) * time.Second,
Interfaces: listInterfaces(), Interfaces: listInterfaces(),
FriendlyName: "Navidrome", FriendlyName: "Navidrome",
ModelNumber: "0.0.1", //TODO ModelNumber: consts.Version,
RootDeviceUUID: makeDeviceUUID("Navidrome"), RootDeviceUUID: makeDeviceUUID("Navidrome"),
waitChan: make(chan struct{}), waitChan: make(chan struct{}),
}, },