Skip to content

Commit

Permalink
fix(spotify): show's itunes_duration (#16284)
Browse files Browse the repository at this point in the history
  • Loading branch information
songkeys authored Jul 29, 2024
1 parent 61ed591 commit e08733f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/routes/spotify/show.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ async function handler(ctx) {
pubDate: parseDate(x.release_date),
link: x.external_urls.spotify,
itunes_item_image: x.images[0].url,
itunes_duration: x.duration_ms * 1000,
itunes_duration: x.duration_ms / 1000,
enclosure_url: x.audio_preview_url,
enclosure_type: 'audio/mpeg',
})),
Expand Down

0 comments on commit e08733f

Please sign in to comment.