Compare commits

..

1 Commits

Author SHA1 Message Date
alexbelgium
41f76f0d29 fix: auto-fix linting issues 2025-11-23 00:35:42 +00:00
66 changed files with 394 additions and 488 deletions

View File

@@ -197,7 +197,6 @@ Fabian-Eigenherd,Germany
Faithfinder,Canada
FallsSteven,
Felitendo,
Filipza,
Flipsoo,
FloppiTuna,United States
Fluffy-Bunny-23,
@@ -488,7 +487,6 @@ Rapozillha,Portugal
Raw2x2,
RdN-J,
RealJustMe,
Redmno,
Reiqu,Germany
RemcoSchrijver,Netherlands
Rene2302,
@@ -496,7 +494,6 @@ RescueWolf-Dreamwalker,
RhaaKaye,
RicLund,Canada
Richyread,
RimmeVG,
Rimpla,
Robbot,Ireland
RobertZwets,
@@ -584,7 +581,6 @@ Syuq,
T-I-M-O-T,
TCTnz,
THENEXTBIGTIME,
TS-1709,
TarrX,Germany
Tche333,
Tchoupinax,
@@ -818,7 +814,6 @@ bigsby-exe,United Kingdom
bilak,Czechia
bitDealer,
bjackerman,United States
bjoe10,
bkuri,Mexico
blackshoals,
blairun,
@@ -951,7 +946,6 @@ ctrlaltprocrastinate,
ctyfrank,
cuza,Cuba
cvladan,
cvroque,
cwmoriarty,
cy1798,
cyberjohn60,
@@ -1057,7 +1051,6 @@ dtrochow,
duckduckuk,United Kingdom
duhaijian,
dumbledorethor,
dutzi88,
duydo,Viet Nam
dwainegallimore,United Kingdom
dykandDK,
@@ -1101,7 +1094,6 @@ ettoreboy,
euneuneu,
evalevil,China
everconnectcn,
everestlion,
evertonerik,
evnb,United States
excodex,United Kingdom
@@ -1366,7 +1358,6 @@ jokob-sk,
joluas,
jonaslang1,Germany
jonathanweinberg,
jonbeckman,
jonssonjunior94,
joostiphone,
jopacar1,
@@ -1968,7 +1959,6 @@ starbuck93,United States
steef84,
stef-th,
stefangries,
steinmaerivoet,Belgium
stephenjharrington,
stepping-razor,Czechia
stetho,United Kingdom
@@ -2189,6 +2179,5 @@ zjw57,China
zking7,
zonorti,Germany
zr-idt,
zuranthus,Sweden
zweehn,
zymotik,Germany
1 username country
197 Faithfinder Canada
198 FallsSteven
199 Felitendo
Filipza
200 Flipsoo
201 FloppiTuna United States
202 Fluffy-Bunny-23
487 Raw2x2
488 RdN-J
489 RealJustMe
Redmno
490 Reiqu Germany
491 RemcoSchrijver Netherlands
492 Rene2302
494 RhaaKaye
495 RicLund Canada
496 Richyread
RimmeVG
497 Rimpla
498 Robbot Ireland
499 RobertZwets
581 T-I-M-O-T
582 TCTnz
583 THENEXTBIGTIME
TS-1709
584 TarrX Germany
585 Tche333
586 Tchoupinax
814 bilak Czechia
815 bitDealer
816 bjackerman United States
bjoe10
817 bkuri Mexico
818 blackshoals
819 blairun
946 ctyfrank
947 cuza Cuba
948 cvladan
cvroque
949 cwmoriarty
950 cy1798
951 cyberjohn60
1051 duckduckuk United Kingdom
1052 duhaijian
1053 dumbledorethor
dutzi88
1054 duydo Viet Nam
1055 dwainegallimore United Kingdom
1056 dykandDK
1094 euneuneu
1095 evalevil China
1096 everconnectcn
everestlion
1097 evertonerik
1098 evnb United States
1099 excodex United Kingdom
1358 joluas
1359 jonaslang1 Germany
1360 jonathanweinberg
jonbeckman
1361 jonssonjunior94
1362 joostiphone
1363 jopacar1
1959 steef84
1960 stef-th
1961 stefangries
steinmaerivoet Belgium
1962 stephenjharrington
1963 stepping-razor Czechia
1964 stetho United Kingdom
2179 zking7
2180 zonorti Germany
2181 zr-idt
zuranthus Sweden
2182 zweehn
2183 zymotik Germany

Binary file not shown.

Before

Width:  |  Height:  |  Size: 329 KiB

After

Width:  |  Height:  |  Size: 61 KiB

View File

@@ -112,6 +112,7 @@ def automatic_mqtt_publish(file, detection, path):
mqttc.publish(mqtt_topic, json_bird, 1)
log.info("Posted to MQTT: ok")
# Create MQTT client using legacy callback API when available for
# compatibility with paho-mqtt >= 2.0
callback_api = getattr(mqtt, "CallbackAPIVersion", None)

0
emby/rootfs/etc/services.d/nginx/run Normal file → Executable file
View File

View File

@@ -1,11 +1,4 @@
## debian-2025-11-19 (2025-11-19)
- Recreate a default config.json when only a legacy config.yaml is present so upgrades keep a usable configuration file
## debian-2025-11-18 (2025-11-18)
- Restore the default configuration template to config.json with the expected sample values
- Recreate a default config.json when only a legacy config.yaml is present so upgrades keep a usable configuration file
## debian-2025-11-16 (2025-11-16)
- Update to latest version from charlocharlie/epicgames-freegames
## "debian-2025-11-09" (09-11-2025)

View File

@@ -28,13 +28,13 @@ This addon is based on the docker image https://hub.docker.com/r/charlocharlie/e
## Configuration
Addon options expose the `env_vars` field for passing extra environment variables; all other configuration is done via the JSON file.
Addon options expose the `env_vars` field for passing extra environment variables; all other configuration is done via JSON files.
### Configuration Files
Configuration files are stored in `/config/addons_config/epicgamesfree/`:
- **config.json**: Main configuration file
- **config.yaml**: Main configuration file
- **cookies.json**: Authentication cookies (optional)
If these files don't exist, they will be created at first boot with default settings.
@@ -43,16 +43,10 @@ If these files don't exist, they will be created at first boot with default sett
### Basic Configuration
Create `/config/addons_config/epicgamesfree/config.json`:
Create `/config/addons_config/epicgamesfree/config.yaml`:
```json
{
"runOnStartup": true,
"cronSchedule": "0 */6 * * *",
"logLevel": "info",
"webPortalConfig": {
"baseUrl": "https://epic.example.com"
},
"accounts": [
{
"email": "your-epic-email@example.com",
@@ -60,9 +54,12 @@ Create `/config/addons_config/epicgamesfree/config.json`:
"totp": "OPTIONAL_2FA_SECRET"
}
],
"notifiers": [
{
"type": "email",
"intervalHours": 24,
"onlyWeekly": false,
"searchStrategy": "purchase",
"browserNavigationTimeout": 300000,
"notifications": {
"email": {
"smtpHost": "smtp.gmail.com",
"smtpPort": 587,
"emailSenderAddress": "notifications@example.com",
@@ -74,7 +71,7 @@ Create `/config/addons_config/epicgamesfree/config.json`:
"pass": "your-app-password"
}
}
]
}
}
```
@@ -83,52 +80,51 @@ Create `/config/addons_config/epicgamesfree/config.json`:
| Option | Type | Description |
|--------|------|-------------|
| `accounts` | array | List of Epic Games accounts |
| `cronSchedule` | string | Cron schedule to claim games (default: `0 */6 * * *`) |
| `runOnStartup` | boolean | Run a claim cycle when the add-on starts |
| `logLevel` | string | Application log level |
| `webPortalConfig.baseUrl` | string | Base URL used by the included web portal |
| `notifiers` | array | Notification targets such as email, Discord, Telegram, Apprise, etc. |
| `intervalHours` | number | Check interval in hours (default: 24) |
| `onlyWeekly` | boolean | Only claim weekly free games |
| `searchStrategy` | string | Search strategy: "purchase" or "claim" |
| `browserNavigationTimeout` | number | Browser timeout in milliseconds |
| `notifications` | object | Notification settings (email, webhook, etc.) |
### Account Configuration
For each account in the `accounts` array:
```yaml
email: account@example.com
password: password
totp: TOTP_SECRET
onlyWeekly: true
```json
{
"email": "account@example.com",
"password": "password",
"totp": "TOTP_SECRET",
"onlyWeekly": true
}
```
### Notification Methods
#### Email Notifications
```yaml
notifications:
email:
smtpHost: smtp.gmail.com
smtpPort: 587
emailSenderAddress: sender@example.com
emailRecipientAddress: recipient@example.com
secure: false
auth:
user: sender@example.com
pass: app-password
```json
"notifications": {
"email": {
"smtpHost": "smtp.gmail.com",
"smtpPort": 587,
"emailSenderAddress": "sender@example.com",
"emailRecipientAddress": "recipient@example.com",
"secure": false,
"auth": {
"user": "sender@example.com",
"pass": "app-password"
}
}
}
```
#### Webhook Notifications
```json
{
"notifiers": [
{
"type": "webhook",
"notifications": {
"webhook": {
"url": "https://your-webhook-url.com",
"events": [
"purchase-success",
"already-owned"
]
"events": ["purchase-success", "already-owned"]
}
]
}
```
@@ -148,11 +144,9 @@ For detailed cookie import instructions, see: https://github.com/claabs/epicgame
### Troubleshooting
#### Timeout Errors
Add the following to your config.json:
Add the following to your config.yaml:
```json
{
"browserNavigationTimeout": 300000
}
```
#### Login Issues
@@ -178,7 +172,7 @@ The installation of this add-on is pretty straightforward and not different in c
### Timeout error
Please try adding `"browserNavigationTimeout": 300000,` to your config.json (https://github.com/alexbelgium/hassio-addons/issues/675#issuecomment-1407675351)
Please try adding `"browserNavigationTimeout": 300000,` to your config.yaml (https://github.com/alexbelgium/hassio-addons/issues/675#issuecomment-1407675351)
### Other errors

View File

@@ -86,5 +86,5 @@ schema:
slug: epicgamesfree
udev: true
url: https://github.com/alexbelgium/hassio-addons
version: "debian-2025-11-19"
version: "debian-2025-11-16"
webui: "[PROTO:ssl]://[HOST]:[PORT:3000]"

View File

@@ -7,22 +7,15 @@ set -e
##############
HOME="/config/addons_config/epicgamesfree"
CONFIG_JSON="$HOME/config.json"
LEGACY_YAML="$HOME/config.yaml"
if [ ! -f "$CONFIG_JSON" ]; then
if [ -f "$LEGACY_YAML" ]; then
bashio::log.warning "A legacy config.yaml was found. A default config.json will be created. Please migrate your settings to the new file format and restart the add-on"
fi
if [ ! -f "$HOME"/config.json ]; then
# Copy default config.json
cp /templates/config.json "$CONFIG_JSON"
chmod 755 "$CONFIG_JSON"
bashio::log.warning "A default config.json file was copied in $HOME. Please customize according to https://github.com/claabs/epicgames-freegames-node#configuration and restart the add-on"
cp /templates/config.json "$HOME"/config.json
chmod 755 "$HOME"/config.json
bashio::log.warning "A default config.json file was copied in $HOME. Please customize according to https://github.com/claabs/epicgames-freegames-node#json-configuration and restart the add-on"
sleep 5
bashio::exit.nok
else
bashio::log.warning "The config.json file found in $HOME will be used. Please customize according to https://github.com/claabs/epicgames-freegames-node#configuration and restart the add-on"
bashio::log.warning "The config.json file found in $HOME will be used. Please customize according to https://github.com/claabs/epicgames-freegames-node#json-configuration and restart the add-on"
fi
# Permissions

View File

@@ -1,78 +0,0 @@
{
"runOnStartup":true,
"cronSchedule":"0 */6 * * *",
"logLevel":"info",
"webPortalConfig":{
"baseUrl":"https://epic.example.com"
},
"accounts":[
{
"email":"example@gmail.com"
}
],
"notifiers":[
{
"type":"email",
"smtpHost":"smtp.gmail.com",
"smtpPort":587,
"emailSenderAddress":"hello@gmail.com",
"emailSenderName":"Epic Games Captchas",
"emailRecipientAddress":"hello@gmail.com",
"secure":false,
"auth":{
"user":"hello@gmail.com",
"pass":"abc123"
}
},
{
"type":"discord",
"webhookUrl":"https://discord.com/api/webhooks/123456789123456789/A-abcdefghijklmn-abcdefghijklmnopqrst12345678-abcdefghijklmnop123456",
"mentionedUsers":[
"914360712086843432"
],
"mentionedRoles":[
"734548250895319070"
]
},
{
"type":"telegram",
"apiUrl":"https://api.telegram.org",
"token":"644739147:AAGMPo-Jz3mKRnHRTnrPEDi7jUF1vqNOD5k",
"chatId":"-987654321"
},
{
"type":"apprise",
"apiUrl":"http://192.168.1.2:8000",
"urls":"mailto://user:pass@gmail.com"
},
{
"type":"pushover",
"token":"a172fyyl9gw99p2xi16tq8hnib48p2",
"userKey":"uvgidym7l5ggpwu2r8i1oy6diaapll"
},
{
"type":"gotify",
"apiUrl":"https://gotify.net",
"token":"SnL-wAvmfo_QT"
},
{
"type":"homeassistant",
"instance":"https://homeassistant.example.com",
"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c",
"notifyservice":"mobile_app_smartphone_name"
},
{
"type":"bark",
"key":"xxxxxxxxxxxxxxxxxxxxxx",
"title":"epicgames-freegames",
"group":"epicgames-freegames",
"apiUrl":"https://api.day.app"
},
{
"type":"ntfy",
"webhookUrl":"https://ntfy.example.com/mytopic",
"priority":"urgent",
"token":"tk_mytoken"
}
]
}

View File

@@ -0,0 +1,50 @@
runOnStartup: true
cronSchedule: 0 */6 * * *
logLevel: info
webPortalConfig:
baseUrl: https://epic.example.com
accounts:
- email: example@gmail.com
notifiers:
- type: email
smtpHost: smtp.gmail.com
smtpPort: 587
emailSenderAddress: hello@gmail.com
emailSenderName: Epic Games Captchas
emailRecipientAddress: hello@gmail.com
secure: false
auth:
user: hello@gmail.com
pass: abc123
- type: discord
webhookUrl: https://discord.com/api/webhooks/123456789123456789/A-abcdefghijklmn-abcdefghijklmnopqrst12345678-abcdefghijklmnop123456
mentionedUsers:
- "914360712086843432"
mentionedRoles:
- "734548250895319070"
- type: telegram
apiUrl: https://api.telegram.org
token: 644739147:AAGMPo-Jz3mKRnHRTnrPEDi7jUF1vqNOD5k
chatId: "-987654321"
- type: apprise
apiUrl: http://192.168.1.2:8000
urls: mailto://user:pass@gmail.com
- type: pushover
token: a172fyyl9gw99p2xi16tq8hnib48p2
userKey: uvgidym7l5ggpwu2r8i1oy6diaapll
- type: gotify
apiUrl: https://gotify.net
token: SnL-wAvmfo_QT
- type: homeassistant
instance: https://homeassistant.example.com
token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c
notifyservice: mobile_app_smartphone_name
- type: bark
key: xxxxxxxxxxxxxxxxxxxxxx
title: epicgames-freegames
group: epicgames-freegames
apiUrl: https://api.day.app
- type: ntfy
webhookUrl: https://ntfy.example.com/mytopic
priority: urgent
token: tk_mytoken

View File

@@ -1,5 +1,3 @@
## 2.3.1-3 (23-11-2025)
- Minor bugs fixed
## 2.3.1-2 (22-11-2025)
- Minor bugs fixed

View File

@@ -141,6 +141,6 @@ slug: immich
udev: true
url: https://github.com/alexbelgium/hassio-addons
usb: true
version: 2.3.1-3
version: 2.3.1-2
video: true
webui: http://[HOST]:[PORT:8080]

View File

@@ -1,5 +1,3 @@
## 2.3.1-3 (23-11-2025)
- Minor bugs fixed
## 2.3.1-2 (22-11-2025)
- Minor bugs fixed

View File

@@ -3,8 +3,7 @@ arch:
- amd64
backup_exclude:
- "**/machine-learning/*"
description:
Self-hosted photo and video backup solution directly from your mobile phone
description: Self-hosted photo and video backup solution directly from your mobile phone
devices:
- /dev/dri
- /dev/dxg
@@ -140,6 +139,6 @@ slug: immich_noml
udev: true
url: https://github.com/alexbelgium/hassio-addons
usb: true
version: 2.3.1-3
version: 2.3.1-2
video: true
webui: http://[HOST]:[PORT:8080]

View File

@@ -1,8 +1,3 @@
## breaking_versions: 10.11.3-1 (23-11-2025)
- Minor bugs fixed
## 10.11.3-1 (23-11-2025)
- Fix optional `i915_enable_guc` setting so the add-on no longer requires a value after updates.
## 10.11.3 (22-11-2025)
- Update to latest version from linuxserver/docker-jellyfin (changelog : https://github.com/linuxserver/docker-jellyfin/releases)

View File

@@ -91,6 +91,7 @@ options:
PGID: 0
PUID: 0
data_location: /share/jellyfin
i915_enable_guc: null
panel_admin: false
panel_icon: mdi:billiards-rack
ports:
@@ -125,5 +126,5 @@ schema:
slug: jellyfin
udev: true
url: https://github.com/alexbelgium/hassio-addons
version: "10.11.3-1"
version: "10.11.3"
video: true

0
jellyfin/rootfs/etc/services.d/nginx/run Normal file → Executable file
View File

View File

@@ -201,11 +201,11 @@ if [[ "${MEILISEARCH_LOCAL}" == true ]]; then
}
MEILISEARCH_CMD=(
env \
MEILI_ENV="${MEILISEARCH_ENVIRONMENT}" \
MEILI_NO_ANALYTICS="${MEILISEARCH_NO_ANALYTICS}" \
meilisearch \
--http-addr "${MEILISEARCH_ADDR}" \
env
MEILI_ENV="${MEILISEARCH_ENVIRONMENT}"
MEILI_NO_ANALYTICS="${MEILISEARCH_NO_ANALYTICS}"
meilisearch
--http-addr "${MEILISEARCH_ADDR}"
--db-path "${MEILISEARCH_DB_PATH}"
)

0
nzbget/rootfs/etc/services.d/nginx/run Normal file → Executable file
View File

View File

@@ -1,6 +1,3 @@
## 5.1.2-16 (23-11-2025)
- Cycle through ip providers to avoid rate limiting api
## 5.1.2-13 (19-11-2025)
- Add IPv4 fallback for WireGuard connections

View File

@@ -145,4 +145,4 @@ schema:
slug: qbittorrent
udev: true
url: https://github.com/alexbelgium/hassio-addons
version: 5.1.2-16
version: 5.1.2-13

View File

@@ -15,9 +15,7 @@ if bashio::config.true 'openvpn_enabled'; then
bashio::log.info "----------------------------"
# Get current ip
( curl -fsS --max-time 10 https://ifconfig.co/ip \
|| curl -fsS --max-time 10 https://api64.ipify.org \
|| curl -fsS --max-time 10 https://ipecho.net/plain ) > /currentip
curl -s ipecho.net/plain > /currentip
# Function to check for files path
function check_path() {

View File

@@ -77,8 +77,6 @@ else
fi
# Get current ip
( curl -fsS --max-time 10 https://ifconfig.co/ip \
|| curl -fsS --max-time 10 https://api64.ipify.org \
|| curl -fsS --max-time 10 https://ipecho.net/plain ) > /currentip
curl -s ipecho.net/plain > /currentip
bashio::log.info "WireGuard prepared with interface ${interface_name} using configuration ${wireguard_config##*/}."

View File

@@ -5,18 +5,6 @@ WEBUI_PORT=${WEBUI_PORT:-8080}
export PATH="/usr/local/sbin:/usr/local/bin:${PATH}"
# --- New helper: get public IP with rate-limiting fallbacks ---
_get_public_ip() {
local ip
ip=$(
curl -fsS --max-time 10 https://ifconfig.co/ip \
|| curl -fsS --max-time 10 https://api64.ipify.org \
|| curl -fsS --max-time 10 https://ipecho.net/plain
) || return 1
printf '%s\n' "${ip}"
}
if bashio::config.true 'silent'; then
sed -i 's|/proc/1/fd/1 hassio;|off;|g' /etc/nginx/nginx.conf
fi
@@ -140,14 +128,6 @@ else
bashio::log.info "WireGuard interface ${wireguard_interface} is up."
# Example usage of the helper: get VPN-protected IP and store it
if vpn_ip="$(_get_public_ip)"; then
echo "${vpn_ip}" > /vpn_ip
bashio::log.info "Detected VPN public IP: ${vpn_ip}"
else
bashio::log.warning 'Unable to determine VPN public IP (all IP services failed).'
fi
# Refresh DNS resolver configuration if resolvconf is present
if command -v resolvconf > /dev/null 2>&1; then
bashio::log.info 'Refreshing DNS resolver configuration via resolvconf -u.'

0
qbittorrent/rootfs/etc/services.d/nginx/run Normal file → Executable file
View File

0
qbittorrent/rootfs/etc/services.d/timer/run Normal file → Executable file
View File

0
readarr/rootfs/etc/services.d/nginx/run Normal file → Executable file
View File