Skip to content

Commit

Permalink
Use /addon_config instead of /config for the default location of conf…
Browse files Browse the repository at this point in the history
…ig-dir folder. (#2)

Co-authored-by: Maor <[email protected]>
  • Loading branch information
maorcc and maorcc authored Nov 25, 2023
1 parent 89c9791 commit 6b4dca4
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 5 deletions.
17 changes: 16 additions & 1 deletion transmission/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,23 @@ All notable changes to this project are documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [1.1.0] - 2023-11-26

Use "/addon_config" instead of "/config" as the default location of Transmission's config-dir.

This change is the result of the recent Home Assistant changes published here: https://developers.home-assistant.io/blog/2023/11/06/public-addon-config/

### Breaking Changes
If you upgrade from v1.0.0 then you need to change the config-dir in the addon configuration from the old
default value

### changes
1. This addon no longer has access to the "/config" folder. Use "/addon_config" instead
2. Minimum version of Home Assistant for this addon is "2023.11.3".



## [1.0.0] - 2023-11-26
## [1.0.0] - 2023-11-25

Initial release, with Transmission v4.0.4

Expand Down
2 changes: 1 addition & 1 deletion transmission/DOCS.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Like other addons:

### Configuration directory (aka `config-dir``)

In the add-on **Configuration** tab you can specify the *config-dir*. Default=**/config/transmission**
In the add-on **Configuration** tab you can specify the *config-dir*. Default=**/addon_config/transmission**

The config-dir contains files and subdirectories that are used as the "database" of Transmission. Transmission reads this folder content on startup and saves it on shutdown.

Expand Down
7 changes: 4 additions & 3 deletions transmission/config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: "Transmission"
homeassistant: "2023.11.3"
description: "Transmission is a popular, fast, open-sourced BitTorrent client with an easy to use web UI."
url: "https://github.com/maorcc/hassio-addon-transmission/tree/main/transmission"
version: "1.0.0"
version: "1.1.0"
slug: "transmission"
init: false
arch:
Expand All @@ -14,15 +15,15 @@ ingress: true
ingress_entry: transmission/web/
ingress_port: 9091
map:
- config:rw
- addon_config:rw
- media:rw
- share:rw
ports:
9091/tcp: null
51413/tcp: 51413
51413/udp: 51413
options:
config_dir: /config/transmission
config_dir: /addon_config/transmission
schema:
config_dir: str
# image: "ghcr.io/maorcc/{arch}-hassio-addon-transmission"

0 comments on commit 6b4dca4

Please sign in to comment.