Music Player Daemon Community Wiki

525pages on
this wiki

This script is obsolete because it's functionality is included to mpc-0.11.2

This perl-script allows you to seek backward/forward for particular time in seconds.

Usage: <time>

<time> is time to seek in seconds. To seek backward, use negative values.



$delta_t=$ARGV[0] || "5";

if($status=~/\[playing\] +\#\d+\/\d+ +(\d+):(\d+) \((\d+)\%\)/)


       system("mpc seek $newpercent");

Around Wikia's network

Random Wiki