Hi [size=1em]firenice03,[/size]
I'm passing the variable from MOCP music player.[size=1em] I want the browser to search wiki for the track that is playing. %t equates to the title of the track.[/size]
This is from the example config for mocp, it might help, didn't notice it earlier:
I'm passing the variable from MOCP music player.[size=1em] I want the browser to search wiki for the track that is playing. %t equates to the title of the track.[/size]
This is from the example config for mocp, it might help, didn't notice it earlier:
Code:
# Programs are run using execv(), not a shell, so you can't do things like
# redirecting the output to a file. The command string is split using blank
# characters as separators, the first element is the command to be executed
# and the rest are parameters, so if you use "echo Playing: %I" we run program
# echo (from $PATH) with 2 parameters: 'Playing:' string and the title. Even
# if the title contains spaces it's still one parameter and it's safe if it
# contains `rm -rf /`.
Don't believe half of what you see and none of what you hear
- Lou Reed
- Lou Reed