Skip to content

Add command line flags #13

@ejv2

Description

@ejv2

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 location
  • delete-played-files - copied from the podboat configuration
  • ytdl-flags - custom flags passed to youtube-dl or yt-dlp
  • clean-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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions