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

Playback progress (bookmark) sync support #31

Open
dbuvid opened this issue Sep 17, 2021 · 4 comments
Open

Playback progress (bookmark) sync support #31

dbuvid opened this issue Sep 17, 2021 · 4 comments
Labels
enhancement New feature or request

Comments

@dbuvid
Copy link

dbuvid commented Sep 17, 2021

I mainly listen to podcasts while running and I'd love to have a way to sync playback progress for longer episodes between my watch and other devices.

As I understand it the Subsonic API already has support for bookmarking so I was wondering if it would be possible to leverage that to sync playback progress when syncing the watch with a phone.

@memen45 memen45 added the enhancement New feature or request label Sep 17, 2021
@memen45
Copy link
Owner

memen45 commented Sep 17, 2021

Yes, thanks for opening the issue! Currently I don't have time and the server I currently use as backend (Nextcloud with owncloud/music) does not support bookmarks for podcasts yet. Therefore implementation is currently difficult, but this is indeed an important feature!

@sixgeek
Copy link

sixgeek commented Jan 18, 2022

I just came here to underline the importance of that feature. I would even change my beloved podcast app on my Android phone besides purchasing finally a Garmin watch if it's isle to v sync the progress of the playlist\episode bookmark feature would exist.

I'm listening to a lot of podcasts (>24h) during a week and for running I'm using currently only my phone (tracking and podcast).

That feature would be superb 👍

@memen45
Copy link
Owner

memen45 commented Jan 19, 2022

Thanks for showing your interest in the feature. In order to provide a little more context, and for future reference:

Current SubMusic Ampache API support: V4
Current owncloud/music Ampache API support: V4 owncloud/music#909

Ampache API supports bookmarks since v5. Backward compatibility with v4 and v3 was added from v5.2+ onwards. Since the owncloud/music app is used a lot with SubMusic, Ampache API V5 cannot be implemented until owncloud/music decides to implement Ampache5 as well. I will check if there is any update on this!

@memen45
Copy link
Owner

memen45 commented May 14, 2023

Small update since I received a request by mail about bookmark support in Plex. Below the current status on this:

Backend create update delete Parameters
Ampache 4
Ampache 5+ /bookmark_create /bookmark_edit /bookmark_delete position and date
Subsonic /createBookmark /createBookmark /deleteBookmark position
Plex /:/progress ❓ same as create with new time? Or PUT ❓ same as create with time=length? Or DELETE time

Note:

  • Plex endpoints have not been tested yet and need some confirmation.
  • Nextcloud music app owncloud/music only supports Ampache 4 and Subsonic.
  • SubMusic is still on Ampache 4 because of the above reason (Subsonic is not a viable alternative to Ampache, as it has no paged responses)

Therefore the following steps would allow a bookmark feature in SubMusic

  • owncloud/music to Ampache 5 (including bookmark support not strictly necessary. Missing can be handled just fine)
  • SubMusic add Bookmark class. Only add bookmarks if the played media is Podcast or the Playlist is in podcast mode. Add bookmark on player pause and end of song.
  • SubMusic add BookmarkSync class to handle the synchronisation of those bookmarks to the respective server backend.

Please upvote OP in case you would like to see the bookmark feature in SubMusic! This helps setting priorities for the project :)

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

3 participants