Opened 16 years ago

Last modified 16 years ago

#1049 new enhancement

[PATCH] slave mode - run command - property expansion

Reported by: cafebabe@… Owned by: reimar
Priority: unimportant Component: core
Version: unspecified Severity: minor
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

string argument to run command, MP_CMD_RUN, could use property values expansion, just like command MP_CMD_OSD_SHOW_PROPERTY_TEXT.
this whould to allow e.g. executing shell command for currently playing file from playlist.

Attachments (1)

args_expand.patch (686 bytes ) - added by cafebabe@… 16 years ago.
expand properties passed to RUN command

Download all attachments as: .zip

Change History (3)

by cafebabe@…, 16 years ago

Attachment: args_expand.patch added

expand properties passed to RUN command

comment:1 by cafebabe@…, 16 years ago

from input.conf:
J run 'ls -l "${path}"'
(got some issues using " and \" instead of ' and ")

comment:2 by compn, 16 years ago

Summary: slave mode - run command - property expansion[PATCH] slave mode - run command - property expansion

.

Note: See TracTickets for help on using tickets.