tvgrabbers / tvgrabpyAPI

An xmltv-API for extracting and merging tv programme information from several sources
https://github.com/tvgrabbers/tvgrabpyAPI/releases/latest
GNU General Public License v3.0
27 stars 8 forks source link

Customizable folder locations #4

Open macfreek opened 7 years ago

macfreek commented 7 years ago

Hi Hika, first of all my compliments for taking tvgrabpy to this level. It's truly impressive!

A useful feature would be to make the directory paths customizable, in particular opt_dict['var_dir'] and opt_dict['xmltv_dir'] (and thus implicitly also source_dir).

My ideal would be to be able to set this in the configuration file, but on the command line is fine too.

hikavdh commented 7 years ago

Thanks for the compliment, I'm not dissatisfied, but there is still some maturing to come here and there. At present I let the code be, except for any more then slightly annoying bug. I have to further finish the documentation and are picking up on things left undone in the last year. Also there are several less important points in the code that will need some further work in the future and there are possible extensions with ttvdbv2, tmdb and/or sd. But it is an idea to think over. It would be something easy to implement taking the risk of ad-hoc with it. If I add this it would have to be a logical collusion of all paths and file names as it already has many options. It probably will not come in the next 2, 3 months. I guess you want to be able to run multiple configurations? You can set most filenames, including the database name, but the easiest way to do that is to use separate users.