mirror of
https://git.sr.ht/~phw/scotty
synced 2025-05-05 07:57:06 +02:00
Support disc numbers
This commit is contained in:
parent
d810fc9cac
commit
0e3061e837
12 changed files with 32 additions and 0 deletions
|
@ -42,6 +42,7 @@ func TestSpotifyListenToListen(t *testing.T) {
|
|||
assert.Equal(t, "Here Now, There Then", listen.ReleaseName)
|
||||
assert.Equal(t, []string{"Dool"}, listen.ArtistNames)
|
||||
assert.Equal(t, 5, listen.TrackNumber)
|
||||
assert.Equal(t, 1, listen.DiscNumber)
|
||||
assert.Equal(t, "DES561620801", listen.Isrc)
|
||||
info := listen.AdditionalInfo
|
||||
assert.Equal(t, "spotify.com", info["music_service"])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue