Godzil / Crunchy

Crunchy is capable of downloading anime episodes from the popular CrunchyRoll streaming service.
MIT License
95 stars 19 forks source link

nametmpl in config.json is reset to default #94

Closed MorrisTheHorris closed 6 years ago

MorrisTheHorris commented 6 years ago

Describe the bug If my config.json contains a custom nametmpl:

{
    ...
    "nametmpl": "{SERIES_TITLE} - {EPISODE_NUMBER} - {EPISODE_TITLE}",
    ...
}

And I choose to download an episode, the nametmpl is my config.json is not used. Instead, the default template "{SERIES_TITLE} - s{SEASON_NUMBER}e{EPISODE_NUMBER} - {EPISODE_TITLE} - [{TAG}]" is used, and my key in the config.json is overwritten.

Expected behavior

  1. Add/edit nametmpl key in config.json to "{SERIES_TITLE} - {EPISODE_NUMBER} - {EPISODE_TITLE}".
  2. Download an episode e.g. crunchy @http://www.crunchyroll.com/island/episode-8-love-me-when-we-meet-again-774625
  3. The episode is downloaded using the previously set name template, and the entry in config.json remains intact.

Please fill theses informations: (Add a X between brackets to make them ticked if relevant)

Godzil commented 6 years ago

That's a stupid* bug, will fix it in next release, thanks for the report :)