Media Player : Volume button long press to change song

I was trying to find it but it seems it’s not supported.
So I’m looking for a solution how to enable switching songs prev/next using the volume keys.
So the workflow would be this:

  • short press would do Vol Up/Down
  • long press if music is playing Vol Up - prev song, Vol Down - next song
    Any ideas are very welcome.