SubMusic icon indicating copy to clipboard operation
SubMusic copied to clipboard

Playback progress (bookmark) sync support

Open dbuvid opened this issue 4 years ago • 4 comments

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.

dbuvid avatar Sep 17 '21 20:09 dbuvid

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!

memen45 avatar Sep 17 '21 20:09 memen45

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 👍

sixgeek avatar Jan 18 '22 19:01 sixgeek

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

  • [x] bookmark support Subsonic API
  • [x] bookmark support Ampache API (V5) ampache/ampache#2591
  • [x] bookmark support owncloud/music (with Subsonic) owncloud/music#910
  • [ ] bookmark support owncloud/music (with Ampache4)
  • [ ] bookmark support SubMusic

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 avatar Jan 19 '22 16:01 memen45

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 :x: :x: :x:
Ampache 5+ /bookmark_create /bookmark_edit /bookmark_delete position and date
Subsonic /createBookmark /createBookmark /deleteBookmark position
Plex /:/progress :question: same as create with new time? Or PUT :question: 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 :)

memen45 avatar May 14 '23 19:05 memen45