mirror of
https://github.com/fiatjaf/nak.git
synced 2026-07-22 07:48:27 +00:00
podcast: pass the title into the format string, it was printing '%!s(MISSING)'.
This commit is contained in:
@@ -582,11 +582,11 @@ func printPodcastEpisodeList(ctx context.Context, p podcastInfo, limit int) erro
|
|||||||
}
|
}
|
||||||
|
|
||||||
if len(episodes) == 0 {
|
if len(episodes) == 0 {
|
||||||
stdout(color.YellowString("no episodes found for %s"), p.Title)
|
stdout(color.YellowString("no episodes found for %s", p.Title))
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
stdout(color.CyanString("episodes for %s:"), p.Title)
|
stdout(color.CyanString("episodes for %s:", p.Title))
|
||||||
for _, ep := range episodes {
|
for _, ep := range episodes {
|
||||||
title := podcastTagValue(ep, "title")
|
title := podcastTagValue(ep, "title")
|
||||||
if title == "" {
|
if title == "" {
|
||||||
|
|||||||
Reference in New Issue
Block a user