LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pass Variable To URL
#3
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:


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
Reply


Messages In This Thread
Pass Variable To URL - by Duckeenie - 11-20-2015, 07:23 PM
Re: Pass Variable To URL - by firenice03 - 11-20-2015, 08:37 PM
Re: Pass Variable To URL - by Duckeenie - 11-20-2015, 08:49 PM
Re: Pass Variable To URL - by misko_2083 - 11-20-2015, 09:31 PM
Re: Pass Variable To URL - by Duckeenie - 11-20-2015, 10:16 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)