mirror of
https://git.sr.ht/~joren/streamrip-go
synced 2026-06-17 15:05:39 +02:00
yes
This commit is contained in:
@@ -1352,6 +1352,7 @@ func buildTagMetadata(trackMeta map[string]any, title, source, trackID string, o
|
||||
Album: album,
|
||||
Artist: artist,
|
||||
AlbumArtist: albumArtist,
|
||||
OmitDiscTags: opts.forPlaylist,
|
||||
TrackNumber: trackNumber,
|
||||
DiscNumber: discNumber,
|
||||
TrackTotal: trackTotal,
|
||||
|
||||
@@ -525,6 +525,9 @@ func TestBuildTagMetadataPlaylistOmitsDiscTags(t *testing.T) {
|
||||
if tags.DiscTotal != 0 {
|
||||
t.Fatalf("disc total = %d, want 0", tags.DiscTotal)
|
||||
}
|
||||
if !tags.OmitDiscTags {
|
||||
t.Fatalf("omit disc tags = %v, want true", tags.OmitDiscTags)
|
||||
}
|
||||
}
|
||||
|
||||
func TestTrackOutputPathFallsBackToDisc1(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user