Open Oleksiy-Yakovenko opened 3 years ago
This can be done with a shell script and a cli tagger like kid3-cli. However, this only works with ext4 file systems, because only here a corresponding date of creation is stored. Afterwards, of course, the tags must be re-read in DeaDBeeF. More comfortably would be a Plugin.
#!/bin/bash
date=$(stat -c "%w" "$1")
kid3-cli -c "set 'DATE CREATED' '$date'" "$1"
Will create a tag like:
DATE CREATED 2021-02-23 11:15:59.209909058 +0100
From: @dmidecodes
i would like to setup a short command in deadbeef, which fetches the state of creation of a file so to store it in a new tag field.
under fb2k i used a little script with the formatting: %last_modified% and the destination field DATE CREATED, which would then contain something like: 2021-02-15 13:55:14
could you please give me a tip on how to achieve the same with deadbeef's shell commands under linux?