thanks for the hint with the plugin, i thought i try myself and i don't know what i did exactly but it seems to work.
# -*- coding: utf-8 -*-
# This work is free. You can redistribute it and/or modify it under the
# terms of the Do What The Fuck You Want To Public License, Version 2.
# See http://www.wtfpl.net/ for more details.
PLUGIN_NAME = 'timestamp'
PLUGIN_AUTHOR = 'ehrgeiz'
PLUGIN_LICENSE = 'WTFPL'
PLUGIN_LICENSE_URL = 'http://www.wtfpl.net/'
PLUGIN_DESCRIPTION = '''Adds a timestamp function to tagger-script'''
PLUGIN_VERSION = "0.1"
PLUGIN_API_VERSIONS = ["1.0"]
from picard.script import register_script_function
now = datetime.datetime.now()
return now.strftime("%Y-%m-%d %H:%M")
and my taggerscript is then
i don't know why i have to write something in parenthesis in the "def timestamp()" but i guess this works now. maybe i should set check_argcount:false?