feat: the seek bar shows the waveform of a friend's track
A friend's server works out the peaks of a track in a shared library and gives
them to a signed friend (GET /peer/tracks/{id}/peaks). This server asks for them
and passes them on to the listener after checking them: 1 to 1000 levels from 0
to 255, as many as the count says (GET /friends/{friend}/tracks/{id}/peaks). The
player uses it for a friend's track, so its bar is no longer flat.
This commit is contained in:
parent
1736fc5a29
commit
7243fe7a04
1 changed files with 862 additions and 33 deletions
|
|
@ -320,6 +320,7 @@ func run() error {
|
|||
Federation: federation.NewService(storage.NewFederationRepo(db), federation.NewClient()),
|
||||
PeerCatalog: catalog.NewService(storage.NewSharedCatalogRepo(db)),
|
||||
PeerStreams: streaming.NewService(libraryRepo.Shared()),
|
||||
PeerWaveform: waveform.NewService(storage.NewWaveformRepo(db), streaming.NewService(libraryRepo.Shared())),
|
||||
PeerCovers: images.StoredOnly{Service: pictures},
|
||||
Waveform: waveform.NewService(storage.NewWaveformRepo(db), streaming.NewService(libraryRepo)),
|
||||
Web: webui.FS(),
|
||||
|
|
|
|||
Loading…
Reference in a new issue