Option to delete local file when item is completed #235

Open
opened 2026-04-24 23:13:50 +02:00 by adam · 15 comments
Owner

Originally created by @revilo951 on GitHub (Jul 18, 2022).

Is your feature request related to a problem? Please describe.

Having to manually delete items that are finished.

Describe the solution you'd like

A local setting in the app that automatically deletes the file(s) when the item is completed.

Describe alternatives you've considered

Could also be made a server-side setting so the local files being removed are "synced" across devices, ie if I have a podcast downloaded on my tablet and phone, and i finish it on my phone, the next time my tablet syncs with the server it deletes it's own local copy of that file too.

Originally created by @revilo951 on GitHub (Jul 18, 2022). ### Is your feature request related to a problem? Please describe. Having to manually delete items that are finished. ### Describe the solution you'd like A local setting in the app that automatically deletes the file(s) when the item is completed. ### Describe alternatives you've considered Could also be made a server-side setting so the local files being removed are "synced" across devices, ie if I have a podcast downloaded on my tablet and phone, and i finish it on my phone, the next time my tablet syncs with the server it deletes it's own local copy of that file too.
adam added the enhancement label 2026-04-24 23:13:50 +02:00
Author
Owner

@hellofaduck commented on GitHub (Aug 10, 2022):

It's very good idea, i think about it just today. I've listeting now a big collection of little novels instead of full-sized books, because of this i need to download and then delete 2-3-4 files at day and i found this a little annoying when you doing this on day to day basis, it's not a poblem but it's stupid :) i think autodeletion of already readed books is very obvious feature, my vote for this thing!

@hellofaduck commented on GitHub (Aug 10, 2022): It's very good idea, i think about it just today. I've listeting now a big collection of little novels instead of full-sized books, because of this i need to download and then delete 2-3-4 files at day and i found this a little annoying when you doing this on day to day basis, it's not a poblem but it's stupid :) i think autodeletion of already readed books is very obvious feature, my vote for this thing!
Author
Owner

@NeskireDK commented on GitHub (Apr 26, 2023):

I really like the suggestion of auto deleting once completed.
Its generally a pain deleting books atm.

@NeskireDK commented on GitHub (Apr 26, 2023): I really like the suggestion of auto deleting once completed. Its generally a pain deleting books atm.
Author
Owner

@advplyr commented on GitHub (Jun 9, 2023):

Automatically deleting the items downloaded on the mobile app is a feature I think we can add.

I'm not sure about automatically deleting podcast episodes from the server on completion because then we have to tie those episodes to a specific user. If you have a server with multiple users we would have to know which user completed state matters with this episode. We could have logic that it only applies to the root user but this doesn't feel like a clean solution.

@advplyr commented on GitHub (Jun 9, 2023): Automatically deleting the items downloaded on the mobile app is a feature I think we can add. I'm not sure about automatically deleting podcast episodes from the server on completion because then we have to tie those episodes to a specific user. If you have a server with multiple users we would have to know which user completed state matters with this episode. We could have logic that it only applies to the root user but this doesn't feel like a clean solution.
Author
Owner

@advplyr commented on GitHub (Jun 9, 2023):

Related to #175

@advplyr commented on GitHub (Jun 9, 2023): Related to #175
Author
Owner

@revilo951 commented on GitHub (Jun 9, 2023):

I'm definitely talking about only removing from mobile devices (limited storage etc). If you have more than one user, removing items from the server becomes more complicated. (Maybe it could be done once all users have marked an episode as finished, but I like to keep all my episodes as a bit of an archive, in case the podcast goes away)

@revilo951 commented on GitHub (Jun 9, 2023): I'm definitely talking about only removing from mobile devices (limited storage etc). If you have more than one user, removing items from the server becomes more complicated. (Maybe it could be done once all users have marked an episode as finished, but I like to keep all my episodes as a bit of an archive, in case the podcast goes away)
Author
Owner

@Mega-Volti commented on GitHub (Jul 4, 2023):

Definitely a great idea. Not only for mobile devices, also as a per-library setting server-side.

I wouldn't want to delete my books on my server after listening to them, but automatically deleting podcasts on the server after listening would save a lot of manual steps. With a server-side library setting, it would be possible to enable this for the podcasts library but keep it turned off for the book library.

@Mega-Volti commented on GitHub (Jul 4, 2023): Definitely a great idea. Not only for mobile devices, also as a per-library setting server-side. I wouldn't want to delete my books on my server after listening to them, but automatically deleting podcasts on the server after listening would save a lot of manual steps. With a server-side library setting, it would be possible to enable this for the podcasts library but keep it turned off for the book library.
Author
Owner

@tonyedwardspz commented on GitHub (Nov 25, 2023):

Being able to delete completed local podcasts in bulk on the android app would by useful for the usage pattern described in #958. Deleting each episode individually is cumbersome, and deleting the entire local series isn't ideal.

