deadbeef icon indicating copy to clipboard operation
deadbeef copied to clipboard

Custom Shell Commands - Reload Target Metadata

Open daryltucker opened this issue 3 years ago • 0 comments

Steps to reproduce the problem

  1. Create "Custom Shell Command"
    • metaflac --remove-tag=CUSTOM_TAG --set-tag=CUSTOM_TAG=CUSTOM_VALUE %F
  2. DeaDBeeF doesn't see new tag or tag value
  3. 'Reload Metadata' on the file, and DeaDBeef sees new tag and value.

What's going on? Describe the problem in as much detail as possible.

I'd like to be able to tell DeaDBeeF to reload the metadata of a specific file:

metaflac --remove-tag=CUSTOM_TAG --set-tag=CUSTOM_TAG=CUSTOM_VALUE %F; deadbeef --reload-metadata %F

Or, expose the playlist index via variable (%i) for optimization (?):

metaflac --remove-tag=CUSTOM_TAG --set-tag=CUSTOM_TAG=CUSTOM_VALUE %F; deadbeef --reload-metadata %i

daryltucker avatar Aug 17 '22 18:08 daryltucker