LeoKlaus / plappa

An Audiobook client for Jellyfin and AudioBookShelf, written in Swift/SwiftUI.
https://plappa.me
159 stars 0 forks source link

[BUG] Click and hold download does not work #90

Open ShadowPeo opened 1 month ago

ShadowPeo commented 1 month ago

Describe the bug Clicking on the book name and clicking download does not seem to start the download, if I open the book or any book for that matter the download will start but trying multiple downloads using click and hold (I was trying three) does not work at all even opening a book to get it, only the most recent click and hold click download shows up

To Reproduce Steps to reproduce the behavior: Click and hold, select download. No download session is initiated

Click and hold,click download Open any book Open download page Book is downloading Expected behavior A clear and concise description of what you expected to happen.

Click and hold, click download Repeat this on multiple books Open any book, download is only working for most recent book

Expected Behaviour Download to be added to queue and initiated straight away not having to open a book to have the queue update and download start

Screenshots If applicable, add screenshots to help explain your problem.

Logs If applicable, add logs from plappa (Settings->Get Debug Logs) or Jellyfin (Dashboard->Advanced->Logs).

Environment(please complete the following information):

LeoKlaus commented 1 month ago

Hey again Justin, thank you for reaching out!

The file metadata is only loaded when a book is opened the first time, before that, the download button from the context menu doesn't work (reliably). After opening it the first time, you can download a book through the context menu.

There is some logic in place to load the metadata when using the context menu button, but it doesn't work reliably as of now.