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 596302 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

foo_run 0.3.7

Reply #475
not possible. from another recent thread on the subject...

as we haven't seen Florian around for quite some time, it's unlikely foo_run will be updated - but assuming you don't mind using buttons, i've made a script for WSH panel mod that can launch various websites using dynamic track titles. it looks like this...



the script is named web links inside this package. check the readme first. https://dl.dropboxusercontent.com/u/22801321/wsh/samples.zip

foo_run 0.3.7

Reply #476
hello, i have installed windows 8.1 with foobar 1.1.7 version. i need to extract with button the CD, and i use nircmd.exe
with windows 7 no problem, it work correctly, but with windows 8.1, foo_run not work!
you have experience with this?
thanks in advance!

foo_run 0.3.7

Reply #477
have you checked the application definitely works on 8.1 without using foo_run?

if it does work, there's no reason why 8.1 should behave any different to 7 when using foo_run. i suggest double checking your settings. also, remember that if your file path has () in it, they need to be escaped with ' like this...

Code: [Select]
C:\Program Files '('x86')'\blah\...



 

foo_run 0.3.7

Reply #478
have you checked the application definitely works on 8.1 without using foo_run?

if it does work, there's no reason why 8.1 should behave any different to 7 when using foo_run. i suggest double checking your settings. also, remember that if your file path has () in it, they need to be escaped with ' like this...

Code: [Select]
C:\Program Files '('x86')'\blah\...

yes, it work correctly... , i have tryed with compatibility winXP, windows 7, but not work with run service... i don't know...!!

foo_run 0.3.7

Reply #479
For me on windows 7, foo run won't work if in path i have spaces like this C:\foobar2000 xch4\blabla.exe
What i need to write?

foo_run 0.3.7

Reply #480
yes, it work correctly... , i have tryed with compatibility winXP, windows 7, but not work with run service... i don't know...!!


well as i'm running windows 8.1 myself, i installed foo_run and downloaded the nircmd app to test with and it works fine for me. i didn't have to do anything special. as i expected, the OS really is irrelevant.

For me on windows 7, foo run won't work if in path i have spaces like this C:\foobar2000 xch4\blabla.exe


it should work if you wrap the path in double quotes.


foo_run 0.3.7

Reply #482
yes, it work correctly... , i have tryed with compatibility winXP, windows 7, but not work with run service... i don't know...!!


well as i'm running windows 8.1 myself, i installed foo_run and downloaded the nircmd app to test with and it works fine for me. i didn't have to do anything special. as i expected, the OS really is irrelevant.

For me on windows 7, foo run won't work if in path i have spaces like this C:\foobar2000 xch4\blabla.exe


it should work if you wrap the path in double quotes.

i have tryed without double quotes in the path... this thing can be the problem? i have the spaces on the path...



foo_run 0.3.7

Reply #485
with the double quotes it work!! thanks a lot!!! 

foo_run 0.3.7

Reply #486
I have a bunch of albums where I want to grab both the cover and artist art using AAD. I have 2 separate entries right now but wondered if there was a way to do both in one step. I saw a similar reply here that suggested a batch file but I'm not sure how it would work. Here are the commands I'm currently using.

Album Cover
Code: [Select]
"C:\Program Files\AlbumArtDownloader\AlbumArt.exe"  /ae on -pf on /ar "%album artist%" -al "%album%" /p "$replace(%_path%,'\'%_filename_ext%,)" /f "cover.'%'extension'%'" /coverType front,unknown /mn 300 /sources all /exclude "LastFM Artist" /o o /localImagesPath "$replace(%path%,%filename_ext%,cover.jpg)"

Artist
Code: [Select]
"C:\Program Files\AlbumArtDownloader\AlbumArt.exe"  /ae on -pf on /ar "%artist%" /p "C:\Users\Cristov\Music\Artist Art\'%'artist'%'.'%'extension'%'" /sources "GoogleImage,LastFM Artist" /o o /localImagesPath "$replace(%path%,%filename_ext%,folder.*g)" /mn 150

Thanks

foo_run 0.3.7

Reply #487
Hi, i'm trying to figure out what I do wrong with this line:
Code: [Select]
"C:\Python27\python.exe" "C:\Users\Administrator\Desktop\test\test.py" -i "%_path%"

This opens quick a cmd window, and that shuts down immediately, and doesn't execute the python script.
<3 f00

foo_run 0.3.7

Reply #488
try adding cmd /c to the start...

Code: [Select]
cmd /c "c:\python...


@wolfsong, you can pass parameters to a batch file like this....

Code: [Select]
aad.bat "%album artist%" "%album%"


