We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 077326e commit 618c141Copy full SHA for 618c141
src/rss/rss.go
@@ -71,7 +71,7 @@ func parserRssFeed() error {
71
itemInfo.Path = itemConfig.Path
72
itemInfo.Path = strings.ReplaceAll(itemInfo.Path, `{name}`, itemInfo.Name)
73
itemInfo.Path = strings.ReplaceAll(itemInfo.Path, `{season}`, fmt.Sprintf("%02d", itemInfo.Season))
74
- itemInfo.Path = strings.ReplaceAll(itemInfo.Path, `{episode}`, strconv.Itoa(itemInfo.Episode))
+ itemInfo.Path = strings.ReplaceAll(itemInfo.Path, `{episode}`, fmt.Sprintf("%02d", itemInfo.Episode))
75
itemInfo.Path = strings.ReplaceAll(itemInfo.Path, `{ext}`, itemInfo.Ext)
76
77
ItemInfos = append(ItemInfos, itemInfo)
0 commit comments