Symfonium API: Sync Playback

Feature description

This would be a new endpoint in the Symfonium API allowing users to sync the playback state of the song on demand (i.e. the current song playing and the position in the song).

Problem solved

To my understanding, a song playback sync (at least with the Jellyfin provider) only occurs at three points:

  1. When the user pauses/unpauses the song
  2. When the user reaches 30s played in any given song
  3. When the user skips a song whose state is already synced and under 30s of playtime

Brought benefits

A dedicated API endpoint would help bring more consistency to macros that wish to use this behavior. For example, I made a custom “Boo Button” macro which takes into account the currently playing song and adds it to a .ignore file on my server. This is only possible if the server is actually aware of the song playing, which is inconsistent due to the reasons listed above.

Other application solutions

Currently, I am circumnavigating this missing feature by sending a PAUSE and PLAY intent one after another to “manually” sync the playback state with my Jellyfin server, then continuing with the expected macro flow. While I believe this should never be an issue due to how low level sockets work on the system, this solution does feel like a hack and possibly unreliable (on top of sounding weird at times).

Device type

All

Additional description and context

If a dedicated API endpoint for this feature is not implemented, I believe some of this behavior with playback sync should be documented somewhere to allow future users to be able to craft similar solutions without confusion.

I searched existing feature requests

on

Sorry but no idea what you mean of want here, Symfonium send the proper events to the servers and playing songs will be visible in the dashboard.