mirror of
https://git.sr.ht/~phw/scotty
synced 2025-04-30 13:47:05 +02:00
jspf: add MB playlist extension, public field must be boolean
This commit is contained in:
parent
7a2fcc091e
commit
ed4c0aa1f8
2 changed files with 8 additions and 3 deletions
|
@ -149,6 +149,12 @@ func (b JSPFBackend) writeJSPF(tracks []jspf.Track) error {
|
|||
Identifier: b.identifier,
|
||||
Date: time.Now(),
|
||||
Tracks: tracks,
|
||||
Extension: map[string]any{
|
||||
jspf.MusicBrainzPlaylistExtensionId: jspf.MusicBrainzPlaylistExtension{
|
||||
LastModifiedAt: time.Now(),
|
||||
Public: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue