Describe the bug
Komga tile doesn't display stats as expected from an "enhanced app"
When adding Komga : application list > add > application list > komga you get a "config" panel to display stats, but it doesn't return anything
To Reproduce
Steps to reproduce the behavior:
- Go to Application list
- Click on "+ADD"
- Choose "Application"
- Select "Komga"
- Activate config at the bottom
- Give credentials
- Go back to heimdall home : no stats on komga tile
Expected behavior
I was expecting stats to be displayed
Screenshots
If applicable, add screenshots to help explain your problem.
Version info (please complete the following information):
- Heimdall: 2.8.1
- Docker compose via Dokge
- Version of remote application App tries to use: 1.25.0
Additional context
I am no developper but looked at the issue with Claude, he mimicked the behavior from the nextcloud app to add the option to select what stats to display : books / series / collections.
This is how it looks on my end for now :
According to claude this is the issue :
livestats() never populates $data — the method just does $data = []; and then calls getLiveStats() with an empty array
livestats.blade.php expects $queue_size and $current_speed — variables copy-pasted from a downloader app (nzbget/sabnzbd) that never exist in $data → PHP throws an "undefined variable" error → that's your 500
- No authentication is ever sent — the config form does ask for
username/password, but Komga.php never actually uses them in the API calls (unlike other enhanced apps like Nextcloud, which build an Authorization: Basic header)
url("status") hits an endpoint that doesn't exist in the Komga API
Describe the bug
Komga tile doesn't display stats as expected from an "enhanced app"
When adding Komga : application list > add > application list > komga you get a "config" panel to display stats, but it doesn't return anything
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I was expecting stats to be displayed
Screenshots
If applicable, add screenshots to help explain your problem.
Version info (please complete the following information):
Additional context
I am no developper but looked at the issue with Claude, he mimicked the behavior from the nextcloud app to add the option to select what stats to display : books / series / collections.
This is how it looks on my end for now :
According to claude this is the issue :
livestats()never populates$data— the method just does$data = [];and then callsgetLiveStats()with an empty arraylivestats.blade.phpexpects$queue_sizeand$current_speed— variables copy-pasted from a downloader app (nzbget/sabnzbd) that never exist in$data→ PHP throws an "undefined variable" error → that's your 500username/password, butKomga.phpnever actually uses them in the API calls (unlike other enhanced apps like Nextcloud, which build anAuthorization: Basicheader)url("status")hits an endpoint that doesn't exist in the Komga API