Opened 12 years ago

Last modified 11 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: Analyzed by developer:

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@… 12 years ago.
expand properties passed to RUN command

Download all attachments as: .zip

Change History (3)

Changed 12 years ago by cafebabe@…

expand properties passed to RUN command

comment:1 Changed 12 years ago by cafebabe@…

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

comment:2 Changed 11 years ago by compn

  • Summary changed from slave mode - run command - property expansion to [PATCH] slave mode - run command - property expansion

.

Note: See TracTickets for help on using tickets.