Skip to content

Conversation

@alangibson
Copy link

This PR adds a FlexGet add-on to the OpenELEC unofficial addons repository

oe_setup_addon service.downloadmanager.FlexGet

if [ "$FLEXGET_PATH_CUSTOM_CONFIG" = "" ]; then
FLEXGET_PATH_CUSTOM_CONFIG="/storage/.config/flexget"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this belongs to $ADDON_HOME/

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you clarify what you mean here? Do you mean it should be

if [ "$FLEXGET_PATH_CUSTOM_CONFIG" = "" ]; then
  FLEXGET_PATH_CUSTOM_CONFIG="$ADDON_HOME"

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I mean no addon config should ever be stored outside addon's data folder. but well, if you want users to have an option to use their own config, okay.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FlexGet depends on the user providing a config.yml file; it doesn't do anything without it. The reason I put it in /storage/.config/flexget is so they can easily edit it over the network at smb://openelec.local/configfiles/flexget/config.yml or \openelec.local\configfiles\flexget\config.yml.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants