Changing artwork.tvdb.groovy for my needs
Posted: 03 Jan 2014, 04:25
I was following Ithiel's [Windows] Advanced Explorer Context Menu (GitHub Integrated) topic. I wanted to change where and how the season artwork is written and named, so I assume I'd copy "artwork.tvdb.groovy" and "/lib/htpc.groovy" to the cmdlets folder and then call them locally. Now I'd like to change the place that the Season "poster.jpg" is placed and the way it's named. I think I've found the code in htpc.groovy that needs changed. I need to save it in the Series directory and name it "season04-poster.jpg" where 04 is the season number.
Code: Select all
// fetch season banners
if (seasonDir != seriesDir) {
fetchSeriesBanner(seasonDir["poster.jpg"], series, "season", "season", season, override, locale)
fetchSeriesBanner(seasonDir["banner.jpg"], series, "season", "seasonwide", season, override, locale)
}