Podcast Cleanup 0.1
Podcast Cleanup cleans up old podcast files based on various criteria.
Amarok has some in-built support for subscribing to podcasts, however, at time of writing, there is no convenient way to manage deletion of downloaded podcast episodes en-masse.
Presently, the only way to delete downloaded podcast files from amarok is to traverse the podcast list, right clicking on each downloaded podcast episode, and selecting delete from the contect menu. This is quite cumbersome, particularly considering the fact that ever deletion provokes a confirmation dialog.
I listen to a lot of podcasts, and I wanted a better way to manage my downloaded podcast files, so I wrote a small script to delete downloaded podcast files.
The script can delete downloaded podcasts, either unconditionally, or just the listened podcasts, or listend-to podcasts which are older than some age (expressed in hours, days, weeks or months.
It's possible to specify cleanup criteria for startup, and at some regular time interval (after the initial check).
It's possible to request confirmation before deletion is done, and to request a notification when files have been cleaned up.
Open Amarok and select Tools -> Script Manager -> Install Script.
Browse to the file you downloaded and select it.
Click the "Run" button in the scripts dialog.
Click "Configure" button and set up the parameters you want.