Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: foo_run (Read 601703 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

foo_run 0.3.7

Reply #225
Surround them with single quotes:
Code: [Select]
"C:\Program Files '('x86')'\appfolder\app.exe" -pram


foo_run 0.3.7

Reply #227
Quote
label: Cover-Paradise
path: http://cover-paradies.to/?Module=ExtendedSearch&SearchString=$replace(%artist%+%album%, ,'+')

I try to use this:
Quote
$button($eval({%_width%-440}/2+460),12,0,0,110,30,images\cp.png,/images\cp_h.png,'Cover-Paradise',TOOLTIP:"Search Cover-Paradise for %artist%")
,but no working.
Thanks in advance for any help and sorry for my bad english!


You have made a really bad mistake. The command must be /Run/Cover-Paradise instead of 'Cover-Paradise'
The Command was the mistake.

foo_run 0.3.7

Reply #228
I'd rather say Cover-Paradise instead of 'Cover-Paradise'. 

foo_run 0.3.7

Reply #229
From the command reference:
Quote
$button(x,y,hotspot-x,hotspot-y,hotspot-w,hotspot-h,image,hover image,command,options)

...
A main menu item or context menu item from foobar2000's command group. For example, Play or Pause, Stop, Preferences, etc.). A definitive list of these items can be found in the drop-down list of the Panels UI configuration window, via the Main and Context buttons.


So it must be /Run/Cover-Paradise. 

foo_run 0.3.7

Reply #230
Hi all, little problem with RateYourMusic

I just want to open the page for the album I'm listening to, for now I wrote this:

Code: [Select]
http://rateyourmusic.com/release/album/$replace(%artist%,' ','_')/$replace(%album%,' ','_')/


Problem is that RYM has all lowcase names in the url, anda I have no idea how to do it (avoiding the editing of ID3 tags of course  )
I'm kinda newbie in foobar coding, I don't know if exist a "lowercase" command, does it?

thank you

foo_run 0.3.7

Reply #231
Try this:
Code: [Select]
"http://rateyourmusic.com/release/album/$lower($replace(%artist%, ,_))/$lower($replace(%album%, ,_))/"


foo_run 0.3.7

Reply #233
I've just released foo_run 0.3.3!

Release notes:
Quote
CHG: improved usability of preferences page.
CHG: urls and paths are now also opened by the default application under Vista.
CHG: all paths containing blanks must be put in quotes now.
CHG: dropped support for Windows 2000.
FIX: menu item labels were not visible at some configuration dialogs of specific UIs.

You can get it from the first post of this topic.

Enjoy

foo_run 0.3.7

Reply #234
Thank you very much!

foo_peter

foo_run 0.3.7

Reply #235
I've just released foo_run 0.3.4!

Release notes:
Quote
FIX: preferences page was cropped when using large DPI settings.

You can get it from the first post of this topic.

Enjoy your large DPI settings

foo_run 0.3.7

Reply #236
Extremely useful....have been using it for a long time...makes things a lot more productive...thx for the update!

foo_run 0.3.7

Reply #237
Thanks Florian for update and the original

foo_run 0.3.7

Reply #238
i want to use foo_run with Art Album Downloader.
i put in service properties:

C:\Program Files (x86)\AlbumArtDownloader\AlbumArt.exe -ar "%artist%" -al "%album%" -p "$replace(%_path%,%_filename_ext%,)folder.jpg"

and it dont work. I use WIndows XP 64 Bit system. In 32 bit its works ok.
I also try mediainfo.dll 64bit version and dont work too.

any ideas?

foo_run 0.3.7

Reply #239
I use :

"C:\Program Files\AlbumArtDownloader\AlbumArt.exe" /artist "%artist%" /album "%album%" /autoclose /p "$replace(%path%,%filename_ext%,folder.jpg)" /sources "Amazon"
Sorry for the bad english, I'm french .


foo_run 0.3.7

Reply #241
Hi. Can I run 2 commands at once? I haven't been able to do it...

Ideally I'd like to do a search in songmeanings (I figured out that much), and then to create an empty txt file named 'artist - track - song.txt', or more easily, 'filename.txt' (and then I'll manually paste the lyrics text and save to my lyrics folder, but that can't be automated... if only.... )

Is this possible?

any help would be great thanks!

p

foo_run 0.3.7

Reply #242
You should be able to do it using a batch file, create search.bat containing:
Code: [Select]
start http://www.songmeanings.net/query.php?action=title^&query=%1
start notepad "%~dpn2.txt"

(I'm not sure if the carat ^ is needed but it is usually needed in DOS)

Then call it from foo_run with
Code: [Select]
path/to/search.bat "$replace(%title%, ,+)" "%path%"

I hope that gets you started.

foo_run 0.3.7

Reply #243
wow thanks for the quick reply

this does not "get me started", this is exactly what I wanted

thanks a lot!

edit: just a little thing. would it be possible to create the txt file in a different folder (where I have all the lyrics stored)? If not, it's just fine as it is

edit2: nevermind. I figured it out

foo_run 0.3.7

Reply #244
This is priceless. thanks.

Code: [Select]
http://www.freecovers.net/search.php?search=$replace(%artist%$if2( %album%,), ,$char(37)20)


Thats a code I use for a site I get a lot of covers from if anyone wants it.

foo_run 0.3.7

Reply #245
Discogs Artist, also works for The... artists.

Code: [Select]
http://www.discogs.com/artist/$if($strcmp($padcut(%artist%,4),The ),$replace($substr(%artist%,5,$len(%artist%)), ,+)','+The,$replace(%artist%, ,+))

foo_run 0.3.7

Reply #246
i ran into trouble trying to setup menu items to launch Mp3tag dir or file using the old posts.
Here's the code that I got working on my install - Vista 32-bit, foobar2000 0.9.5.3, Mp3tag v2.41:

Code: [Select]
Label:  Mp3tag '('dir')'

Path:  "C:\Program Files\Mp3tag\Mp3tag.exe" "/fp:$substr(%_path%,0,$strrchr(%_path%,'\'))"

Label:  Mp3tag '('file')'

Path:  "C:\Program Files\Mp3tag\Mp3tag.exe" "/fn:%_path%"


Hopefully it will save someone else some time.


 

foo_run 0.3.7

Reply #248
hi,

try this:

Quote
"C:\Program Files\Irfanview\i_view32.exe" "$replace(%_path%,%_filename_ext%,)folder.jpg"


replace the red-colored path with your program-path... whatever you use.

greets