summaryrefslogtreecommitdiff
path: root/deadbeef.h
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-07-29 08:17:36 +0200
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-07-29 08:17:36 +0200
commita47247a948e47f6bbadcf15f031af902d1f42551 (patch)
treee4b053672c0eb89b4c22c8fe95c97ef8377664cf /deadbeef.h
parent87e3b467e0bd62e43d6eb3547574c2378264ef89 (diff)
fixed pl_format_title code duplication in shellexec plugin
Diffstat (limited to 'deadbeef.h')
-rw-r--r--deadbeef.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/deadbeef.h b/deadbeef.h
index e2eb8846..59d62488 100644
--- a/deadbeef.h
+++ b/deadbeef.h
@@ -405,6 +405,8 @@ typedef struct {
more to come
*/
int (*pl_format_title) (DB_playItem_t *it, int idx, char *s, int size, int id, const char *fmt);
+ // _escaped version wraps all conversions with '' and replaces every ' in conversions with \'
+ int (*pl_format_title_escaped) (DB_playItem_t *it, int idx, char *s, int size, int id, const char *fmt);
void (*pl_format_time) (float t, char *dur, int size);
void (*pl_format_item_display_name) (DB_playItem_t *it, char *str, int len);
// void (*pl_set_next) (DB_playItem_t *it, DB_playItem_t *next, int iter);