Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Mark audio files as "listened"/"completed" #85

Open
WolfgangDpunkt opened this issue Aug 30, 2022 · 6 comments
Open

Feature request: Mark audio files as "listened"/"completed" #85

WolfgangDpunkt opened this issue Aug 30, 2022 · 6 comments
Labels
enhancement New feature or request

Comments

@WolfgangDpunkt
Copy link

WolfgangDpunkt commented Aug 30, 2022

I want to use Audioserve for listening to podcast episodes offline (simply audio files in a directory, previously downloaded with another tool). Unlike audiobooks, podcast episodes are usually intended to be listened to only once; they are more in the nature of news, not literature.

For this reason, Audioserve would definitely need the function not only to save the playback status, but also to mark files as completely "played"/"finished" (if necessary, with adjustable remaining time, after which an episode is considered to be completely played). Firstly, so that you know which episodes of a podcast you haven't heard yet, and secondly, so that you can remove the old, already known episodes.

A visual marker in the web interface (✓) or a note in the title would be very helpful. The possibility of deleting the already completely played episodes directly from the application would be outstanding. Of course, a deletion function entails many risks, so a renaming function is also sufficient, i.e. played episodes should optionally receive the file name extension e.g. "_finished". In this way, you can easily delete listened episodes manually or automatically.

Of course, these are all advanced functions and should therefore be deactivated by default so as not to confuse users. A technical implementation similar to the "Sharing playback positions" feature should be feasible, right?

Since I have already tried out and searched a lot, I know that this function is hardly available in the self-hosting sector, so I would be all the more grateful if the super useful Audioserve could get this feature.

For background information, see this current discussion on Reddit.

@izderadicka izderadicka added the enhancement New feature or request label Aug 31, 2022
@izderadicka
Copy link
Owner

Thanks for idea. I myself do not use podcast much, but I know there are couple of excelent podcast clients. Audioserve was intended mainly to a) play from directory structure b) transcode audio to more efficient codec e.g. opus.

I guess this works for podcast, but I was thinking about directory content as stable and linear - so once you add it you listen to it from beginning to end and that's it.

This concept drove implementation of position tracking. Just remembers last listened file in each folder and position in it. If it's last file in folder and position is less or equal 10 secs to end folder is marked as finished. In recent client it's marked by checked mark. So that's current functionality.

Marking files as read could be done on server it could extend current functionality of marking folder as finished. That probably would not be too difficult. But it'll require also bit advanced logic on client as folder meta is already loaded so it'll also need to mark files finished as it is playing them.

Concerning deleting files I'm not sure. Readonly access to collections directories I see as big advantage which I would not like to give up.
Maybe so separate tool which will do cleanup. But unfortunately sledge - current key value store doesn't support access from multiple processes. So it could be just for offline maintenence

@OrangeDrangon
Copy link

It would be nice to be able to mark directories read at a minimum. I do not always listen to the last seconds of a file or the last file in a directory but the book is for over.

@Chizi123
Copy link

I'd also like this as it would be useful to be able to mark books as completed.
I'm traveling at the moment with a spotty internet connection so am listening to my books offline, but would like to be able to record which I have finished already.

@izderadicka
Copy link
Owner

@Chizi123 Books/Folders are marked as completed when last file is listened till x seconds (recently made configurable) from end of last file.
However this requires internet connection (listening positions are update via websocket connection, by default every 10 secs).

For positions update in offline mode that will require bit different approach (marking files finished will still require connection).
Rather making client position reporting more robust and sending last positions, when connection is reestablished.

@Chizi123
Copy link

That would be good, however I have very poor internet where I am, so am copying files with rsync and listening to them locally in another app. This is because my connection is not stable enough to download through audioserve.
Despite this, I would like to have some way of manually syncing my progress through books, even if it is a completed status, to audioserve when I recover connection.

@izderadicka
Copy link
Owner

@Chizi123 - now workaround is to go to folder and then to last file and jump to almost end and listen few secs, not ideal indeed.

For future new function "Mark folder as listened" would be proper solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants