2021-03-02, 03:33
(2021-02-25, 15:15)bugwelle Wrote:(2021-02-23, 21:39)Kallita Wrote: Feature request. After playing with the program for a while one of the things that is kinda annoying is having to constantly change the settings for what folders I want to scan. I will want to work only on the cartoon movies one day and the next I will want to work only on the new tvshows. This would require removing the old folders from settings and adding the new ones every time I want to work on something different.
[...
I thought about having "project files" for such a case. However, MediaElch does not have the internal structure for that.
What may be possible is a checkbox to enable/disable folders in the settings. Would that work for you?
Would it be (or is it) possible to specify a different config file location at startup? For example:
# /usr/bin/MediaElch --config ~/.config/kvibes/MediaElch_regular.conf
# /usr/bin/MediaElch --config ~/.config/kvibes/MediaElch_Kids.conf
# /usr/bin/MediaElch --config ~/.config/kvibes/MediaElch_Czech.conf
The use case can go beyond just limiting the list of directories to scan. You may also want different defaults, such as defaulting to a different scraper, or (as the above example) default to scraping for a different language.
although I suppose we'd need to also have alternate ~/.local/share/kvibes and ~/.cache so maybe something like
# /usr/bin/MediaElch --profile Kids
where it appends <profile> to the paths
~/.config/kvibes/MediaElchKids.conf
~/.local/share/kvibes/MediaElchKids/
~/.cache/kvibes/MediaElchKids/
if --profile is not supplied, it just remains as ~/.config/kvibes/MediaElch.conf and so on.