then inside your bat file, you can access the first parameter with %1, the 2nd with %2 and so on. eg

Code: [Select]
albumart.exe /ar %1 /al %2





foo_run 0.3.7

Reply #491
Hello, would that be possible make certain service commands show in menu conditionally depending on various media file parameters, like for example I want a command that would be available only for lossless files, a command for files only with extension from a limited list (depending on which formats the external app supporting), etc.. I think this would greatly improve the menu readability by excluding services not available for current selection. Also I'm curious if that would be possible insert separator lines or even submenus in the Services menu.
My second question is if it would be possible run service command for a whole selecction, ie. passing to external command a list of selected tracks separated by space or something such. Eventually the plugin could save the list of interpolated user's pattern to temp file instead, then passing the list filename to external service as argument. But this is most programs not supporting. A space delimited list on commandline would be enough ;P


foo_run 0.3.7

Reply #493
() are special characters in foobar title formatting so you need to wrap them in single quotes like this...

Code: [Select]
"C:\Program Files '('x86')'\NirCmd\nircmd.exe" cdrom open d:


foo_run 0.3.7

Reply #495
I have a bunch of albums where I want to grab both the cover and artist art using AAD. I have 2 separate entries right now but wondered if there was a way to do both in one step. I saw a similar reply here that suggested a batch file but I'm not sure how it would work. Here are the commands I'm currently using.

Album Cover
Code: [Select]
"C:\Program Files\AlbumArtDownloader\AlbumArt.exe"  /ae on -pf on /ar "%album artist%" -al "%album%" /p "$replace(%_path%,'\'%_filename_ext%,)" /f "cover.'%'extension'%'" /coverType front,unknown /mn 300 /sources all /exclude "LastFM Artist" /o o /localImagesPath "$replace(%path%,%filename_ext%,cover.jpg)"
Artist
Code: [Select]
"C:\Program Files\AlbumArtDownloader\AlbumArt.exe"  /ae on -pf on /ar "%artist%" /p "C:\Users\Cristov\Music\Artist Art\'%'artist'%'.'%'extension'%'" /sources "GoogleImage,LastFM Artist" /o o /localImagesPath "$replace(%path%,%filename_ext%,folder.*g)" /mn 150
Thanks

Open notepad and make a cmd/bat file called something like Albumart_cover_and_artist_fetch.cmd containing something like this (which I quickly wrapped together for you. could probably have made it with less parameters, but works in my end):

Code: [Select]
@ECHO OFF
START "Searching for album cover" /d"C:\Program Files\AlbumArtDownloader" /i /NORMAL AlbumArt.exe /ae on -pf on /ar %1 -al %2 /p %3 /f %4 /coverType front,unknown /mn 300 /sources all /exclude "LastFM Artist" /o o /localImagesPath %5
START "Searching for artist picture" /d"C:\Program Files\AlbumArtDownloader" /i /NORMAL AlbumArt.exe /ae on -pf on /ar %6 /p %7 /sources "GoogleImage,LastFM Artist" /o o /localImagesPath %8 /mn 150


Alternatively you could do without the start command if you dont want both searches to simultaneously pop up (but I figured you did), this would simply queue the searches instead:
"C:\Program Files\AlbumArtDownloader\AlbumArt.exe" /ae on -pf on /ar %1 -al %2 /p %3 /f %4 /coverType front,unknown /mn 300 /sources all /exclude "LastFM Artist" /o o /localImagesPath %5
"C:\Program Files\AlbumArtDownloader\AlbumArt.exe" /ae on -pf on /ar %6 /p %7 /sources "GoogleImage,LastFM Artist" /o o /localImagesPath %8 /mn 150

The scripts parameters for the lovely Foobar2000 component Foo_run should then be:
Albumart_cover_and_artist_fetch.cmd "%album artist%" "%album%" "$replace(%_path%,'\'%_filename_ext%,)" "cover.'%'extension'%'" "$replace(%path%,%filename_ext%,cover.jpg)" "%artist%" "C:\Users\Cristov\Music\Artist Art\'%'artist'%'.'%'extension'%'" "$replace(%path%,%filename_ext%,folder.*g)"

foo_run 0.3.7

Reply #496
How can I use foo_run Foobar2000 to open selection of tracks to audacity? Because this doesn't work

"C:\Program Files (x86)\Audacity\audacity.exe" "$directory(%path%)"

foo_run 0.3.7

Reply #497
See post #494.

foo_run 0.3.7

Reply #498
Is it possible to have a script embed artwork if you already have the image?

foo_run 0.3.7

Reply #499
just select some files>right click>tagging>attach pictures (or batch attach pictures).