Rather than / along side automatically deleting listened to episodes as desbribed above, a button/option somewhere in the app to delete completed episodes would simplify managaing offline first podcast listening.

This would fit well into the same menu as Manage Local Files & More info on a podcast series page. Alternativly, it could be on the manage local files views, as another option next to "Delete Local Item".

@tonyedwardspz commented on GitHub (Nov 25, 2023): Being able to delete completed local podcasts in bulk on the android app would by useful for the usage pattern described in #958. Deleting each episode individually is cumbersome, and deleting the entire local series isn't ideal. Rather than / along side automatically deleting listened to episodes as desbribed above, a button/option somewhere in the app to delete completed episodes would simplify managaing offline first podcast listening. This would fit well into the same menu as Manage Local Files & More info on a podcast series page. Alternativly, it could be on the manage local files views, as another option next to "Delete Local Item".
Author
Owner

@snonux commented on GitHub (Mar 7, 2024):

Also, deleting automatically on the server, would be great. But that will only work when all users have completed it, i guess.

@snonux commented on GitHub (Mar 7, 2024): Also, deleting automatically on the server, would be great. But that will only work when all users have completed it, i guess.
Author
Owner

@fede843 commented on GitHub (Jun 29, 2024):

I would be happily using this feature if available!

@fede843 commented on GitHub (Jun 29, 2024): I would be happily using this feature if available!
Author
Owner

@mathmaniac43 commented on GitHub (Jul 15, 2024):

I think that deleting automatically from the app is more important, but deleting on the server would be helpful too. Perhaps users could "subscribe" to podcasts that they want to ensure are stored on the server until they have a chance to listen. An admin user could control the settings for whether episodes are kept indefinitely, or pruned once all "subscribers" have had a chance to complete the podcast.

@mathmaniac43 commented on GitHub (Jul 15, 2024): I think that deleting automatically from the app is more important, but deleting on the server would be helpful too. Perhaps users could "subscribe" to podcasts that they want to ensure are stored on the server until they have a chance to listen. An admin user could control the settings for whether episodes are kept indefinitely, or pruned once all "subscribers" have had a chance to complete the podcast.
Author
Owner

@jay-oswald commented on GitHub (Apr 23, 2025):

@advplyr

I'm not sure about automatically deleting podcast episodes from the server on completion because then we have to tie those episodes to a specific user. If you have a server with multiple users we would have to know which user completed state matters with this episode. We could have logic that it only applies to the root user but this doesn't feel like a clean solution.

RE: ^^

What if the option was to auto deleted episodes when every user that has access to that podcast completes? Would work for any number of users. Similar to @mathmaniac43 idea about subscribing, but without the extra step.

@jay-oswald commented on GitHub (Apr 23, 2025): @advplyr >I'm not sure about automatically deleting podcast episodes from the server on completion because then we have to tie those episodes to a specific user. If you have a server with multiple users we would have to know which user completed state matters with this episode. We could have logic that it only applies to the root user but this doesn't feel like a clean solution. RE: ^^ What if the option was to auto deleted episodes when every user that has access to that podcast completes? Would work for any number of users. Similar to @mathmaniac43 idea about subscribing, but without the extra step.
Author
Owner

@jurgenhaas commented on GitHub (Apr 23, 2025):

I don't think this is about deleting episodes from the server. This issue queue is about the app, and I really wanted to have that feature as well, that if I had downloaded episodes locally, that they should be deleted locally when I've completed them. Not on the server, though.

@jurgenhaas commented on GitHub (Apr 23, 2025): I don't think this is about deleting episodes from the server. This issue queue is about the app, and I really wanted to have that feature as well, that if I had downloaded episodes locally, that they should be deleted locally when I've completed them. Not on the server, though.
Author
Owner

@cutiepoka commented on GitHub (Feb 5, 2026):

I am currently working on a PR for this. If I completed this would it have a chance to get approved @advplyr? My current logic flow is to start up a background task and run that background task every day. Check if the item is finished more than 1 day ago, then delete it if it is. If Not I might just do something more like #1043 and just delete everything finished as that is easier

@cutiepoka commented on GitHub (Feb 5, 2026): I am currently working on a PR for this. If I completed this would it have a chance to get approved @advplyr? My current logic flow is to start up a background task and run that background task every day. Check if the item is finished more than 1 day ago, then delete it if it is. If Not I might just do something more like #1043 and just delete everything finished as that is easier
Author
Owner

@jay-oswald commented on GitHub (Feb 5, 2026):

@cutiepoka if that could be a configurable option that would be great, can see plenty of people wanting it asap, and others wanting a delay

@jay-oswald commented on GitHub (Feb 5, 2026): @cutiepoka if that could be a configurable option that would be great, can see plenty of people wanting it asap, and others wanting a delay
Author
Owner

@Bishop-trevorstuart commented on GitHub (Mar 1, 2026):

I hope to see this in the android app.

@Bishop-trevorstuart commented on GitHub (Mar 1, 2026): I hope to see this in the android app.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf-app#235