podbit
podbit copied to clipboard
Add command line flags
Currently, podbit relies upon the newsboat config and its format to parse some important options. This is flimsy and breaks very easily. This also breaks the ability to add custom directory structures using the newsboat's template substitution stuff (%h for example).
I suggest that we add a new config file in {XDG_CONFIG_HOME}/podbit/config which contains these options with a similar config format to newsboat. We can then add a few more options to configure too. The db file could also be moved to this location, as I feel that makes more sense than being in the data path (while keeping backward compatibility if needed).
Possible new config keys
downloads-dir- works as currently intended but is only the base directory into which downloads are placed. The paths passed from newsboat are still used to find the download locationdelete-played-files- copied from the podboat configurationytdl-flags- custom flags passed to youtube-dl or yt-dlpclean-queue- dequeue items after they have been listened to and have expired (i.e remove from the queue file). For people like me with 10M queue files