advplyr / audiobookshelf-app

Mobile application for Audiobookshelf
https://audiobookshelf.org
GNU General Public License v3.0
1.22k stars 166 forks source link

Automatically download next book in line and delete the previous #774

Open Daemonias opened 1 year ago

Daemonias commented 1 year ago

At the moment I'm burning through audiobook series and have to manually download and delete the local files.

It would be amazing to have a feature that lets ABS download the next book in the playlist/collection and deletes the book that's just finished.

It's not important but would definitely be QOL.

gh0sti commented 1 year ago

This would be cool.

awilisch commented 1 year ago

Download the next book would be nice. However bare minimum would be the ability to automatically delete any books that are labeled as 'finished' it's one feature I rather miss from Audible (although I HATE their app).

sandreas commented 1 year ago

@Daemonias @gh0sti @awilisch I thought this through independently in https://github.com/advplyr/audiobookshelf-app/discussions/846

The problem with instantly deleting finished books is, that if you fall asleep near the end of the book, then want to rewind the next day I would prefer having the possibility to go back without downloading or streaming. Even worse, if you are on vacation and have no access to your server, the book would no longer be available.

Instead I would prefer the following:

How about introducing Auto-Download Feature with Quota:

awilisch commented 1 year ago

The auto cleanup is the one thing I've missed and would love to see. Maybe it's could be tied into collections? Have a "start listening" or "start reading" button on the collection. Could auto download when you get to a percentage complete and cleanup after x days?

sandreas commented 1 year ago

Maybe it's could be tied into collections? Have a "start listening" or "start reading" button on the collection. Could auto download when you get to a percentage complete and cleanup after x days?

@awilisch I would enable the auto download feature setting for every book where I click stream or that already have progress, without any dependency to collections, playlists or anything else...

Additionally i would (later, because i think the auto download one is more important) add another totally independent feature: checkbox available offline in edit playlist, so that you can add or remove items to it and abs will sync them automatically, deleting removed items, downloading new.

zac9 commented 1 year ago

More ideas for the pile.

I used to horde months of books on my phone, now I just have get from one Wi-Fi island to the next. I think we are used to thinking in terms of a Book because we have been manually copying and deleting books from our other players. Automatically cached files don't have to be necessary have to be manage at a book level, could do by 5 minute blocks to save space.

As mentioned in #846 if background is difficult it is not a deal breaker for me. As the player starts while I leave the house or randomly there about I bet it will stay in sync enough to keep my happy. If not tasker can probably start it so it can sync.

Thank you

dedors commented 2 months ago

I like the ideas here a lot. What I would like to add as alternative option "next book in line" would be "next random book from series", as this is something I would use daily for my bedtime books.