petio-team / petio

Petio Request, Discover, Review
https://petio.tv
MIT License
249 stars 28 forks source link

Change season folders to be a non hardcoded value #849

Open DJCMBear opened 10 months ago

DJCMBear commented 10 months ago

Is your feature request related to a problem? Please describe.

Not sure if I am the only one or if others find this an issue, I find myself using Petio to search for new shows but then manually add them to Sonarr because I don't use season folders and this has been hard set to true in the Sonarr service addShow method (Line 230), either doing it manually or using Petio to add the show and then going to Sonarr to disable season folders for the new shows once all have been added.

Describe the solution you'd like

It would be nice to see an option to enable or disable this option in the form when adding Sonarr servers in the UI.

Describe alternatives you've considered

I personally patched this line of code in my setup to check if this.config.seasonFolder evaluates to a boolean or uses the old default value of true If not, this works currently by manually adding the property to the Sonarr config objects (not sure if it will get overwritten if you use the UI to edit a Sonarr servers config).

Additional context

It would be good to patch the alpha version of Petio currently v0.5.4-alpha until v1 or v2 are ready but would also be nice to see this additional option ported over to those versions if it hasn't been included already.