Skip to content

[FEAT] Running the docker container without starting up a web instance #141

@OneWeekNotice

Description

@OneWeekNotice

Is this a new feature request?

  • I have searched the existing issues

Wanted change

I would like to be able to query beets without standing up a web server here. This would run it as a CLI command


Note: this is a duplicate of #119. The reason to reopen is because the issue has been locked and limited to collaborators due to being stale

Reason for change

When the web plugin is removed from the beets config file, a constantly stream of log output occurs.

error: unknown command 'web'


In #119 there was mention of overriding /etc/s6-overlay/s6-rc.d/svc-beets/run but this feel like a work around and doesn't feel scalable , especially if something else was added to this file in the future.

For example PR adding drop2beets mortifies this file #138 which would have no effect if the script is override

Proposed code change

  • Adding environment variable to disable web server
  • Adding conditional logic in /etc/s6-overlay/s6-rc.d/svc-beets/run to not start the web server based on the environment variable

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Issues

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions