Hydrogenaudio Forums

Hosted Forums => foobar2000 => 3rd Party Plugins - (fb2k) => Topic started by: Florian on 2006-05-31 21:41:47

Title: foo_run 0.3.8
Post by: Florian on 2006-05-31 21:41:47
foo_run runs external applications from within foobar2000.

Download the current version of foo_run (https://mp3tag.de/en/fb2k.html)

Enjoy
Title: foo_run 0.3.7
Post by: topdownjimmy on 2006-05-31 22:06:58
looking forward to trying this -- much like foo_openwith, no?

thanks!

Moderation: removed unnecessary fullquote
Title: foo_run 0.3.7
Post by: Fiend Angelical on 2006-05-31 22:09:41
Nifty. Cheers. :]
Title: foo_run 0.3.7
Post by: Tri on 2006-05-31 22:16:45
Thank you very much!
Title: foo_run 0.3.7
Post by: Fiend Angelical on 2006-05-31 22:19:38
Here's a search string for Wikipedia to help:

Code: [Select]
program "http://en.wikipedia.org/wiki/Special:Search?search=%term%"
Title: foo_run 0.3.7
Post by: m-z on 2006-05-31 23:55:03
Thanks! I've been waiting for something like this since the first 0.9 version came out!

It would be great if you could add an option like the old "Call the command once per group (rather than once per file)." from foo_openwith.
Title: foo_run 0.3.7
Post by: mazy on 2006-06-01 02:11:20
this is great news, though i would like to see some features from foo_openwith ported over to this. like organizing services into submenus (using '/' like 'web/all music'), support for multiple files per one execution, preview, etc.
Title: foo_run 0.3.7
Post by: ExUser on 2006-06-01 02:34:47
Is the download link broken for anyone else? I can't even find the server!
Title: foo_run 0.3.7
Post by: roentgen on 2006-06-01 05:01:49
Thanks for this plugin. It's really usefull.
As a small request: ability to sort items.
A small "bug": in "explorer  "http://www.allmusic.com...." explorer it's really useless in there, the http address by itself would be enough (will open that URL in default browser - Opera in my case)

My contribution: code for using this plugin with total commader
Code: [Select]
"C:\Program Files\Totalcmd\totalcmd.exe" /O /T "$substr(%_path%,0,$strrchr(%_path%,'\'))"
Title: foo_run 0.3.7
Post by: dubpistol on 2006-06-01 10:44:10
Enjoy

Done!

Thank you
Title: foo_run 0.3.7
Post by: foosion on 2006-06-01 12:02:55
Is the download link broken for anyone else? I can't even find the server!
Works just fine here.
Title: foo_run 0.3.7
Post by: mazy on 2006-06-01 12:19:45
yes, sorting, separators, groups ... that all would be very nice. i'm already using this plugin for cover art downloading and nfo viewing.
Title: foo_run 0.3.7
Post by: Bl@ck_warrior on 2006-06-01 13:41:05
Quote
i'm already using this plugin for cover art downloading

Which code are you using to download covert art?
Title: foo_run 0.3.7
Post by: topdownjimmy on 2006-06-01 13:47:05
Quote
i'm already using this plugin for cover art downloading

Which code are you using to download covert art?

i use this:

Code: [Select]
http://rateyourmusic.com/search?q=%album%&type=l
Title: foo_run 0.3.7
Post by: mazy on 2006-06-01 15:07:29
Which code are you using to download covert art?

actually i'm using it together with that cover art downloader by david dl, here (http://www.hydrogenaudio.org/forums/index.php?showtopic=43429).
Title: foo_run 0.3.7
Post by: Tich on 2006-06-01 15:29:08
thanks!
finally i can search coverart from within foobar
Title: foo_run 0.3.7
Post by: ExUser on 2006-06-01 15:35:45
Is the download link broken for anyone else? I can't even find the server!
Works just fine here.

And it works fine for me this morning. Hm. Curious.
Title: foo_run 0.3.7
Post by: DruiD_ff on 2006-06-01 17:49:44
Thank you!!!
The idea of plugin is great!
in addition to other wishes:
will be fine to add option "add from file".
Title: foo_run 0.3.7
Post by: musko on 2006-06-01 20:22:33
Very very nice..

Adding a shortcutkey to a runcommand doesnt work?
Title: foo_run 0.3.7
Post by: mazy on 2006-06-01 22:35:49
Very very nice..

Adding a shortcutkey to a runcommand doesnt work?

it does, though it would show only 'run service' in the list ...
Title: foo_run 0.3.7
Post by: Sphix on 2006-06-01 23:06:18
Very nice plugin
Title: foo_run 0.3.7
Post by: gwiazdek on 2006-06-02 00:13:41
YOU ARE MY GOD FOR NOW

Edit by moderation: please refrain from using unnessecarily large font sizes.
Title: foo_run 0.3.7
Post by: pepito on 2006-06-02 03:23:29
My contribution: code for using this plugin with total commader
Code: [Select]
"C:\Program Files\Totalcmd\totalcmd.exe" /O /T "$substr(%_path%,0,$strrchr(%_path%,'\'))"


this one is very nice indeed 
Thank you
Title: foo_run 0.3.7
Post by: musko on 2006-06-02 05:19:43
Very very nice..

Adding a shortcutkey to a runcommand doesnt work?

it does, though it would show only 'run service' in the list ...


Are you sure? Tried different keys but i still cant make it work.. :/
Not good
Title: foo_run 0.3.7
Post by: foosion on 2006-06-02 07:53:42
it does, though it would show only 'run service' in the list ...


Are you sure? Tried different keys but i still cant make it work.. :/
Not good
It works here as well. The issue that the assigned shortcuts list only displays "Run Service" will be fixed in 0.9.2 beta 5.
Title: foo_run 0.3.7
Post by: Zimdgre on 2006-06-02 13:04:11
It works here as well. The issue that the assigned shortcuts list only displays "Run Service" will be fixed in 0.9.2 beta 5.


Well, It's good to know that, thanks foosion.
Title: foo_run 0.3.7
Post by: amppa on 2006-06-02 22:11:16
This is one of the few plugins I've been impatiently waiting since I switched to 0.9. Really makes things a lot smoother, thanks!
Title: foo_run 0.3.7
Post by: rectangle on 2006-06-02 23:16:42
I love this. Was missing Messer's foo_web with 0.9 I can't get it to search for anything but the first word on Amazon. This is the string I was using for foo_web:
Code: [Select]
http://www.amazon.com/exec/obidos/external-search/026-3231160-0094028?mode=music&keyword=%artist%+%album%&tag
Title: foo_run 0.3.7
Post by: gfngfgf on 2006-06-03 00:23:50
I love this. Was missing Messer's foo_web with 0.9 I can't get it to search for anything but the first word on Amazon. This is the string I was using for foo_web:

Try this instead:
Code: [Select]
http://www.amazon.com/exec/obidos/external-search/026-3231160-0094028?mode=music&keyword=$replace(%artist% %album%,' ','+')&tag

Unless I messed up, that should replace all the spaces in the artist and album names with plus signs.
Title: foo_run 0.3.7
Post by: rectangle on 2006-06-03 00:42:53
Quote
Code: [Select]
http://www.amazon.com/exec/obidos/external-search/026-3231160-0094028?mode=music&keyword=$replace(%artist% %album%,' ','+')&tag



Thanks, it works
Title: foo_run 0.3.7
Post by: parive3 on 2006-06-04 01:53:53
This is an awesome port, so many things you can do with it
Title: foo_run 0.3.7
Post by: Chaser on 2006-06-04 10:52:27
I have a request concerning the context-menu-entries of foo_run.
Could every command be implemented as for example "Run:Cover", so that you don't only have the "Run"-entry which then extends to all you commands?
Title: foo_run 0.3.7
Post by: roentgen on 2006-06-04 17:57:25
somehow a little more nifty string for 'Open Directory'
Code: [Select]
explorer /select, "$substr(%_path%,0,$strrchr(%_path%,'\'))%filename_ext%"
Title: foo_run 0.3.7
Post by: foosion on 2006-06-04 19:55:59
How is
Code: [Select]
$substr(%_path%,0,$strrchr(%_path%,'\'))%filename_ext%
supposed to be different from merely
Code: [Select]
%_path%
?
Title: foo_run 0.3.7
Post by: roentgen on 2006-06-04 20:04:26
well I was wondering that too...
These were the default codes  and I remember that I've tried something like 'totalcmd.exe %_path%' and didn't work

Anyway it works now ... both ways
Title: foo_run 0.3.7
Post by: Florian on 2006-06-05 14:20:22
I've just released foo_run 0.3.1. Changelog and download links are at the first post of this topic.

Edit: Thanks to all for the nice feedback
Title: foo_run 0.3.7
Post by: Synthetic Soul on 2006-06-05 16:42:44
Here's my generous contribution:

Mr QuestionMan (http://www.burrrn.net/?page_id=5)
"C:\Program Files\Mr QuestionMan.exe" "$substr(%_path%,0,$strrchr(%_path%,'\'))"

Thanks Florian.
Title: foo_run 0.3.7
Post by: Chaser on 2006-06-05 16:45:03
I have a request concerning the context-menu-entries of foo_run.
Could every command be implemented as for example "Run:Cover", so that you don't only have the "Run"-entry which then extends to all you commands?


Florian, thank you for working on this component. Have you seen my post?
Title: foo_run 0.3.7
Post by: Florian on 2006-06-05 17:32:00

I have a request concerning the context-menu-entries of foo_run.
Could every command be implemented as for example "Run:Cover", so that you don't only have the "Run"-entry which then extends to all you commands?


Florian, thank you for working on this component. Have you seen my post?

Sure, but I have no idea how to achieve this with the foobar2000 SDK (except for putting all entries in the root menu, which would be very ugly).
Title: foo_run 0.3.7
Post by: Chaser on 2006-06-05 17:56:43
Would it really be ugly? Since you don't have to add the root entries by default. Rather add them, if the user wishes so.

Ideal situation:
- have the run-menuitem, as it's now (added as standard, if the component is installed)
- have the run:"Item"-menuitems available in the commands list (however not added to the context-menu by standard)

What do you think of this idea?
Title: foo_run 0.3.7
Post by: zwart on 2006-06-05 18:18:39
thanks for this great plugin mate

"Allmusic Artist" etc. is absolutely suuuuuper!
Title: foo_run 0.3.7
Post by: Schinkentoni on 2006-06-05 21:16:24
Also a thank you from me

2 suggestions
- add a move up/down option
- I guess it's in principle the same, user 'm-z' asked on the first page; in 0.8.3 I used foo_openwith to send files to mp3gain, now only the first of the checked items is send to this program
Title: foo_run 0.3.7
Post by: dano on 2006-06-05 21:31:30
- I guess it's in principle the same, user 'm-z' asked on the first page; in 0.8.3 I used foo_openwith to send files to mp3gain, now only the first of the checked items is send to this program

That's what the slider simultaneous runs is for...
Title: foo_run 0.3.7
Post by: RogerG on 2006-06-06 02:18:28
Hi!

I want to run a programme. The command must contain the path of the 2 files which i have selected in the playlist.

C:\WINDIFF.EXE path_1 path_2

is this possible?

Thank you!
Title: foo_run 0.3.7
Post by: Schinkentoni on 2006-06-06 09:52:39
That's what the slider simultaneous runs is for...

I don't think so. 'Simultaneous runs' opens x instances of the program, so when the slider is at 10 and I mark 10 songs, 10 instances of mp3gain open, each with one song, but I would like those 10 songs in 1 instance
Title: foo_run 0.3.7
Post by: The Link on 2006-06-06 09:59:44
I don't think so. 'Simultaneous runs' opens x instances of the program, so when the slider is at 10 and I mark 10 songs, 10 instances of mp3gain open, each with one song, but I would like those 10 songs in 1 instance
Just out of curiosity, why would you need mp3gain if foobar2000 can do exactly the same for quite some time now?
Title: foo_run 0.3.7
Post by: Schinkentoni on 2006-06-06 13:16:55
What if I want to play my music on a DVD player, in my car, my hardware mp3 player....in these cases foobar does not do "exactly the same" thing as mp3gain, or did I miss something?
Title: foo_run 0.3.7
Post by: krazy on 2006-06-06 13:57:42
I think you did

Right click>Replaygain>Apply to MP3 data
Title: foo_run 0.3.7
Post by: Schinkentoni on 2006-06-06 14:27:29
Indeed...thanks for the enlightenment
So now I'm wishless and happy
Title: foo_run 0.3.7
Post by: Robbi on 2006-06-06 17:43:13
Hello,

I like foobar2000 and foorun. But many of my files have ac3 which sounds better in Winamp than in foobar due to the plugin "Valex's AC3 decoder forWinamp". Is there a possibility with "foorun" to play ac3-files directly in Winamp. I have added "Open with Winamp" and the path "F:\Programme\Audio_Tools\Winamp\winamp.exe".
But this opens Winamp without playing the file.

Regards

Robbi
Title: foo_run 0.3.7
Post by: The Link on 2006-06-06 18:52:09
... But many of my files have ac3 which sounds better in Winamp than in foobar due to the plugin "Valex's AC3 decoder forWinamp". ...
What do you mean by "better"? Either a decoder is correct or it's not and then it's a bug. If you think about channel mixing options you can use these via various existing dsp components like channel mixer or athsurround in foobar, too.
Title: foo_run 0.3.7
Post by: DruiD_ff on 2006-06-06 19:26:50
I have added "Open with Winamp" and the path "F:\Programme\Audio_Tools\Winamp\winamp.exe".
But this opens Winamp without playing the file.

right string is "F:\Programme\Audio_Tools\Winamp\winamp.exe /a %_path%"
i'm dont have winamp installed, but think its work also for multiply files (you must set simultaneous runs > 1)
Title: foo_run 0.3.7
Post by: Robbi on 2006-06-06 20:55:48

... But many of my files have ac3 which sounds better in Winamp than in foobar due to the plugin "Valex's AC3 decoder forWinamp". ...
What do you mean by "better"? Either a decoder is correct or it's not and then it's a bug. If you think about channel mixing options you can use these via various existing dsp components like channel mixer or athsurround in foobar, too.


I cannot explain this it's a feeling, but I will quote something from "Doom9's ForumAudio FAQ"

AC3 Playback Questions

7. Which software do I need to install for AC3 playback?

Download Valex's AC3filter audio filters and install. This filter is highly recommended over any other AC3 capable filter, it's very feature rich and best of all it's open source. Please read over his excellent documentation for a full understanding of all the capabilities of the AC3filter. Valex frequently updates the package so you might check Doom9's news or the AC3filter page often.

When I'm playing the file with foobars decoder the AC3’s volume seems lower during playback.
Title: foo_run 0.3.7
Post by: foosion on 2006-06-06 21:08:22
When I'm playing the file with foobars decoder the AC3’s volume seems lower during playback.
Are you using ReplayGain in foobar2000?
Title: foo_run 0.3.7
Post by: Robbi on 2006-06-07 07:39:59
When I'm playing the file with foobars decoder the AC3’s volume seems lower during playback.
Are you using ReplayGain in foobar2000?


Yes with ReplayGain it's ok, but I have to do this for each track recorded from radio. It's a little bit unconfortable.
Title: foo_run 0.3.7
Post by: unknownllama on 2006-06-09 00:37:17
does anyone have a script to run the tag & rename "open in tag&rename" context menu item, or any equivalent to open up containing folder in tag & rename?
Title: foo_run 0.3.7
Post by: mortuusrex on 2006-06-11 07:19:17
the file is corrupt for me when i download, any thoughts?
Title: foo_run 0.3.7
Post by: Cosmo on 2006-06-11 07:56:21
If I Google for an artist with a space in their name, everything after the space is missing  ("Neil Young" becomes "Neil")

WinXP , Firefox 1.5.0.4

+ thanks!
Title: foo_run 0.3.7
Post by: gfngfgf on 2006-06-11 07:58:30
If I Google for an artist with a space in their name, everything after the space is missing  ("Neil Young" becomes "Neil")

Replace "%artist%" with "$replace(%artist%,' ','+')".  Same goes for "%title%" in the "artist+title" preset.
Title: foo_run 0.3.7
Post by: roentgen on 2006-06-11 08:16:28
If I Google for an artist with a space in their name, everything after the space is missing  ("Neil Young" becomes "Neil")

I use this and it works fine
Code: [Select]
http://www.google.com/search?q=$replace(%artist%", ,+)


I'm slow today (I just woke up )
Title: foo_run 0.3.7
Post by: mimeryme on 2006-06-11 08:49:16
For the google search, I just enclose the search command with quotation marks and it seems to work just fine.
Title: foo_run 0.3.7
Post by: Chaser on 2006-06-11 14:06:40
Would it really be ugly? Since you don't have to add the root entries by default. Rather add them, if the user wishes so.

Ideal situation:
- have the run-menuitem, as it's now (added as standard, if the component is installed)
- have the run:"Item"-menuitems available in the commands list (however not added to the context-menu by standard)


What do you think?
Title: foo_run 0.3.7
Post by: Tomacco_Boy on 2006-06-12 03:41:54
Any chance of adding a "open in preffered browser" option in the prefference menu ?
Title: foo_run 0.3.7
Post by: roentgen on 2006-06-12 04:50:08
Any chance of adding a "open in preffered browser" option in the prefference menu ?

Set your preferred browser as default for opening http and remove 'explorer' from foo_run configuration.
Ex: 'explorer http://google.com' (http://google.com') becomes simply 'http://google.com'
Title: foo_run 0.3.7
Post by: Tomacco_Boy on 2006-06-12 06:11:13
Thanks for that bit of info roentgen, but i have portablefirefox and foobar2000 on my ipod and i'd like to use portablefirefox instead of ie.

* Sorry found a way to use ff instead of ie
Title: foo_run 0.3.7
Post by: Florian on 2006-06-13 15:39:26

Would it really be ugly? Since you don't have to add the root entries by default. Rather add them, if the user wishes so.

Ideal situation:
- have the run-menuitem, as it's now (added as standard, if the component is installed)
- have the run:"Item"-menuitems available in the commands list (however not added to the context-menu by standard)


What do you think?

I'm currently not aware of a simple way to implement this, because it seems that creation of submenus via the slash character / is not possible with foobar2000 0.9 anymore.
Title: foo_run 0.3.7
Post by: mortuusrex on 2006-06-15 04:43:10
Hey all, I could use some help with this plug-in, basically Im not to sure how to use it.
I have it installed and it shows up under my tools menu, so i can see all the options. I am just not sure how to apply the codes or does it work as a button? any help is appreciated.
thanks in advance
Title: foo_run 0.3.7
Post by: Florian on 2006-06-16 07:50:51
Just released foo_run 0.3.2 which is a maintenance release compiled with the new SDK.
Title: foo_run 0.3.7
Post by: Mr Self Destruct on 2006-06-16 09:12:38
This is the first time I've used this plugin, and I don't know how I ever lived before without it. I'm constantly having to lookup artist and album info from Metal-Archives, within the Firefox searchplugin, but now I can do it an even lazier way! I'm still exploring more settings and options with this great component.

For those interested searching on Metal-Archives I've just been playing around with these strings:

Artist:
Code: [Select]
http://www.metal-archives.com/search.php?string=$replace(%artist%, ,+)&type=band&sourceid=Mozilla-search

Album:
Code: [Select]
http://www.metal-archives.com/advanced.php?band_name=&band_status=&genre=&themes=&origin=0&location=&release_name=$replace(%album%, ,+)&exact_release=0&release_type=&label=&release_year=

Thanks again!
Title: foo_run 0.3.7
Post by: lss on 2006-06-16 11:14:23
i like foo_run.dll and have writen a script to delete files on playing

 Usage:
   1. save the code below to foobar2000\scripts\delete_playing_file.vbs
        2. configure Run sevices (foo_run.dll), add Delete Playing File:
(http://img96.imageshack.us/img96/4193/screenshot1zf.th.png) (http://img96.imageshack.us/my.php?image=screenshot1zf.png)

        3. assign a hotkey to this script, such as Ctrl + Del
(http://img96.imageshack.us/img96/9503/screenshot26iz.th.png) (http://img96.imageshack.us/my.php?image=screenshot26iz.png)
   4. play music now, and use Ctrl + Del to delete ugly songs ^i^

Code: [Select]
'*************************************************************************
' delete_playing_file.vbs

' version: 0.2.2
' update: 2006.6.15

'   -- Scripted by lifesinger
'
' Usage:
' 1. place this script in foobar2000\scripts
'  2. configure Run sevices (foo_run.dll), see cfg_run.png
'  3. assign a hotkey to this script, such as Ctrl + Del
' 4. play music now, and use Ctrl + Del to delete ugly songs ^i^
 
' Home: [url=http://lifesinger.3322.org/]http://lifesinger.3322.org/[/url]
'*************************************************************************
Option Explicit
Const beQuiet = False ' If you are annoyed with any confirmation, please change False to True

'Get commandline arguments, if none, show tips and quit
Dim objArgs, filepath
Set objArgs = WScript.Arguments

If objArgs.Count <> 1 Then
msgbox "delete_playing_file.vbs: delete song on playing. " & _
vbNewLine & vbNewLine & _
  "   -- by lifesinger. Jun 16th, 2006 " & _
vbNewLine & vbNewLine & _
  "Usage: delete_playing_file.vbs <file_path> " & _
vbNewLine, 64, "About"
Wscript.Quit
Else
filepath = objArgs(0)
End If

'**** DON'T EDIT BELOW ****
'-------------------------== CODE BEGIN ==----------------------------
Dim ScriptPath, fso, oShell, file_ext
ScriptPath = Left(WScript.ScriptFullName, (Len(WScript.ScriptFullName) - Len(WScript.ScriptName)))

Set oShell = CreateObject("WScript.Shell")
Set fso = CreateObject("Scripting.FileSystemObject")

If (fso.FileExists(filepath)) Then
file_ext  = LCase(Right(filepath, 3))

If file_ext = "cue" Then
oShell.Run Chr(34) & ScriptPath & "..\foobar2000.exe" & Chr(34) & "/command:Remove", 0, True  ' Remove from playlist
WScript.Sleep 100
oShell.Run Chr(34) & ScriptPath & "..\foobar2000.exe" & Chr(34) & " /next", 0, True ' play next song
Else
oShell.Run Chr(34) & ScriptPath & "..\foobar2000.exe" & Chr(34) & " /next", 0, True ' play next song
WScript.Sleep 100
'del file
delete_file filepath
'remove dead items
oShell.Run Chr(34) & ScriptPath & "..\foobar2000.exe" & Chr(34) & " /command:" & Chr(34) & "Remove dead items"& Chr(34), 0, True
End If

Else
If Not beQuiet Then
MsgBox filepath & " is not existed." & _
vbNewLine & _
"Run Services(foo_run.dll) maybe is configured improperly. " & _
vbnewline & _
"Please check it -_-", 48, "error"
End If

End If

Set oShell = Nothing
Set fso = Nothing

WScript.Quit
'-------------------------== CODE END ==----------------------------


'---------------------------------------
Sub delete_file(filespec)
On Error Resume Next
Err.Clear

Dim r
r = vbNo

If Not beQuiet Then
r = MsgBox("This will delete 1 file:" & vbNewLine & vbNewLine & filespec & vbNewLine & vbNewLine & "Continue ?", vbYesNo + vbQuestion, "Warning")
End If

If r = vbYes Then
fso.DeleteFile filespec, True
Else
WScript.Quit
End If

If Err.Number <> 0 Then

' maybe filespec is the last file in the playlist
' so first stop it, and try delete again
oShell.Run Chr(34) & ScriptPath & "..\foobar2000.exe" & Chr(34) & " /stop", 0, True  ' stop
WScript.Sleep 100
Err.Clear
fso.DeleteFile filespec, True

If Err.Number <> 0 Then
If Not beQuiet Then
MsgBox "Delete " & filespec & " failed." & vbNewLine & "I don't know why :(", 48, "error"
End If
End If

End If

On Error Goto 0
End Sub
'---------------------------------------

[!--sizeo:1--][span style=\"font-size:8pt;line-height:100%\"][!--/sizeo--]Moderation: added codebox[/size]
Title: foo_run 0.3.7
Post by: RogerG on 2006-06-18 03:24:09
Hi, I have a feature request:

Could you make it possible to pass the paths (or all variables) of several selected tracks as parameters to one single command!?

Best Regards!
Title: foo_run 0.3.7
Post by: Fifoxtasy on 2006-06-19 02:56:29
cool plugin

is it possible to execute two or more commands in one foo_run service?
(e.g. executing a program and adding the files to a playlist with one click?)
Title: foo_run 0.3.7
Post by: saratoga on 2006-06-19 04:21:36
You can use a batch file.  Basically, open a text file, type the commands you want to run, one per line.  Finally, save as file.cmd.  foo_run seems to work fine with them.
Title: foo_run 0.3.7
Post by: Fifoxtasy on 2006-06-19 22:39:13
i tried that but couldn't achieve what i wanted...
i want to copy files from my external hard drive to my internal hd AND add the files to a specific playlist in foobar.
i made a batch file but couldn't figure out the right way to tell foobar with commandline to add a folder to a specific playlist. i checked the wiki for the commandline parameters, tried several different ways, but didn't succeed.  can anybody help me, please?
Title: foo_run 0.3.7
Post by: RogerG on 2006-06-26 06:37:36
i tried that but couldn't achieve what i wanted...
i want to copy files from my external hard drive to my internal hd AND add the files to a specific playlist in foobar.
i made a batch file but couldn't figure out the right way to tell foobar with commandline to add a folder to a specific playlist. i checked the wiki for the commandline parameters, tried several different ways, but didn't succeed.  can anybody help me, please?


have you tried Playlist Bind (foo_playlist_bind)     "Synchronize playlist with contents of specified directory(es). "?
Title: foo_run 0.3.7
Post by: Squeller on 2006-07-06 06:57:36
Many thanks for your work!

I also would like to see the possibility to put the foo_run entires to top level of the context menu. You don't have to put them there as default.
Title: foo_run 0.3.7
Post by: PonasX on 2006-07-14 10:34:37
How to do Copy Path command ?
Title: foo_run 0.3.7
Post by: Lycox on 2006-07-16 21:10:12
Is it possible to use relative paths instead of absolute, e.g:

Current:
Code: [Select]
C:\Program Files\Foobar2000\Addons\Alarm foobar.exe


Wanted:
Code: [Select]
Addons\Alarm foobar.exe
Title: foo_run 0.3.7
Post by: Lycox on 2006-07-17 12:10:52
Is it possible to use relative paths instead of absolute, e.g:

Current:
Code: [Select]
C:\Program Files\Foobar2000\Addons\Alarm foobar.exe


Wanted:
Code: [Select]
Addons\Alarm foobar.exe


Well, problem solved. I forgott the quotation marks.
Title: foo_run 0.3.7
Post by: Infernus on 2006-07-19 20:39:56
does someone know how to configure foo_run to send files via skype (2.5)?

Edit: got it

C:\Programme\Skype\Phone\Skype.exe /sendto:  "%path%"
Title: foo_run 0.3.7
Post by: PonasX on 2006-07-19 20:54:40
Thanks Infernus ! And is the way to send at once to active skype chat member now listening song with hotkey's ?
Title: foo_run 0.3.7
Post by: Infernus on 2006-07-19 21:49:11
when you make a global hotkey for this "run service" in combination with "cursor follows playback" mode you should be able to send your now listening song to skype members. A new popup-message from skype appears, there you can select your friends.
Title: foo_run 0.3.7
Post by: foosion on 2006-07-19 22:00:32
when you make a global hotkey for this "run service" in combination with "cursor follows playback" mode you should be able to send your now listening song to skype members. A new popup-message from skype appears, there you can select your friends.
Just bind the hotkey to the "[context / now playing]" version of the command, then it will always be applied to the currently playing track,
Title: foo_run 0.3.7
Post by: PonasX on 2006-07-20 10:33:36
But I want to send files direct to active skype chat member(s), without File Send PopUp ...
Title: foo_run 0.3.7
Post by: kanak on 2006-07-20 12:02:40
this plugin rocks. many thanks to florian.

Here's my Humble contribution:

Wikipedia Artist
Code: [Select]
http://en.wikipedia.org/wiki/$replace($caps(%artist%),' ',_)


Wikipedia Album
Code: [Select]
http://en.wikipedia.org/wiki/$replace($caps(%album%),' ',_)


Mr Questionman (This is just synthetic's script made to work with the default installation directory)
Code: [Select]
"c:\Program Files\Mr QuestionMan\Mr QuestionMan.exe" "$substr(%_path%,0,$strrchr(%_path%,'\'))



could anyone please share the script for Cover Art Downloader?
Title: foo_run 0.3.7
Post by: Moonwhaler on 2006-07-20 12:31:34
this plugin rocks. many thanks to florian.

Here's my Humble contribution:

Wikipedia Artist
Code: [Select]
http://en.wikipedia.org/wiki/$replace($caps(%artist%),' ',_)


Wikipedia Album
Code: [Select]
http://en.wikipedia.org/wiki/$replace($caps(%album%),' ',_)


Mr Questionman (This is just synthetic's script made to work with the default installation directory)
Code: [Select]
"c:\Program Files\Mr QuestionMan\Mr QuestionMan.exe" "$substr(%_path%,0,$strrchr(%_path%,'\'))



could anyone please share the script for Cover Art Downloader?


Hi,
for me it's (Single Track):

Code: [Select]
"C:\Programme\foobar2000\albumart\albumart.exe" "%artist%" "%album%" "$replace(%_path%,%_filename_ext%,)%artist% - %title%.jpg"


and (Complete Album):

Code: [Select]
"C:\Programme\foobar2000\albumart\albumart.exe" "%artist%" "%album%" "$replace(%_path%,%_filename_ext%,)%album%.jpg"


Not very far fetched, indeed. 
Title: foo_run 0.3.7
Post by: kanak on 2006-07-20 12:42:12
@moonwhaler

Using your full album script. works like a charm.

thanks
Title: foo_run 0.3.7
Post by: Yotsuya on 2006-07-22 03:16:41
Is there currently a problem with linking a button to a run service?  I am new to this plugin so I may be missing something I dunno.

Goal: Create a button that re-launches mini-lyrics.

I used the following code to setup a run service:

Code: [Select]
C:\Program Files\Minilyrics\MLStart.exe


I customized the button to load the appropriate "Run service/".

If I right click on a track and choose run> minilyrics everything runs as expected so I dont think I have the run service code wrong (though I did try
it enclosed in both single and double quotes). However, whenever I click on my button nothing happens.

EDIT: I created another service with the source of http://www.shoutcast.com/ (http://www.shoutcast.com/) but again the right-click menu works but any buttons linked to the service do nothing.
Title: foo_run 0.3.7
Post by: Infernus on 2006-07-22 12:37:44
Here a little workaround for people who want to tag mp3 files with ID3 v2.3:
You can use a runservice for an external Masstagger:
MP3BookHelper (http://mp3bookhelper.sourceforge.net/)
also great to generate automatically m3u-playlists, sfv-files, nfo-files, move/nename files,............. 

open selected file
Code: [Select]
C:\Programme\MP3BookHelper\MP3BookHelper.exe "%path%"


open all files from folder
Code: [Select]
C:\Programme\MP3BookHelper\MP3BookHelper.exe "$substr(%_path%,0,$strrchr(%_path%,'\'))"
Title: foo_run 0.3.7
Post by: popol on 2006-07-22 18:07:56
Can someone explain me (or link me to a page) that explains HOW to use that plugin?

http://eolindel.free.fr/foobar0.9/albumart.shtml (http://eolindel.free.fr/foobar0.9/albumart.shtml)

I'm trying to use this tutorial to have albu art display in my player but I am stuck at the part where I need to use foo_run.

The "search cover" thing just won't appear in the services list. I try to add one and then edit label name and path but when I click on save all it doesn't save it...

edit: crap, I just figured out how to use the modify button... sorry for being such a newb!
Title: foo_run 0.3.7
Post by: tgoose on 2006-07-22 23:04:02
But I want to send files direct to active skype chat member(s), without File Send PopUp ...

But if that were possible, it would be equally so easy for a virus to utitlise the function!

Does anybody know of either

a)similar functionality to Skype with gaim,

b)an FTP client that could send the whole directory to a predefined server?
Title: foo_run 0.3.7
Post by: Tomacco_Boy on 2006-07-23 04:03:14
* Feature request

If its possible, a enable/disable box for services ? and a way to manually sort services too ? thanks for your tim e and keep up the great work. 
Title: foo_run 0.3.7
Post by: hiscores on 2006-07-23 15:39:31
Here's one for Discogs - Artist. This should avoid the search and take you right to the artist page, if there is one...

http://www.discogs.com/artist/$replace(%artist%,' ','+')
Title: foo_run 0.3.7
Post by: Infernus on 2006-07-27 12:42:57
two questions or better a wishlist
I) is it possible to access the foobar converter as runservie incl. set settings for that via code?
II) "batch"-mode possible`?

The idea was to do something like that with one click:

IF(subsong > 0 THAN Convert to MP3/128kb + send temporary file via skype ELSE send selected file)
Title: foo_run 0.3.7
Post by: Yotsuya on 2006-07-27 19:20:19
Awhile back in post #88 (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=45223&view=findpost&p=414276) I indicated a problem with linking a button to a runservice. Well I discovered the solution and thought I'd share:

(http://img399.imageshack.us/img399/8558/btnminilyricsbn8.th.png) (http://img399.imageshack.us/my.php?image=btnminilyricsbn8.png)

When linking a button to a runservice, the default "Item Group" is set to None. You need to set it to Now playing item in order for the button to work. You can also use Current playlist selection but that will only work if an item is selected in your playlist (no item selected, button doesnt work).

The button will work if you select Now playing item wether a song is playing or not, so you should choose this option.

Edit: As of foobar 0.9.3, foobar will crash hard if you click on a button linked to a runservice with an Item Group of "Now playing item" and there is no item playing. You may want to consider linking the button to "Current playlist selection" instead. If you do, the button will not work if no item is selected but atleast foobar wont crash. An Item Group of "None" still makes the button non-functional.
Title: foo_run 0.3.7
Post by: lextune on 2006-08-01 06:31:39
First of all. Great plugin. Thanks.

Second.....



Can someone give me a string that searches google image for %artist% and %album% ?

I've been trying for 20 minutes.

Title: foo_run 0.3.7
Post by: Yotsuya on 2006-08-01 07:50:17
You'll probably need to modify this to handle any special characters, but this should get you started:
Code: [Select]
http:$char(47)$char(47)google.com$char(47)musicsearch?q=$replace(%artist%$if2( %album%,), ,+)


EDIT: Sorry, the above code is for Google Music, you asked for Google Images try this:
Code: [Select]
http:$char(47)$char(47)images.google.com$char(47)images?q=$replace(%artist%$if2( %album%,), ,$char(37)20)
Title: foo_run 0.3.7
Post by: lextune on 2006-08-01 13:46:12
Code: [Select]
http:$char(47)$char(47)images.google.com$char(47)images?q=$replace(%artist%$if2( %album%,), ,$char(37)20)


Thanks. This works.
Title: foo_run 0.3.7
Post by: hongmei on 2006-08-02 10:26:00
a few web services i use in opera search:

discogs Artist  Album
Code: [Select]
http://www.discogs.com/search?type=all&q=$replace(%artist%, ,+)&btn=Search
http://www.discogs.com/search?type=releases&q=$replace(%album%, ,+)&btn=Search

musicbrainz Artist  Album
Code: [Select]
http://musicbrainz.org/search/textsearch.html?query=$replace(%artist%, ,+)&type=artist&an=1&as=1&aa=1&limit=100&handlearguments=1
http://musicbrainz.org/search/textsearch.html?query=$replace(%album%, ,+)&type=release&an=1&as=1&limit=100&handlearguments=1

kompaktkiste Artist
Code: [Select]
http://www.google.com/search?as_q=$replace(%artist%, ,+)&as_sitesearch=www.kompaktkiste.de&safe=off&num=100

sternsmusic Artist
Code: [Select]
http://www.sternsmusic.com/search_results.php?search=Artist&prmm=$replace(%artist%, ,+)&dvd=on&music=on&video=on&book=checkbox

imdb Album
Code: [Select]
http://www.imdb.com/find?q=$replace(%album%, ,+)
Title: foo_run 0.3.7
Post by: PonasX on 2006-08-03 09:01:05
Is any command to add songs directly to nero from foobar2000 ?  If I want burn mp3 cd, it's take from me a lot of time ...
Title: foo_run 0.3.7
Post by: TrNSZ on 2006-08-03 17:37:19
[deleted]
Title: foo_run 0.3.7
Post by: PonasX on 2006-08-03 23:49:41
But do it with hotkeys be more easy ... Imagine ... You are playing game and at same time listening music with foobar and you can put songs to nero with hotkey without tab'ing out from game ...
Title: foo_run 0.3.7
Post by: andro77 on 2006-08-05 00:51:27
hello, I was wondering if anyone can help me making a string for this situation:
having a playlist with a single mp3 opened via cuesheet, I need to get the filename of mp3 file... I managed to get the cuesheet filename (using %_path%) but I don't know how to get the mp3 filename.
I'm trying to get this 'cause I'd like to make a foo_run script that muxes an mp3 file + cuesheet into mp4 container (via mp4box), since embedded cuesheets are still unsupported by mp3... thank you for your kind help
Title: foo_run 0.3.7
Post by: FofR on 2006-08-22 23:04:27
Is it possible to run a program each time there is a track change?
Title: foo_run 0.3.7
Post by: Strictly4me on 2006-08-23 10:44:11
I want manage play, pause, stop and so on with foo_run for my player, but i can't find any way to do that. - May be i'm stupid!  I already tried few days now, without solution. Don't ask for reasons, i have some ideas and i will explain to you, when it works. And YES, i know there are buttons for that! 

Question: Can anybody an example give to me, for commandline i have to use for it? - Just one is enough! - Thanks.

((((( Strictly4me )))))
Title: foo_run 0.3.7
Post by: Yotsuya on 2006-08-23 13:10:10
If your player will accept playback control from a command line then it should not be a problem.  Do you know what options your player needs in order to play, paus, stop, and so on? Have you tested those commands from a command prompt to make sure they work?

You should be able to set the runservice path box to something like:
x:\path\to\player.exe /play

Remember that if you are going to link a button to this service, set the item group to "Current playlist selection" when you set up the button.
Title: foo_run 0.3.7
Post by: Strictly4me on 2006-08-23 15:08:52
You should be able to set the runservice path box to something like: x:\path\to\player.exe /play

It was for old version of foobar! I dont think, this is correct command for our new one, because if i press stop and no song is playing ... i get a crash! Even i press pause. I think something is different agains version 0.8.x, but i'm not shure about. Thats why i ask.

((((( Strictly4me )))))
Title: foo_run 0.3.7
Post by: musosticky on 2006-08-23 23:04:59
I would like to use www.lastfm.com to find artist images for my artist art panel and to do this from foobar using foo_run. the lastfm url containing the images is always

"http://www.last.fm/music/%artist%/+images"

but in cases where the artist field is more than one word this would come out, using bright eyes as an example, as

"http://www.last.fm/music/Bright Eyes/+images"

when I need to have it turn out as

"http://www.last.fm/music/Bright+Eyes/+images" this being the true url for images on lastfm

Would someone know the correct script to convert the spaces found in the tagged "artist" field to a "+" symbol when i run this from foo_run?
Title: foo_run 0.3.7
Post by: Yotsuya on 2006-08-24 07:48:52
Code: [Select]
http:$char(47)$char(47)www.last.fm$char(47)music$char(47)$replace(%album artist%%, ,$char(43))$char(47)$char(43)images
Title: foo_run 0.3.7
Post by: musosticky on 2006-08-24 08:40:36
Perfect, thank you
Title: foo_run 0.3.7
Post by: FofR on 2006-08-24 11:47:16
Would someone know the correct script to convert the spaces found in the tagged "artist" field to a "+" symbol when i run this from foo_run?

I just completed a script that automatically downloads artist thumbnails from last.fm and stores them locally for display in an album art panel. 1700 thumbnail images in 6 hours - I could get the originals but that's mean to their bandwidth.
Are you doing it manually? Saving the image from the browser?
Title: foo_run 0.3.7
Post by: musosticky on 2006-08-24 13:28:51
Yep I am, it only takes a few seconds to do and is better suited to the way i store my artist photos
Title: foo_run 0.3.7
Post by: Snowsfall on 2006-08-28 02:37:33
I just completed a script that automatically downloads artist thumbnails from last.fm and stores them locally for display in an album art panel. 1700 thumbnail images in 6 hours - I could get the originals but that's mean to their bandwidth.
Are you doing it manually? Saving the image from the browser?

You mind sharing it? I'd love you forever
Title: foo_run 0.3.7
Post by: unabatedshagie on 2006-08-28 04:36:24
I just completed a script that automatically downloads artist thumbnails from last.fm and stores them locally for display in an album art panel. 1700 thumbnail images in 6 hours - I could get the originals but that's mean to their bandwidth.
Are you doing it manually? Saving the image from the browser?



You mind sharing it? I'd love you forever
I second this request, I would love to get a hold of this script.
Title: foo_run 0.3.7
Post by: FofR on 2006-08-28 19:17:49
I might release the script when multiple artist image sources are available / I have given it a GUI, etc. Atm it's just nasty to let everyone leech from last.fm. So sorry for now?
Title: foo_run 0.3.7
Post by: Snowsfall on 2006-08-28 23:09:30
no prob.
I spent a bit of time today and figured it out for myself(with some major help from the other thread on this topic).
Title: foo_run 0.3.7
Post by: Sw!ng on 2006-08-30 00:09:56
[a href="http://img156.imageshack.us/my.php?image=shot00015yj5.jpg" target="_blank"]
Title: foo_run 0.3.7
Post by: Strictly4me on 2006-08-30 01:57:41
No, but you can use ResizeEnable (http://www.digitallis.co.uk/pc/ResizeEnable/index.html), it lets you turn usually non-resizeable windows into resizeable windows.
Not the best solution i know, but a solution. 

((((( Strictly4me )))))
Title: foo_run 0.3.7
Post by: Sw!ng on 2006-08-30 02:29:31
SWEET ...!!
(and now I can see the damm "Modify"-Button from "foo_run" ...  )

ii THNX A LOT !!

That means that I now can begin to get it setted up ...
--> So, can anybody tell me, please, how to send the chosen File to an application (like "MP3DirectCut" ) instead to just simply open the app ...??
Title: foo_run 0.3.7
Post by: Strictly4me on 2006-08-30 09:15:00
Quote
and now I can see the damm "Modify"-Button from "foo_run" ...

(http://home.arcor.de/strictly2me/Smily/haumichweg.gif)

For mp3tag i use: C:\Programme\Mp3tag\Mp3tag.exe "%_path%"
Maybe this help you for "MP3DirectCut"?

((((( Strictly4me )))))
Title: foo_run 0.3.7
Post by: metal_termite on 2006-09-01 08:10:18
Another vote here for adding a method to organize the services and adding ability to include seperators.
Title: foo_run 0.3.7
Post by: metal_termite on 2006-09-07 15:44:17
Since there's no way to rearrange services I thought I'd export to xml > rearrange services in xml file > import from xml. Before I did that I just wanted to see how the import function worked so I exported my services, then imported the xml file I just exported (without any modification). This crashes foobar every time.

Code: [Select]
Illegal operation:
Code: C0000005h, flags: 00000000h, address: 01274C57h
Access violation, operation: read, address: 00000024h
Call path:
entry=>app_mainloop
This is the first crash logged by this instance.
Code bytes (01274C57h):
01274C17h:  28 01 50 E8 51 E4 FF FF 85 C0 59 59 75 14 8B 46
01274C27h:  18 39 58 24 74 05 8B 40 20 EB 02 8B C7 8B 4D F0
01274C37h:  EB 30 39 5D D4 8B 45 C8 77 02 8B C7 68 C8 D1 28
01274C47h:  01 50 E8 22 E4 FF FF 85 C0 59 59 75 1D 8B 46 18
01274C57h:  39 58 24 74 05 8B 40 20 EB 02 8B C7 8B 4D F0 83
01274C67h:  C1 14 8B 11 6A FF 50 FF 52 08 8B CE E8 68 2A 00
01274C77h:  00 83 4D FC FF 53 53 8D 4D C8 8B F0 E8 D8 C7 FF
01274C87h:  FF 3B F3 0F 85 5E FF FF FF E8 48 66 00 00 C2 04
Stack (0012F538h):
0012F518h:  00F0DE20 7C9C93C0 77F643DD 7C9C93C0
0012F528h:  00000004 00000000 00F0D32C 00000000
0012F538h:  20616D66 0129471C 012B6B70 00000000
0012F548h:  0128FBB4 012B40F0 00000015 00000015
0012F558h:  00000004 0128FBB4 00000000 00000000
0012F568h:  00000000 00000008 00000001 012B22D8
0012F578h:  0012F5F4 0128B620 00000002 0012F600
0012F588h:  01275761 012B6B70 20616EE2 0012F778
0012F598h:  01276ADC 00000000 0128DAB8 00000000
0012F5A8h:  00000000 00000000 00000000 00000000
0012F5B8h:  012B6290 012B6360 012B5720 00000030
0012F5C8h:  0000002F 00000000 00000000 00000000
0012F5D8h:  00000000 012B6280 00000001 00000000
0012F5E8h:  00000004 00000000 00000000 0012F6A4
0012F5F8h:  0128B979 00000003 0128FBB4 012B42C8
0012F608h:  00000018 00000018 00000007 207A4990
0012F618h:  20616EDA 0012F6B0 01276BAE 01DD0480
0012F628h:  00000000 00000000 012B22D0 012B22D8
0012F638h:  0012F6B0 01276BC7 0012F6F4 20616E52
0012F648h:  0012F778 01276ADC 00000000 00000002
Registers:
EAX: 00000000, EBX: 00000000, ECX: 0128D1C8, EDX: 012B40BF
ESI: 012B6D98, EDI: 0128FBA9, EBP: 0012F584, ESP: 0012F538
Crash location: "foo_run", loaded at 01270000h - 0129B000h

Loaded modules:
foobar2000                      loaded at 00400000h - 004F3000h
ntdll                            loaded at 7C900000h - 7C9B0000h
kernel32                        loaded at 7C800000h - 7C8F4000h
COMCTL32                        loaded at 773D0000h - 774D2000h
msvcrt                          loaded at 77C10000h - 77C68000h
ADVAPI32                        loaded at 77DD0000h - 77E6B000h
RPCRT4                          loaded at 77E70000h - 77F01000h
GDI32                            loaded at 77F10000h - 77F57000h
USER32                          loaded at 77D40000h - 77DD0000h
SHLWAPI                          loaded at 77F60000h - 77FD6000h
SHELL32                          loaded at 7C9C0000h - 7D1D5000h
ole32                            loaded at 774E0000h - 7761D000h
shared                          loaded at 10000000h - 10029000h
comdlg32                        loaded at 763B0000h - 763F9000h
uxtheme                          loaded at 5AD70000h - 5ADA8000h
foo_albumlist                    loaded at 003C0000h - 00400000h
foo_audioscrobbler              loaded at 00A50000h - 00A87000h
WS2_32                          loaded at 71AB0000h - 71AC7000h
WS2HELP                          loaded at 71AA0000h - 71AA8000h
foo_autoplaylist                loaded at 00AF0000h - 00B22000h
foo_cdda                        loaded at 00B50000h - 00B86000h
foo_common                      loaded at 00BB0000h - 00BEA000h
foo_converter                    loaded at 00C10000h - 00C79000h
foo_cwb_hooks                    loaded at 00CA0000h - 00CCA000h
foo_dbsearch                    loaded at 00CF0000h - 00D5C000h
foo_dsp_continuator              loaded at 00D80000h - 00DB2000h
OLEAUT32                        loaded at 77120000h - 771AC000h
foo_dsp_crossfeed                loaded at 00DE0000h - 00E04000h
foo_dsp_skip_silence            loaded at 00E30000h - 00E3A000h
MSVCR80                          loaded at 78130000h - 781CB000h
foo_dsp_std                      loaded at 00E60000h - 00EA1000h
foo_input_std                    loaded at 00ED0000h - 00FE2000h
foo_lnk                          loaded at 01010000h - 01029000h
foo_masstag                      loaded at 01050000h - 010A0000h
foo_playcount                    loaded at 010C0000h - 010E8000h
foo_playlist_tree                loaded at 01110000h - 0117B000h
foo_random                      loaded at 011A0000h - 011DF000h
foo_rgscan                      loaded at 01200000h - 01248000h
foo_run                          loaded at 01270000h - 0129B000h
foo_uie_albumart                loaded at 012C0000h - 012F2000h
gdiplus                          loaded at 4EC50000h - 4EDF3000h
foo_uie_albumlist                loaded at 01330000h - 0136F000h
foo_uie_explorer                loaded at 01390000h - 013CC000h
foo_uie_lyrics                  loaded at 013F0000h - 0144E000h
WININET                          loaded at 771B0000h - 77259000h
CRYPT32                          loaded at 77A80000h - 77B14000h
MSASN1                          loaded at 77B20000h - 77B32000h
WINMM                            loaded at 76B40000h - 76B6D000h
foo_uie_quicksearch              loaded at 01520000h - 01568000h
foo_uie_tabs                    loaded at 01570000h - 01596000h
foo_uie_trackinfo_mod            loaded at 015C0000h - 0160A000h
MSVCP80                          loaded at 7C420000h - 7C4A7000h
foo_ui_columns                  loaded at 01620000h - 016BB000h
foo_ui_std                      loaded at 016E0000h - 01737000h
foo_utils                        loaded at 01760000h - 01799000h
CLBCATQ                          loaded at 76FD0000h - 7704F000h
COMRes                          loaded at 77050000h - 77118000h
VERSION                          loaded at 77C00000h - 77C08000h
SETUPAPI                        loaded at 77920000h - 77A79000h
appHelp                          loaded at 77B40000h - 77B62000h
cscui                            loaded at 04510000h - 045C1000h
CSCDLL                          loaded at 76600000h - 7661D000h
USERENV                          loaded at 769C0000h - 76A73000h
dciman32                        loaded at 73BC0000h - 73BC6000h
mswsock                          loaded at 71A50000h - 71A8F000h
DNSAPI                          loaded at 76F20000h - 76F47000h
iphlpapi                        loaded at 76D60000h - 76D79000h
tskh                            loaded at 04860000h - 04872000h
imon                            loaded at 20B00000h - 20B45000h
WSOCK32                          loaded at 71AD0000h - 71AD9000h
NTMARTA                          loaded at 77690000h - 776B1000h
WLDAP32                          loaded at 76F60000h - 76F8C000h
SAMLIB                          loaded at 71BF0000h - 71C03000h
hnetcfg                          loaded at 662B0000h - 66308000h
wshtcpip                        loaded at 71A90000h - 71A98000h
rasadhlp                        loaded at 76FC0000h - 76FC6000h
browseui                        loaded at 75F80000h - 7607D000h
ntshrui                          loaded at 76990000h - 769B5000h
ATL                              loaded at 76B20000h - 76B31000h
NETAPI32                        loaded at 5B860000h - 5B8B4000h
shdocvw                          loaded at 77760000h - 778D0000h
CRYPTUI                          loaded at 754D0000h - 7555D000h
WINTRUST                        loaded at 76C30000h - 76C5E000h
IMAGEHLP                        loaded at 76C90000h - 76CB8000h
DBGHELP                          loaded at 59A60000h - 59B01000h

Stack dump analysis:
Address: 0129471Ch, location: "foo_run", loaded at 01270000h - 0129B000h
Address: 0128FBB4h, location: "foo_run", loaded at 01270000h - 0129B000h
Address: 0128FBB4h, location: "foo_run", loaded at 01270000h - 0129B000h
Address: 0128B620h, location: "foo_run", loaded at 01270000h - 0129B000h
Address: 01275761h, location: "foo_run", loaded at 01270000h - 0129B000h
Address: 01276ADCh, location: "foo_run", loaded at 01270000h - 0129B000h
Address: 0128DAB8h, location: "foo_run", loaded at 01270000h - 0129B000h
Address: 0128B979h, location: "foo_run", loaded at 01270000h - 0129B000h
Address: 0128FBB4h, location: "foo_run", loaded at 01270000h - 0129B000h
Address: 01276BAEh, location: "foo_run", loaded at 01270000h - 0129B000h
Address: 01276BC7h, location: "foo_run", loaded at 01270000h - 0129B000h
Address: 01276ADCh, location: "foo_run", loaded at 01270000h - 0129B000h
Address: 5AD7153Dh, location: "uxtheme", loaded at 5AD70000h - 5ADA8000h
Address: 5AD72299h, location: "uxtheme", loaded at 5AD70000h - 5ADA8000h
Symbol: "GetThemeAppProperties" (+0000007Eh)
Address: 5AD722ADh, location: "uxtheme", loaded at 5AD70000h - 5ADA8000h
Symbol: "GetThemeAppProperties" (+00000092h)
Address: 0128BE21h, location: "foo_run", loaded at 01270000h - 0129B000h
Address: 773F83A7h, location: "COMCTL32", loaded at 773D0000h - 774D2000h
Symbol: "Ordinal384" (+0000C57Dh)
Address: 7C90EE18h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "strchr" (+00000117h)
Address: 7C910570h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlFreeHeap" (+00000133h)
Address: 7C91056Dh, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlFreeHeap" (+00000130h)
Address: 773F83D8h, location: "COMCTL32", loaded at 773D0000h - 774D2000h
Symbol: "Ordinal384" (+0000C5AEh)
Address: 77D541E2h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "DefDlgProcW" (+00000000h)
Address: 0128FBB4h, location: "foo_run", loaded at 01270000h - 0129B000h
Address: 77D48734h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetDC" (+0000006Dh)
Address: 01276ADCh, location: "foo_run", loaded at 01270000h - 0129B000h
Address: 01276ADCh, location: "foo_run", loaded at 01270000h - 0129B000h
Address: 77D5418Dh, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "PrivateExtractIconExW" (+000002B2h)
Address: 01276ADCh, location: "foo_run", loaded at 01270000h - 0129B000h
Address: 77D70467h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "DeregisterShellHookWindow" (+000001CFh)
Address: 77D541B0h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "PrivateExtractIconExW" (+000002D5h)
Address: 77D53FD9h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "PrivateExtractIconExW" (+000000FEh)
Address: 01276ADCh, location: "foo_run", loaded at 01270000h - 0129B000h
Address: 77D541E2h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "DefDlgProcW" (+00000000h)
Address: 77D484FCh, location: "USER32", loaded at 77D40000h - 77DD0000h
Address: 77D485A4h, location: "USER32", loaded at 77D40000h - 77DD0000h
Address: 77D54204h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "DefDlgProcW" (+00000022h)
Address: 77D48734h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetDC" (+0000006Dh)
Address: 77D541E2h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "DefDlgProcW" (+00000000h)
Address: 77D541E2h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "DefDlgProcW" (+00000000h)
Address: 77D48816h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetDC" (+0000014Fh)
Address: 77D541E2h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "DefDlgProcW" (+00000000h)
Address: 77D4882Ah, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetDC" (+00000163h)
Address: 77D70467h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "DeregisterShellHookWindow" (+000001CFh)
Address: 77D48830h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetDC" (+00000169h)
Address: 77D4B89Bh, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetParent" (+0000016Ch)
Address: 77D541E2h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "DefDlgProcW" (+00000000h)
Address: 77D4B903h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "SendMessageW" (+00000049h)
Address: 773F6FF6h, location: "COMCTL32", loaded at 773D0000h - 774D2000h
Symbol: "Ordinal384" (+0000B1CCh)
Address: 773F70D8h, location: "COMCTL32", loaded at 773D0000h - 774D2000h
Symbol: "Ordinal384" (+0000B2AEh)
Address: 773F93DDh, location: "COMCTL32", loaded at 773D0000h - 774D2000h
Symbol: "Ordinal384" (+0000D5B3h)
Address: 773F8B56h, location: "COMCTL32", loaded at 773D0000h - 774D2000h
Symbol: "Ordinal384" (+0000CD2Ch)
Address: 7C910551h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlFreeHeap" (+00000114h)
Address: 7C91056Dh, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlFreeHeap" (+00000130h)
Address: 77D4882Ah, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetDC" (+00000163h)
Address: 77D48734h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetDC" (+0000006Dh)
Address: 773F8B56h, location: "COMCTL32", loaded at 773D0000h - 774D2000h
Symbol: "Ordinal384" (+0000CD2Ch)
Address: 773F8B56h, location: "COMCTL32", loaded at 773D0000h - 774D2000h
Symbol: "Ordinal384" (+0000CD2Ch)
Address: 77D48816h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetDC" (+0000014Fh)
Address: 773F8B56h, location: "COMCTL32", loaded at 773D0000h - 774D2000h
Symbol: "Ordinal384" (+0000CD2Ch)
Address: 77D70467h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "DeregisterShellHookWindow" (+000001CFh)
Address: 77D48830h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetDC" (+00000169h)
Address: 77D489CDh, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetWindowLongW" (+00000127h)
Address: 773F8B56h, location: "COMCTL32", loaded at 773D0000h - 774D2000h
Symbol: "Ordinal384" (+0000CD2Ch)
Address: 77D4EC03h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "CallNextHookEx" (+00000100h)
Address: 77D61B4Dh, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "AppendMenuA" (+0000006Eh)
Address: 77D70467h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "DeregisterShellHookWindow" (+000001CFh)
Address: 77D489F0h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetWindowLongW" (+0000014Ah)
Address: 77D48A10h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "DispatchMessageW" (+0000000Fh)
Address: 77D5E097h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "IsDialogMessageW" (+000000DBh)
Address: 0042FD15h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00C203C2h, location: "foo_converter", loaded at 00C10000h - 00C79000h
Address: 77D4DAEAh, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "DestroyWindow" (+00000000h)
Address: 004BEB94h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 0042FD87h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 10002DD2h, location: "shared", loaded at 10000000h - 10029000h
Symbol: "uCallStackTracker::uCallStackTracker" (+00000032h)
Address: 004C0520h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00D4DAEAh, location: "foo_dbsearch", loaded at 00CF0000h - 00D5C000h
Address: 004308E6h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004BC454h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004C76A4h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004C76A4h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 7C910732h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+0000015Eh)
Address: 00400000h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004C7688h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 7C910732h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+0000015Eh)
Address: 7C911414h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "wcsncpy" (+00000985h)
Address: 7C911596h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "wcsncpy" (+00000B07h)
Address: 7C9106EBh, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+00000117h)
Address: 004E41C0h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 7C91056Dh, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlFreeHeap" (+00000130h)
Address: 1000C391h, location: "shared", loaded at 10000000h - 10029000h
Address: 7C90EE18h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "strchr" (+00000117h)
Address: 7C90EE18h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "strchr" (+00000117h)
Address: 7C9106F0h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+0000011Ch)
Address: 7C9106EBh, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+00000117h)
Address: 00493A0Dh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004E4240h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 0044E382h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00447BDBh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00498E4Dh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00496B50h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004C0530h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 10002D87h, location: "shared", loaded at 10000000h - 10029000h
Symbol: "uPrintCrashInfo_SetDumpPath" (+000000A7h)
Address: 004C0530h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004AF144h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004C0530h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00430AEDh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00400000h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004E09B0h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00496854h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00491D4Ch, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00491D46h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004B49F0h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004B3920h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004E4238h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00496B50h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004AF538h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00495FB4h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00400000h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 00F0D1FCh, location: "foo_input_std", loaded at 00ED0000h - 00FE2000h
Address: 00F0D1FCh, location: "foo_input_std", loaded at 00ED0000h - 00FE2000h
Address: 00496B50h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 7C816FD7h, location: "kernel32", loaded at 7C800000h - 7C8F4000h
Symbol: "RegisterWaitForInputIdle" (+00000049h)
Address: 00F0D1FCh, location: "foo_input_std", loaded at 00ED0000h - 00FE2000h
Address: 7C839AA8h, location: "kernel32", loaded at 7C800000h - 7C8F4000h
Symbol: "ValidateLocale" (+000002B0h)
Address: 7C816FE0h, location: "kernel32", loaded at 7C800000h - 7C8F4000h
Symbol: "RegisterWaitForInputIdle" (+00000052h)
Address: 0049601Dh, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004E0049h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004F0044h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 004B0063h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 003D006Eh, location: "foo_albumlist", loaded at 003C0000h - 00400000h
Address: 003D0065h, location: "foo_albumlist", loaded at 003C0000h - 00400000h
Address: 003D006Eh, location: "foo_albumlist", loaded at 003C0000h - 00400000h
Address: 00410072h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 003D0065h, location: "foo_albumlist", loaded at 003C0000h - 00400000h

Version info:
foobar2000 v0.9.4 beta 1
UNICODE

Additional info:
Album List 3.2.0  (foo_albumlist)
Explorer Tree 1.04.6b  (foo_uie_explorer)
Continuator 0.4.0  (foo_dsp_continuator)
Audioscrobbler 1.3.4  (foo_audioscrobbler)
Columns UI 0.1.3 beta 1v5  (foo_ui_columns)
Default User Interface 0.9acc  (foo_ui_std)
Quick Search Toolbar 2.8g  (foo_uie_quicksearch)
Lyric Show Panels 0.3.0.0  (foo_uie_lyrics)
foobar2000 core v0.9.4 beta 1  (Core)
Standard DSP array 1.0  (foo_dsp_std)
Database search 1.4 beta 3  (foo_dbsearch)
Album Art Panel 0.2.1  (foo_uie_albumart)
cwbowron's title format hooks 1.0.7 [Sep  1 2006 - 08:49:29]  (foo_cwb_hooks)
Tabbed panel modifyed 0.2.1  (foo_uie_tabs)
Playlist Tree Panel 2.2.beta2 [Jun 26 2006 - 11:41:51]  (foo_playlist_tree)
Common services 0.1  (foo_common)
Masstagger 1.6  (foo_masstag)
Playback Statistics 1.3.1  (foo_playcount)
Track info panel mod 0.5 beta [Aug 30 2006 - 16:35:44]  (foo_uie_trackinfo_mod)
Shell link resolver 1.1  (foo_lnk)
Randomized playlist entry 1.2.3  (foo_random)
CD Audio Decoder 2.1.1  (foo_cdda)
Album list panel 0.2.1 beta 4  (foo_uie_albumlist)
Playlist tools 0.5.7  (foo_utils)
ReplayGain Scanner 2.0.2  (foo_rgscan)
Skip silence 0.1  (foo_dsp_skip_silence)
Standard Input Array 1.0  (foo_input_std)
FLAC decoder 1.1.0  (foo_input_std)
Run services 0.3.2  (foo_run)
Converter 1.0.1  (foo_converter)
Crossfeed 0.70  (foo_dsp_crossfeed)

And here is the XML file foo_run exports which I then try to import

Code: [Select]
<?xml version="1.0" standalone="no" ?>
<root>
    <service minimized="false" num_exec="1">
        <label>Find: Album Art</label>
        <path>[url=http://www.slothradio.com/covers/?adv=&artist=$replace%28%artist%]http://www.slothradio.com/covers/?adv=&...eplace(%artist%[/url], ,+,&amp;,,)&amp;album=$replace(%album%, ,+,&amp;,,)</path>
    </service>
    <service minimized="false" num_exec="1">
        <label>Find: Lyrics</label>
        <path>[url=http://www.google.com/search?q=lyrics+$replace%28%title%]http://www.google.com/search?q=lyrics+$replace(%title%[/url], ,+)+$replace(%artist%, ,+)&amp;ie=utf-8</path>
    </service>
    <service minimized="false" num_exec="1">
        <label>------------------------</label>
        <path> </path>
    </service>
    <service minimized="false" num_exec="1">
        <label>AMG: Artist</label>
        <path>[url=http://www.allmusic.com/cg/amg.dll?P=amg&OPT1=1&SQL=$replace%28%artist%]http://www.allmusic.com/cg/amg.dll?P=amg&a...eplace(%artist%[/url], ,+)</path>
    </service>
    <service minimized="false" num_exec="1">
        <label>AMG: Album</label>
        <path>[url=http://www.allmusic.com/cg/amg.dll?P=amg&OPT1=2&SQL=$replace%28%album%]http://www.allmusic.com/cg/amg.dll?P=amg&a...replace(%album%[/url], ,+)</path>
    </service>
    <service minimized="false" num_exec="1">
        <label>AMG: Song</label>
        <path>[url=http://www.allmusic.com/cg/amg.dll?P=amg&OPT1=3&SQL=$replace%28%title%]http://www.allmusic.com/cg/amg.dll?P=amg&a...replace(%title%[/url], ,+)</path>
    </service>
    <service minimized="false" num_exec="1">
        <label>------------------------</label>
        <path> </path>
    </service>
    <service minimized="false" num_exec="1">
        <label>Google: Album Art</label>
        <path>[url=http://images.google.com/images?q=$replace%28%artist%]http://images.google.com/images?q=$replace(%artist%[/url], ,+,&amp;,,)+$replace(%album%, ,+,&amp;,,)</path>
    </service>
    <service minimized="false" num_exec="1">
        <label>Google: Artist</label>
        <path>[url=http://www.google.com/search?q=&apos;%22&apos;$replace%28%artist%]http://www.google.com/search?q=&apos;%...eplace(%artist%[/url], ,+)&apos;%22&apos;&amp;ie=utf-8</path>
    </service>
    <service minimized="false" num_exec="1">
        <label>------------------------</label>
        <path> </path>
    </service>
    <service minimized="false" num_exec="1">
        <label>Rateyourmusic</label>
        <path>[url=http://rateyourmusic.com/search?searchterm=$replace%28%artist%]http://rateyourmusic.com/search?searchterm...eplace(%artist%[/url], ,+)&amp;type=a </path>
    </service>
    <service minimized="false" num_exec="1">
        <label>Wikipedia</label>
        <path>[url=http://en.wikipedia.org/wiki/Special:Search?search=$replace%28%artist%]http://en.wikipedia.org/wiki/Special:Searc...eplace(%artist%[/url], ,+,&amp;,,)</path>
    </service>
    <service minimized="false" num_exec="1">
        <label>YouTube</label>
        <path>[url=http://youtube.com/results?search_query=$replace%28%artist%]http://youtube.com/results?search_query=&a...eplace(%artist%[/url], ,+)+$replace(%title%, ,+)&amp;search=Search</path>
    </service>
</root>
Title: foo_run 0.3.7
Post by: Strictly4me on 2006-09-25 16:39:36
Hello!

I'm using foo_run and with that service i can open "mp3tag"!
The commandline i use is: C:\Programme\Mp3tag\Mp3tag.exe "%_path%"

In contextmenu from my playlist i can find an entry with "Run/mp3tag". Now i need for this entry the commandline!
Till now i tried:

"C:\Programme\foobar2000 0.9\foobar2000.exe" /playing_command:Run/mp3tag
"C:\Programme\foobar2000 0.9\foobar2000.exe" /playing_command:"Run service/mp3tag"
"C:\Programme\foobar2000 0.9\foobar2000.exe" /playing_command:"Run services/mp3tag"

"C:\Programme\foobar2000 0.9\foobar2000.exe" /playlist_command:Run/mp3tag
"C:\Programme\foobar2000 0.9\foobar2000.exe" /playlist_command:"Run service/mp3tag"
"C:\Programme\foobar2000 0.9\foobar2000.exe" /playlist_command:"Run services/mp3tag"

"C:\Programme\foobar2000 0.9\foobar2000.exe" /command:Run/mp3tag
"C:\Programme\foobar2000 0.9\foobar2000.exe" /command:"Run service/mp3tag"
"C:\Programme\foobar2000 0.9\foobar2000.exe" /command:"Run services/mp3tag"


but nothing seems to work for me!
Maybe someone has an idea for me? Thanks in advance,

((((( Strictly4me )))))
Title: foo_run 0.3.7
Post by: kockroach on 2006-09-30 19:15:27
I have tried to download the current version of foo_run, but the ZIP file seems to be corrupt.  At least that is what my computer keeps telling me.  Is there an alternate download link?
Nevermind....I ran the link through IE, and it worked.  Must be a setting in Firefox that is giving problems.
Title: foo_run 0.3.7
Post by: Ken-chan on 2006-10-01 00:39:12
Quick one here:

C:\Program Files\foobar2000\foobar2000.exe /Play or Pause

Correct version?
Title: foo_run 0.3.7
Post by: Blitzmeister on 2006-10-11 16:39:15
You should be able to set the runservice path box to something like:
x:\path\to\player.exe /play

Remember that if you are going to link a button to this service, set the item group to "Current playlist selection" when you set up the button.

I cannot for the life of me find this setting.
I have set foo run with the correct x:\path\to\player.exe /play for all the buttons but all it does is blank my playlist & bring up the error message box.
Any help would be appreciated.
Cheers
Title: foo_run 0.3.7
Post by: Russell777 on 2006-10-22 00:42:00
There's seems to be a problem with paths that contains "()" symbols,for example i was trying to set a command for batch rename in Irfanview:
"C:\Program Files(x86)\IrfanView\i_view32.exe$replace(%path%,%filename_ext%,*.png)
/convert=$replace(%path%,%filename_ext%,$d.png)"

What it does it opens C:\Program files directory (on WinXP x64 there are Program Files(x86) and Program Files
directories all together),so as i understand it only executes the command till it meets "()" symbols,any ideas on what symbol i could replace the "()" with to get it working?TIA.
Title: foo_run 0.3.7
Post by: dano on 2006-10-22 01:10:18
'('x86')'
http://wiki.hydrogenaudio.org/index.php?ti...at_Introduction (http://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Titleformat_Introduction)
Title: foo_run 0.3.7
Post by: Russell777 on 2006-10-22 01:15:48
'('x86')'
http://wiki.hydrogenaudio.org/index.php?ti...at_Introduction (http://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Titleformat_Introduction)

I owe you,thanks.
Title: foo_run 0.3.7
Post by: Russell777 on 2006-10-24 23:56:09
Can somebody help me on this:
I'm trying to implement a command that will run Irfanview image conversion from foobar to rename any present image to "%directoryname%.png".Now the problem is the image paths contain spaces and therefore
must be enclosed with "",but when i'm trying to add those it screws up the whole thing.Any help appreciated.

Code: [Select]
"C:\Program Files '('x86')'\IrfanView\i_view32.exe $lower($replace(%path%,%filename_ext%,*.png)) /convert=$lower($replace(%path%,%filename_ext%,%directoryname%.png))"
Title: foo_run 0.3.7
Post by: david_dl on 2006-10-25 00:10:02
Can somebody help me on this:
I'm trying to implement a command that will run Irfanview image conversion from foobar to rename any present image to "%directoryname%.png".Now the problem is the image paths contain spaces and therefore
must be enclosed with "",but when i'm trying to add those it screws up the whole thing.Any help appreciated.

Code: [Select]
"C:\Program Files '('x86')'\IrfanView\i_view32.exe $lower($replace(%path%,%filename_ext%,*.png)) /convert=$lower($replace(%path%,%filename_ext%,%directoryname%.png))"


$char(34) should work, to create ".

How about just using cmd /c ren, eg.
Code: [Select]
cmd /c ren $char(34)$lower($replace(%path%,%filename_ext%,*.png))$char(34) $char(34)$lower($replace(%path%,%filename_ext%,%directoryname%.png))$char(34)
Title: foo_run 0.3.7
Post by: Russell777 on 2006-10-25 02:02:06
It worked!Thanks a ton!
Title: foo_run 0.3.7
Post by: hal9001 on 2006-10-25 17:43:24
Where are foo_run's settings located? how can I manually edit/delete them?

I've made a change to on e foo_run command a few hours ago, and all of a sudden I can't run Foobar unless I remove the component.
If I try to run it with foo_run.dll installed, I get this crash message:
Code: [Select]
Illegal operation:
Code: C0000005h, flags: 00000000h, address: 044E606Ah
Access violation, operation: read, address: 00000004h
Call path:
entry=>user_interface::init
This is the first crash logged by this instance.
Code bytes (044E606Ah):
044E602Ah:  4C 24 0C 8B 01 FF 10 85 C0 75 14 68 7C FC 4F 04
044E603Ah:  FF 74 24 14 E8 FD BD FF FF 84 C0 59 59 74 19 8B
044E604Ah:  4C 24 04 8B 01 6A FF 68 60 D7 4F 04 FF 50 08 8B
044E605Ah:  44 24 08 83 20 00 B0 01 C2 10 00 A1 00 47 50 04
044E606Ah:  8B 40 04 8D 48 18 8B 01 FF 20 8B 44 24 04 56 57
044E607Ah:  BE 6C D6 4F 04 8B F8 A5 A5 A5 A5 5F 5E C2 04 00
044E608Ah:  32 C0 C3 6A 08 E8 F7 56 00 00 85 C0 59 74 0F 8B
044E609Ah:  4C 24 04 C7 00 10 D7 4F 04 89 48 04 EB 02 33 C0
Stack (0012E5B0h):
0012E590h:  7FFDF000 EC58B518 EC58AEB4 00000001
0012E5A0h:  EC58B11C 0000003B 00000083 00782B38
0012E5B0h:  04A6B80C FB72320F 0012E6C8 069A3D1C
0012E5C0h:  00000000 0012E5D8 77D4882A 0000044D
0012E5D0h:  00000020 75D1DD87 4AAC9E48 25AAA98A
0012E5E0h:  BD5AC0D6 00000000 04AA6320 00000000
0012E5F0h:  00000000 00000000 04AE0000 0012E63C
0012E600h:  7C90EE18 7C910570 FFFFFFFF 00000001
0012E610h:  0001C771 00000004 0012E574 04A7C790
0012E620h:  04AA5D44 04AED738 0000001C 0000000B
0012E630h:  04524100 00000022 003D9BD8 04504748
0012E640h:  04A7C790 00000000 0012E6AC 04A93953
0012E650h:  00000004 0012E6B8 04A6C7B0 069A3D1C
0012E660h:  069A3D2C 0012E6C8 00000001 0012E6C8
0012E670h:  069A3D10 04A6D920 0012E6C8 77D4B8BA
0012E680h:  04AEAED0 04A6DCCD 0012E6C8 FB7232E3
0012E690h:  0012E918 04AEAED0 0012E918 00000000
0012E6A0h:  00000000 00000000 00000000 0012E784
0012E6B0h:  04A93C4A 00000004 0012E790 0004067C
0012E6C0h:  00000083 00000000 04AA5D44 069A04F0
Registers:
EAX: 00000000, EBX: 00000000, ECX: 04524100, EDX: 04520608
ESI: 04524100, EDI: 0012E6C8, EBP: 0012E654, ESP: 0012E5B0
Crash location: "foo_run", loaded at 044E0000h - 0450B000h

Loaded modules:
foobar2000   loaded at 00400000h - 004F3000h
ntdll loaded at 7C900000h - 7C9B0000h
kernel32 loaded at 7C800000h - 7C8F5000h
COMCTL32 loaded at 773D0000h - 774D3000h
msvcrt   loaded at 77C10000h - 77C68000h
ADVAPI32 loaded at 77DD0000h - 77E6B000h
RPCRT4   loaded at 77E70000h - 77F01000h
GDI32 loaded at 77F10000h - 77F57000h
USER32   loaded at 77D40000h - 77DD0000h
SHLWAPI   loaded at 77F60000h - 77FD6000h
SHELL32   loaded at 7C9C0000h - 7D1D5000h
ole32 loaded at 774E0000h - 7761D000h
shared   loaded at 10000000h - 1002A000h
comdlg32 loaded at 763B0000h - 763F9000h
LPK   loaded at 629C0000h - 629C9000h
USP10 loaded at 74D90000h - 74DFB000h
UnlockerHook loaded at 003E0000h - 003E4000h
foo_abx   loaded at 009E0000h - 00A14000h
foo_ac3   loaded at 00A30000h - 00A5C000h
foo_adpcm loaded at 00A80000h - 00AD2000h
foo_AdvancedControls loaded at 00B00000h - 00B31000h
foo_alarm loaded at 00B50000h - 00B6C000h
foo_albumlist loaded at 00B90000h - 00BD7000h
OLEAUT32 loaded at 77120000h - 771AC000h
foo_albumlist_autoupdate loaded at 00C00000h - 00C17000h
foo_audioscrobbler   loaded at 00C40000h - 00C70000h
WS2_32   loaded at 71AB0000h - 71AC7000h
WS2HELP   loaded at 71AA0000h - 71AA8000h
foo_autoplaylist loaded at 00C90000h - 00CC2000h
foo_browser   loaded at 00CF0000h - 00D2B000h
foo_burninate loaded at 00D50000h - 00D86000h
VERSION   loaded at 77C00000h - 77C08000h
foo_cdda loaded at 00DB0000h - 00DE6000h
foo_channel_mixer loaded at 00E10000h - 00E3B000h
foo_common   loaded at 00E50000h - 00E8A000h
foo_converter loaded at 00EB0000h - 00F19000h
foo_dbsearch loaded at 00F40000h - 00F9C000h
foo_dsp_continuator   loaded at 00FC0000h - 00FF2000h
foo_dsp_std   loaded at 01020000h - 01061000h
foo_dsp_vlevel   loaded at 01090000h - 010B4000h
foo_dumb loaded at 010E0000h - 0113F000h
foo_explorer loaded at 01160000h - 01178000h
foo_freedb2   loaded at 011A0000h - 011E0000h
foo_freedb2_fix   loaded at 01200000h - 01215000h
foo_gep   loaded at 01240000h - 012D8000h
MSIMG32   loaded at 76380000h - 76385000h
foo_highlightplaying loaded at 01300000h - 01321000h
foo_infobox2 loaded at 01350000h - 0138E000h
foo_input_dts loaded at 013B0000h - 01415000h
foo_input_monkey loaded at 01440000h - 01489000h
foo_input_shorten loaded at 014B0000h - 014DE000h
foo_input_std loaded at 01500000h - 01614000h
foo_lnk   loaded at 01640000h - 01659000h
foo_lock loaded at 01680000h - 01699000h
foo_lunar2   loaded at 016C0000h - 016E2000h
foo_managedWrapper   loaded at 01710000h - 017B2000h
mscoree   loaded at 79000000h - 79045000h
MSVCR80   loaded at 78130000h - 781CB000h
MSVCP80   loaded at 7C420000h - 7C4A7000h
msvcm80   loaded at 7C4C0000h - 7C53D000h
mscorwks loaded at 79E70000h - 7A3D1000h
mscorlib.ni   loaded at 790C0000h - 79BA6000h
mscorjit loaded at 79060000h - 790B3000h
rsaenh   loaded at 0FFD0000h - 0FFF8000h
System.ni loaded at 7A440000h - 7ABFE000h
System.Drawing.ni loaded at 7ADE0000h - 7AF74000h
System.Windows.Forms.ni   loaded at 7AFD0000h - 7BC56000h
foo_masstag   loaded at 03DD0000h - 03E20000h
foo_menu_addons   loaded at 03E40000h - 03E50000h
foo_midi loaded at 03E60000h - 03F08000h
foo_osd   loaded at 03F30000h - 03F65000h
foo_osd2 loaded at 03F90000h - 03FC6000h
gdiplus   loaded at 4EC50000h - 4EDF3000h
foo_playcount loaded at 04000000h - 04028000h
foo_playlist_bind loaded at 04050000h - 04075000h
foo_playlist_manager loaded at 04090000h - 040D6000h
foo_playlist_tree loaded at 04100000h - 04163000h
foo_pqview   loaded at 04190000h - 041AC000h
foo_prettypop loaded at 041D0000h - 0421D000h
foo_preview   loaded at 042D0000h - 042F1000h
foo_psf   loaded at 04300000h - 043E2000h
foo_random   loaded at 04410000h - 0444F000h
foo_rgscan   loaded at 04470000h - 044B8000h
foo_run   loaded at 044E0000h - 0450B000h
foo_sendtodevice loaded at 04530000h - 04542000h
foo_sic   loaded at 04560000h - 045B7000h
foo_sid   loaded at 046E0000h - 04762000h
foo_tradersfriend loaded at 04790000h - 047CD000h
foo_uie_albumart loaded at 047F0000h - 04827000h
foo_uie_albumlist loaded at 04850000h - 0488F000h
foo_uie_explorer loaded at 048B0000h - 048ED000h
UxTheme   loaded at 5AD70000h - 5ADA8000h
foo_uie_playlists_dropdown   loaded at 04910000h - 0494A000h
foo_uie_quicksearch   loaded at 04970000h - 049B8000h
foo_uie_trackinfo loaded at 049E0000h - 04A0E000h
foo_ui_columns   loaded at 04A30000h - 04ACB000h
foo_ui_std   loaded at 04AF0000h - 04B47000h
foo_unpack   loaded at 04B70000h - 04B9E000h
foo_unpack_lha   loaded at 04BC0000h - 04BE1000h
foo_utils loaded at 04C10000h - 04C49000h
foo_winamp_spam   loaded at 04C70000h - 04C8F000h
ctagent   loaded at 04EA0000h - 04EA6000h
CLBCATQ   loaded at 76FD0000h - 7704F000h
COMRes   loaded at 77050000h - 77115000h
SETUPAPI loaded at 77920000h - 77A13000h
appHelp   loaded at 77B40000h - 77B62000h
cscui loaded at 77A20000h - 77A74000h
CSCDLL   loaded at 76600000h - 7661D000h
USERENV   loaded at 769C0000h - 76A73000h
libpng13 loaded at 06950000h - 0696C000h
zlib1 loaded at 091A0000h - 091B2000h
imagehlp loaded at 76C90000h - 76CB8000h
DBGHELP   loaded at 59A60000h - 59B01000h

Stack dump analysis:
Address: 04A6B80Ch, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 77D4882Ah, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetDC" (+00000163h)
Address: 04AA6320h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 7C90EE18h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "strchr" (+00000117h)
Address: 7C910570h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlFreeHeap" (+00000133h)
Address: 04A7C790h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 04AA5D44h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 04504748h, location: "foo_run", loaded at 044E0000h - 0450B000h
Address: 04A7C790h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 04A93953h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 04A6C7B0h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 04A6D920h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 77D4B8BAh, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "SendMessageW" (+00000000h)
Address: 04A6DCCDh, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 04A93C4Ah, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 04AA5D44h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 0112E948h, location: "foo_dumb", loaded at 010E0000h - 0113F000h
Address: 04A6DF54h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 77D48B26h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetWindowThreadProcessId" (+000000A6h)
Address: 04A37220h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 77D488D1h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetWindowLongW" (+0000002Bh)
Address: 77D488DAh, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetWindowLongW" (+00000034h)
Address: 04A37220h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 04A93CA5h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 04A37398h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 04A37220h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 77D488DAh, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetWindowLongW" (+00000034h)
Address: 04A37220h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 77D48734h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetDC" (+0000006Dh)
Address: 04A37220h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 04A37220h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 77D48816h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetDC" (+0000014Fh)
Address: 04A37220h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 77D70467h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "DeregisterShellHookWindow" (+000001CFh)
Address: 77D48830h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetDC" (+00000169h)
Address: 77D4B4C0h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "DefWindowProcW" (+00000184h)
Address: 04A37220h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 77D70467h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "DeregisterShellHookWindow" (+000001CFh)
Address: 77D4B4D0h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "DefWindowProcW" (+00000194h)
Address: 77D4FD29h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "UserClientDllInitialize" (+000007F1h)
Address: 04A37220h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 7C90EAE3h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "KiUserCallbackDispatcher" (+00000013h)
Address: 04A30000h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 04A9D8D8h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 04A37220h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 77D4B473h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "DefWindowProcW" (+00000137h)
Address: 77D5013Eh, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "CreateWindowExW" (+000001EEh)
Address: 77D50104h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "CreateWindowExW" (+000001B4h)
Address: 04A30000h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 04A9D8D8h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 04A30000h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 77D4B3F9h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "DefWindowProcW" (+000000BDh)
Address: 77D4B393h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "DefWindowProcW" (+00000057h)
Address: 77D4B3A7h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "DefWindowProcW" (+0000006Bh)
Address: 77455CB0h, location: "COMCTL32", loaded at 773D0000h - 774D3000h
Symbol: "Ordinal389" (+0000A4CDh)
Address: 77D70467h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "DeregisterShellHookWindow" (+000001CFh)
Address: 7C910732h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+0000015Eh)
Address: 7C90EE18h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "strchr" (+00000117h)
Address: 7C911538h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "wcsncpy" (+00000AA9h)
Address: 7C911596h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "wcsncpy" (+00000B07h)
Address: 7C9106EBh, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+00000117h)
Address: 7C9105D4h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+00000000h)
Address: 7C90EE18h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "strchr" (+00000117h)
Address: 7C910738h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+00000164h)
Address: 7C910732h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+0000015Eh)
Address: 7C911596h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "wcsncpy" (+00000B07h)
Address: 7C9106EBh, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+00000117h)
Address: 7C9105D4h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+00000000h)
Address: 7C90EE18h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "strchr" (+00000117h)
Address: 7C910738h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+00000164h)
Address: 7C910732h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+0000015Eh)
Address: 7C9106ABh, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+000000D7h)
Address: 7C9106EBh, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+00000117h)
Address: 7C9105D4h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+00000000h)
Address: 7C917BF5h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlReAllocateHeap" (+000001F8h)
Address: 7C917BB0h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlReAllocateHeap" (+000001B3h)
Address: 7C910732h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+0000015Eh)
Address: 7C910732h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+0000015Eh)
Address: 7C910732h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+0000015Eh)
Address: 7C90EE18h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "strchr" (+00000117h)
Address: 7C910738h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+00000164h)
Address: 7C910732h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+0000015Eh)
Address: 7C9106ABh, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+000000D7h)
Address: 7C9106EBh, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+00000117h)
Address: 7C9105D4h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+00000000h)
Address: 7C9106EBh, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+00000117h)
Address: 7C9105D4h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+00000000h)
Address: 7C917BF5h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlReAllocateHeap" (+000001F8h)
Address: 7C910F46h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "wcsncpy" (+000004B7h)
Address: 7C910D5Ch, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "wcsncpy" (+000002CDh)
Address: 7C910E91h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "wcsncpy" (+00000402h)
Address: 7C91056Dh, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlFreeHeap" (+00000130h)
Address: 7C9105C8h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlFreeHeap" (+0000018Bh)
Address: 7C910551h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlFreeHeap" (+00000114h)
Address: 7C91056Dh, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlFreeHeap" (+00000130h)
Address: 7C910E91h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "wcsncpy" (+00000402h)
Address: 7C91056Dh, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlFreeHeap" (+00000130h)
Address: 7C9105C8h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlFreeHeap" (+0000018Bh)
Address: 7C910551h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlFreeHeap" (+00000114h)
Address: 7C91056Dh, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlFreeHeap" (+00000130h)
Address: 7C9106EBh, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+00000117h)
Address: 04A7C85Ah, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 04A3188Fh, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 7C910833h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+0000025Fh)
Address: 04AB45D4h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 04A30100h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 7C90EE18h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "strchr" (+00000117h)
Address: 7C910838h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+00000264h)
Address: 77D501F7h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "CreateWindowExW" (+000002A7h)
Address: 04A30000h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 04AB45D4h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 7C910570h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlFreeHeap" (+00000133h)
Address: 7C91056Dh, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlFreeHeap" (+00000130h)
Address: 04A7C771h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 04A7C790h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 04A9D8D8h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 04A7C790h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 77D4FF83h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "CreateWindowExW" (+00000033h)
Address: 04A9D8D8h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 04A30000h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 04A37095h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 04A9D8D8h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 04A30000h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 04A43CD6h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 04A5F46Fh, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 04AA62D0h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 04A92A41h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 04AA5D60h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 04A30000h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 04A9CD01h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 04AB4398h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 04A5F61Fh, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 04AB4398h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 04A59935h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 04AB3C0Ch, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 04A9EE5Ch, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 04A922F9h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 04A5A232h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 04A5A7F8h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 04A5A561h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 77D4B3A7h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "DefWindowProcW" (+0000006Bh)
Address: 04A5BBA4h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 77D70467h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "DeregisterShellHookWindow" (+000001CFh)
Address: 77D4B3B0h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "DefWindowProcW" (+00000074h)
Address: 77D4B3A7h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "DefWindowProcW" (+0000006Bh)
Address: 04A5BBA4h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 04A5A561h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 04A5BBBCh, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 7C90EE18h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "strchr" (+00000117h)
Address: 7C910738h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+00000164h)
Address: 7C910732h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+0000015Eh)
Address: 7C9106ABh, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+000000D7h)
Address: 7C9106EBh, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+00000117h)
Address: 7C9168AEh, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlMultiAppendUnicodeStringBuffer" (+00000193h)
Address: 7A2ED654h, location: "mscorwks", loaded at 79E70000h - 7A3D1000h
Address: 79E7A5E6h, location: "mscorwks", loaded at 79E70000h - 7A3D1000h
Symbol: "DllUnregisterServerInternal" (+00006DC6h)
Address: 79E7C7C3h, location: "mscorwks", loaded at 79E70000h - 7A3D1000h
Symbol: "DllUnregisterServerInternal" (+00008FA3h)
Address: 04A924D0h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 04A924D0h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 79E9C35Eh, location: "mscorwks", loaded at 79E70000h - 7A3D1000h
Symbol: "LogHelp_LogAssert" (+000097DAh)
Address: 79062D98h, location: "mscorjit", loaded at 79060000h - 790B3000h
Address: 04A924D0h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 04A924D0h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 77D48734h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetDC" (+0000006Dh)
Address: 04A5A561h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 04A5A561h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 77D48816h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetDC" (+0000014Fh)
Address: 04A5A561h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 77D70467h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "DeregisterShellHookWindow" (+000001CFh)
Address: 77D48830h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetDC" (+00000169h)
Address: 77D4B4C0h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "DefWindowProcW" (+00000184h)
Address: 04A5A561h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 77D70467h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "DeregisterShellHookWindow" (+000001CFh)
Address: 77D4B4D0h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "DefWindowProcW" (+00000194h)
Address: 77D4FD29h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "UserClientDllInitialize" (+000007F1h)
Address: 04A5A561h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 7C90EAE3h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "KiUserCallbackDispatcher" (+00000013h)
Address: 04A30000h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 04A9C4E8h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 04A5A561h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 77D4B473h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "DefWindowProcW" (+00000137h)
Address: 77D5013Eh, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "CreateWindowExW" (+000001EEh)
Address: 77D50104h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "CreateWindowExW" (+000001B4h)
Address: 04A30000h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 04A9C96Ch, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 04A9C4E8h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 77D533B0h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "CreateIconIndirect" (+000006AEh)
Address: 04A30000h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 00460020h, location: "foobar2000", loaded at 00400000h - 004F3000h
Address: 7C915041h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "bsearch" (+00000046h)
Address: 7C915233h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "bsearch" (+00000238h)
Address: 7C9105C8h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlFreeHeap" (+0000018Bh)
Address: 7C910551h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlFreeHeap" (+00000114h)
Address: 7C91056Dh, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlFreeHeap" (+00000130h)
Address: 04A9C536h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 04A9C4E8h, location: "foo_ui_columns", loaded at 04A30000h - 04ACB000h
Address: 7C9155C9h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlHashUnicodeString" (+00000164h)
Address: 7C915152h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "bsearch" (+00000157h)
Address: 7C91554Ah, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlHashUnicodeString" (+000000E5h)

Version info:
foobar2000 v0.9.4.1
UNICODE

Additional info:
Game Emu Player 1.3  (foo_gep)
ADX decoder 1.0  (foo_adpcm)
DTS decoder 0.1.7  (foo_input_dts)
Winamp API Emulator 0.90  (foo_winamp_spam)
Album List 3.2.0  (foo_albumlist)
OKI-ADPCM decoder 0.14  (foo_adpcm)
Playlist Manager 1.0  (foo_playlist_manager)
Albumlist autoupdate 0.1  (foo_albumlist_autoupdate)
On-Screen Display GDI+ 1.52  (foo_osd2)
LHA unpacker 1.0  (foo_unpack_lha)
Lunar 2 PCM decoder 0.5  (foo_lunar2)
Channel Mixer 0.9.3 preview  (foo_channel_mixer)
sidplay2 1.13  (foo_sid)
Audioscrobbler 2.1  (foo_audioscrobbler)
BRR decoder and converter 0.7  (foo_adpcm)
Send to Device 1.0.3 [Apr 27 2006 - 08:47:11]  (foo_sendtodevice)
Quick Search Toolbar 2.8g  (foo_uie_quicksearch)
WMA Decoder 1.1  (foo_input_std)
Freedb2 characters fixer (masstagger addon) 0.02  (foo_freedb2_fix)
Continuator 0.4.0  (foo_dsp_continuator)
ZIP/GZIP reader 1.0  (foo_unpack)
AC3 decoder 0.7  (foo_ac3)
Album Art Panel 0.2.5.1  (foo_uie_albumart)
GCN DSP decoder 1.2  (foo_adpcm)
DUMB module decoder 0.9.7.1  (foo_dumb)
Album list panel 0.2.1 beta 4  (foo_uie_albumlist)
Masstagger 1.6  (foo_masstag)
Live show tagger 0.6.1  (foo_tradersfriend)
Common services 0.1  (foo_common)
Shorten decoder 0.4.2a  (foo_input_shorten)
Audio CD Writer 2.0  (foo_burninate)
Default User Interface 0.9acc  (foo_ui_std)
Run services 0.3.2  (foo_run)
Track info panel 0.8  (foo_uie_trackinfo)
VLevel 20060324.0  (foo_dsp_vlevel)
Playlist tools 0.5.7  (foo_utils)
Monkey's Audio decoder 2.1.1  (foo_input_monkey)
ReplayGain Scanner 2.0.2  (foo_rgscan)
ABX Comparator 1.3.1  (foo_abx)
kode's ADPCM decoders 1.2  (foo_adpcm)
Standard DSP array 1.0  (foo_dsp_std)
Converter 1.0.1  (foo_converter)
Pause on Lock 0.4  (foo_lock)
MIDI synthesizer host 1.6  (foo_midi)
Menu Addons 0.2.1  (foo_menu_addons)
CD Audio Decoder 2.1.1  (foo_cdda)
Explorer Tree 1.04.6a  (foo_uie_explorer)
foo_explorer 1.31  (foo_explorer)
FooBar2000 Advanced Controls 0.5.9.0  (foo_AdvancedControls)
On-Screen Display 1.52  (foo_osd)
RAR reader 1.1  (foo_unpack)
Shell link resolver 1.1  (foo_lnk)
Playback statistics 1.0  (foo_playcount)
Playlist Tree Panel 2.0.7 [May  5 2006 - 13:10:05]  (foo_playlist_tree)
freedb Tagger 0.5.2a  (foo_freedb2)
Highly Experimental 2.0.5  (foo_psf)
Interplay ACM decoder 1.0  (foo_adpcm)
foo_managedWrapper 0.3  (foo_managedWrapper)
Pretty Popup 1.2.3  (foo_prettypop)
Music Browser 1.2.2c [Jul  6 2006 - 09:42:02]  (foo_browser)
FLAC Decoder 1.1.0  (foo_input_std)
Playlists Dropdown 0.5.7.5  (foo_uie_playlists_dropdown)
Preview 1.2  (foo_preview)
Columns UI 0.1.3 beta 1v5  (foo_ui_columns)
Randomized playlist entry 1.2.3  (foo_random)
Special file info box v2.0.0  (foo_infobox2)
Standard Input Array 1.0  (foo_input_std)
Database search 1.3.1 beta 11  (foo_dbsearch)
RAC decoder 1.0  (foo_adpcm)
Alarm 1.03  (foo_alarm)
foosic music database 1.0 beta 10  (foo_sic)
foobar2000 core v0.9.4.1  (Core)
XA ADPCM decoder 1.1  (foo_adpcm)
Highlight playing 0.1.0  (foo_highlightplaying)
Playlist Bind 3.1  (foo_playlist_bind)

Still waiting for an answer. Eagerly. This is one of the best components I've seen, and I still cnnot use it again until I'll be able to manually edit its settings, apparently.
:grunt:


[!--sizeo:1--][span style=\"font-size:8pt;line-height:100%\"][!--/sizeo--]Moderation: Changed [ code ] to [ codebox ].[/size]
Title: foo_run 0.3.7
Post by: Maco on 2006-11-10 17:05:06
does anyone have a script to run the tag & rename "open in tag&rename" context menu item, or any equivalent to open up containing folder in tag & rename?


I think I fixed it  I have the program on my "D" drive but you'll figure that out.
Code: [Select]
"D:\Program\TagRename\TagRename.exe" "$substr(%_path%,0,$strrchr(%_path%,'\'))
Title: foo_run 0.3.7
Post by: Boushko on 2006-11-12 15:09:21
Thanks a lot for plugin! I use it for viewing nfo and open dir in total commander.

I wonder if its possible to make smth like 'Add directory to Nero' While browsing playlist you click on single track (or multiple tracks from different directories) then nero launches in data project mode and the whole directory (or directories) goes (go) to the project. Preferably to add directories to one and the only project session in nero. You return to foobar after adding directories, add other one and it goes to the current nero project. I hope my explanations are not very complicated

I guess the answer to my question is no. Maybe it is possible to burn data project with foo_run and nerocmd.exe but it will be without nero gui and possibility to edit current project :/
Title: foo_run 0.3.7
Post by: 2Pacalypse on 2006-11-29 20:33:23
situation: I have a mp3 and a mpg both named the same.
The mp3 in a music folder and the mpg in a Video folder within the music folder

i want to be able to use foo_run to launch the video. The problem is there are different file formats

request:

to be able to leave the filename ext off (not specify) - err its hard to explain something like this:


$replace(%path%,%filename_ext%,Video\%filename%.*)
Title: foo_run 0.3.7
Post by: 2Pacalypse on 2006-12-01 13:10:28
can some1 help me out, ive been trying to figure out how to open mplayer with a path which is inside a %video% tag

I've been using:

I:\Apps\MPlayer\mplayer.exe %video%

An exmaple %video% -  I:\season 6 preview.asf

I tried the above in "" it didnt work either. When i tried to do it in VLC it replaces the '\' with a ',' any ideas? its frustrating because the following work:

I:\Apps\MPlayer\mplayer.exe I:\season 6 preview.asf

edit: if i have a run service named VLC how can i add it too a button? i tried:
$button(700,0,0,0,0,0,images\arrow.png,images\arrow.png,"Run Service/VLC",) with no luck

^^ ok i figured the button out
Title: foo_run 0.3.7
Post by: AlexVallat on 2006-12-01 22:15:27
I tried the above in "" it didnt work either


You tried:

"I:\Apps\MPlayer\mplayer.exe" "%video%"

?

Can you be more specific about how it didn't work; did mplayer run at all? Did it report what the file it tried to open was, and any reason for faliure?
Title: foo_run 0.3.7
Post by: stampgevaar on 2006-12-02 11:03:10
What's the code to go one level higher because I can get in the now playing folder but I need to go to a level higher.

For example
D:/Music/cd1 when I enter the %path% code I get into cd1 one (this is where the now playing song is located) but I need a code to go into music.

Is this possible?

Sorry for my bad english and thanks in advance

ok found that out

is it maybe possible to go to 2 paths like the album art window does?
If the program can't open the file in the first path that run goes to the second path...

Is this possible? and how do I do this??
Title: foo_run 0.3.7
Post by: 2Pacalypse on 2006-12-03 19:28:13

I tried the above in "" it didnt work either


You tried:

"I:\Apps\MPlayer\mplayer.exe" "%video%"

?

Can you be more specific about how it didn't work; did mplayer run at all? Did it report what the file it tried to open was, and any reason for faliure?


well i got it to work using:

I:\Apps\MPlayer\mpui.exe "$replace(%video%,', ','\')"

although i still dont understand why the %video% tags "\" gets replaced with a ", "

Edit: How can i have one foo_run script to do 2 tasks ie Stop foobar and launch mPlayer:

E:\Apps\MPlayer\mpui.exe "$replace(%video%,', ','\')"
foobar2000.exe /command:"Stop"

^ this will obviously tell mplayer that the foobar2000.exe Stop is part of the file name, any ideas?
Title: foo_run 0.3.7
Post by: Fifoxtasy on 2006-12-04 11:56:38
Edit: How can i have one foo_run script to do 2 tasks ie Stop foobar and launch mPlayer:

E:\Apps\MPlayer\mpui.exe "$replace(%video%,', ','\')"
foobar2000.exe /command:"Stop"

^ this will obviously tell mplayer that the foobar2000.exe Stop is part of the file name, any ideas?


you could use a batch file. (.bat file) should be quite simple, you can use notepad to write it. just imagine you would enter the command in DOS command line window. then point foo_run to the batch file.

the problem would be though, to get the %video% into the batch file, so mplayer knows which file to open... don't know how to do that
Title: foo_run 0.3.7
Post by: FofR on 2006-12-04 12:14:28
You can pass arguments to the batch file.
Title: foo_run 0.3.7
Post by: Fifoxtasy on 2006-12-04 12:28:51
You can pass arguments to the batch file.


how? could you give us an example, please?
Title: foo_run 0.3.7
Post by: FofR on 2006-12-04 15:17:11
If the batch file is for example "mplay.bat"

Use this command MPLAY "argument"
Then in the batch file refer to this as '%1'
e.g. echo %1

Batch File Article (http://wiki.trivialbeing.net/Right_Click_Upload_to_Internet_via_Batch_File)
Here's a batch file I created and use all the time, it passes a file to the batch to be uploaded to an ftp of my choice before copying the URL to my clipboard. It uses batch file arguments and I have successfully integrated it into foobar to allow one-key mp3 uploads. Putting this in the SendTo folder also makes uploading of any file painless.
Title: foo_run 0.3.7
Post by: PonasX on 2006-12-04 17:04:13
Is any way to send all playlist songs to Nero Burning Rom 7 ?
Title: foo_run 0.3.7
Post by: roentgen on 2006-12-04 17:26:31
2PonasX
Search for NeroCmd.exe on your computer. Open that in a Command Prompt window to see its options. The rest it's up to you
Title: foo_run 0.3.7
Post by: 2Pacalypse on 2006-12-04 17:58:02
If the batch file is for example "mplay.bat"

Use this command MPLAY "argument"
Then in the batch file refer to this as '%1'
e.g. echo %1

Batch File Article (http://wiki.trivialbeing.net/Right_Click_Upload_to_Internet_via_Batch_File)
Here's a batch file I created and use all the time, it passes a file to the batch to be uploaded to an ftp of my choice before copying the URL to my clipboard. It uses batch file arguments and I have successfully integrated it into foobar to allow one-key mp3 uploads. Putting this in the SendTo folder also makes uploading of any file painless.


Thanks a lot i managed to get it to work using this in a batch file:

@echo off

foobar2000.exe /command:"Stop"
E:\Apps\MPlayer\mpui.exe -compact -autoquit %1
endlocal
exit


One question though, how can i have the cmd window close on executing mplayer?

At the moment i have the mplayer window open as well as a cmd window.
Title: foo_run 0.3.7
Post by: adrianmak on 2006-12-08 03:45:21
I understood foo_run is used to execute an external program
but what application can be used thru foo_run ??

Anybody give me some examples usage ?
Title: foo_run 0.3.7
Post by: Yotsuya on 2006-12-08 05:46:45
adriannmak: foo_run can be used to run anything that can be run from a command line or the Start> Run prompt.

Example loading this forum:
Code: [Select]
http://forums.foobar2000.org/

Example loading your foosic stats:
Code: [Select]
http://www.foosic.org/query_user.php?user=YOURFOOSICNAME

Most of my usages for foo_run involve URLs, but you can also do things like pass currently playing song information to programs like album art downloaders:

Example using Cover Downloader:
Code: [Select]
"C:\Program Files\foobar2000\components\coverdownloader\albumart.exe" "%album artist%" "%album%" "$replace(%_path%,%_filename_ext%,)$if2(%cdid%,[%album artist% - ]%album%).jpg"
Title: foo_run 0.3.7
Post by: CepiPerez on 2006-12-09 01:13:35
This plugin doesn't work is no file is playing.
Is there any way to make it work?
Title: foo_run 0.3.7
Post by: Spirit_of_the_ocean on 2006-12-17 00:43:07
I try to open VLC which works okay.
But I don't understand how I can open a specific playlist.

In Windows I can run from command line:
"C:\Programme\VideoLAN\VLC\vlc.exe open "C:\Dokumente und Einstellungen\User\Desktop\..... .m3u"

And the playlist is played.

But if I add it as a command in run services vlc open but then the playlist don't open.
Does someknows where the problem is?

Message in Window is:
Quote
main error: no suitable access module for `C:\Dokumente und Einstellungen\User\Desktop\.....
%Playlist name% but a part it missing and extension.'

Now I got it to work.When I rename the filename so that its shorter.

The playlist name is very long. Has run_services a limitation of letters?
Title: foo_run 0.3.7
Post by: Spirit_of_the_ocean on 2006-12-19 18:17:08
I wanted to have all my Video Files in Foobar and then open them with mplayer.

There's one problem: when I click for example right on a File named Finntroll 4.06min 10,3MB.rm I got the context menu. I see run services and the arrow but the arrow but the right context menu doesn't open 

Can someone tell my why this is that way?
Title: foo_run 0.3.7
Post by: 2Pacalypse on 2006-12-19 18:23:43
I wanted to have all my Video Files in Foobar and then open them with mplayer.

There's one problem: when I click for example right on a File named Finntroll 4.06min 10,3MB.rm I got the context menu. I see run services and the arrow but the arrow but the right context menu doesn't open 

Can someone tell my why this is that way?


i had this aswell. Dont think it works when foobar is stopped?

if it happens when its playing its prob cause foobar doesnt handle the file type. Try going to 'file info' see if the path is empty

^^ only guessing i too want to resolve this
Title: foo_run 0.3.7
Post by: Spirit_of_the_ocean on 2006-12-19 18:34:43
But this is really wierd because other context menu from foobar is working  The convert option for example which makes no sense
So I think this is a plug-in problem...
How can I see file info or did you mean properties?
Title: foo_run 0.3.7
Post by: 2Pacalypse on 2006-12-19 18:37:13
But this is really wierd because other context menu from foobar is working  The convert option for example which makes no sense
So I think this is a plug-in problem...
How can I see file info or did you mean properties?


i meant right click and go to file info - if you have it installed.  Off memory i was doing what you were with videos and it worked perfectly on for example mp4's but when i tried a codec that foobar didnt recognise there was no right click
Title: foo_run 0.3.7
Post by: Spirit_of_the_ocean on 2006-12-19 19:48:15
I just wanted to know which plug-in you mean?
Title: foo_run 0.3.7
Post by: zoddic on 2006-12-19 23:52:02
I cant modify the existing services. Either im just dumb or something is wrong. First, add and modify buttons don't do anything. And when I try to modify an existing service, it is reset as soon as I push the save all button. Can anyone explain to me what I am doing wrong. Thanx
Title: foo_run 0.3.7
Post by: Yotsuya on 2006-12-20 04:47:35
I found this a little confusing at first myself. To modify an existing service:

1) File> Preferences> Tools> Run Services
2) Highlight the service you would like to modify in the "Service" box toward the top, this will populate the "Service Properties" box toward the bottom with the current settings of that run service
3) Modify the desired attributes for the service in the appropriate fields toward the bottom
4) With the service still highlighted in the "Service" box toward the top, click on the "Modify" button.

NOTE: You click the Add, Modify, or Remove buttons AFTER you have inputted the data in the "Service Properties" fields, NOT BEFORE.
Title: foo_run 0.3.7
Post by: fabiospark on 2006-12-20 07:12:50
I'm trying to use the command line "playlist-activate playlistname" to switch to a certain playlist but it seems to work only if I trigger it (with a keyboard shortcut) when the active playlist is the one where the now playing track is. If I change the active playlist to another one, the Run preset doesn't work.

?
Title: foo_run 0.3.7
Post by: zoddic on 2006-12-20 10:43:29
I found this a little confusing at first myself. To modify an existing service:

1) File> Preferences> Tools> Run Services
2) Highlight the service you would like to modify in the "Service" box toward the top, this will populate the "Service Properties" box toward the bottom with the current settings of that run service
3) Modify the desired attributes for the service in the appropriate fields toward the bottom
4) With the service still highlighted in the "Service" box toward the top, click on the "Modify" button.

NOTE: You click the Add, Modify, or Remove buttons AFTER you have inputted the data in the "Service Properties" fields, NOT BEFORE.


Oh thanx!
Title: foo_run 0.3.7
Post by: Spirit_of_the_ocean on 2006-12-20 14:37:28
Can somebody tell me if it is possible to programm the plugin so that it will work with such files as .rm or other unsupported files?
As far as I could understand the source code the problem is that the filepath is taken from properties and there isn't shown  properties when using unsupported filetypes.... so there won't be a context menu
Title: foo_run 0.3.7
Post by: kabuki on 2007-01-19 11:18:42
Thank you Florian for the updated version (0.3.2).

Would it be possible, in a next version to:
-add the possibility in the run service preferences panel to reorder (move up, move down) the services (for the moment I export, modify the order in the xml created, then import it...)
-add the possibiity to mark "show or hide" in the context menu (directly in run service preferences panel or in the context menu preference with "remove item"/"insert item")

This because, i'm using a lot of scripts or run services to manage my general display or sizes of the foobar window using autohotkey or simply using foobar /command:"blah", and mapping them to trackinfo $button2 or foobar hotkeys.

By the way, I want to thank you a lot for having ported this plugin for foobar 0.9. 
Trackinfo $button2 doesn't work if we want to cycle a tabbed panel, because of the "#" in "Panel #2 Cycle Forward", but using run service we now can make a new service called "Cycle Panel 2" mapping to :
"C:\Program Files\foobar2000\foobar2000.exe" /command:"Panel #2 Cycle Forward" and make a trackinfo $button2 mapping to this service like in this way:
$button2(x,y,,,xx,yy,,'$font(font,size,option,color)CYCLE 2',Cycle Panel 2,)
Title: foo_run 0.3.7
Post by: JoyO on 2007-02-14 17:10:31
The best would be custom menu with ability to create sub menus. AFAIR Florian wrote that its impossible/dont know how to do it, well foo_custominfo has it. And its source is aviable

foo_custominfo (http://users.tkk.fi/~tahlberg/foo/)

Florian, can you do it?
Title: foo_run 0.3.7
Post by: ExtensionArt on 2007-02-18 19:43:02
Any way to use this site http://albumart.org/ (http://albumart.org/) ? Can't seem to figure this one out!
Thanks in advance

Peace!
Title: foo_run 0.3.7
Post by: musosticky on 2007-02-18 21:36:14
The searches all lead to amazon links so you can stick to using the Cover Downloader program on these forums
Title: foo_run 0.3.7
Post by: nbv4 on 2007-03-05 07:08:37
The searches all lead to amazon links so you can stick to using the Cover Downloader program on these forums

Can anyone else get this to work in Vista? I just upgraded to Vista from XP, using the exact same settings, and foo_run is giving me nothing. When I click on any item in the 'Run' context menu, nothing happens...
Title: foo_run 0.3.7
Post by: metal_termite on 2007-03-06 00:49:10

The searches all lead to amazon links so you can stick to using the Cover Downloader program on these forums

Can anyone else get this to work in Vista? I just upgraded to Vista from XP, using the exact same settings, and foo_run is giving me nothing. When I click on any item in the 'Run' context menu, nothing happens...

Same here. I have mine set up to open links in a web browser. It doesn't work in Vista.
Title: foo_run 0.3.7
Post by: Yotsuya on 2007-03-06 01:51:17
When I experimented around with foo_run under vista I discovered that vista does not allow you to execute URLs under normal user access. So instead you need to change your foo_run command from "http://www.whatever.ip" to "firefox http://www.whatever.ip" (http://www.whatever.ip&quot;).

I am thoroughly disgusted with vista and have migrated happily back to XP and 2k3.
Title: foo_run 0.3.7
Post by: metal_termite on 2007-03-06 05:22:40
Hmm, still did not work for me. Just to be sure I did it correctly, in the path box I put "C:\Program Files (x86)\Mozilla Firefox\firefox.exe http://www.website.com" (http://www.website.com&quot;)
Title: foo_run 0.3.7
Post by: eejadx on 2007-03-06 05:33:52
Hmm, still did not work for me. Just to be sure I did it correctly, in the path box I put "C:\Program Files (x86)\Mozilla Firefox\firefox.exe http://www.website.com" (http://www.website.com&quot;)

I think foo_run does not like the "(x86)" in the path name... Try changing firefox installation directory to common program files, it worked for me.
Title: foo_run 0.3.7
Post by: Yotsuya on 2007-03-06 12:05:43
alternatively you can use $char(40)x86$char(41) instead of (x86) but eejadx is correct, foo_run processes the parenthesis as code.
Title: foo_run 0.3.7
Post by: dano on 2007-03-06 12:38:22
Well, it's part of TAGZ-language
'('x86')'
http://wiki.hydrogenaudio.org/index.php?ti...at_Introduction (http://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Titleformat_Introduction)
Title: foo_run 0.3.7
Post by: MusX on 2007-03-06 14:12:17
i have one question. is it available to run some exe file with parameter which will be taken from some tag field of selected audio file?
Title: foo_run 0.3.7
Post by: 2Pacalypse on 2007-03-06 14:55:34
filename.exe %field%

replace ^ filename with your filename put the name of the tag where it says field.

It may need to be "%field%"
Title: foo_run 0.3.7
Post by: randomwalk on 2007-03-06 16:39:45
It may need to be "%field%"


That should be correct. I'm not using tags, but I'm calling a Python script with "%title%" or "%path%", and it works as it should. My syntax is:

"C:\Programme\foobar2000\Scripts.py" "%path%" "delete_set"
Title: foo_run 0.3.7
Post by: textured on 2007-03-07 12:47:39
im having trouble getting foo_run to send a large selection of tracks to mp3tag.

so far i can use it fine to open the directory folder of the track i select in foobar, but how can i make it send a larger number of tracks that span several folders?
Title: foo_run 0.3.7
Post by: dano on 2007-03-07 13:02:12
You can increase the number of "simultanous runs" and select only one file per directory.
Title: foo_run 0.3.7
Post by: textured on 2007-03-08 14:09:49
this still doesnt work. if i have the number of simultaneous runs set to 'unlimited' and i select two tracks in foobar from different directories, only the first full directory gets sent to mp3tag plus the *single track* of the second directory. if i select more than one track from a directory, it locks up and reloads the directory on each track, ultimately giving me just one directory.
this is using "%_path%" after the path to mp3tag in the foo_run options. taking out the "%_path%" string breaks the function completely (it loads mp3tag, but nothing more). is there another string i can use so that it will ADD the subsequent directories instead of repeatedly changing the directory?
Title: foo_run 0.3.7
Post by: dano on 2007-03-08 16:57:29
You need to have at least Mp3tag v2.37b http://developer.mp3tag.de/ (http://developer.mp3tag.de/)
Title: foo_run 0.3.7
Post by: textured on 2007-03-09 00:20:55
ive had 2.37f since they released it.
Title: foo_run 0.3.7
Post by: dano on 2007-03-09 00:40:12
/fp:"$replace(%path%,%filename_ext%,)"  can be used to add a complete directory.
You can also hold down Ctrl while you execute the foo_run command to add folders/files and not replace.
Title: foo_run 0.3.7
Post by: jesus2099 on 2007-03-14 10:20:36
Hello.

I see that the Google artist and google song don't work when my artist has several words separated by spaces like Đàm Vĩnh Hưng for example. Only the first word, Đàm, is searched

I tried to put q=%22%artist%%22 and q="%artist%" instead of q=%artist% but they don't work (the %artist% is no more interpreted with %22 and with ", there is no search string at all).

q=%artist% → http://google.com/search?q=%C4%90%C3%A0m (http://google.com/search?q=%C4%90%C3%A0m)
q=%22%artist%%22 → http://google.com/search?q=?artist%22 (http://google.com/search?q=?artist%22)
q="%artist%" → http://google.com/search?q= (http://google.com/search?q=)
Instead of http://google.com/search?q=%22%C4%90%C3%A0...nh+H%C6%B0ng%22 (http://google.com/search?q=%22%C4%90%C3%A0m+V%C4%A9nh+H%C6%B0ng%22)

I also tried \" and \%22 with no more luck...

Any clue someone ?
Title: foo_run 0.3.7
Post by: carmenm on 2007-03-14 10:30:58
Hello.

I see that the Google artist and google song don't work when my artist has several words separated by spaces like ?àm V?nh H?ng for example. Only the first word, ?àm, is searched

I tried to put q=%22%artist%%22 and q="%artist%" instead of q=%artist% but they don't work (the %artist% is no more interpreted with %22 and with ", there is no search string at all).

q=%artist% ? http://google.com/search?q=%C4%90%C3%A0m (http://google.com/search?q=%C4%90%C3%A0m)
q=%22%artist%%22 ? http://google.com/search?q=?artist%22 (http://google.com/search?q=?artist%22)
q="%artist%" ? http://google.com/search?q= (http://google.com/search?q=)
Instead of http://google.com/search?q=%22%C4%90%C3%A0...nh+H%C6%B0ng%22 (http://google.com/search?q=%22%C4%90%C3%A0m+V%C4%A9nh+H%C6%B0ng%22)

I also tried \" and \%22 with no more luck...

Any clue someone ?


try with something like $replace(%artist%, ,+)
Title: foo_run 0.3.7
Post by: textured on 2007-03-14 10:40:21
/fp:"$replace(%path%,%filename_ext%,)"  can be used to add a complete directory.
You can also hold down Ctrl while you execute the foo_run command to add folders/files and not replace.


great this is working much better now for adding directories.

is there a way to add the 'ctrl' command so that it can be used with a keyboard shortcut? for example, if i key the mp3tag run command as 'shift+m' and then i try 'ctrl+shift+m' to add instead of replace, it doesnt register the command.

also, i still cant get it to *only* add the selected tracks. which would be cool.
Title: foo_run 0.3.7
Post by: jesus2099 on 2007-03-14 11:32:15
try with something like $replace(%artist%, ,+)

Whoaw !!! That's so powerful!!
You made it work for me, thank you very much !
And I found that if I want to protect the % character I only had to double it. So %22 must be written %%22.

Here are the new commands for foo_run > Google, maybe they should be taken into the default values for the next versions ?
----

also, i still cant get it to *only* add the selected tracks. which would be cool.

I am not 100% sure but I believe Mp3tag would always open the whole folder content.
Title: foo_run 0.3.7
Post by: textured on 2007-03-14 11:43:09
Quote
I am not 100% sure but I believe Mp3tag would always open the whole folder content.


yeah.. i think youre right. oh well. at least i can get it to add directories though. that is huge for me. 
Title: foo_run 0.3.7
Post by: dano on 2007-03-14 12:03:13
No, /fn:"%path%" opens one or multiple single files.
You should make two entries for Mp3tag, one for folders, other for single files.
Title: foo_run 0.3.7
Post by: sylla on 2007-03-26 23:55:21
edit: solved it myself
Title: foo_run 0.3.7
Post by: textured on 2007-03-27 00:11:31
No, /fn:"%path%" opens one or multiple single files.
You should make two entries for Mp3tag, one for folders, other for single files.


using "%path%" or using fn:"%path%" makes no difference as far as i can tell. fn:"%path%" has the same issue as i described above.
Title: foo_run 0.3.7
Post by: dano on 2007-03-27 01:12:53
Did you update to 2.37h ? I just remember 2.37f had a bug in this area.
Title: foo_run 0.3.7
Post by: jesus2099 on 2007-03-27 17:45:44
Oh it must be a beta version, right? Mine is 2.37a and I see no newer version.
Title: foo_run 0.3.7
Post by: wraithdu on 2007-03-27 20:15:59
Look in the mp3tag forum under the Development section for the newest beta version.
Title: foo_run 0.3.7
Post by: iElectric on 2007-04-07 14:46:57
Is there a way to use plugin through scripting?
Title: foo_run 0.3.7
Post by: shakey_snake on 2007-04-07 15:37:37
Would it ever be possible to store foo_run settings in an external file?
Title: foo_run 0.3.7
Post by: User 007 on 2007-04-11 16:46:58
Have you had problems with adding foo_run command shortcuts into toolbar? They don't work here.
Title: foo_run 0.3.7
Post by: capleton on 2007-04-18 14:23:06
It looks like the side of my foo_run config window is cropped?  I'm using the latest version but
(http://img120.imageshack.us/img120/4365/foorunproblemeg9.th.jpg) (http://img120.imageshack.us/my.php?image=foorunproblemeg9.jpg)

Does anybody know what i could try to fix????


(sorry for the large image size, first time posting on imageshack)
Title: foo_run 0.3.7
Post by: jesus2099 on 2007-04-18 15:21:19
Maybe it's your ... skin that does this ?
I have the last version and it's not cut off.
I use the standard skin.
Title: foo_run 0.3.7
Post by: capleton on 2007-04-18 21:01:27
what do you mean by skin?  I use panels UI and columns UI.  I don't really understand what you mean...     
Title: foo_run 0.3.7
Post by: Spirit_of_the_ocean on 2007-04-18 21:14:12
-he means your visual style
Title: foo_run 0.3.7
Post by: capleton on 2007-04-18 23:25:55
Sorry, my english is not so good.

So I tried installing and uninstalling windowblinds along with testing it on a bunch of different skins.

Tried reverting back to columns ui as well.

I will try a fresh install of foobar in the next few days.


Thanks for the help.
Title: foo_run 0.3.7
Post by: kabuki on 2007-04-19 01:33:07
to Capleton
try ResizeEnable (http://www.digitallis.co.uk/pc/ResizeEnable/index.html) or change your visual style 
Title: foo_run 0.3.7
Post by: jesus2099 on 2007-04-19 10:03:51
Wow, thanks Kabuki! This is a great tool!
Title: foo_run 0.3.7
Post by: John Doe on 2007-04-22 13:19:50
Does anyone know how to use the Firefox "Quicksearch" function?
Basically I want to search a site that doesn't support adding search parameters in the address bar. Firefox is able to add the search in the search box.

I'm looking for something like
Code: [Select]
c:\program files\mozilla\firefox\firefox.exe cover %album%


Any idea?

JD
Title: foo_run 0.3.7
Post by: John Doe on 2007-04-23 14:34:50
Just found a hint, googleing for "Firefox "quick search" command line"".
Unfortunately I can't get it to work.

Excerpt: Use (Firefox magic word) g \"search terms\"

I'll keep diggin'.

JD


Link: http://lifehacker.com/software/geek-to-liv...658.php#c610922 (http://lifehacker.com/software/geek-to-live/geek-to-live-fifteen-firefox-quick-searches-129658.php#c610922)
Title: foo_run 0.3.7
Post by: kanak on 2007-04-30 03:42:17
here's an alternative way to search allmusic for albums (sometimes allmusic's search is just too clunky):

Code: [Select]
'http://www.google.com/search?hl=en&q=intitle%3A%22'$replace(%album%, ,'+')'%22+%2Bintitle%3A%22overview%22+%2Bsite%3Aallmusic.com&btnG=Google+Search'
Title: foo_run 0.3.7
Post by: Keikonium on 2007-05-02 00:51:35
I've run into a problem. I'm not sure if it is foo_runs fault, or a bug in foobar itself, but I can't seem to run any of my custom run services from buttons (not track display buttons, but the kind that are like the ones that default with foobar).

Has anyone else experienced this? I have foobar 0.9.4.3 and foo_run 3.2.

Any help would be great!
Title: foo_run 0.3.7
Post by: John Doe on 2007-05-08 14:11:08
Anyone able to create a function for this search?

wwwDOTcover-paradiesDOTto/?Module=ExtendedSearch


JD

@Mod: Hope it's not illegal. > modified link, just to be save.
Title: foo_run 0.3.7
Post by: kabuki on 2007-05-08 14:38:11
Anyone able to create a function for this search?
wwwDOTcover-paradiesDOTto/?Module=ExtendedSearch

Something like that ?
Code: [Select]
http://cover-paradies.to/?Module=ExtendedSearch&SearchString=$replace(%artist%+%album%, ,'+')

Title: foo_run 0.3.7
Post by: John Doe on 2007-05-08 14:57:15
that was quite quick...

how did you find out/know what kind of string to use?


JD
Title: foo_run 0.3.7
Post by: kabuki on 2007-05-08 15:15:45
that was quite quick...
how did you find out/know what kind of string to use?
JD

Well, it was very simple for me 
I use firefox, and I have Cover.Paradise in my "quick search" bar (the one on the right of adress bar).
Then, i've made a search with any "artist album" and it give me "&SearchString=artist+album" that was missing you at the end of your link some post above. I've tested it with a run service before posting it here.
I'm glad I could helped you. 
Cheers.

EDIT: nvm
Title: foo_run 0.3.7
Post by: John Doe on 2007-05-08 15:18:22
Thanks a lot.

JD
Title: foo_run 0.3.7
Post by: kabuki on 2007-05-08 15:20:41
Thanks a lot.
JD
You're welcome !
do you know "Album Art Downloader" ? it has a script to retrieve for Cover.Paradise, and can save the images it found, automatically in an appropriate folder...
Title: foo_run 0.3.7
Post by: John Doe on 2007-05-08 15:27:47
No, don't know it.
I use Foobar and each album gets it's covers.
I created a floating bar just for tagging and organizing using foo_run and foo_dockable_panels:

(http://img511.imageshack.us/img511/8910/clipboard01vt9.png) (http://imageshack.us)

JD
Title: foo_run 0.3.7
Post by: kabuki on 2007-05-08 17:58:11
@ John Doe
Talking about Album Art Downloader
No, don't know it.

If you have 10 minutes to kill try it.
Got to this topic (http://www.hydrogenaudio.org/forums/index.php?showtopic=51896), download last version and install it wherever you want (I've made an "ExternalApps" folder in foobar2000 installation folder)
Then, make a run service with this :
Code: [Select]
Label:
Covers
Path:
C:\Program Files\foobar2000\ExternalApps\AlbumArtDownloader\albumart.exe -ar "$if2(%album artist%,%artist%)" -al "%album%" -p "$replace(%_path%,%_filename_ext%,)Folder.jpg"

Replace "C:\Program Files\foobar2000\ExternalApps\AlbumArtDownloader\albumart.exe" by the path of your Album Art Downloader program folder's intallation.
And instead of 'Folder.jpg' you can also put 'Front.jpg' or 'Back.jpg' whatever you want...
I've made for myself 5 run service scripts with appropriate labels:
Code: [Select]
[...]-p "$replace(%_path%,%_filename_ext%,)Folder.jpg"
[...]-p "$replace(%_path%,%_filename_ext%,)Cover\Front.jpg"
[...]-p "$replace(%_path%,%_filename_ext%,)Cover\Back.jpg"
[...]-p "$replace(%_path%,%_filename_ext%,)Cover\Inlay.jpg"
[...]-p "$replace(%_path%,%_filename_ext%,)Cover\CD.jpg"

Then, you can use this script with a button in your floating 'tag bar'
Try first code, maybe it will save you some time, when you search all album art.
And Album Art Downloader comes with some usefull script to find more Art (CoverIsland, Google, Discogs, Cover.Paradise, Freecover... etc...)

This is the foo_run topic and my explanation about Album Art Downloader is gonna be somehow off topic ; I prefer not to pollute it too much more so don't hesitate to PM me for more details, you're welcome, and i can share my run service scripts if you need more.

Edit:
Title: foo_run 0.3.7
Post by: MtOzor on 2007-05-22 19:00:31
I am having trouble getting this program to run.

c:\windows\system32\shutdown.exe -s -t 0


I wanted to create a button to turn off the machine from inside Foobar.


FOUND SOLUTION:

I found out that the "Item group" setting for Run service buttons has to be set to "Now Playing Item" or Current Playlist Selection".
Title: foo_run 0.3.7
Post by: sune on 2007-05-30 18:25:45
hi. maybe someone can help me cause I really have no idea how to do this, and if it's possible

I have crated a button inside a track info mod panel to open minilyrics, creating an instance for foo run with this path: C:\Program files\Minilyrics\MLStart.exe

minilyrics is running in the background, and when I click it shows up. but then I have to right click and then select "download lyrics" (or type "D"), for the download lyrics windows to show. What I want is to bring up this download window without having the main minilyrics window open first..

Is this possible? I'm thinking that I need some kind of parameter after the path, but I have no clue..

Inside the minilyrics installation folder there is only this .exe file I can point to..

I'll really appreciate any help with this. thanks

sune
Title: foo_run 0.3.7
Post by: zoddic on 2007-07-01 14:18:46
Is there any way to run a service automatically whenever there is a track change?
Title: foo_run 0.3.7
Post by: FofR on 2007-07-02 22:01:44
No. It's an often requested feature.
Title: foo_run 0.3.7
Post by: fuffi on 2007-09-08 18:16:50
this plugin rocks!
thank you!

try this, if you like:

Gracenote: Search CDDB Artist
Code: [Select]
http://www.gracenote.com/music/search.html?f=artist&q=$replace(%artist%, ,+)

Gracenote: Search CDDB Song
Code: [Select]
http://www.gracenote.com/music/search.html?f=track&q=$replace(%title%, ,+)

Gracenote: Search CDDB Album
Code: [Select]
http://www.gracenote.com/music/search.html?f=disc&q=$replace(%album%, ,+)

Gracenote: Search CDDB Artist+Song+Album
Code: [Select]
http://www.gracenote.com/music/search.html?f=artist&f=disc&f=track&q=$replace(%title%, ,+)+$replace(%album%, ,+)+$replace(%artist%, ,+)



anyway:
anyone knows how to copy the requested information (i.e. album name) to the clipboard? to paste it in other programs?
Title: foo_run 0.3.7
Post by: herojoker on 2007-09-12 15:57:35
Is it possible to access webradio stream artist/title information?
Using %title% or %artist% only gives me the standard information (no artist, title= the name of the station, which is also displayed in the playlist when not connected to the stream
Title: foo_run 0.3.7
Post by: radio_cascara on 2007-09-13 20:23:59
Is it possible to access webradio stream artist/title information?
Using %title% or %artist% only gives me the standard information (no artist, title= the name of the station, which is also displayed in the playlist when not connected to the stream


no. foo_run as most of the other components don't access dynamic titles for some reason. i was asking for the same thing to be implemented but without answer from any developer  here is foosions explanation (http://www.hydrogenaudio.org/forums/index.php?showtopic=56527&hl=) that pinpoints the nature of the problem. so...
Title: foo_run 0.3.7
Post by: TarkusShakti on 2007-09-15 18:48:29
It looks like the side of my foo_run config window is cropped?  I'm using the latest version but
(http://img120.imageshack.us/img120/4365/foorunproblemeg9.th.jpg) (http://img120.imageshack.us/my.php?image=foorunproblemeg9.jpg)

Does anybody know what i could try to fix????


(sorry for the large image size, first time posting on imageshack)


You probably have Control Panel/Display/Settings/General/Display set to large font, like I do. This issue is not resolved by ResizeEnabler. To reset this feature you need to reboot, so changing it back to normal is not a quick fix. I need the larger fonts to see what I'm doing (don't worry it'll happen to you someday.)

Supposedly if a program is properly coded this problem shouldn't happen. This circumstance and CopyToDvd are the only programs I've come across which fail to display correctly.

TS
Title: foo_run 0.3.7
Post by: identitylab on 2007-09-17 09:33:39
I've run into a problem. I'm not sure if it is foo_runs fault, or a bug in foobar itself, but I can't seem to run any of my custom run services from buttons (not track display buttons, but the kind that are like the ones that default with foobar).

Has anyone else experienced this? I have foobar 0.9.4.3 and foo_run 3.2.

Any help would be great!


Any followup on this issue anyone?
I too, am experiencing this issue and it's a little frustrating...

Not sure if this works for everyone but a select few (component conflict)? Or something else?
There's been a couple questions raised on the topic, but I can't find a solution.

Any help appreciated.

Thank you.

EDIT:
Found answer.

Problem solved. When linking a button to a runservice, the default "Item Group" is set to None. You need to set it to Now playing item in order for the button to work. You can also use Current playlist selection but that will only work if an item is selected in your playlist (no item selected, button doesnt work).

Thanks to original poster...
Title: foo_run 0.3.7
Post by: YoPen on 2007-09-24 01:07:03
PLEASE HELP!!!
What command must I use to  call run service,and generate button in panel_ui.I have working link in foo_run options
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!
Title: foo_run 0.3.7
Post by: vaddr on 2007-09-26 16:42:03
Hi there,

I am using Windows x64 and when trying to start a program from my programs folder I only get an Explorer window with the wrong programs folder.

I am guessing that's because the programs folder on x64 for 32bit applications is "Program Files (x86)" and the brackets need to be escaped.
How would I do that?

Thanks for any help!

-vaddr-
Title: foo_run 0.3.7
Post by: Purple Monkey on 2007-09-26 19:01:20
Surround them with single quotes:
Code: [Select]
"C:\Program Files '('x86')'\appfolder\app.exe" -pram
Title: foo_run 0.3.7
Post by: FavioD on 2007-11-04 07:32:29
Surround them with single quotes:
Code: [Select]
"C:\Program Files '('x86')'\appfolder\app.exe" -pram

Thank you! I was having a similar problem and your post solved it, thanks 
Title: foo_run 0.3.7
Post by: Spirit_of_the_ocean on 2007-11-04 21:12:32
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.
Title: foo_run 0.3.7
Post by: pirlouy on 2007-11-04 23:02:00
I'd rather say Cover-Paradise instead of 'Cover-Paradise'. 
Title: foo_run 0.3.7
Post by: Spirit_of_the_ocean on 2007-11-04 23:09:33
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. 
Title: foo_run 0.3.7
Post by: +LeLe+ on 2007-11-07 11:05:56
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
Title: foo_run 0.3.7
Post by: entertainer on 2007-11-08 09:12:59
Try this:
Code: [Select]
"http://rateyourmusic.com/release/album/$lower($replace(%artist%, ,_))/$lower($replace(%album%, ,_))/"
Title: foo_run 0.3.7
Post by: +LeLe+ on 2007-11-08 09:48:33
Try this:
Code: [Select]
"http://rateyourmusic.com/release/album/$lower($replace(%artist%, ,_))/$lower($replace(%album%, ,_))/"

works fine, thank you
Title: foo_run 0.3.7
Post by: Florian on 2008-01-15 10:02:56
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
Title: foo_run 0.3.7
Post by: foo_peter on 2008-01-15 10:28:28
Thank you very much!

foo_peter
Title: foo_run 0.3.7
Post by: Florian on 2008-01-17 19:44:28
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
Title: foo_run 0.3.7
Post by: DeepDose on 2008-01-18 02:29:40
Extremely useful....have been using it for a long time...makes things a lot more productive...thx for the update!
Title: foo_run 0.3.7
Post by: s33m33 on 2008-01-18 14:51:42
Thanks Florian for update and the original
Title: foo_run 0.3.7
Post by: radi0n on 2008-03-20 11:49:40
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?
Title: foo_run 0.3.7
Post by: Bl@ck_warrior on 2008-03-20 12:37:23
I use :

"C:\Program Files\AlbumArtDownloader\AlbumArt.exe" /artist "%artist%" /album "%album%" /autoclose /p "$replace(%path%,%filename_ext%,folder.jpg)" /sources "Amazon"
Title: foo_run 0.3.7
Post by: dano on 2008-03-20 13:07:28
Watch the brackets
Surround them with single quotes:
Code: [Select]
"C:\Program Files '('x86')'\appfolder\app.exe" -pram
Title: foo_run 0.3.7
Post by: sune on 2008-04-10 00:45:52
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
Title: foo_run 0.3.7
Post by: Purple Monkey on 2008-04-10 01:46:06
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.
Title: foo_run 0.3.7
Post by: sune on 2008-04-10 02:33:16
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
Title: foo_run 0.3.7
Post by: labou on 2008-04-11 01:56:05
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.
Title: foo_run 0.3.7
Post by: JohanDeBock on 2008-04-29 14:02:13
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%, ,+))
Title: foo_run 0.3.7
Post by: mrinferno on 2008-05-27 16:31:35
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.
Title: foo_run 0.3.7
Post by: Fractal_Mortality on 2008-05-29 20:37:05
Does anyone know of a script for simply opening up the "folder.jpg" in a given song's path (just for simple editing)?
Title: foo_run 0.3.7
Post by: Bollerkopp on 2008-05-29 23:24:05
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
Title: foo_run 0.3.7
Post by: Fractal_Mortality on 2008-05-30 08:41:48
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


Perfect! Many thanks.
Title: foo_run 0.3.7
Post by: Bollerkopp on 2008-05-30 12:29:41
you are welcome.

greets
Title: foo_run 0.3.7
Post by: Light on 2008-06-26 13:22:12
what would be the command line to open the NFO file thats in the folder the mp3 is in?

/music/artist-album/nowplaying.mp3
/music/artist-album/information.nfo

i want to open that information.nfo... so like a command to open *.nfo thats in the same folder as the mp3 thats playing....

Tnx

:EDIT: i now made this

Code: [Select]
"$lower($substr(%_path%,0,$strrchr(%_path%,'\'))00-%directoryname%.nfo)"


it will reflect the complete path of the folder and then make 00-foldername.nfo since most of my albums are tagged that way ... but i'd rather have it that it just looks opens any nfo file thats in the folder...
Title: foo_run 0.3.7
Post by: mobyduck on 2008-06-26 13:54:38
@Light: did you try $directory_path(%path%)?

HTH.

Alessandro
Title: foo_run 0.3.7
Post by: Light on 2008-06-26 14:15:36
@Light: did you try $directory_path(%path%)?

HTH.

Alessandro



yeah, that makes the code a bit simpler...

Code: [Select]
"$lower($directory_path(%path%)\00-%directoryname%.nfo)"


but still its not the ideal solution, since not all nfo's are tagged like that...
Title: foo_run 0.3.7
Post by: mobyduck on 2008-06-26 15:01:16
but still its not the ideal solution, since not all nfo's are tagged like that...
Yep, apologies: didn't read carefully.

Not sure though: what do you open the NFO with? If the program you use supports wildcards at command line, it should work... otherwise I don't think you can do what you want using foobar2000 scripting language exclusively (but then again I'm not an expert ).

Alessandro
Title: foo_run 0.3.7
Post by: Falstaff on 2008-06-26 16:16:02

@Light: did you try $directory_path(%path%)?

HTH.

Alessandro



yeah, that makes the code a bit simpler...

Code: [Select]
"$lower($directory_path(%path%)\00-%directoryname%.nfo)"


but still its not the ideal solution, since not all nfo's are tagged like that...


just try this to see if it works with notepad :

"C:\WINDOWS\notepad.exe" "$lower($directory_path(%path%)\00-%directoryname%.nfo)"

btw, try with replacing the program path that u want to use for .nfo files
Title: foo_run 0.3.7
Post by: aphasia on 2008-06-26 18:01:32
Pardon my ignorance but why is $lower needed? Windows file names are not case-sensitive right?
Title: foo_run 0.3.7
Post by: Light on 2008-06-30 19:21:18
Yeah, lower is not needed, its just to make it look more tidy, no function at all...

Well, the code works, cause if i do start => run => c:\mp3\mymp3folder\00-path etc, it opens the nfo in the standard nfo viewer (damn nfo viewer) so it works, but just on a couple of dirs cause not all nfo's are exactly in the same format... so i just want it to open the first nfo it can find in the directory.

Good thinking though, maybe the program opening it can find it, or maybe a bat file or something... I'll try later

EDIT

i got the solution:

make a batfile, called opennfo.bat and put it in c:\windows\ , put this in it: FOR %%A in (%1*.nfo) DO %%A

then in foo_run, use this command: opennfo.bat "$directory_path(%path%)\"

that simple actually....
Title: foo_run 0.3.7
Post by: jasperooni on 2008-08-21 15:19:02
Hello,

I just want to play a radio stream (___.ogg.m3u).

I tried as path:
Code: [Select]
C:\Dokumente und Einstellungen\UIername\Eigene Dateien\Eigene Musik\tilos_high.ogg.m3u


but it didn´t work. It´s very simple I guess but I don´t know how. Thanks for you help and thanks to Florian for Mp3Tag and foo_run!!!
Title: foo_run 0.3.7
Post by: dano on 2008-08-21 18:43:35
Yes, simple. Put the path in quotation marks: "path"
Title: foo_run 0.3.7
Post by: jasperooni on 2008-08-22 02:15:21
Yes, simple. Put the path in quotation marks: "path"


thanks! so simple....
Title: foo_run 0.3.7
Post by: Sounds Blast on 2008-08-22 17:50:18
Just stumbled on this plugin the other day. Really great to have, i had to do a lot of trial and error with other codes to get it to work with some sites but it's a great plugin thanks.
Title: foo_run 0.3.7
Post by: Scidd0w on 2008-09-26 19:02:18
I'm on vista x64 and when using latest foobar version I can't get the following working:
"C:\Program Files (x86)\PROGRAMNAME"

If I place for example a program called albumart.exe in the following folder, C:\Program Files (x86)\foobar2000\utils\AlbumArt\. And I use the follwing string in foo_run, "C:\Program Files (x86)\foobar2000\utils\AlbumArt\AlbumArt.exe". It does not work. This happens with every progaram!

When I put the same file in de follwing folder, E:\AlbumArt\, and use the follwing string, "E:\AlbumArt\AlbumArt.exe". It works!

Am I doing something wrong? Or does this happen to others too?
Title: foo_run 0.3.7
Post by: Florian on 2008-09-26 19:08:02
I'm on vista x64 and when using latest foobar version I can't get the following working:
"C:\Program Files (x86)\PROGRAMNAME"

Try quoting the parentheses with single quotes:
Code: [Select]
"C:\Program Files '('x86')'\appfolder\app.exe" -pram
Title: foo_run 0.3.7
Post by: Scidd0w on 2008-09-26 19:13:45
...
Try quoting the parentheses with single quotes:
Code: [Select]
"C:\Program Files '('x86')'\appfolder\app.exe" -pram
Thank you very much for the impressive quick reply! Quoting the parentheses did the trick.
Title: foo_run 0.3.7
Post by: annoying mouse on 2008-11-02 17:54:49
(Hi there... first time poster here)

Does anyone know how I could search http://www.songmeanings.net/ (http://www.songmeanings.net/) using foo_run?  I've been using the component successfully for a while now and I have buttons set to run seperate sites for various things (Wikipedia, last.fm, allmusic, etc.).  I did have this site set so that I could search both artist lyrics and song lyrics but suddenly I can't do it because they've changed their search method.  I think it is because it now uses "post" method instead of "get" for searches but I could be completely wrong.  I spent a while trying to work it out and the closest I could get was
Code: [Select]
http://www.songmeanings.net/search/?scope=artists&search_value=$replace(%artist%, ,+)&command=go
which comes up with some sort of error.

Would it be possible for someone to explain a quick and simple method of working out web searches for use in foo_run?
Title: foo_run 0.3.7
Post by: m-z on 2008-11-02 19:17:33
Try this one:
Code: [Select]
http://www.songmeanings.net/search/1/?scope=artists&search_value=$replace(%artist%, ,+)&command=go


You can always use Google too:
Code: [Select]
http://www.google.com/search?q=$replace(%artist%, ,+)+$replace(%title%, ,+)+site:www.songmeanings.net
Title: foo_run 0.3.7
Post by: annoying mouse on 2008-11-02 19:42:06
The top one works great.  Thanks!
Title: foo_run 0.3.7
Post by: thuan on 2008-11-03 14:53:59
This component does not work with the latest foobar beta, can you recompiled it, please, original author?
Title: foo_run 0.3.7
Post by: tpijag on 2008-11-03 15:00:06
Using the following without issue:

foobar 9.6 beta 2
foo_run 3.4

terry
Title: foo_run 0.3.7
Post by: unabatedshagie on 2008-11-03 15:16:03
I'm running 0.9.6 beta 3 and foo run version 0.3.4 with no issues.
Title: foo_run 0.3.7
Post by: thuan on 2008-11-03 16:06:45
Thanks both of you, I thought I was running the latest version.
Title: foo_run 0.3.7
Post by: Zaitech on 2008-11-03 17:39:24
He's not working for me either
I've got Windows XP SP2
Title: foo_run 0.3.7
Post by: thuan on 2008-11-04 01:15:34
It works for me after updating, please try updating http://mp3tag.de/en/fb2k.html (http://mp3tag.de/en/fb2k.html) . If it still doesn't work I think you have some other problems.
Title: foo_run 0.3.7
Post by: Zaitech on 2008-11-04 11:09:32
it's still not working
i've got this message error
Code: [Select]
Illegal operation:
Code: C0000005h, flags: 00000000h, address: 01592DACh
Access violation, operation: read, address: 00000000h
Call path:
entry=>user_interface::init
Code bytes (01592DACh):
01592D6Ch:  C4 0C 85 C0 74 1A 6A 10 68 94 2E 5B 01 FF 75 14
01592D7Ch:  E8 34 8F 00 00 83 C4 0C 85 C0 74 04 32 C0 EB 17
01592D8Ch:  8B 4D 08 8B 01 6A FF 68 38 2A 5B 01 FF 50 08 8B
01592D9Ch:  45 0C 83 20 00 B0 01 5D C2 10 00 A1 68 82 5B 01
01592DACh:  8B 08 8B 01 FF 20 6A 08 E8 E4 A6 00 00 59 85 C0
01592DBCh:  74 0F 8B 4C 24 04 C7 00 68 2A 5B 01 89 48 04 EB
01592DCCh:  02 33 C0 C2 04 00 8B 44 24 04 56 57 BE 4C 26 5B
01592DDCh:  01 8B F8 A5 A5 A5 A5 5F 5E C2 04 00 32 C0 C3 8B
Stack (0012AA78h):
0012AA58h:  A395F7D8 A395F170 80566A6C 00000001
0012AA68h:  A395F3DC 0000003B 00000083 0075C790
0012AA78h:  0185E220 6E4F6FB4 0012AB44 0012ABF0
0012AA88h:  015D48E8 00000000 00000000 00000010
0012AA98h:  018DB994 00000000 00000000 00000000
0012AAA8h:  018D367C 0193B320 0000001C 0000001C
0012AAB8h:  00000017 018D367C 0193B2C8 0000001C
0012AAC8h:  0000001C 0000000B 00000000 0012ABF0
0012AAD8h:  0012AAF0 0159D4BC 00000004 0187C259
0012AAE8h:  0012AB74 018C2C88 00000001 0185E636
0012AAF8h:  015D482F 01F5BF6C 0012ABF0 00000001
0012AB08h:  00000001 6E4F6E24 01F5BF5C 00000000
0012AB18h:  0012AC54 01F5BDD0 8007000E 0012AB90
0012AB28h:  015B754C 00000000 00000001 015D48E8
0012AB38h:  00000012 003CBB68 018DB994 00000000
0012AB48h:  00000000 00000000 75D1DD87 4AAC9E48
0012AB58h:  25AAA98A BD5AC0D6 018D367C 0193D270
0012AB68h:  0000001C 0000001C 0000000B 0012AC44
0012AB78h:  018C4030 00000005 01863C07 01F5BF5C
0012AB88h:  01F5BF6C 0012ABF0 00000001 6E4F6EAC
Registers:
EAX: 00000000, EBX: 00000000, ECX: 015D48E8, EDX: 015B2A90
ESI: 0012AA9C, EDI: 0012AA9C, EBP: 015D48E8, ESP: 0012AA78
Crash location: "foo_run", loaded at 01590000h - 015BE000h

Loaded modules:
foobar2000                       loaded at 00400000h - 00538000h
ntdll                            loaded at 7C910000h - 7C9C7000h
kernel32                         loaded at 7C800000h - 7C905000h
COMCTL32                         loaded at 77390000h - 77493000h
msvcrt                           loaded at 77BE0000h - 77C38000h
ADVAPI32                         loaded at 77DA0000h - 77E4F000h
RPCRT4                           loaded at 77E50000h - 77EE1000h
GDI32                            loaded at 77EF0000h - 77F37000h
USER32                           loaded at 7E390000h - 7E421000h
SHLWAPI                          loaded at 77F40000h - 77FB6000h
SHELL32                          loaded at 7C9D0000h - 7D1F5000h
ole32                            loaded at 774A0000h - 775DD000h
shared                           loaded at 10000000h - 1002A000h
UxTheme                          loaded at 5B090000h - 5B0C8000h
COMDLG32                         loaded at 76340000h - 7638A000h
IMM32                            loaded at 76320000h - 7633D000h
MSCTF                            loaded at 74690000h - 746DC000h
msctfime                         loaded at 75140000h - 7516E000h
foo_freedb2                      loaded at 00AC0000h - 00B00000h
foo_playcount                    loaded at 00B10000h - 00B3A000h
foo_navigator                    loaded at 00B60000h - 00B94000h
foo_input_wma                    loaded at 00BC0000h - 00BEE000h
WMVCore                          loaded at 7D790000h - 7D99B000h
DRMClien                         loaded at 00C00000h - 00C4F000h
OLEAUT32                         loaded at 770E0000h - 7716B000h
MSACM32                          loaded at 77BB0000h - 77BC5000h
WINMM                            loaded at 76AE0000h - 76B0F000h
msdmo                            loaded at 73600000h - 73607000h
MSVFW32                          loaded at 75BA0000h - 75BC1000h
urlmon                           loaded at 44160000h - 44287000h
iertutil                         loaded at 43E00000h - 43E45000h
VERSION                          loaded at 77BD0000h - 77BD8000h
WININET                          loaded at 44080000h - 44150000h
Normaliz                         loaded at 00C50000h - 00C59000h
WMASF                            loaded at 59A10000h - 59A4C000h
wmidx                            loaded at 4B410000h - 4B439000h
WSOCK32                          loaded at 71A10000h - 71A1A000h
WS2_32                           loaded at 719F0000h - 71A07000h
WS2HELP                          loaded at 719E0000h - 719E8000h
foo_uie_graphical_browser        loaded at 00E90000h - 00F24000h
MSIMG32                          loaded at 76310000h - 76315000h
gdiplus                          loaded at 4EB80000h - 4ED26000h
foo_infobox                      loaded at 00F50000h - 00F90000h
foo_uie_albumart                 loaded at 00FB0000h - 00FED000h
foo_input_mslive                 loaded at 01010000h - 01051000h
foo_dsp_std                      loaded at 01080000h - 010C8000h
foo_uie_quicksearch              loaded at 010F0000h - 01136000h
foo_uie_lyrics                   loaded at 01160000h - 011BC000h
foo_uie_lyrics_panel             loaded at 011E0000h - 01244000h
foo_whatsnew                     loaded at 01270000h - 012B0000h
foo_converter                    loaded at 012D0000h - 0133C000h
foo_ui_std                       loaded at 01360000h - 01434000h
foo_unpack                       loaded at 01460000h - 0148D000h
foo_abx                          loaded at 014B0000h - 014E1000h
foo_rgscan                       loaded at 01510000h - 0156B000h
foo_run                          loaded at 01590000h - 015BE000h
foo_fileops                      loaded at 015E0000h - 01626000h
foo_uie_vis_peakmeter_spectrum   loaded at 01650000h - 0168F000h
foo_uie_trackinfo                loaded at 016B0000h - 016D5000h
foo_uie_trackinfo_mod            loaded at 01700000h - 01756000h
MSVCP80                          loaded at 7C420000h - 7C4A7000h
MSVCR80                          loaded at 78130000h - 781CB000h
foo_menu_addons                  loaded at 01780000h - 017C5000h
foo_ui_columns                   loaded at 017F0000h - 0191D000h
foo_utils                        loaded at 01940000h - 01984000h
foo_cdda                         loaded at 019B0000h - 019F1000h
foo_uie_vis_channel_spectrum     loaded at 01A20000h - 01A5D000h
foo_misc_addons                  loaded at 01A80000h - 01AAA000h
foo_snarl                        loaded at 01AD0000h - 01AF2000h
foo_uie_elplaylist               loaded at 01B20000h - 01B87000h
foo_dbsearch                     loaded at 01BB0000h - 01C20000h
foo_input_std                    loaded at 01C40000h - 01D79000h
foo_albumlist                    loaded at 01DA0000h - 01E0B000h
mscms                            loaded at 73A80000h - 73A95000h
WINSPOOL                         loaded at 72F50000h - 72F76000h
icm32                            loaded at 58A10000h - 58A51000h
libpng13                         loaded at 036A0000h - 036E5000h
zlib1                            loaded at 03700000h - 03728000h
imagehlp                         loaded at 76C40000h - 76C68000h
DBGHELP                          loaded at 5D3F0000h - 5D491000h

Stack dump analysis:
Address: 0185E220h, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 018DB994h, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 018D367Ch, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 018D367Ch, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 0159D4BCh, location: "foo_run", loaded at 01590000h - 015BE000h
Address: 0187C259h, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 018C2C88h, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 0185E636h, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 015B754Ch, location: "foo_run", loaded at 01590000h - 015BE000h
Address: 018DB994h, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 018D367Ch, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 018C4030h, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 01863C07h, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 018D367Ch, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 7E39B3BCh, location: "USER32", loaded at 7E390000h - 7E421000h
Symbol: "DefWindowProcW" (+00000090h)
Address: 7E39B397h, location: "USER32", loaded at 7E390000h - 7E421000h
Symbol: "DefWindowProcW" (+0000006Bh)
Address: 018C72DEh, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 01864136h, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 7E39C129h, location: "USER32", loaded at 7E390000h - 7E421000h
Symbol: "GetClassLongW" (+00000030h)
Address: 7E398896h, location: "USER32", loaded at 7E390000h - 7E421000h
Symbol: "GetWindowLongW" (+00000000h)
Address: 7E39D3C6h, location: "USER32", loaded at 7E390000h - 7E421000h
Symbol: "EnumDisplayMonitors" (+0000047Bh)
Address: 7E398B16h, location: "USER32", loaded at 7E390000h - 7E421000h
Symbol: "GetWindowThreadProcessId" (+000000A6h)
Address: 0188FFB0h, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 7E3988C1h, location: "USER32", loaded at 7E390000h - 7E421000h
Symbol: "GetWindowLongW" (+0000002Bh)
Address: 7E3988CAh, location: "USER32", loaded at 7E390000h - 7E421000h
Symbol: "GetWindowLongW" (+00000034h)
Address: 018C7750h, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 7E3C0477h, location: "USER32", loaded at 7E390000h - 7E421000h
Symbol: "DeregisterShellHookWindow" (+000001CFh)
Address: 01890146h, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 0188FFB0h, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 7E3988CAh, location: "USER32", loaded at 7E390000h - 7E421000h
Symbol: "GetWindowLongW" (+00000034h)
Address: 0188FFB0h, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 7E398724h, location: "USER32", loaded at 7E390000h - 7E421000h
Symbol: "GetDC" (+0000006Dh)
Address: 0188FFB0h, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 0188FFB0h, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 7E39D043h, location: "USER32", loaded at 7E390000h - 7E421000h
Symbol: "EnumDisplayMonitors" (+000000F8h)
Address: 0188FFB0h, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 7E3C0477h, location: "USER32", loaded at 7E390000h - 7E421000h
Symbol: "DeregisterShellHookWindow" (+000001CFh)
Address: 7E398820h, location: "USER32", loaded at 7E390000h - 7E421000h
Symbol: "GetDC" (+00000169h)
Address: 7E39B4B0h, location: "USER32", loaded at 7E390000h - 7E421000h
Symbol: "DefWindowProcW" (+00000184h)
Address: 0188FFB0h, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 7E3C0477h, location: "USER32", loaded at 7E390000h - 7E421000h
Symbol: "DeregisterShellHookWindow" (+000001CFh)
Address: 7E39B4C0h, location: "USER32", loaded at 7E390000h - 7E421000h
Symbol: "DefWindowProcW" (+00000194h)
Address: 7E39FD09h, location: "USER32", loaded at 7E390000h - 7E421000h
Symbol: "UserClientDllInitialize" (+000007F1h)
Address: 0188FFB0h, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 7C91EAE3h, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "KiUserCallbackDispatcher" (+00000013h)
Address: 017F0000h, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 018D9200h, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 0188FFB0h, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 7E39B463h, location: "USER32", loaded at 7E390000h - 7E421000h
Symbol: "DefWindowProcW" (+00000137h)
Address: 7E3A011Eh, location: "USER32", loaded at 7E390000h - 7E421000h
Symbol: "CreateWindowExW" (+000001EEh)
Address: 7E3A00E4h, location: "USER32", loaded at 7E390000h - 7E421000h
Symbol: "CreateWindowExW" (+000001B4h)
Address: 017F0000h, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 018D9200h, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 7E3A0109h, location: "USER32", loaded at 7E390000h - 7E421000h
Symbol: "CreateWindowExW" (+000001D9h)
Address: 017F0000h, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 7C9205D4h, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "RtlAllocateHeap" (+00000000h)
Address: 01B6B618h, location: "foo_uie_elplaylist", loaded at 01B20000h - 01B87000h
Address: 01B38240h, location: "foo_uie_elplaylist", loaded at 01B20000h - 01B87000h
Address: 01B3B300h, location: "foo_uie_elplaylist", loaded at 01B20000h - 01B87000h
Address: 01B38240h, location: "foo_uie_elplaylist", loaded at 01B20000h - 01B87000h
Address: 7C920732h, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "RtlAllocateHeap" (+0000015Eh)
Address: 7C920732h, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "RtlAllocateHeap" (+0000015Eh)
Address: 7C920732h, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "RtlAllocateHeap" (+0000015Eh)
Address: 7C91EE18h, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "strchr" (+00000117h)
Address: 7C921538h, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "wcsncpy" (+00000AA9h)
Address: 7C921596h, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "wcsncpy" (+00000B07h)
Address: 7C9206EBh, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "RtlAllocateHeap" (+00000117h)
Address: 7C9205D4h, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "RtlAllocateHeap" (+00000000h)
Address: 7C927C0Ch, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "RtlReAllocateHeap" (+0000020Fh)
Address: 7C927BF5h, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "RtlReAllocateHeap" (+000001F8h)
Address: 7C927BB0h, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "RtlReAllocateHeap" (+000001B3h)
Address: 7C920732h, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "RtlAllocateHeap" (+0000015Eh)
Address: 7C920732h, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "RtlAllocateHeap" (+0000015Eh)
Address: 7C920732h, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "RtlAllocateHeap" (+0000015Eh)
Address: 7C9205D4h, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "RtlAllocateHeap" (+00000000h)
Address: 7C91EE18h, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "strchr" (+00000117h)
Address: 7C920738h, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "RtlAllocateHeap" (+00000164h)
Address: 7C920732h, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "RtlAllocateHeap" (+0000015Eh)
Address: 7C9206ABh, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "RtlAllocateHeap" (+000000D7h)
Address: 7C9206EBh, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "RtlAllocateHeap" (+00000117h)
Address: 7C9205D4h, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "RtlAllocateHeap" (+00000000h)
Address: 7E399481h, location: "USER32", loaded at 7E390000h - 7E421000h
Symbol: "GetWindowLongA" (+00000034h)
Address: 7E3994AEh, location: "USER32", loaded at 7E390000h - 7E421000h
Symbol: "GetWindowLongA" (+00000061h)
Address: 7E39B41Dh, location: "USER32", loaded at 7E390000h - 7E421000h
Symbol: "DefWindowProcW" (+000000F1h)
Address: 7C927BF5h, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "RtlReAllocateHeap" (+000001F8h)
Address: 7C927BB0h, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "RtlReAllocateHeap" (+000001B3h)
Address: 7E3C0477h, location: "USER32", loaded at 7E390000h - 7E421000h
Symbol: "DeregisterShellHookWindow" (+000001CFh)
Address: 7E39B3E9h, location: "USER32", loaded at 7E390000h - 7E421000h
Symbol: "DefWindowProcW" (+000000BDh)
Address: 5B091AF6h, location: "UxTheme", loaded at 5B090000h - 5B0C8000h
Address: 7C91EE18h, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "strchr" (+00000117h)
Address: 7C920738h, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "RtlAllocateHeap" (+00000164h)
Address: 7C9205C8h, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "RtlFreeHeap" (+0000018Bh)
Address: 7C920551h, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "RtlFreeHeap" (+00000114h)
Address: 7C92056Dh, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "RtlFreeHeap" (+00000130h)
Address: 5B091B3Dh, location: "UxTheme", loaded at 5B090000h - 5B0C8000h
Address: 7E398BC9h, location: "USER32", loaded at 7E390000h - 7E421000h
Symbol: "GetWindowThreadProcessId" (+00000159h)
Address: 7E3F1088h, location: "USER32", loaded at 7E390000h - 7E421000h
Address: 7E39B3BCh, location: "USER32", loaded at 7E390000h - 7E421000h
Symbol: "DefWindowProcW" (+00000090h)
Address: 7E39B397h, location: "USER32", loaded at 7E390000h - 7E421000h
Symbol: "DefWindowProcW" (+0000006Bh)
Address: 7C9205C8h, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "RtlFreeHeap" (+0000018Bh)
Address: 7C920551h, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "RtlFreeHeap" (+00000114h)
Address: 7C92056Dh, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "RtlFreeHeap" (+00000130h)
Address: 018417D2h, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 0189C560h, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 7C91EE18h, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "strchr" (+00000117h)
Address: 7C92056Dh, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "RtlFreeHeap" (+00000130h)
Address: 01898BC9h, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 01898BE8h, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 0189C560h, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 7C91EE18h, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "strchr" (+00000117h)
Address: 7C9206F0h, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "RtlAllocateHeap" (+0000011Ch)
Address: 7C91EE18h, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "strchr" (+00000117h)
Address: 7C920570h, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "RtlFreeHeap" (+00000133h)
Address: 7C920833h, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "RtlAllocateHeap" (+0000025Fh)
Address: 017F0108h, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 7C91EE18h, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "strchr" (+00000117h)
Address: 7C920838h, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "RtlAllocateHeap" (+00000264h)
Address: 7E3A01D7h, location: "USER32", loaded at 7E390000h - 7E421000h
Symbol: "CreateWindowExW" (+000002A7h)
Address: 017F0000h, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 018F902Ch, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 018BE388h, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 018613D8h, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 018613F1h, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 018BECF8h, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 018D9200h, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 7E39FF63h, location: "USER32", loaded at 7E390000h - 7E421000h
Symbol: "CreateWindowExW" (+00000033h)
Address: 018D9200h, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 017F0000h, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 0188FE31h, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 018D9200h, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 017F0000h, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 018D9AF4h, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 017FC524h, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 0183EBC0h, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 018D50CCh, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 7E39B41Dh, location: "USER32", loaded at 7E390000h - 7E421000h
Symbol: "DefWindowProcW" (+000000F1h)
Address: 018D6E60h, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 7E39B3E9h, location: "USER32", loaded at 7E390000h - 7E421000h
Symbol: "DefWindowProcW" (+000000BDh)
Address: 7E3994AEh, location: "USER32", loaded at 7E390000h - 7E421000h
Symbol: "GetWindowLongA" (+00000061h)
Address: 7E39B41Dh, location: "USER32", loaded at 7E390000h - 7E421000h
Symbol: "DefWindowProcW" (+000000F1h)
Address: 018D367Ch, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 0101BB88h, location: "foo_input_mslive", loaded at 01010000h - 01051000h
Address: 018C31CEh, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 0183FE0Ah, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 7E398B16h, location: "USER32", loaded at 7E390000h - 7E421000h
Symbol: "GetWindowThreadProcessId" (+000000A6h)
Address: 0188FFB0h, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 7E3988C1h, location: "USER32", loaded at 7E390000h - 7E421000h
Symbol: "GetWindowLongW" (+0000002Bh)
Address: 7E3988CAh, location: "USER32", loaded at 7E390000h - 7E421000h
Symbol: "GetWindowLongW" (+00000034h)
Address: 0188FFB0h, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 7E3C0477h, location: "USER32", loaded at 7E390000h - 7E421000h
Symbol: "DeregisterShellHookWindow" (+000001CFh)
Address: 01890146h, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 0188FFB0h, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 7E3988CAh, location: "USER32", loaded at 7E390000h - 7E421000h
Symbol: "GetWindowLongW" (+00000034h)
Address: 0188FFB0h, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 7E398724h, location: "USER32", loaded at 7E390000h - 7E421000h
Symbol: "GetDC" (+0000006Dh)
Address: 0188FFB0h, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 0188FFB0h, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 7E39D043h, location: "USER32", loaded at 7E390000h - 7E421000h
Symbol: "EnumDisplayMonitors" (+000000F8h)
Address: 0188FFB0h, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 7E3C0477h, location: "USER32", loaded at 7E390000h - 7E421000h
Symbol: "DeregisterShellHookWindow" (+000001CFh)
Address: 7E398820h, location: "USER32", loaded at 7E390000h - 7E421000h
Symbol: "GetDC" (+00000169h)
Address: 7E39B4B0h, location: "USER32", loaded at 7E390000h - 7E421000h
Symbol: "DefWindowProcW" (+00000184h)
Address: 0188FFB0h, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 7E3C0477h, location: "USER32", loaded at 7E390000h - 7E421000h
Symbol: "DeregisterShellHookWindow" (+000001CFh)
Address: 7E39B4C0h, location: "USER32", loaded at 7E390000h - 7E421000h
Symbol: "DefWindowProcW" (+00000194h)
Address: 7E39FD09h, location: "USER32", loaded at 7E390000h - 7E421000h
Symbol: "UserClientDllInitialize" (+000007F1h)
Address: 0188FFB0h, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 7C91EAE3h, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "KiUserCallbackDispatcher" (+00000013h)
Address: 017F0000h, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 018D6E80h, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 0188FFB0h, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 7E39B463h, location: "USER32", loaded at 7E390000h - 7E421000h
Symbol: "DefWindowProcW" (+00000137h)
Address: 7E3A011Eh, location: "USER32", loaded at 7E390000h - 7E421000h
Symbol: "CreateWindowExW" (+000001EEh)
Address: 7E3A00E4h, location: "USER32", loaded at 7E390000h - 7E421000h
Symbol: "CreateWindowExW" (+000001B4h)
Address: 017F0000h, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 018D6E80h, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 7E3A0109h, location: "USER32", loaded at 7E390000h - 7E421000h
Symbol: "CreateWindowExW" (+000001D9h)
Address: 017F0000h, location: "foo_ui_columns", loaded at 017F0000h - 0191D000h
Address: 7C920732h, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "RtlAllocateHeap" (+0000015Eh)
Address: 7C91EE18h, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "strchr" (+00000117h)
Address: 7C921538h, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "wcsncpy" (+00000AA9h)
Address: 7C9206EBh, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "RtlAllocateHeap" (+00000117h)
Address: 01B22D90h, location: "foo_uie_elplaylist", loaded at 01B20000h - 01B87000h
Address: 01B579E9h, location: "foo_uie_elplaylist", loaded at 01B20000h - 01B87000h
Address: 01B72F88h, location: "foo_uie_elplaylist", loaded at 01B20000h - 01B87000h
Address: 01B72F80h, location: "foo_uie_elplaylist", loaded at 01B20000h - 01B87000h
Address: 01B72EB0h, location: "foo_uie_elplaylist", loaded at 01B20000h - 01B87000h
Address: 01B72EB0h, location: "foo_uie_elplaylist", loaded at 01B20000h - 01B87000h
Address: 01B72EB0h, location: "foo_uie_elplaylist", loaded at 01B20000h - 01B87000h
Address: 01B72EB0h, location: "foo_uie_elplaylist", loaded at 01B20000h - 01B87000h
Address: 01B72EB0h, location: "foo_uie_elplaylist", loaded at 01B20000h - 01B87000h
Address: 01B72EB0h, location: "foo_uie_elplaylist", loaded at 01B20000h - 01B87000h
Address: 01B72EB0h, location: "foo_uie_elplaylist", loaded at 01B20000h - 01B87000h
Address: 01B72EB0h, location: "foo_uie_elplaylist", loaded at 01B20000h - 01B87000h
Address: 01B72EB0h, location: "foo_uie_elplaylist", loaded at 01B20000h - 01B87000h
Address: 01B72EB0h, location: "foo_uie_elplaylist", loaded at 01B20000h - 01B87000h
Address: 01B72EB0h, location: "foo_uie_elplaylist", loaded at 01B20000h - 01B87000h
Address: 01B72EB0h, location: "foo_uie_elplaylist", loaded at 01B20000h - 01B87000h
Address: 7C9205C8h, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "RtlFreeHeap" (+0000018Bh)
Address: 7C920551h, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "RtlFreeHeap" (+00000114h)
Address: 7C92056Dh, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "RtlFreeHeap" (+00000130h)
Address: 7E3994AEh, location: "USER32", loaded at 7E390000h - 7E421000h
Symbol: "GetWindowLongA" (+00000061h)
Address: 7C920732h, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "RtlAllocateHeap" (+0000015Eh)
Address: 7C91EE18h, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "strchr" (+00000117h)
Address: 7C921538h, location: "ntdll", loaded at 7C910000h - 7C9C7000h
Symbol: "wcsncpy" (+00000AA9h)

Version info:
foobar2000 v0.9.6 beta 3
UNICODE
Windows 5.1


Additional info:
Special file info box 2.0.4  (foo_infobox)
Acro WMA decoder 0.1.7.2 (SSE)  (foo_input_wma)
CD Audio Decoder 2.1.3  (foo_cdda)
ReplayGain Scanner 2.0.8  (foo_rgscan)
Run services 0.3.4  (foo_run)
Channel Spectrum panel 0.17.2  (foo_uie_vis_channel_spectrum)
Misc. Addons 0.1.4 (SSE)  (foo_misc_addons)
ABX Comparator 1.3.3  (foo_abx)
Track info panel mod 0.8.0 beta [Jan  5 2007 - 13:36:12]  (foo_uie_trackinfo_mod)
Lyric Show Panel 0.3.3.3 [Sep 23 2008 - 14:15:11]  (foo_uie_lyrics)
Standard Input Array 1.0  (foo_input_std)
ELPlaylist 0.6.2.8(beta)  (foo_uie_elplaylist)
Lyrics panel 0.35  (foo_uie_lyrics_panel)
Quick Search Toolbar 2.8l  (foo_uie_quicksearch)
Feature Watcher 1.0.6  (foo_whatsnew)
ZIP/GZIP reader 1.0  (foo_unpack)
Navigator 0.63  (foo_navigator)
Album List 4.3  (foo_albumlist)
Peakmeter Spectrum Visualisation 0.1.0.2 beta  (foo_uie_vis_peakmeter_spectrum)
Converter 1.2  (foo_converter)
Playlist Tools 0.6.2 beta 6  (foo_utils)
Album Art Panel 0.2.7.1  (foo_uie_albumart)
Database Search 1.4  (foo_dbsearch)
Graphical Browser rev015  (foo_uie_graphical_browser)
File Operations 2.1  (foo_fileops)
Columns UI 0.3.4.2  (foo_ui_columns)
foo_snarl 0.0.1.5  (foo_snarl)
freedb Tagger 0.6  (foo_freedb2)
Track info panel 0.8  (foo_uie_trackinfo)
RAR reader 1.1  (foo_unpack)
Default User Interface 0.9.5  (foo_ui_std)
mslive 0.4.8 (SSE)  (foo_input_mslive)
Menu Addons 0.4 (SSE)  (foo_menu_addons)
Standard DSP Array 1.0  (foo_dsp_std)
Playback Statistics 2.1.6  (foo_playcount)
foobar2000 core 0.9.6 beta 3  (Core)

If any can help me it would be very nice
Title: foo_run 0.3.7
Post by: thuan on 2008-11-04 12:17:44
I don't really know so the only advice I can give you to find out which component is problematic is to remove less necessary components one by one until foobar runs ok.
Title: foo_run 0.3.7
Post by: Zaitech on 2008-11-04 12:47:08
it's working when i'm removing foo_run
when i'am installing a new foobar2000 it's working but when i'm closing foobar for the first time and i restart it doesnt work anymore
Title: foo_run 0.3.7
Post by: r3v0 on 2008-11-04 15:34:20
Hi, is there anyone who can show me how to make an
imagebutton work with foo_run in panel stack splitter?

I couldn't find it on the forums, and the ones i found didn't do anything,
allthough they work from the context menu.

r3v0

EDIT:

After searching a while longer, i found out that foo_run probably won't run as it should in PSS.
But, if somebody has a way to bypass it, without using track_info_mod...
Title: foo_run 0.3.7
Post by: jeriko on 2008-11-28 10:36:20
Hello!

If I launch foobar, I wanted to run an external application through(?) the plugin.
I tried

Label: CD ART
Path: "C:\Program Files '('x86')'\foobar2000\CDArt Display\CAD.exe"

But nothing happens when I start foobar :/

Anyone can help?

Regards,
jeriko
Title: foo_run 0.3.7
Post by: jeremija on 2008-11-29 12:17:48
it doesn't work that way, you have to iether set a shortcut key or start the process through the context menu.
Title: foo_run 0.3.7
Post by: muzack on 2008-12-17 20:28:21
hi, just a question, how do I call multiple selections of files or better artists.
at example how must look the googlesearch query script in foo_run, if I select two different artists and I will search for both, do you know what I mean?
I need to generate a string like that artist=artist1&artist=artist2
thanks for any hint
best m.
Title: foo_run 0.3.7
Post by: Hayden54 on 2009-01-04 04:52:14
I'm opening Mp3tag through foobar with two separate commands: one for a whole directory (a full album), and another for a single file.

In mp3tag I have two actions (one for albums another for singles) set up that I do for each of these to embed the album art into the file.

I was wondering if anybody knows if there is a way to automate those actions using foo_run.
Title: foo_run 0.3.7
Post by: Florian on 2009-02-12 13:22:59
I've just released foo_run 0.3.5!

Release notes:
Quote
FIX: slash character / was not allowed to be used in labels.

You can get it from the first post of this topic.
Title: foo_run 0.3.7
Post by: 2E7AH on 2009-02-12 13:33:02
first i thought we can make submenus with that slash, but ok then
Title: foo_run 0.3.7
Post by: Florian on 2009-02-12 13:36:16
first i thought we can make submenus with that slash, but ok then
Nope, unfortunately not. But I'll add it to the wish list
Title: foo_run 0.3.7
Post by: 2E7AH on 2009-02-12 13:39:41
hey, thanks
Title: foo_run 0.3.7
Post by: Mar2zz on 2009-02-22 22:19:14
I am trying to run foo_run from an external program. I use this:
"C:\Program Files\foobar2000\foobar2000.exe" "/playing_command:Run service/Search Cover"
or
"C:\Program Files\foobar2000\foobar2000.exe" "/playing_command:Run service:Search Cover"
or
"C:\Program Files\foobar2000\foobar2000.exe" "/command:Run Service/Search Cover"
and so on...

I know it works ok, run service is in my contextmenu, and whenever I play a file and click it, it starts AlbumArtDownloader and finds the correct covers.

I also know for sure the external command is passed to foobar, as "C:\Program Files\foobar2000\foobar2000.exe" "/playing_command:Lyrics Grabber/Lyrics Plugin" works fine!

What parameter do I need?
Title: foo_run 0.3.7
Post by: SardonicWrath on 2009-02-24 13:31:24
interesting question... i tried it myself for a while, no idea why it doesn't work.

i have the feeling that not all third-party plugin- commands are completly intergrated into foobars command system.
This seems to be the case with foo_run (hotkeys don't work either)
Title: foo_run 0.3.7
Post by: Yirkha on 2009-02-24 15:18:37
Commands which generate submenus dynamically (e.g. converter presets or the run services above) are generally enumerated only when the whole menu is being constructed. And I think that currently happens only when it's activated by user.

But you might like foosion's Run Command (http://foosion.foobar2000.org/components/?id=runcmd) component, it works with it.

ETA: Not a solution for hotkeys, I know.
Title: foo_run 0.3.7
Post by: Mar2zz on 2009-02-24 17:55:37
Thank you! This works like a treat!

"C:\Program Files\foobar2000\foobar2000.exe" "/runcmd-playing=Run service/Search Cover"

this is gonna be so much fun in my sidebar.
Title: foo_run 0.3.7
Post by: bubi jackson on 2009-02-24 19:15:35
Commands which generate submenus dynamically (e.g. converter presets or the run services above) are generally enumerated only when the whole menu is being constructed. And I think that currently happens only when it's activated by user.


Thank you, Yirkha for the explanation.

I was in despair, because with /command: rating buttons in the quicklaunch bar weren't working but with runcmd they were very good.
Title: foo_run 0.3.7
Post by: Steve Forte Rio on 2009-03-16 09:37:02
How to insert pause comand to the end of service command line - like in *.bat file?
Title: foo_run 0.3.7
Post by: vogliadicane on 2009-03-16 16:55:49
I´ve made a button (in track info mode) to open shoutcast by using a foo_run command. This works well, but only as long as a track is playing, but not after stop.

What do I have to do to make it always work?

P.S. as a command in the button I used 'Shoutcast' (not something like "Run service/Shoutcast", because that didn´t work at all...)
Title: foo_run 0.3.7
Post by: Florian on 2009-03-27 22:01:11
I've just released foo_run 0.3.6!

Release notes:
Quote
FIX: fixed a possible runtime error.

You can get it from the first post of this topic.
Title: foo_run 0.3.7
Post by: wojtek on 2009-03-28 08:26:38
I'm having problem with unicode characters. When I want to search with webbrowser for a given artist/song i always get search for string with question marks instead of real characters. I've tried setting different browsers as default and situation persist (Opera, IE, Fx). Would it be possible to fix it somehow or am I missing something in configuration? (for googling I use string: "http://www.google.com/search?q=$replace(%artist%, ,+)&ie=utf-8" )
Title: foo_run 0.3.7
Post by: novembre on 2009-03-28 13:29:36
I'd like to make a feature request: could the number of simultaneous runs be conditioned by the actual string produced to run the external program? I'll try to explain with an example:
Let's say have two tracks from the same artist, both of them are selected, and I would like to open artist's Wikipedia page, number of simultaneous runs is set to 20. To avoid the browser from opening two tabs with the same URL, at the moment I'll have to set number of simultaneous runs to 1 or select only one track, the latter seems the logical one, and it doesn't require too much effort.
But there are other situations, for example I have 10 albums with 12 tracks each and I'd like to search and download the 10 covers with Album Art Downloader. If I select all 120 tracks and run the command, Album Art Downloader receives the first 20 (the number of simultaneous runs) of 120 strings, which are 10 groups of 12 identical strings, resulting in a waste of resources. In order to avoid this I'll have to select one track per album or run the command for one track per album.
It would be useful if foo_run checks the strings produced and removes the redundant ones.
Title: foo_run 0.3.7
Post by: panda.meloman on 2009-04-03 10:31:16
feature request in addition to simultaneous runs:
1. ignore duplicates (ignore execution if running string similar to previous)
2. choose from parallel & serial execution (execute commands consecutively, one after another)
Title: foo_run 0.3.7
Post by: Nemphael on 2009-04-13 15:22:20
I agree with panda.meloman. It would be nice to, for example, run bat scripts with multiple inputs. For instance, I have this:
Code: [Select]
a > "E:\FPresults.txt"

FOR %%A IN (%*) DO (
    echo %%A >> "E:\FPresults.txt"
    lastfmfpclient %%A >> "E:\FPresults.txt"
    echo.>> "E:\FPresults.txt"
    echo.>> "E:\FPresults.txt"

)
"E:\FPresults.txt"
Title: foo_run 0.3.7
Post by: Hayden54 on 2009-04-19 00:00:25
One of the things I have used foo_run for in the past is searching pitchfork for record reviews, but since they have changed the site it has stopped working. Does anybody know which query to use now?

I was using this:


http://www.pitchforkmedia.com/search/recor...uery?query' (http://www.pitchforkmedia.com/search/record_reviews/query?query')['artist']'=$replace(%artist%, ,+)'&query[title]=&query[record_label]=&query[author]=&query[keywords]=&query[min_score]=&query[max_score]=&x=0&y=0'

EDIT: Was just searching around and looked at the firefox pitchfork search plugin. This seems to work:
http://www.pitchfork.com/search/?query=�...eplace(%artist% (http://www.pitchfork.com/search/?query=$replace(%artist%) %album%, ,+)'
Title: foo_run 0.3.7
Post by: theJesus on 2009-05-22 08:05:33
Feature Request:

Ability to enable sub-categories in the context menu under "Run service."
Example:

>Context Menu
-->>Run service
----->>Google
--------->>Artist
--------->>Artist + Album
----->>AllMusic
--------->>Artist
--------->>Album

This could be a very useful feature for people with lots of scripts

EDIT:  Even better would be the ability to add certain "services" to other parts of the context menu.  So I guess that would involve getting foobar to treat each "service" as a separate menu item.  I think that would also be useful for binding hotkeys.  I'm also in favor of the other feature requests made since the last release
Title: foo_run 0.3.7
Post by: MusX on 2009-05-23 09:43:02
if anybody wants
for last.fm direct link to profile
Code: [Select]
http://www.last.fm/music/$replace(%artist%, ,+)

for metal-archives search
Code: [Select]
http://www.google.com/search?q=site:metal-archives.com+$replace(%artist%, ,+)&ie=utf-8

for song lyrics
Code: [Select]
http://www.google.com/search?q=$replace(%artist%+%title%, ,+)+lyrics&ie=utf-8

question, how to add " " in the web address to search lyrics for "whole song name in one string" also "artists with few words in their name as one string"?
thx for plugin
Title: foo_run 0.3.7
Post by: s33m33 on 2009-05-23 19:48:49
@MusX

Just enclose the characters with a (') symbol without the brackets.

e.g. '"'song name as a string'"'
Title: foo_run 0.3.7
Post by: annoyingmouse on 2009-06-04 23:59:49
Could anyone tell me if it is possible to do either of the following?

1)  I'm trying to find a way of loading a bookmark in firefox through run services that would use the %artist% information to load either the title or tag of a bookmark.  This way I can set up bookmarks in firefox with the urls of artist's official sites or whatever and load them from both the address bar in firefox and, more relevantly, from foobar.  I'm not sure if this is remotely possible but it would be useful.  If it's not then that leads me to...

2)  How can I include spaces in the path of the Service Properties?  I found that a way around the above is to create a folder with the links to sites as shortcuts (*.url files) each with the name of the artist.  If I use
Code: [Select]
c:\musiclinks\$replace(%artist%, ,+).url
I can access the files as long as they have a "+" character instead of space but I'd rather be able to just have spaces. e.g if I click on the run service whilst listening to David Bowie I'd like it to load "David Bowie.url" but at the moment I can only get it to load if the file is titled "David+Bowie.url"  Yes the whole thing sounds rather pointless or lazy but I guess I'm just genuinely interested in whether or not it's possible at this point.
Title: foo_run 0.3.7
Post by: theJesus on 2009-06-05 02:01:21
1) No idea

2) I did some testing and couldn't get the command to even work for artists with one-word names.  After some more testing, I think the problem has something to do with the fact that you're trying to open shortcuts instead of actual files.  Just a guess.
Title: foo_run 0.3.7
Post by: annoyingmouse on 2009-06-05 12:33:04
That's surprising. One-word artist names seem to work for me without a problem using the "linksdirectory\$replace(%artist%, ,+).url" code I put above.  That code also works for multi-word names if I replace spaces with "+" in the title of .url file.  I've tested it with a few one word artists and I've not had anything go wrong yet.  I'm not sure why it wouldn't be working for you.
Title: foo_run 0.3.7
Post by: theJesus on 2009-06-06 04:54:38
I'm not sure why either, but it seems that I can't even get it to open one with a direct path like c:\links\artist.url
Title: foo_run 0.3.7
Post by: 2E7AH on 2009-06-06 06:00:47
enclose the path in "quotes" if there are empty spaces
Title: foo_run 0.3.7
Post by: annoyingmouse on 2009-06-06 10:47:38
Thanks!  That works great.
Title: foo_run 0.3.7
Post by: Florian on 2009-06-07 14:28:15
I've just released foo_run 0.3.7 which fixes another potential error. You can get it from the first post of this topic.
Title: foo_run 0.3.7
Post by: sPeziFisH on 2009-06-07 18:50:19
0.3.6: 162KB
0.3.7: 360KB

Is this difference in size intended (due to compiling-settings)?
Title: foo_run 0.3.7
Post by: Florian on 2009-06-07 19:05:05
0.3.6: 162KB
0.3.7: 360KB

Is this difference in size intended (due to compiling-settings)?

Yes, I've changed the PDB settings with this version to get more useful information out of crashlogs submitted by foobar2000.
Title: foo_run 0.3.7
Post by: Hayden54 on 2009-06-08 07:30:49
Link for download doesn't work. Links to foo_run 0.3.6 on mp3tag site.
When clicking on it, it sends you to the download page for mp3tag instead of the foo_run zip file.
Title: foo_run 0.3.7
Post by: Florian on 2009-06-08 07:58:33
Link for download doesn't work. Links to foo_run 0.3.6 on mp3tag site.
Either your browser's cache or the proxy you're using plays tricks on you. Try refreshing the page.
Title: foo_run 0.3.7
Post by: vogliadicane on 2009-06-10 22:58:39
I´m running Vista 64 bit and I can´t get foo_run to execute 32 bit programs like album art downloader.

I set the path to:

"Program Files (x86)\AlbumArtDownloader\AlbumArt.exe" with and without arguments, nothing works...

not even the "..." chose program option...

also tried with other applications.

---------
jfi with XP, Vista 32bit everything´s fine... so how do I have to set the path in Vista 64 bit?
Title: foo_run 0.3.7
Post by: Olaf on 2009-06-11 13:36:50
IIRC, you have to 'quote' the parenthesis : "Program Files '('x86')'\AlbumArtDownloader\AlbumArt.exe".

Moderation: Removed useless full quote of the preceding post.
Title: foo_run 0.3.7
Post by: vogliadicane on 2009-06-11 13:48:15
ahh ok, thanks a lot!

Moderation: Removed useless full quote of the preceding post.
Title: foo_run 0.3.7
Post by: arg on 2009-06-18 21:56:37
Feature Request:

Allow the selection of a grouping scope for individual services. For example, when dealing with a service involving album art, a 'per album' scope would make sense. When dealing with a service involving waveform analysis, a 'per track' scope would be correct. An enhancement like this would make the 'simultaneous runs' feature a lot more useful.
Title: foo_run 0.3.7
Post by: Anas on 2009-06-19 09:29:34
foo_run really is one of those components that really simplify the use of foobar for me. There's just that one thing, that I'd need it to do. I know that it's probably out of scope for this component, but I'll request it anyway. I'd love to see an option to have a run command executed on specific events. Well, actually I'd only need execution on song change.
Any chance to see this functionality implemented in your component?
Title: foo_run 0.3.7
Post by: Opawesome on 2009-06-23 18:00:41
Bug (?):

First thank you Florian for your nice plugin. I like it very well and I think it is very powerful. But I think I have found a bug or something.

In: File>Preferences>Display>Columns UI>Context Menu ;
then right-click on [ROOT]>Insert item>Command... ;
then a window called "Select command" opens ;
but in this windows you can only select 1 command: "Run service", which is only the context menu item that opens a sub menu with all the actual "services" (like searching google, etc).

As a result you cannot directly add a service to the context menu in the Columns UI interface.
On the other hand, it is possible to directly add a "service" when you want to create a new button or when you want to create a new keyboard shortcut.
I don't know if that can help you improving your great plugin

Best regards,

Opawesome
Title: foo_run 0.3.7
Post by: Florian on 2009-06-23 18:50:11
but in this windows you can only select 1 command: "Run service", which is only the context menu item that opens a sub menu with all the actual "services" (like searching google, etc).

As a result you cannot directly add a service to the context menu in the Columns UI interface.

It's the same with the Default UI and AFAIK this is a limitation of dynamic context menus.

Thanks for your feedback! Glad you like it
Title: foo_run 0.3.7
Post by: Opawesome on 2009-06-23 19:40:00
Oh... ok then

Keep on the good work and have a nice day!
Title: foo_run 0.3.7
Post by: herc05 on 2009-07-28 16:28:11
my little youtube thingy...

for everyone who would search the direct played artist in youtube

Code: [Select]
http://www.youtube.com/results?search_query=$replace(%artist%, ,+)&ie=utf-8


have fun with it...
Title: foo_run 0.3.7
Post by: herc05 on 2009-07-29 04:21:25
Hi everybody...

anyone an idea how to built a commandline for the run service, which shows the actual played artist in amazon.de or amazon.com? I cannot figured that out.

I would love to do this...
btw. I use Foonight and this would perfectly fit into it!

thanks in advance...

greets
herc05

p.s.: sorry for the double-post!
Title: foo_run 0.3.7
Post by: vogliadicane on 2009-07-29 08:23:27


for amazon.de I just tried:

Code: [Select]
http://www.amazon.de/s/ref=nb_ss_m?__mk_de_DE='%'C5M'%'C5Z'%'D5'%'D1&url=search-alias'%'3Dpopular&field-keywords=$replace(%artist%, ,+)&x=0&y=0


which works. Maybe the '%' character was the problem, you have to set it between (') to be interpreted correctly
Title: foo_run 0.3.7
Post by: odyssey on 2009-07-29 09:23:16
Do you have any idea, why the defined run services does not show up in the "Click action" of foo_graphicalbrowser component? It just lists "Run service" and nothing else.
Title: foo_run 0.3.7
Post by: 2E7AH on 2009-07-29 09:42:24
Do you have any idea, why the defined run services does not show up in the "Click action" of foo_graphicalbrowser component? It just lists "Run service" and nothing else.

Probably because graphical browser manages group of items and run services works only per one item
I know that you can select multiple items in playlist view and select run service but the service is valid only for the first item in selection
And yes, even playlist switcher allows run services (on first item in playlist) but not graphical browser (also can't handle drag & drop, multiple selection and some other context menu commands) - so don't be too surprised
Title: foo_run 0.3.7
Post by: novembre on 2009-07-29 11:37:13
I know that you can select multiple items in playlist view and select run service but the service is valid only for the first item in selection

That's not true, maybe you you should raise the number of simultaneous run in foo_run preferences.
Title: foo_run 0.3.7
Post by: herc05 on 2009-07-29 16:30:48
for amazon.de I just tried:

Code: [Select]
http://www.amazon.de/s/ref=nb_ss_m?__mk_de_DE='%'C5M'%'C5Z'%'D5'%'D1&url=search-alias'%'3Dpopular&field-keywords=$replace(%artist%, ,+)&x=0&y=0


which works. Maybe the '%' character was the problem, you have to set it between (') to be interpreted correctly


hmm,
the foobar crashes all the time, if I run this service...
I press the button and foobar don't react anymore, I have to close it per task manager...

any suggestions why this happens?
Title: foo_run 0.3.7
Post by: 2E7AH on 2009-07-29 22:46:14
That's not true, maybe you you should raise the number of simultaneous run in foo_run preferences.

True. I missed that
Thanks
Title: foo_run 0.3.7
Post by: Forfit on 2009-08-09 20:09:31
Do it is possibile to add "ambient variable" support in path ?
f.e.:%$temp%
Ty.
Title: foo_run 0.3.7
Post by: shiphtfour on 2009-10-28 21:06:20
Can't get album art downloader to work, here's the code i'm using, got it from this thread:

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

any ideas?
Title: foo_run 0.3.7
Post by: Mar2zz on 2009-10-28 21:32:23
Think you need quotes around the complete path, this is mine:
"C:\Program Files\foobar2000\Album Art Downloader\AlbumArt.exe" /ar "%album artist%" /al "%album%" /mn 300 /mx 1000 /path "$replace(%_path%,%_filename_ext%,)folder.jpg"

You don't need to if2 the album artist. when album artist is empty it falls back to artist automatically.
Title: foo_run 0.3.7
Post by: shiphtfour on 2009-10-29 01:58:03
thanks man, that fixed it 
Title: foo_run 0.3.7
Post by: kopf on 2009-11-24 21:32:42
Not working for me with 1.0b1. Anyone else having trouble?
Title: foo_run 0.3.7
Post by: Matyas on 2009-11-24 21:34:03
Upgrading to 0.3.7 makes it compatible with 1.0b1
Title: foo_run 0.3.7
Post by: magician on 2009-12-06 09:45:35
I am trying to run streamripper and relay to foobar. So that I can right-click and choose rip stream on my playlist. My commands should be like this:

Code: [Select]
'"D:\Program Files (x86)\streamripper\streamripper.exe"' %path% -d "F:\radio" -D "%%A/%%T" -r 4444
'"D:\Program Files (x86)\foobar2000\foobar2000.exe"' [url=http://127.0.0.1:4444']http://127.0.0.1:4444[/url]

How I can put them both? If anyone has better idea to add relay stream to foobar directly, please let me know.
Title: foo_run 0.3.7
Post by: vogliadicane on 2009-12-06 19:08:24
I´m using a command file like this:

Code: [Select]
@ECHO OFF

start "streamripper" "C:\Program Files (x86)\Streamripper\streamripper.exe" "%1" -r -d C:\Users\Public\Streamrips


and start it with: ....\whateverfilename.cmd %path%

So, the streamrip is started but doesn´t interfere with foobar itself, so I can hear whatever station I want. The disadvantage is, you do have double streams this way, if you listen to the same station as you record, but I don´t mind; this way I´m independent

edit: but I think you can do the same with your commands: put both lines into one command file and start this from foo run...
Title: foo_run 0.3.7
Post by: magician on 2009-12-07 06:58:54
Oh.. so I need to create batch file. I'll that later when I get home.. Thanks a lot for your help.

Moderation: Removed useless full quote of the preceding post.
Title: foo_run 0.3.7
Post by: q-stankovic on 2010-01-03 13:08:41
I am trying to get deeper into foo_run and there is one question: Why can't i call multiple instances of an internet browser though simultaneous runs are enabled? If there is a way can i also call multiple tabs instead of multiple instances?

Thanks! 
Title: foo_run 0.3.7
Post by: MusX on 2010-01-19 14:00:13
try to run url as a parameter of browser exe file instead of alone url as run command which runs browser instance every time

sorry for asking it again but can't get it work
need to search string "artist" and "title" in that case:
Code: [Select]
http://www.google.com/search?q=$replace(%artist%+%title%, ,+)+lyrics&ie=utf-8

how to put those ' there to make google use it?
Title: foo_run 0.3.7
Post by: Mar2zz on 2010-01-19 18:27:04
This should work
Code: [Select]
http://www.google.com/search?q=$replace(%artist%, ,+)+$replace(%title%, ,+)+lyrics&ie=utf-8
Title: foo_run 0.3.7
Post by: bubi jackson on 2010-02-01 07:35:17
%DISCOGS_ARTIST_URLS% can have multiple values. I'm working with

Code: [Select]
"C:\Programme\Mozilla Firefox\firefox.exe" -new-tab "%www%" -new-tab "$meta_sep(DISCOGS_ARTIST_URLS,"  -new-tab ")"


Does anybody know a more proper way?
Title: foo_run 0.3.7
Post by: neothe0ne on 2010-02-21 01:55:02
I was unable to get Mp3tag to run using the previous posts in this topic - apparently spacing and quotes were the problems.  After trial and error, I finally got it to work:

One file:
c:\PROGRA~2\Mp3tag\Mp3tag.exe /fn:"%path%"

Entire directory:
c:\PROGRA~2\Mp3tag\Mp3tag.exe /fp:"$substr(%_path%,0,$strrchr(%_path%,'\'))"

This is for 64-bit versions of Windows.  For those still on x86, replace PROGRA~2 with PROGRA~1.
Title: foo_run 0.3.7
Post by: neothe0ne on 2010-03-26 05:48:11
I don't see the edit button so double post time:

For those interested in getting GenPUID to work with foo_run, try this:
Code: [Select]
cmd /k C:\genpuid_win32_1.4\genpuid.exe xxxxxxxxxxxxxxxxxxxxxxx(yourkey) -r "$substr(%_path%,0,$sub($strrchr(%_path%,'\'),1))"


It will run all files in a directory through GenPUID.  Even if you don't use MusicBrainz, you can help out by using your CPU, so that those of us with bad CPU's don't have to GenPUID new songs ourselves
Title: foo_run 0.3.7
Post by: aereogramme on 2010-04-14 12:41:09
I was just wondering a few things?  How does one set up a foo_run for a website.

I was trying to figure out how to set it up for www.911tabs.com, but I can't figure out for the life of me the procedure to do it.

Any advice would be greatly appreciated.

-Colin
Title: foo_run 0.3.7
Post by: Purple Monkey on 2010-04-14 14:25:36
Code: [Select]
http://www.911tabs.com/search.php?search=$replace(%artist%, ,+)&type=band

Type something like "FOOBAR" in to the search box and replace that word with "$replace(%artist%, , +)" in the URL of the search page.
Title: foo_run 0.3.7
Post by: aereogramme on 2010-04-14 15:26:04
Thanks for the swift reply!  I tried that but when I search a band with multiple words in the title (ie. Cars and Trains), it only finds the first word (ie. Cars).  How do I make it so that it searches the whole %artist% field?

Also, what if I do a search and the URL isn't in that form.  Say it's like www.page.com/search/.  How would I go about adding that to the Run Service?
Title: foo_run 0.3.7
Post by: Purple Monkey on 2010-04-14 17:01:59
Whoops there should not be a space after the , and before + in my post ( ie. "$replace(%artist%, ,+)" not "$replace(%artist%, , +)".) The one in the code box should work fine.

As for the other search format, I haven't really these days come to a website that I want to use that way so I haven't investigated if there is a way.
Title: foo_run 0.3.7
Post by: aereogramme on 2010-04-14 17:12:42
I think it is actually a problem with the "&" in the title of the band.  I think everything else works fine though.  Thanks!
Title: foo_run 0.3.7
Post by: aereogramme on 2010-04-17 16:25:50
Can anyone help?
Title: foo_run 0.3.7
Post by: mobyduck on 2010-04-17 17:39:56
@aereogramme: maybe try $replace(%artist%,&,&amp;) or $replace(%artist%,&,%26).

HTH.

Alessandro
Title: foo_run 0.3.7
Post by: djphatic on 2010-05-30 08:55:48
If the batch file is for example "mplay.bat"

Use this command MPLAY "argument"
Then in the batch file refer to this as '%1'
e.g. echo %1

Batch File Article (http://wiki.trivialbeing.net/Right_Click_Upload_to_Internet_via_Batch_File)
Here's a batch file I created and use all the time, it passes a file to the batch to be uploaded to an ftp of my choice before copying the URL to my clipboard. It uses batch file arguments and I have successfully integrated it into foobar to allow one-key mp3 uploads. Putting this in the SendTo folder also makes uploading of any file painless.


Thanks a lot i managed to get it to work using this in a batch file:

@echo off

foobar2000.exe /command:"Stop"
E:\Apps\MPlayer\mpui.exe -compact -autoquit %1
endlocal
exit


One question though, how can i have the cmd window close on executing mplayer?

At the moment i have the mplayer window open as well as a cmd window.


I know this was posted a long time ago but was there ever an answer to this as I am also trying to get a cmd window to exit once it has complete, though I am not using a batch file.
Title: foo_run 0.3.7
Post by: 2E7AH on 2010-05-30 09:40:27
should we guess what's in your run service?
type "cmd/?" on command prompt, maybe it will help you
Title: foo_run 0.3.7
Post by: ahughes on 2010-06-01 04:04:39
How can I set it to open one file in the folder that the currently selected file is in? For example, if I have a text file in each folder which doesn't have the same name (or a name from titleformatting), can I have it run notepad for *.txt in the folder?
Thanks.
Title: foo_run 0.3.7
Post by: Fractal_Mortality on 2010-06-19 05:02:34
Hm... I'm having trouble on my new Windows 7 laptop simply opening a directory. The command I'm using is:

"C:\Users\USER\Matt's Programs\foobar9.5"

But nothing happens. Any ideas?
Title: foo_run 0.3.7
Post by: marc2003 on 2010-06-19 09:18:11
try

Code: [Select]
explorer "C:\Users\USER\Matt's Programs\foobar9.5"
Title: foo_run 0.3.7
Post by: Fractal_Mortality on 2010-06-19 09:35:06
Interestingly enough, that exact command opens up the following directory instead:

C:\Users\USER\Documents
Title: foo_run 0.3.7
Post by: dano on 2010-06-19 13:25:59
You need to mask the apostrophe ' with a second apostrophe like ''
Title: foo_run 0.3.7
Post by: Fractal_Mortality on 2010-06-20 05:49:16
Ah, thanks!
Title: foo_run 0.3.7
Post by: nordicskiah on 2010-06-30 17:55:37
Foobar v1.0.3
Using Columns UI
Working on a mod of MonoLite Plus which uses Panel Stack Splitter and WSH Panel Mod

Trying to add a button in addition to those already there.  Button shows up, no errors, but does not do anything
Code: [Select]
$imagebutton($sub(%_width%,150),6,20,18,$get(skin_path)\menu.png,$get(skin_path)\menu.png,[color="#FF0000"]COMMAND:Run Service/Google Artist[/color])



I've tried many different versions after the COMMAND: prompt after reading though this thread.  Nothing seems to work.

Help is appreciated.  Thank you!
Title: foo_run 0.3.7
Post by: marc2003 on 2010-06-30 18:16:47
try CONTEXT, not COMMAND.
Title: foo_run 0.3.7
Post by: nordicskiah on 2010-06-30 18:24:45
try CONTEXT, not COMMAND.

Heh, I just got back to this page to report that.  Thanks anyway though!
Title: foo_run 0.3.7
Post by: rangi_chip on 2010-08-17 20:41:34
Hey Florian,

I like this component a lot, as do many.
I was just wondering if there's any chance of having the option to add it to the main menu?
The reason I ask for this as I have linked buttons to run services, but the button doesn't work unless I've selected a song, obviously because it runs off the context menu. I want these buttons to always work, whether a song is selected or not.
Is there any other way of solving this?
If not, can you add it to the main menu as I know these are always active, song selected or not.


Cheers
Title: foo_run 0.3.7
Post by: rubber soul on 2010-08-22 21:56:04
Is it possible to perform two or more operations with one foo_run click?  When I click my AlbumArtExchange run service, I want it to not only perform the AAE search query but to also open the folder containing the files (so I can quickly drag and drop the images).
Title: foo_run 0.3.7
Post by: RogerG on 2010-08-29 08:00:21
I don't think so. But you can let it run a script that runs your two other applications.
Title: foo_run 0.3.7
Post by: wupi on 2010-09-14 11:45:28
Great plugin, thanks a lot Florian. 
Title: foo_run 0.3.7
Post by: Tom_W on 2010-09-23 18:01:44
Using foo_run to open MP3Tag on 64 bit windows

I have followed some of the other posts on this topic, but i think there are some missing " marks, because it didn't work for me.


Put this in as the path if MP3tag is just installed in the default 32 bit programs folder (i.e. programs (x86). Make sure you include all the " and ' marks. Finally, set the simultaneous runs slider to unlimited. This enables you to send multiple tracks at once to MP3Tag

Code: [Select]
"C:\Program Files '('x86')'\Mp3tag\Mp3tag.exe" "%_path%"


I hope that helps.
Title: foo_run 0.3.7
Post by: djphatic on 2010-09-25 16:28:01
should we guess what's in your run service?
type "cmd/?" on command prompt, maybe it will help you


Thanks for pointing this out, realised I had to change cmd /k to cmd /c.
Title: foo_run 0.3.7
Post by: rico001 on 2010-09-28 20:23:34
I try to open VLC which works okay.
But I don't understand how I can open a specific playlist.

In Windows I can run from command line:
"C:\Programme\VideoLAN\VLC\vlc.exe open "C:\Dokumente und Einstellungen\User\Desktop\..... .m3u"

And the playlist is played.
....

  I looked through most of the pages in this thread, there are some things I want to do but cannot find documentation.  Questions:
1.  Documentation - It would be nice to have info such as purpose, installation, process of using batch files
How do you use this thing?  Do you run cmd.exe from Windows or run, then call the foobar.exe app, then call a program(player) with command line switches to the file you want to open?
or
Is this run as a windows service?
Some people (on page 9 of this thread, I think) were mentioning a config_console dialog box?
2.  Install problems - I threw the .dll into the fb2k configuration directory and nothing happened.
3.  I was hoping to run a cd from vlc lan... answering the above questions will probably solve this one.
If you want, there exist what are called front-ends one I used for free years ago was called NEStea instead of using batch script or cmd files, it appears some use batch scripting?

Thanks to the plugin author for the plugin and also thanks fb2k community for answering our questions...
Title: foo_run 0.3.7
Post by: RogerG on 2010-10-03 11:59:17
rico001, this plugin has nothing to do with windows services.
You enter the path of the batch file under foobar Preferences > Run services. Of course you don't have to use batch files. You can also run files or URLs.
Title: foo_run 0.3.7
Post by: zucca on 2010-10-25 20:14:07
How to do Copy Path command ?


Code: [Select]
CMD /C ECHO %path%|CLIP


After 2 hours of hard work finally it works...

Now the next challenge is to use the Windows path variables:

For example:

%ProgramFiles(x86)%\SoftwareABC\SoftwareABC.exe

I tried to put " ' " everywhere but no succes...

Any idea?

Thanks Florian!
Title: foo_run 0.3.7
Post by: Bryter on 2010-10-25 22:32:41
Just wanted the to thank the creator of this plug-in! Definitely one of the most useful ones.
Thank You
Title: foo_run 0.3.7
Post by: soft-n-fluffy on 2010-10-28 20:58:33
Using foo_run to open MP3Tag on 64 bit windows

I have followed some of the other posts on this topic, but i think there are some missing " marks, because it didn't work for me.


Put this in as the path if MP3tag is just installed in the default 32 bit programs folder (i.e. programs (x86). Make sure you include all the " and ' marks. Finally, set the simultaneous runs slider to unlimited. This enables you to send multiple tracks at once to MP3Tag

Code: [Select]
"C:\Program Files '('x86')'\Mp3tag\Mp3tag.exe" "%_path%"


I hope that helps.

I was looking for a code for this. Thanks, it works well.
Title: foo_run 0.3.7
Post by: n0thng2bd0ne on 2010-11-05 21:36:35
looks like amg changed their site. these are the new working paths:

http://www.allmusic.com/search/artist/$replace(%artist% (http://www.allmusic.com/search/artist/$replace(%artist%), ,+)
http://www.allmusic.com/search/album/$replace(%album% (http://www.allmusic.com/search/album/$replace(%album%), ,+)
http://www.allmusic.com/search/song/$replace(%title% (http://www.allmusic.com/search/song/$replace(%title%), ,+)
Title: foo_run 0.3.7
Post by: lee321987 on 2010-11-29 11:50:04
Just wanted to add a little tip:
I couldn't get this to run a certain program, so I made a link to that program in Foobar's directory, then this worked:

Code: [Select]
"mp3directcut" "%_path%"


("mp3directcut" is the name of the shortcut file)

However I think I'm going to switch to Tom_W's method (single quotes around the parenthesis in the path).

Also, this is how I open a files' folder, AND it selects/focuses on the file:

Code: [Select]
explorer /select , "%path%"
Title: foo_run 0.3.7
Post by: bsw11 on 2010-12-13 23:55:07
This plugin is FANTASTIC!!

I am just one step away from total success.

I am using AutoIt to get around FB2K's limitation on not being able to change the output device - that works perfectly (if anyone is interested in the scripts let me know) assigned to function keys.

What I need to complete the deal is a way to query the current song automatically as it starts up and based on if the song is 2 or multi channel run one of my 2 scripts.  If anyone know how to make this work, please provide me the needed scripting.

One other tweak needed is a way to only make the call if the channels are changed from the last track to the current otherwise there will be a small drop out in the sound.

Thanks!
Title: foo_run 0.3.7
Post by: lee321987 on 2010-12-14 09:00:39
You probably want Foobar to run the apps, which I don't know how to do, but a dirtier way would be to use AutoIt...
In Foobar2000:
  File > Preferences > Display > Default User Interface > ---- the text box called "Status Bar"
What you type here effects the bottom "status bar" of Foobars' window.
Add a few very rare characters, and "%channels%" like:
Code: [Select]
▲▲▲%channels%

Then use "WinGetText" in AutoIt.
Oh, and the AutoIt code for those three triangles is:
Code: [Select]
$MyString = ChrW(9650) & ChrW(9650) & ChrW(9650)
Title: foo_run 0.3.7
Post by: bsw11 on 2010-12-14 16:51:08
YES!  After I did the post that is exactly what I was thinking - pass the channels into autoit and do all the logic in there.  Can't I just pass %channels% on the command line?  If not can you tell me how to type in those special characters in FB2K?

I am not very script code oriented - any way you could give me the autoit script as well?

I have already made the device change work from autoit - all I need is the code to do the logic as in:

load last_channel file
If channels = last_channels exit
If channels = 2 then
    (code to set device to 2 ch which I have)
else
    (code to set device to multich which I have)
endif
save last_channels to a file.

Also what code do I need to make this execute at the start of each track?  Should I use foo_schedule or can it be done by foo_run?


THANKS!!!
Title: foo_run 0.3.7
Post by: bsw11 on 2010-12-14 20:37:19
Edit - I got it working !!!  I just used "| 6ch |" as the match and it works! 

So I am using foo_scheduler to fire off the script at the start of each play - is that the way to do this?

Also I tired using %channels% on the command line but all I ever got was Stereo no matter what the source - seems like a bug of some type in foo_run.  This would have been easier to do.

Title: foo_run 0.3.7
Post by: lee321987 on 2010-12-15 08:12:02
To type those chars  into foobar, you could copy+paste them from this page, or in AutoIt:
Code: [Select]
Clipput(ChrW(9650) & ChrW(9650) & ChrW(9650))

will put them in your clipboard.

foo_scheduler seems like the perfect way to do it.  I didn't even know it existed.
I figured out a way to do it from command line:
Foobar2000 for some reason (?) won't run the context commands created by "foo_run", but the component "foo_runcmd" will:
http://www.hydrogenaudio.org/forums/index....showtopic=46852 (http://www.hydrogenaudio.org/forums/index.php?showtopic=46852)
or
http://foosion.foobar2000.org/components/ (http://foosion.foobar2000.org/components/)
it's called "Run Command" on that page.  Install it, and restart Foobar.

Create a new foo_run Service, (I'll "Lable" it NumChan), and set the "path" to:
Code: [Select]
"<path to your AutoIt script>" %channels%


Set your Scheduler command to:
Code: [Select]
<path to foobar2000.exe> /runcmd-playing="Run service/NumChan"


Question:
How were you getting %channels% to pass to anything from command line?
Title: foo_run 0.3.7
Post by: lee321987 on 2010-12-15 10:17:59
The AutoIt script would be something like this:
Code: [Select]
$numchan = $cmdline[1]

$historyFile = @ScriptDir & '\lastChannels.txt'
$fileHandle = FileOpen($historyFile, 0)
$lastChans = FileRead($fileHandle)
FileClose($fileHandle)

If $lastChans = $numchan Then
Exit
ElseIf $numchan = 'Stereo' Then
;put under here what happens if the current track is stereo

ElseIf $numchan = '6ch' Then
;put under here what happens if it's 6 channel

EndIf

$fileHandle = FileOpen($historyFile, 2)
FileWrite($fileHandle, $numchan)
FileClose($fileHandle)
To keep track of last_channels, it will create and use a file called "lastChannels.txt" in the dir the script is run from.
You may want to add some more "ElseIf" statements especially one for if the result is "mono", and maybe one for "2ch" (if that's ever even a possible value of %channels%).
Title: foo_run 0.3.7
Post by: Porcus on 2010-12-15 12:29:49
So I am using foo_scheduler to fire off the script at the start of each play - is that the way to do this?


Well, I only just downloaded  foo_default_videoplayer, which -- when it encounters a filetype you specify -- will run an external file.
That means it is possible to retrieve this information from foobar2000. Don't ask me how.

A suggestion could be to save the 6chs in a different format (if they are FLAC you could probably only rename to .FLA? If they are lossy, do they fit a Matroska container?), and -- whichever way it is done -- take action based on filetype.

Or, if the 6ch audio is the only oddballs you have in your collection: configure a default "videoplayer" to play these -- this could merely be another foobar2000.exe!
Problem: Tell foobar to resume playback with next item when done with this.
Title: foo_run 0.3.7
Post by: zucca on 2010-12-16 13:00:12
for Wikipedia Discography

Code: [Select]
"http://en.wikipedia.org/wiki/Special:Search?search=%artist% discography"
Title: foo_run 0.3.7
Post by: djphatic on 2011-01-21 19:17:42
I currently have 2 services mp3brfix and pcutmp3 as follows;

mp3brfix
Code: [Select]
cmd /c "java.exe -jar "C:\pcutmp3\mp3brfix.jar" -f "$directory_path(%path%)\%filename%.mp3"


pcutmp3
Code: [Select]
cmd /c "java.exe -jar "C:\pcutmp3\pcutmp3.jar" --cue "%path%" "$directory_path(%path%)\%__referenced_file%" --dir "$directory_path(%path%)\%album artist% - %album%" --out "%%n %%p - %%t"


Does anyone know how I could combine the 2 into one service so that mp3brfix will run first, fix the mp3 and the when finished pcutmp3 will run and split the file accordingly?
Title: foo_run 0.3.7
Post by: d_A_y on 2011-02-27 09:02:59
i got an error on 64bit windows - for example, service "C:\Program Files (x86)\Mp3tag\Mp3tag.exe" isn't executing, log says
Quote
Run: Cannot execute "C:\Program Files "

double quoting the command just adds an extra quote in log:
Quote
Run: Cannot execute ""C:\Program Files "


it seems "(" is to blame - for example, service "C:\Program kinda files\Mp3tag\Mp3tag.exe" executing ok.
is there any way to fix that?
Title: foo_run 0.3.7
Post by: marc2003 on 2011-02-27 09:35:19
"C:\Program Files '('x86')'\Mp3tag\Mp3tag.exe"
Title: foo_run 0.3.7
Post by: lvqcl on 2011-02-27 09:37:08
"C:\Program Files '('x86')'\Mp3tag\Mp3tag.exe"

added: %$^$&  !
Title: foo_run 0.3.7
Post by: Bryter on 2011-03-05 00:15:28
Is there any way to create a button inside Columns UI and link it to a foo_run command? I am interested in having a discogs button which will help me tag files easier.
I read (almost  ) all the pages of this thread, and i could not find an answer.
Title: foo_run 0.3.7
Post by: shiphtfour on 2011-04-13 07:49:25
Can anyone help get foo_run to launch a search on beatport for the artist name?
Title: foo_run 0.3.7
Post by: Purple Monkey on 2011-04-13 13:17:25
It doesn't look like that is possible since that site is completely flash (ugh!), with no URL search patterns as far as I can tell.

But there is one for the mobile site, although that might not be much use:
Code: [Select]
http://m.beatport.com/search/?query=$replace(%artist%, ,+)
Title: foo_run 0.3.7
Post by: shiphtfour on 2011-04-16 19:19:11
Thanks Purple Monkey, I didn't think of using the mobile site. Serves its purpose for me, because I am just using Beatport to find the full release date of albums and eps.
Title: foo_run 0.3.7
Post by: vogliadicane on 2011-04-16 23:41:07
@Purple Monkey: cool, tried to find a solution, but didn't think of the mobile version. So, thanks for apple for not accepting FLASH
Title: foo_run 0.3.7
Post by: Ringo78 on 2011-06-15 02:43:58
discogs Artist  Album
Code: [Select]
http://www.discogs.com/search?type=all&q=$replace(%artist%, ,+)&btn=Search
http://www.discogs.com/search?type=releases&q=$replace(%album%, ,+)&btn=Search


I'm looking for some help with Run Service scripts to search Discogs. The above quote is almost there but not quite.

What I'm trying to do is use foo_discogs to tag Year, Genre and Style - where musicbrainz is lacking. However while using the 'Find Release' interface is fine 95% of the time, sometimes theres a problem and I need a url from the site itself. For example with various artist compilations, odd characters, etc.

So I'd like to search for the following;

1. 'Album Artist' only
2. 'Album' only
3. 'Album Artist' + 'Album'

Also I'd like if 'Album Artist' is 'Various Artists', for this search string to be changed to 'Various'. Unfortunately searching for 'Various Artists - Scott Pilgrim' won't work, while 'Various Scott Pilgrim' will.



(Actually... I'd also quite like the above parameters for searching Album Art Exchange and Allmusic.)

Thanks for any advice
Title: foo_run 0.3.7
Post by: JJForums on 2011-06-23 02:59:57
help with foo_run and mp3 tag, i use this to open files in fb2k with mp3tag, and it opens the folder of the file: "C:\Program Files '('x86')'\Mp3tag\Mp3tag.exe" "$directory_path(%path%)" but when it is opened in mp3tag, the files are unselected, is possible auto select the openend files in mp3tag? thanks!
Title: foo_run 0.3.7
Post by: tpijag on 2011-06-23 03:04:03
Do you mean that mp3tag opens and nothing else or that the files are in mp3tag but unselected.
Assuming the first, this works for me
Quote
"C:\Program Files\Mp3tag\Mp3tag.exe" "$replace(%_path%,%_filename_ext%,)"
Title: foo_run 0.3.7
Post by: JJForums on 2011-06-23 03:22:42
yes, it works, but the mp3tag doesn't select the files, they go to mp3tag but unselected, so, i have to select to do something, i want to know if is possible to mp3tag open with files just selected.
Title: foo_run 0.3.7
Post by: tpijag on 2011-06-23 03:41:27
Have no idea. The mp3tag forum is pretty active, maybe they can be of assistance.
For me, Ctrl-A is not too taxing
Title: foo_run 0.3.7
Post by: Bryter on 2011-07-03 17:33:04
I just figured that i can add custom buttons to foobar that will run foo_run programs/websites. How did i miss this before? 
Anyway, i would really appreciate if someone could help me to make a command that will open what.cd's artist page. This is what the search engine looks like in Chrome:

Code: [Select]
http://what.cd/artist.php?artistname=%s


Anyway to make compatible with foo_run?
Title: foo_run 0.3.7
Post by: tnnds on 2011-07-03 17:43:13
http://what.cd/artist.php?artistname=$replace(%artist% (http://what.cd/artist.php?artistname=$replace(%artist%), ,+)
Title: foo_run 0.3.7
Post by: Bryter on 2011-07-03 18:48:24
^Perfect! Thank you so much
Title: foo_run 0.3.7
Post by: Bryter on 2011-07-03 23:16:32
Also, what about youtube? I found one here that searches for artists in youtube, but none for artist+song.
Title: foo_run 0.3.7
Post by: tpijag on 2011-07-04 00:18:21
What have you tried?

The example you were given:

http://what.cd/artist.php?artistname=$replace(%artist% (http://what.cd/artist.php?artistname=$replace(%artist%), ,+)

You have found an example for youtube. Try adding the song title to the replace string.
For example:
%artist%+%title%, ,+
Title: foo_run 0.3.7
Post by: antonellocaroli on 2011-07-28 22:43:50
allmusic artist does not work ... can you solve it?
it does not research...
Title: foo_run 0.3.7
Post by: tnnds on 2011-07-29 07:41:05
artist
Code: [Select]
http://www.allmusic.com/search/artist/$replace(%artist%, ,+)

album
Code: [Select]
http://www.allmusic.com/search/album/$replace(%album%, ,+)

title
Code: [Select]
http://www.allmusic.com/search/song/$replace(%title%, ,+)
Title: foo_run 0.3.7
Post by: antonellocaroli on 2011-07-29 07:59:33
artist
Code: [Select]
http://www.allmusic.com/search/artist/$replace(%artist%, ,+)

album
Code: [Select]
http://www.allmusic.com/search/album/$replace(%album%, ,+)

title
Code: [Select]
http://www.allmusic.com/search/song/$replace(%title%, ,+)



thanks so much!!
Title: foo_run 0.3.7
Post by: pone on 2011-08-17 11:39:26
I have made a foo_run command to open Files with the VLC player.
Works fine, the only problem is, when I open another file, VLC always opens a new player instance.

Is there a command which adds file to the VLC playlist, instead of open a new player? Perfect would be add+play.


EDIT:
solved
I canged the setting in VLC to the following:

Tools > Preferences > Interface > Instances:
[yes] Allow only one instance
[no] Enqueue files when in one instance modus
Title: foo_run 0.3.7
Post by: godrick on 2011-08-23 16:45:15
edit - (problem found)

http://www.hydrogenaudio.org/forums/index....900#entry766974 (http://www.hydrogenaudio.org/forums/index.php?showtopic=57392&st=1900#entry766974)
Title: foo_run 0.3.7
Post by: dyermaker on 2011-10-05 01:01:06
great plugin thanks! if i could request one improvement.. it would be to have a nice default line seperator you could use between commands to tidy everything up.. at present i just use a load of dashes ---------------- for this purpose!

heres a few scripts i use which might help others..

Discogs
Artist : http://www.discogs.com/search?q=$replace(%artist% (http://www.discogs.com/search?q=$replace(%artist%), ,+)&ie=utf-8
Artist - Album : http://www.discogs.com/search?q=$repl...artist%+%album% (http://www.discogs.com/search?q=$replace(%artist%+%album%), ,+)&ie=utf-8

Youtube
Artist : http://www.youtube.com/results?search_quer...eplace(%artist% (http://www.youtube.com/results?search_query=$replace(%artist%), ,+)&aq=f
Artist - Title : http://www.youtube.com/results?search_quer...artist%+%title% (http://www.youtube.com/results?search_query=$replace(%artist%+%title%), ,+)&aq=f
Artist Playlist : http://www.youtube.com/results?search_type...eplace(%artist% (http://www.youtube.com/results?search_type=search_playlists&search_query=$replace(%artist%), ,+)&uni=1

Spectro
"C:\Program Files\Spectro\Spectro.exe" "%path%"


Title: foo_run 0.3.7
Post by: Zarty on 2011-10-06 09:22:23
Thank you for foo_run.  I got some help from Pone to run VLC to preview a track on headphones.  I can see plenty of other uses for it too. 
Zarty
Title: foo_run 0.3.7
Post by: MrMonkey on 2011-10-12 18:06:29
Hi,

I'm trying to use fun_run to control some popup panels.

My service is
Code: [Select]
foobar2000.exe /command:"Hide All Panels" /command:"Hide" /command:"Mini"

If I open up foobar and don't first left-click on an item in a playlist, the above won't work.
If I open up foobar, click on a playlist item and then try the service, it works: all the panels are hidden, as is the main foobar window, and then my panel called "Mini" appears.
If I open up foobar and don't left-click on a playlist item, run my service (nothing happens), then click on a playlist item and run my service again, the command:"Mini" has a different result: it pops up the panel configuration dialog for the Mini panel.

Why does this happen? 

Is there any way to explicitly use the full menu path of the action such as /command:"View/Popup Panels/Show/Mini" ??? That doesn't do anything, even though it's the full path to the action I want to perform.

Never mind.  I combined foo_run with foo_runcmd and it does exactly what I want/expect:
Code: [Select]
foobar2000.exe /runcmd="View/Popup Panels/Hide All Panels" /runcmd="View/Hide" /runcmd="View/Popup Panels/Show/Mini"
Title: foo_run 0.3.7
Post by: MrMonkey on 2011-10-12 23:48:40
Nope, I was too quick to mark that as resolved.  I guess since the actions I want to assign to a keyboard shortcut are only available in the [context] submenus, I must have a playlist item selected to use them.

Gotta find a way around this.
Title: foo_run 0.3.7
Post by: derty2 on 2011-10-13 00:15:44
dyermaker @ Post #408, what is "C:\Program Files\Spectro\Spectro.exe" ? Do you have a home page address so I can evaluate the program. Thanks.
Title: foo_run 0.3.7
Post by: tpijag on 2011-10-13 00:49:31
From a quick web search:
http://spectro.enpts.com/index.php (http://spectro.enpts.com/index.php)
Title: foo_run 0.3.7
Post by: derty2 on 2011-10-13 01:29:38
Thankyou tpijag, you hit the nail on the head +++
Title: foo_run 0.3.7
Post by: derty2 on 2011-10-19 13:38:59
Here is my (verbose) title formatting code for running a Google search using 'foo_run' (and my default browser).

Basically speaking, my approach to finding more info on Google is to create a very long string of words and let Google do its job; Im not particular about trying to filter down the results by adding specific domain names.

Before you view the code further down, here is a sample selected item from my fb2k Playlist Viewer;
this shows you how I always tag my files; especially note the 'Comment' tag 
Code: [Select]
   ========================================================================================

   TRACK NUM:        01.
   TRACK NAME:       Allegro non troppo
                    

   ARTIST:          Henryk Szeryng . Hendl, Orch Chicago
   ALBUM ARTIST:    
   ALBUM:           LALO: Symphonie Espagnole
   DATE:            1961
   GENRE:           Classical

   COMMENT:         <IDX>Szeryng Henryk . Hendl, Orch Chicago</IDX/><PRODUCTID>Vinyl | Classic Records 'RCA Living Stereo' reissue series (1994), 'Deluxe 1S' Box Set, item: LSC-2456 | Ripped: Oct 2011</PRODUCTID/>

   ========================================================================================


The code should now be a bit more understandable...


// Code (A)
// Lines are split here for easy viewing of the code; use Code (B) for pasting into foo_run preferences
Code: [Select]
http://www.google.com/search?q=$replace(music' '

// ========== DEFINITION OF VARIOUS ARTIST ==> "VA"
$puts(va_string,'VA ')

$if($stricmp($meta(va),'1'),$puts(va,1))
$if($stricmp($meta(various),'1'),$puts(va,1))
$if($stricmp($meta(various artists),'1'),$puts(va,1))
$if($trim($meta(album artist)),$puts(va,1))
$if($stricmp($left($meta(artist),4),'v : '),$puts(va,1))
$if($stricmp($left($meta(artist),3),'v: '),$puts(va,1))
$if($stricmp($left($meta(artist),3),'v. '),$puts(va,1))
$if($stricmp($left($meta(artist),4),'v / '),$puts(va,1))
$if($stricmp($left($meta(artist),3),'v/ '),$puts(va,1))
$if($stricmp($left($meta(artist),2),'v/'),$puts(va,1))
$if($stricmp($left($meta(artist),4),'v - '),$puts(va,1))
$if($stricmp($left($meta(artist),3),'v- '),$puts(va,1))
$if($stricmp($left($trim($meta(artist)),2),'va'),$puts(va,1))
$if($stricmp($left($meta(artist),3),'va '),$puts(va,1))
$if($stricmp($left($meta(artist),3),'v a'),$puts(va,1))
$if($stricmp($trim($meta(artist)),'v.a.'),$puts(va,1))
$if($stricmp($trim($meta(artist)),'v. a.'),$puts(va,1))
$if($stricmp($left($meta(artist),8),'various '),$puts(va,1))
$if($stricmp($trim($meta(artist)),'various'),$puts(va,1))
$if($stricmp($trim($meta(artist)),'various artists'),$puts(va,1))
$if($stricmp($trim($meta(artist)),'varios'),$puts(va,1))
$if($stricmp($trim($meta(artist)),'varies'),$puts(va,1))
$if($stricmp($left(%directoryname%,4),'v - '),$puts(va,1))
$if($stricmp($left(%directoryname%,3),'v_ '),$puts(va,1))
$if($stricmp($left(%directoryname%,3),'v- '),$puts(va,1))
$if($stricmp($left(%directoryname%,3),'va-'),$puts(va,1))
$if($stricmp($left(%directoryname%,3),'va '),$puts(va,1))
$if($stricmp($left(%directoryname%,3),'va_'),$puts(va,1))
$if($strstr($lower(%path%),'\v '),$puts(va,0))
$if($strstr($lower(%path%),'\v\'),$puts(va,1))
$if($strstr($lower(%path%),'\va. '),$puts(va,1))
$if($strstr($lower(%path%),'\va- '),$puts(va,1))
$if($strstr($lower(%path%),'\va '),$puts(va,1))
$if($strstr($lower(%path%),'\va\'),$puts(va,1))
$if($strstr($lower(%path%),'\various\'),$puts(va,1))
$if($strstr($lower(%path%),'\various artists\'),$puts(va,1))
$if($strstr($lower(%path%),'\_va\'),$puts(va,1))
$if($strstr($lower(%path%),'\_various\'),$puts(va,1))
$if($strstr($lower(%path%),'\_various artists\'),$puts(va,1))
$if($strstr($lower(%path%),' va - '),$puts(va,1))
$if($strstr($lower(%path%),' va- '),$puts(va,1))
$if($strstr($lower(%path%),' va . '),$puts(va,1))
$if($strstr($lower(%path%),' va. '),$puts(va,1))
$if($strstr($lower(%path%),' various artists'),$puts(va,1))

// ========== IF ALBUM, IF TRACKNUMBER
$if(%album%,
$if(%tracknumber%,

// ========== FORMAT - HAS ALBUM, HAS TRACKNUMBER
$if($stricmp($get(va),1),
$get(va_string)[$if2($meta(album artist),$meta(artist))]' '$if2($trim(%album%),'%album%')' '$if2('('$trim(%date%)')','(%date%)')' '$if2($substr(%comment%,$add($strstr(%comment%,<PRODUCTID>),$len(<PRODUCTID>)),$sub($strstr(%comment%,</PRODUCTID/>),1)),$directory(%path%,2)' '$directory(%path%,1))$if2(' '%title%,' '%filename%),
$if3($meta(album artist),$meta(artist),'%artist%')' '$if2($trim(%album%),'%album%')' '$if2('('$trim(%date%)')','(%date%)')' '$if2($substr(%comment%,$add($strstr(%comment%,<PRODUCTID>),$len(<PRODUCTID>)),$sub($strstr(%comment%,</PRODUCTID/>),1)),$directory(%path%,2)' '$directory(%path%,1))$if2(' '%title%,' '%filename%)
),

// ========== FORMAT - HAS ALBUM, HAS NO TRACKNUMBER
$if($stricmp($get(va),1),
$get(va_string)[$if2($meta(album artist),$meta(artist))]' '$if2($trim(%album%),'%album%')' '$if2('('$trim(%date%)')','(%date%)')' '$if2($substr(%comment%,$add($strstr(%comment%,<PRODUCTID>),$len(<PRODUCTID>)),$sub($strstr(%comment%,</PRODUCTID/>),1)),$directory(%path%,2)' '$directory(%path%,1))$if2(' '%title%,' '%filename%),
$if3($meta(album artist),$meta(artist),'%artist%')' '$if2($trim(%album%),'%album%')' '$if2('('$trim(%date%)')','(%date%)')' '$if2($substr(%comment%,$add($strstr(%comment%,<PRODUCTID>),$len(<PRODUCTID>)),$sub($strstr(%comment%,</PRODUCTID/>),1)),$directory(%path%,2)' '$directory(%path%,1))$if2(' '%title%,' '%filename%))
),

// ========== FORMAT - HAS NO ALBUM, HAS NO TRACKNUMBER
$if($stricmp($get(va),1),
$get(va_string)[$if2($meta(album artist),$meta(artist))]' '$if2($trim(%album%),'%album%')' '$if2('('$trim(%date%)')','(%date%)')' '$if2($substr(%comment%,$add($strstr(%comment%,<PRODUCTID>),$len(<PRODUCTID>)),$sub($strstr(%comment%,</PRODUCTID/>),1)),$directory(%path%,2)' '$directory(%path%,1))$if2(' '%title%,' '%filename%),
$if3($meta(album artist),$meta(artist),'%artist%')' '$if2($trim(%album%),'%album%')' '$if2('('$trim(%date%)')','(%date%)')' '$if2($substr(%comment%,$add($strstr(%comment%,<PRODUCTID>),$len(<PRODUCTID>)),$sub($strstr(%comment%,</PRODUCTID/>),1)),$directory(%path%,2)' '$directory(%path%,1))$if2(' '%title%,' '%filename%))
)

// ========== REPLACE SPECIAL CHARACTERS ==> All to "+" (becomes space in Google search field)
,' ','+','&','+','/','+','\','+','|','+','[','+',']','+','(','+',')','+','-','+',',','+',';','+',':','+','.','+','','+')&ie=utf-8



// Code (B)
// Paste this code into 'foo_run' preferences  Path:  field .

// This code generates a long string of alphanumeric characters and words separated by spaces, and all special characters are replaced by spaces.
// For example, the sample playlist item from above would end up looking like this in the Google search field:
// [!--sizeo:1--][span style=\"font-size:8pt;line-height:100%\"][!--/sizeo--]music Henryk Szeryng  Hendl  Orch Chicago LALO  Symphonie Espagnole  1961  Vinyl  Classic Records  RCA Living Stereo  reissue series  1994    Deluxe 1S  Box Set  item  LSC 2456  Ripped  Oct 2011  Allegro non troppo[/size]

// Note: I paste this exact same code into the  Label:  field    ...EXCEPT I prefix:  'Google -'  to the beginning    ...AND I strip off the starting string:  http://www.google.com/search?q=    ...AND I strip off the ending string:  &ie=utf-8
Code: [Select]
http://www.google.com/search?q=$replace(music' '$puts(va_string,'VA ')$if($stricmp($meta(va),'1'),$puts(va,1))$if($stricmp($meta(various),'1'),$puts(va,1))$if($stricmp($meta(various artists),'1'),$puts(va,1))$if($trim($meta(album artist)),$puts(va,1))$if($stricmp($left($meta(artist),4),'v : '),$puts(va,1))$if($stricmp($left($meta(artist),3),'v: '),$puts(va,1))$if($stricmp($left($meta(artist),3),'v. '),$puts(va,1))$if($stricmp($left($meta(artist),4),'v / '),$puts(va,1))$if($stricmp($left($meta(artist),3),'v/ '),$puts(va,1))$if($stricmp($left($meta(artist),2),'v/'),$puts(va,1))$if($stricmp($left($meta(artist),4),'v - '),$puts(va,1))$if($stricmp($left($meta(artist),3),'v- '),$puts(va,1))$if($stricmp($left($trim($meta(artist)),2),'va'),$puts(va,1))$if($stricmp($left($meta(artist),3),'va '),$puts(va,1))$if($stricmp($left($meta(artist),3),'v a'),$puts(va,1))$if($stricmp($trim($meta(artist)),'v.a.'),$puts(va,1))$if($stricmp($trim($meta(artist)),'v. a.'),$puts(va,1))$if($stricmp($left($meta(artist),8),'various '),$puts(va,1))$if($stricmp($trim($meta(artist)),'various'),$puts(va,1))$if($stricmp($trim($meta(artist)),'various artists'),$puts(va,1))$if($stricmp($trim($meta(artist)),'varios'),$puts(va,1))$if($stricmp($trim($meta(artist)),'varies'),$puts(va,1))$if($stricmp($left(%directoryname%,4),'v - '),$puts(va,1))$if($stricmp($left(%directoryname%,3),'v_ '),$puts(va,1))$if($stricmp($left(%directoryname%,3),'v- '),$puts(va,1))$if($stricmp($left(%directoryname%,3),'va-'),$puts(va,1))$if($stricmp($left(%directoryname%,3),'va '),$puts(va,1))$if($stricmp($left(%directoryname%,3),'va_'),$puts(va,1))$if($strstr($lower(%path%),'\v '),$puts(va,0))$if($strstr($lower(%path%),'\v\'),$puts(va,1))$if($strstr($lower(%path%),'\va. '),$puts(va,1))$if($strstr($lower(%path%),'\va- '),$puts(va,1))$if($strstr($lower(%path%),'\va '),$puts(va,1))$if($strstr($lower(%path%),'\va\'),$puts(va,1))$if($strstr($lower(%path%),'\various\'),$puts(va,1))$if($strstr($lower(%path%),'\various artists\'),$puts(va,1))$if($strstr($lower(%path%),'\_va\'),$puts(va,1))$if($strstr($lower(%path%),'\_various\'),$puts(va,1))$if($strstr($lower(%path%),'\_various artists\'),$puts(va,1))$if($strstr($lower(%path%),' va - '),$puts(va,1))$if($strstr($lower(%path%),' va- '),$puts(va,1))$if($strstr($lower(%path%),' va . '),$puts(va,1))$if($strstr($lower(%path%),' va. '),$puts(va,1))$if($strstr($lower(%path%),' various artists'),$puts(va,1))$if(%album%,$if(%tracknumber%,$if($stricmp($get(va),1),$get(va_string)[$if2($meta(album artist),$meta(artist))]' '$if2($trim(%album%),'%album%')' '$if2('('$trim(%date%)')','(%date%)')' '$if2($substr(%comment%,$add($strstr(%comment%,<PRODUCTID>),$len(<PRODUCTID>)),$sub($strstr(%comment%,</PRODUCTID/>),1)),$directory(%path%,2)' '$directory(%path%,1))$if2(' '%title%,' '%filename%),$if3($meta(album artist),$meta(artist),'%artist%')' '$if2($trim(%album%),'%album%')' '$if2('('$trim(%date%)')','(%date%)')' '$if2($substr(%comment%,$add($strstr(%comment%,<PRODUCTID>),$len(<PRODUCTID>)),$sub($strstr(%comment%,</PRODUCTID/>),1)),$directory(%path%,2)' '$directory(%path%,1))$if2(' '%title%,' '%filename%)),$if($stricmp($get(va),1),$get(va_string)[$if2($meta(album artist),$meta(artist))]' '$if2($trim(%album%),'%album%')' '$if2('('$trim(%date%)')','(%date%)')' '$if2($substr(%comment%,$add($strstr(%comment%,<PRODUCTID>),$len(<PRODUCTID>)),$sub($strstr(%comment%,</PRODUCTID/>),1)),$directory(%path%,2)' '$directory(%path%,1))$if2(' '%title%,' '%filename%),$if3($meta(album artist),$meta(artist),'%artist%')' '$if2($trim(%album%),'%album%')' '$if2('('$trim(%date%)')','(%date%)')' '$if2($substr(%comment%,$add($strstr(%comment%,<PRODUCTID>),$len(<PRODUCTID>)),$sub($strstr(%comment%,</PRODUCTID/>),1)),$directory(%path%,2)' '$directory(%path%,1))$if2(' '%title%,' '%filename%))),$if($stricmp($get(va),1),$get(va_string)[$if2($meta(album artist),$meta(artist))]' '$if2($trim(%album%),'%album%')' '$if2('('$trim(%date%)')','(%date%)')' '$if2($substr(%comment%,$add($strstr(%comment%,<PRODUCTID>),$len(<PRODUCTID>)),$sub($strstr(%comment%,</PRODUCTID/>),1)),$directory(%path%,2)' '$directory(%path%,1))$if2(' '%title%,' '%filename%),$if3($meta(album artist),$meta(artist),'%artist%')' '$if2($trim(%album%),'%album%')' '$if2('('$trim(%date%)')','(%date%)')' '$if2($substr(%comment%,$add($strstr(%comment%,<PRODUCTID>),$len(<PRODUCTID>)),$sub($strstr(%comment%,</PRODUCTID/>),1)),$directory(%path%,2)' '$directory(%path%,1))$if2(' '%title%,' '%filename%))),' ','+','&','+','/','+','\','+','|','+','[','+',']','+','(','+',')','+','-','+',',','+',';','+',':','+','.','+','','+')&ie=utf-8

Title: foo_run 0.3.7
Post by: pone on 2011-10-22 04:41:09
does anybody know the command lines for native insturments traktor?
i would like to send file from foobar to the preview player of traktor.
Title: foo_run 0.3.7
Post by: marc2003 on 2011-10-22 09:47:17
well the standard convention for opening files in windows is....

Code: [Select]
"path\to\app.exe" "path\to\file.ext"


you could try running traktor from the command line (traktor /?) or check it's documentation to see if there are any further arguments you can pass on the command line.
Title: foo_run 0.3.7
Post by: pone on 2011-10-22 11:44:00
that's how far i get. but i need further arguments to tell traktor what to do whith the files i send to it.
the problem is i can't find any documentation which present command lines for interaction of traktor and other software.
part of the problem might be that i don't really know for what to search. do such command lines exist for every software?
Title: foo_run 0.3.7
Post by: marc2003 on 2011-10-22 11:50:20
not all programs support command line arguments but there's a high probability that if it does, running it with /? will give some help.
Title: foo_run 0.3.7
Post by: pone on 2011-10-22 17:03:54
thanks for your help. unfortunatelly i'm not so familiar with command lines.

where do i have to use "/?" ? at Command Prompt?
i've tested there several command combinations, but without success. these are the lines i've tested:

"C:\Program Files\Native Instruments\Traktor 2\Traktor.exe" /?
"C:\Program Files\Native Instruments\Traktor 2\Traktor.exe" help /?
help "C:\Program Files\Native Instruments\Traktor 2\Traktor.exe"
help "C:\Program Files\Native Instruments\Traktor 2\Traktor.exe" /?

can you tell me what i'm doing wrong?

at Command Promt, there is always C:\Users\My Username> at the begin of the line. do I have to delete this? how?
Title: foo_run 0.3.7
Post by: Glarg on 2011-10-23 01:04:47
Is it possible to create .txt files with this? I'm using it with foo_uie_lyrics2 and if I need to enter lyrics manually I want it to create and open a .txt file named %artist% - %title%.txt in a defined location.
Title: foo_run 0.3.7
Post by: tpijag on 2011-10-23 01:08:47
I use a single directory to hold all lyrics. The following works for me.

"C:\Program Files\Notepad++\Notepad++.exe" "C:\Program Files\foobar2000\DeadWords\ %artist% - %Title%.txt"

Editor pops up a dialog that file does not exist and creates it.
Title: foo_run 0.3.7
Post by: Glarg on 2011-10-23 14:53:26
That's actually even better than what I wanted. This way I can either edit existing lyrics or paste new lyrics. Thanks.
Title: foo_run 0.3.7
Post by: GiveMe9 on 2011-12-01 19:39:02
Thanks alot for very usefull component
but i have a one request for this component

I am a Jpn user and sometimes %album% or other TF have multibyte characters
so when i assing this component to send command-line argument which contain multibyte characters to IE,
Youtube for example, dosent work i intended to.

That because youtube Search query URL needs URL encoded.
EX.
http://www.youtube.com/results?search_query=林檎 (http://www.youtube.com/results?search_query=林檎)

http://www.youtube.com/results?search_quer...%9E%97%E6%AA%8E (http://www.youtube.com/results?search_query=%E6%9E%97%E6%AA%8E)

now I made external Url Encoder tools ,and throw command-line argument to it
Quote
RunServiceとインターネットエクスプローラーを強力に連携させる -EscapeUriString.exeの公開- - PNNブログCEOの趣味悠々自適生活
http://pnnceo.blog.fc2.com/blog-entry-95.html (http://pnnceo.blog.fc2.com/blog-entry-95.html)


my request is that this component will supports URL Encodeing default.
Thanks
Title: foo_run 0.3.7
Post by: Bryter on 2011-12-03 01:38:04
How do you get to the last.fm page of a song and artist? I had it written somewhere but now i lost it and i don't have the smallest clue how to do it 
Will appreciate if someone could help.
Title: foo_run 0.3.7
Post by: godrick on 2011-12-04 18:45:17
I have a puzzling situation: I'm listening to an internet radio station, and I can see the artist and title information in the status bar area and in the main window area, and artist bio in the biography component.  These areas all reference %artist%, and the status bar and main window also reference %title% in my configuration.  So the radio station is passing on artist and track title information that Foobar2000 successfully understands.  So far so good.

But when I right-click on the playing track and select "run services" and select "google artist". which also references %artist% in its command string (http://www.google.com/search?q=$replace(%artist%, ,+)&ie=utf-8), the google search looks for "?".  This tells me that the google search is not reading the %artist% information that is simultaneously being read by the main window and status bar areas.  This google search string for this service works perfectly when I'm playing something in my local library.

Interestingly, when I look at the track's properties, the artist area is blank and the track title the name of the internet radio station - both incorrect and different than what the status pane and main window show - and even though these properties are also referencing %artist% and %title% in my configuration.  At this point, I'm puzzled as how the status and main window area can show what they show, which appears accurate from listening to the actual music playing.

Any ideas of what I need to change to get the google search to sucessfully read the %artist% information or whatever the radio station is providing that the status pane and main window areas can somehow read?  thanks
Title: foo_run 0.3.7
Post by: PetraP on 2011-12-09 09:29:39
Hi!

@ Godrick : same prob here   

(http://img6.imagebanana.com/img/kfm7a5wk/thumb/webradiomhh.jpg) (http://www.imagebanana.com/view/kfm7a5wk/webradiomhh.jpg)

All run services like 'Google artist', 'AllMusic artist' or 'MusicBrainz artist'
search instead for the streamed artist only for a '?'

All works fine with non-streamed music coming directly from my hd

Title: foo_run 0.3.7
Post by: PetraP on 2011-12-09 09:38:52
@ Florian : very cool plugin, thanks a lot

I'm not able to make the following services run for www.heavyharmonies.com

-->  'HeavyHarmonies artist'
-->  'HeavyHarmonies album'

Any help for working paths is greatly appreciated.
Title: foo_run 0.3.7
Post by: gism on 2012-01-02 22:08:08
Would it be possible to refine a search for this site (http://www.killfromtheheart.com/search.php)? Ya know a command to search for %artist% without having to type it in there. Help appreciated thanks.
Title: foo_run 0.3.7
Post by: gism on 2012-01-10 17:10:28
@ Florian : very cool plugin, thanks a lot

I'm not able to make the following services run for www.heavyharmonies.com

-->  'HeavyHarmonies artist'
-->  'HeavyHarmonies album'

Any help for working paths is greatly appreciated.


You can do as I did: just name your service Search Heavy Harmonies and use the search page (in this case the main page):
Code: [Select]
http://www.heavyharmonies.com


or:
1. Search for the band's first letter:
Code: [Select]
http://www.heavyharmonies.com/cgi-bin/gletter.cgi?Letter=$cut(%artist%,1)


2. Use Google:
Code: [Select]
http://www.google.com/search?q=$replace(%artist%, ,+)&sitesearch=heavyharmonies.com


Code: [Select]
http://www.google.com/search?q=$replace(%album%, ,+)&sitesearch=heavyharmonies.com
Title: foo_run 0.3.7
Post by: gumpster on 2012-01-16 23:41:35
I'd like to find out if there is a Foobar2000 command or variable that contains the files that one selects in a library or playlist view.  I've looked in the title formatting and search query areas and I did not find anything that seemed appropriate.

The context of the need:  a few of us would like to select a bunch of files and then launch Mp3tag with those files loaded into Mp3tag, using foo_run.  But the approach of using the "simulataneous runs" feature of foo_run is incompatible with Mp3tag.  Instead, it looks like we need to pass a playlist to Mp3tag containing the selected files.  I'm hoping there is some kind of variable within Foobar2000 that people use when using command lines that will work that I can insert into the Mp3tag command line, or there is something I could use via simple script that invokes Mp3tag and then call the script from foo_run.  We're looking to select files in a playlist viewer and then launch the Mp3tag service with a single click, instead of selecting files, then manually saving a temp playlist and then launching the Mp3tag service.

Moderator: Since I'm seeking advice on something that doesn't seem unique to foo_run (how to reference selected files in command lines or scripts), I though this was best posted in the general forum, but if you think this is unique enough to foo_run please move this to the third party component forum for foo_run.

The thread that relates to this in Mp3tag forms:  http://forums.mp3tag.de/index.php?showtopic=15010 (http://forums.mp3tag.de/index.php?showtopic=15010) 

Thanks in advance for any help or suggestions.
Title: foo_run 0.3.7
Post by: pone on 2012-02-08 10:44:57
I'm trying to extract zip and rar archives with 7-zip from foobar with foo_run.
But I can't get it running. Can anbody help me?

Title: foo_run 0.3.7
Post by: foo_peter on 2012-02-08 11:30:46
Hello Pone
I hope I have understood correctly then try the following times:

WinRAR a Info.rar  "$directory_path(%path%)"
Title: foo_run 0.3.7
Post by: pone on 2012-02-08 15:13:09
Hello Pone
I hope I have understood correctly then try the following times:

WinRAR a Info.rar  "$directory_path(%path%)"

I want to extract/unzip the archives. I guess you command does the add files to a archive?

I experimented a little bit and searched through the internet. This works of zip Files:
"C:\Program Files\7-Zip\7za.exe" x "$substr(%_path%,1,$sub($strrchr(%_path%,'|'),1))" "-o$directory_path($substr(%_path%,1,$sub($strrchr(%_path%,'|'),1)))"

But it seems that 7za, the command line version of 7Zip, is not abel to unpack rar files due to licence problems, whereas the Windows version ca do that. Bad luck. Maybe I will look for another tool.

I found a good tutorial for 7zip command lines here:
http://www.ojaehrling.de/Eisfair-Pakete/7zip/ (http://www.ojaehrling.de/Eisfair-Pakete/7zip/)



EDIT:
I got it. I was thinkin I have to use 7za.exe for command lines. That was wrong. If I use 7z.exe it works also with rar files:
"C:\Program Files\7-Zip\7z.exe" x "$substr(%_path%,1,$sub($strrchr(%_path%,'|'),1))" "-o$directory_path($substr(%_path%,1,$sub($strrchr(%_path%,'|'),1)))"
Title: foo_run 0.3.7
Post by: MDMA on 2012-02-08 23:18:09
Great script, very useful. Would it be possible to get the archive to delete itself after successful extraction?
Title: foo_run 0.3.7
Post by: quartermind on 2012-02-21 21:01:31
Thank a lot Florian for the component.

I suggest those who are troubled with &, + etc. in their tags to use this filter for "bad" chars in URLs
Code: [Select]
$replace(WHATEVER, ,'%20','&','%26',/,'%2F',?,'%3F',+,'%2B',=,'%3D','%','%25',#,'%23')
instead of
Code: [Select]
$replace(WHATEVER, ,+)


Perfect for last.fm (track page script):
Code: [Select]
http://www.last.fm/music/$replace(%artist%, ,'%20','&','%26',/,'%2F',?,'%3F',+,'%2B',=,'%3D','%','%25',#,'%23')/$replace(%album%, ,'%20','&','%26',/,'%2F',?,'%3F',+,'%2B',=,'%3D','%','%25',#,'%23')/$replace(%title%, ,'%20','&','%26',/,'%2F',?,'%3F',+,'%2B',=,'%3D','%','%25',#,'%23')
Title: foo_run 0.3.7
Post by: quartermind on 2012-02-27 16:46:29
UPD. I explored that the formula is not perfect for last.fm. It fails when the slash and the space meet. Rather replace / with %252F:
Code: [Select]
http://www.last.fm/music/$replace(%artist%, ,'%20','&','%26',/,'%252F',?,'%3F',+,'%2B',=,'%3D','%','%25',#,'%23')/$replace(%album%, ,'%20','&','%26',/,'%252F',?,'%3F',+,'%2B',=,'%3D','%','%25',#,'%23')/$replace(%title%, ,'%20','&','%26',/,'%252F',?,'%3F',+,'%2B',=,'%3D','%','%25',#,'%23')
Title: foo_run 0.3.7
Post by: TGK on 2012-03-25 11:10:51
Hello!
How do I configure this plugin in foobar2000 to be able to click on links / or run a browser, if the tags (URL of the publisher, URL, and so the performer) mp3 file has a reference type htpp: \ \ www.test.com?
Title: foo_run 0.3.7
Post by: ozzyan on 2012-04-16 10:22:11
Hi guys,

This is my first post here. I'm a longtime FB user but lately I've been re-configuring the whole thing, discovered this great plugin yesterday and I would appreciate some help. Here's what I need...

I want to select an item (album) in the Album Art panel, then run a service which will open Irfanview and browse its artwork. All of the artwork images (various names) are stored inside the cover folder, which is inside the music folder. For example:

Folder C:\Music\Faith No More - Introduce Yourself (1987) contains FLACs and subfolder named cover (C:\Music\Faith No More - Introduce Yourself (1987)\cover) with files front.jpg, back.jpg, blahblah.jpg etc.
I want to select the file/folder in Album Art panel and then run a service which will make IrfanView display the first .jpg within the cover subfolder so I can browse the rest.

I've run "C:\Program Files '('x86')'\IrfanView\i_view32.exe" "$replace(%path%,%filename_ext%,) and it successfully opens IrfanView and displays any artwork which is stored inside the same folder as the FLACs, now I just need to point it to the subfolder cover instead. This must be simple. 

Many thanx!
Title: foo_run 0.3.7
Post by: ozzyan on 2012-04-16 13:25:32
OK, got it...
"C:\Program Files '('x86')'\IrfanView\i_view32.exe" "$replace(%path%,%filename_ext%,)\cover\
I was sure I've tried that one already without success, but now it seem to work...

Anyway, another problem. I can run this service from Album Art Panel (right click item>Run Service), but the shortcut (toolbar button) I've made doesn't work. When I select Now Playing Item as Item Group it works, but I cannot make a button work with Album Art Panel selection. This is very important to me since I use RAM Disk plugin for playback and I need to see the artwork associated with Album Art Panel selection (FLACs on the HDD), not with the Now Playing Item (since no artwork is loaded in RAM). Any ideas?
Title: foo_run 0.3.7
Post by: Dario on 2012-04-18 23:16:36
I've been trying to plot a spectrogram (of a FLAC/WAV file) using SoX in conjunction with foo_run, but to no avail. I have this in the foo_run menu:

"C:\SoX 14.4.0\sox.exe" "%path% -n spectrogram -d 3:00"

and it doesn't work. Does anybody know how to properly set it up?
Title: foo_run 0.3.7
Post by: marc2003 on 2012-04-19 03:27:19
i don't use SOX but surely that last double quote should come after %path%?
Title: foo_run 0.3.7
Post by: Dario on 2012-05-15 09:22:28
i don't use SOX but surely that last double quote should come after %path%?

Okay, that was a bit stupid of me. Thank you.

However, since most of my audio is encoded in TAK, and SoX does not natively support TAK input, I tried piping the decoder along with SoX, but for some reason, it doesn't work:

"D:\Audio Encoders\TAK 2.2.0\Takc.exe" -d "%path%" - |"C:\SoX 14.4.0\sox.exe" -t wav - -n spectrogram -o "C:\spectrogram.png"

However, if I were to replace %path% with a definite path, and run it in the command prompt, such as:

"D:\Audio Encoders\TAK 2.2.0\Takc.exe" -d "F:\Albums\Drudkh\[2006] ???? ? ????? ????????\4. ??????????.tak" -|"C:\SoX 14.4.0\sox.exe" -t wav - -n spectrogram -o "F:\Albums\Drudkh\[2006] ???? ? ????? ????????\4. ??????????.tak.spectrogram.png"

it'd work perfectly. Why am I unable to utilize pipes along with foo_run?
Title: foo_run 0.3.7
Post by: marc2003 on 2012-05-15 15:01:34
if you add

Code: [Select]
cmd /k


to the beginning of the command, it will leave the window open and you might see an error?
Title: foo_run 0.3.7
Post by: lvqcl on 2012-05-15 19:10:42
"|" is a special character for command prompt (cmd.exe). You must add "cmd /c" to the beginning of your command.
Title: foo_run 0.3.7
Post by: Dario on 2012-05-15 19:45:17
if you add

Code: [Select]
cmd /k


to the beginning of the command, it will leave the window open and you might see an error?

This is what I get:

'D:\Audio' is not recognized as an external command… is what I get. No idea why it doesn't account for the full path ("D:\Audio Encoders\TAK 2.2.0\Takc.exe").

"|" is a special character for command prompt (cmd.exe). You must add "cmd /c" to the beginning of your command.


Excuse my ignorance (I'm still learning)—I tried the following:

cmd /c "D:\Audio Encoders\TAK 2.2.0\Takc.exe" -d "%path%" - |"C:\SoX 14.4.0\sox.exe" -t wav - -n spectrogram -o "%path%.spectrogram.png"

but to no avail.

Thank you for your assistance.
Title: foo_run 0.3.7
Post by: lvqcl on 2012-05-15 20:28:09
Try:
cmd /c ""D:\Audio Encoders\TAK 2.2.0\Takc.exe" -d "%path%" - |"C:\SoX 14.4.0\sox.exe" -t wav - -n spectrogram -o "%path%.spectrogram.png""

Maybe this will help 
Title: foo_run 0.3.7
Post by: Dario on 2012-05-15 20:29:14
Oh, yes it will! Thank you very much!
Title: foo_run 0.3.7
Post by: onv on 2012-06-25 08:21:53
Foo_run runs external programs only when playing foobar. If playback is stopped - not work. Of course, in the config no lines like this: $if(%isplaying% or %ispause% ..... CONTEXT:Run service/...
Why? Foobar 1.1.13, foo_run 0.3.7
Title: foo_run 0.3.7
Post by: marc2003 on 2012-06-25 15:27:40
CONTEXT:Run service/


it looks like you're using panel stack splitter. try looking at the settings>script tab>titleformat mode on startup and change it to follow cursor.
Title: foo_run 0.3.7
Post by: onv on 2012-06-25 19:34:44
CONTEXT:Run service/


it looks like you're using panel stack splitter. try looking at the settings>script tab>titleformat mode on startup and change it to follow cursor.


Thank you very much, it seems, your advice has helped
Title: foo_run 0.3.7
Post by: prateek88 on 2012-08-08 20:30:17
Need to run two commands simultaneously i.e. for file operation to copy the files to usb (have assigned ctrl+c shortcut)

and other one is to send the same file/files to a particular playlist say "usb"  for which i have assigned ctrl+alt+c.

Is it possible to bind a particular shorcut key to the above mentioned two keys using foo_run, or if some other way?
Title: foo_run 0.3.7
Post by: romor on 2012-08-09 07:15:05
Sharing VBS script (http://db.tt/ByOBtedZ) (download link (http://db.tt/J4KTorWq)) that demonstrates authenticated request to last.fm
As example it provides track specific actions like love, unlove, ban, unban (which BTW are available in foo_softplaylist component, already)
Other services that require authentication include, library management (add/remove items), playlist creation and the like

Making foo_run action for shortcut or button is like this example:
Code: [Select]
wscript foo_lastfm_track.vbs "%artist%" "%title%" love

if script is in foobar2000 folder, otherwise full script path should be provided.
Username and password needs to be set in script for it to be usable

Authentication is granted once requested (with proper username and password), and key is written in registry string for further reuse
Title: foo_run 0.3.7
Post by: jazzy73 on 2012-10-17 18:36:35
Hi!
I´d like to know if its possible to create a run services string that executes Spotify and could search the artist,song and so on..in the spoti´s search box.
I´m able to execute spoti from runservices but not the search...

Thanks!!
Title: foo_run 0.3.7
Post by: motorhorst on 2012-10-18 08:32:18
Hi!
I´d like to know if its possible to create a run services string that executes Spotify and could search the artist,song and so on..in the spoti´s search box.
I´m able to execute spoti from runservices but not the search...


Hi, this path works for me:
spotify:search:$replace(%artist%+%album%, ,+,&,+)
Title: foo_run 0.3.7
Post by: jazzy73 on 2012-10-18 14:59:07
Yes ,great!!thanks!
I´ve tried with a single track search with %title% but i don´t know why not always works..
Title: foo_run 0.3.7
Post by: jazzy73 on 2012-10-21 13:13:41
I´m using this path:

spotify:search:$replace(%title%, ,+,+)

to get a list of all diferent versions of the song,but i´ve noticed that not always works.you know why?

thanks.
Title: foo_run 0.3.7
Post by: Forfit on 2012-11-29 17:16:47
Do it is possibile to add "ambient variable" support in path ?
f.e.:%$temp%
Ty.
Title: foo_run 0.3.7
Post by: yeeeargh on 2013-01-30 15:21:05
Thank a lot Florian for the component.

I suggest those who are troubled with &, + etc. in their tags to use this filter for "bad" chars in URLs
Code: [Select]
$replace(WHATEVER, ,'%20','&','%26',/,'%2F',?,'%3F',+,'%2B',=,'%3D','%','%25',#,'%23')
instead of
Code: [Select]
$replace(WHATEVER, ,+)


Perfect for last.fm (track page script):
Code: [Select]
http://www.last.fm/music/$replace(%artist%, ,'%20','&','%26',/,'%2F',?,'%3F',+,'%2B',=,'%3D','%','%25',#,'%23')/$replace(%album%, ,'%20','&','%26',/,'%2F',?,'%3F',+,'%2B',=,'%3D','%','%25',#,'%23')/$replace(%title%, ,'%20','&','%26',/,'%2F',?,'%3F',+,'%2B',=,'%3D','%','%25',#,'%23')


man, it would be great if there would be a string-function available which would do the mapping. It would look so much tidier if there was something like:
Code: [Select]
http://www.last.fm/music/$escapeUriString(%artist%)/$escapeUriString(%album%)/$escapeUriString(%title%)
Title: foo_run 0.3.7
Post by: marc2003 on 2013-01-31 10:40:09
if you're using foo_run to make buttons, you could replace it with my web links script for WSH panel mod. http://db.tt/BInQ3Abm (http://db.tt/BInQ3Abm)

because it's written in javascript, i use encodeURIComponent on the metadata fields.
Title: foo_run 0.3.7
Post by: doorknob314 on 2013-02-17 10:22:34
Hi,

I hope this question isn't asked before:
Is it possible to go to the application data path of foobar in a relative way like %appdata% instead of the full c:\users\...\appdata\roaming\foobar2000 ?
I've searched al lot, but I can't find it anywhere, so I think it is not possible, but maybe someone here has a solution?

Thanks
Title: foo_run 0.3.7
Post by: db1989 on 2013-02-17 14:48:22
Do you mean to quickly open that location from Windows Explorer, its Run box, and so on? If so, just create a new environment variable (http://www.itechtalk.com/thread3595.html) for it.

Also, I can’t see any real relevance to foo_run here, unless I’m missing something,
Title: foo_run 0.3.7
Post by: marc2003 on 2013-02-18 10:40:27
yes it can be relevant. you could launch an external application pointing to a file that resides in the foobar2000 config folder without having to hardcode the username into the path.

and to answer the question, it's not possible.

you could create buttons with WSH panel mod but that requires a lot more effort. it has helpful variables such as fb.ProfilePath.
Title: foo_run 0.3.7
Post by: Tvk on 2013-03-17 00:29:28
My albums and artwork is currently sorted like this (example):

D:\Music\Album Art\Pink Floyd (1979) The Wall.jpg
D:\Music\Albums\Pink Floyd (UK)\(1979) The Wall

I basically want to move the artwork file to the appropriate album folder, and rename it folder.jpg

Is this something i can accomplish with foo_run?

Title: foo_run 0.3.7
Post by: yeeeargh on 2013-03-20 14:07:26
My albums and artwork is currently sorted like this (example):

D:\Music\Album Art\Pink Floyd (1979) The Wall.jpg
D:\Music\Albums\Pink Floyd (UK)\(1979) The Wall

I basically want to move the artwork file to the appropriate album folder, and rename it folder.jpg

Is this something i can accomplish with foo_run?


would be quite easy if there wasn't that "(UK)" next to the artist name. do you have that somewhere in you id3-tags?
it would be something along those lines (didn't check it really):
Code: [Select]
cmd /C move "D:\Music\Album Art\%artist% (%year%) %album%.jpg" "D:\Music\Albums\%artist%\(%year%) %album%\folder.jpg"
Title: foo_run 0.3.7
Post by: Tvk on 2013-03-24 22:47:05
Ended up using this, and it worked perfectly:

Code: [Select]
cmd /C move "D:\Music\Album Art\$cut($directory(%path%,2),$sub($len($directory(%path%,2)),5)) $directory(%path%,1).jpg" "D:\Music\Albums\$directory(%path%,2)\$directory(%path%,1)\folder.jpg"
Title: foo_run 0.3.7
Post by: Dario on 2013-03-29 12:56:18
Why am I unable to pipe FFmpeg decoded output to SoX and produce a spectrogram? Here's what I'm using:

Code: [Select]
cmd /c ""D:\Audio Encoders\FFmpeg\bin\ffmpeg.exe" -i "%path%" - | "C:\SoX 14.4.0\sox.exe" -t raw -e signed -b 16 -c 2 -r 44.1k - -n spectrogram -o "%path%.spectrogram.png" -c """


All I get is an empty spectrogram.
Title: foo_run 0.3.7
Post by: mapmike on 2013-04-28 07:25:42
Sharing VBS script (http://db.tt/ByOBtedZ) (download link (http://db.tt/J4KTorWq)) that demonstrates authenticated request to last.fm
As example it provides track specific actions like love, unlove, ban, unban (which BTW are available in foo_softplaylist component, already)


Very cool, thanks for this amazing contribution! I can imagine that the API methods for adding tags on lastfm would be especially useful, adding tags directly from foobar!

I gave your script a try for the "love" and "unlove" actions and it doesn't work for Japanese, Hindi, etc, but it works fine for English tags. I have no knowledge of VBS, but I skimmed the code and changed "URLEncode(artist)" to just "artist" and "URLEncode(track)" to "track", which solved that problem immediately, but I don't know what functionality is lost without using that "URLEncode" function, because I don't understand what it's doing just by casually reading the code.
Title: foo_run 0.3.7
Post by: romor on 2013-04-28 17:38:00
I don't remember, but I guess I made that urlencode function for artists/tracks with accented characters.

addTags/removeTag example: https://gist.github.com/c6cb670008872780c0b7 (https://gist.github.com/c6cb670008872780c0b7)

As you can check, I added input dialog and made new api signature because unlike previous action (love/ban...) there is additional parameter `tags`. Currently, if script is called properly (i.e. "<script> %artist% %title% addTags"), it asks user for tags through input dialog. You can perhaps add default values based on your track genre tags or similar, or even make it to mass tag.

If you don't know VBS at all, this is nice reference: http://www.w3schools.com/vbscript/vbscript_ref_functions.asp (http://www.w3schools.com/vbscript/vbscript_ref_functions.asp)
Title: foo_run 0.3.7
Post by: marc2003 on 2013-04-28 17:42:17
i *think* the problem with the script is that the artist/track fields needs encoding before creating the api_sig.
Title: foo_run 0.3.7
Post by: romor on 2013-04-28 17:55:24
scrap this...
Title: foo_run 0.3.7
Post by: mapmike on 2013-04-29 04:39:15
@romor: Wow, thanks again. I'm gonna play around with this. I'm new to VBS, but I'm having fun learning about programming at the moment for the sake of my foobar fetishism. I think the best usage will be to input tags into foobar (normal id3v2 metadata or even custom_db) and then run batches of the lastfm tagger non-interactively. That way the tags are always safe and sound in the local database whether or not they're also sent to lastfm. I could also see making an Autohotkey script that generates an input box for tags and then adds tags to both foobar and lastfm at the same time.

@marc2003: I'm gonna do some more testing of that love/unlove script and start using it for real, but in my initial testing, it worked just fine on every string I tested in various languages with the "URLEncode" function totally excised from the script. That little "special character" stuff should be easy to tweak in any case.
Title: foo_run 0.3.7
Post by: marc2003 on 2013-04-29 12:24:40
i thought it needed doing based on what i read here under section 4. i've not tried it myself which is why i emphasised the *think* in my post.

http://www.last.fm/api/mobileauth (http://www.last.fm/api/mobileauth)

but if it works without then great.
Title: foo_run 0.3.7
Post by: marc2003 on 2013-04-30 11:12:42
being a bit thick, it took me awhile to realise why the encode isn't needed. it's because it's a POST request and the setRequestHeader takes care of it. you only need to send the method as part of the URL. the rest you can send as post data. mine is a little different because i'm using javascript.

Code: [Select]
this.api_sig = hex_md5("api_key" + this.api_key + "artist" + ps.artist + "method" + method + "sk" + this.sk + "track" + ps.track + this.secret);
this.data = "api_key=" + this.api_key + "&api_sig=" + this.api_sig + "&format=json&sk=" + this.sk + "&artist=" + ps.artist + "&track=" + ps.track;

this.xmlhttp.open("POST", "https://ws.audioscrobbler.com/2.0/?method=" + method, true);
this.xmlhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded;charset=UTF-8");
this.xmlhttp.setRequestHeader("User-Agent", this.user_agent);
this.xmlhttp.send(this.data);


thanks romor for the pointers i got from your script.

one other unrelated thing i noticed from looking at yours is that it appears to try and save the session key to the registry. that doesn't work for me using windows 7 x64 so it does the auth request on every action.
Title: foo_run 0.3.7
Post by: Forfit on 2013-10-20 06:06:00
I use:
http://www.allmusic.com/search/all/$r...artist%+%title% (http://www.allmusic.com/search/all/$replace(%artist%+%title%), ,+)
and works with normal file.
But if i use with streaming radio i get radio name and not current file song.
I can copy current file song with "copy name" contextual command.
Do it is possible to use the command with "copy name" parameter for radio streaming?
Title: foo_run 0.3.7
Post by: marc2003 on 2013-10-20 08:53:58
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...

(https://dl.dropboxusercontent.com/u/22801321/2013/september/web%20links.png)

the script is named web links inside this package. check the readme first. https://dl.dropboxusercontent.com/u/22801321/wsh/samples.zip (https://dl.dropboxusercontent.com/u/22801321/wsh/samples.zip)
Title: foo_run 0.3.7
Post by: picco on 2013-11-28 22:57:40
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!
Title: foo_run 0.3.7
Post by: marc2003 on 2013-11-29 02:29:54
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\...


Title: foo_run 0.3.7
Post by: picco on 2013-11-29 08:38:37
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...!!
Title: foo_run 0.3.7
Post by: mire777 on 2013-11-29 09:53:42
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?
Title: foo_run 0.3.7
Post by: marc2003 on 2013-11-29 10:05:47
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.
Title: foo_run 0.3.7
Post by: mire777 on 2013-11-29 10:16:47
it should work if you wrap the path in double quotes.


aha, thank's it work now
Title: foo_run 0.3.7
Post by: picco on 2013-11-29 11:08:11
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...
Title: foo_run 0.3.7
Post by: marc2003 on 2013-11-29 13:13:08
i have the spaces on the path...


then you must use double quotes. give us the full command you're trying to use.
Title: foo_run 0.3.7
Post by: picco on 2013-11-29 13:14:08
i have the spaces on the path...


then you must use double quotes. give us the full command you're trying to use.

ok, so i will try!! thanks a lot!
Title: foo_run 0.3.7
Post by: picco on 2013-11-30 08:06:09
with the double quotes it work!! thanks a lot!!! 
Title: foo_run 0.3.7
Post by: wolfsong on 2014-01-28 07:23:59
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
Title: foo_run 0.3.7
Post by: r3v0 on 2014-01-31 22:37:10
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.
Title: foo_run 0.3.7
Post by: marc2003 on 2014-01-31 23:16:29
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


Title: foo_run 0.3.7
Post by: r3v0 on 2014-02-01 07:11:42
try adding cmd /c to the start...

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


Thanks, I'll try that.
Title: foo_run 0.3.7
Post by: r3v0 on 2014-02-02 12:40:31
try adding cmd /c to the start...

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


Thanks, I'll try that.


It Worked 
Title: foo_run 0.3.7
Post by: Anakunda on 2014-02-09 09:49:05
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
Title: foo_run 0.3.7
Post by: wolfsong on 2014-02-16 02:40:49
i have the spaces on the path...


then you must use double quotes. give us the full command you're trying to use.

This doesn't work for me on 8.1 either.

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


I copied it directly from a working shortcut on the desktop.
Title: foo_run 0.3.7
Post by: marc2003 on 2014-02-16 03:10:39
() 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:
Title: foo_run 0.3.7
Post by: wolfsong on 2014-02-16 05:30:31
() 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:

Fixed!
Title: foo_run 0.3.7
Post by: magnar on 2014-05-14 06:24:48
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)"
Title: foo_run 0.3.7
Post by: fohrums on 2014-07-24 21:55:08
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%)"
Title: foo_run 0.3.7
Post by: lvqcl on 2014-07-24 21:58:05
See post #494.
Title: foo_run 0.3.7
Post by: Hurlex on 2014-10-09 03:01:56
Is it possible to have a script embed artwork if you already have the image?
Title: foo_run 0.3.7
Post by: marc2003 on 2014-10-09 14:18:33
just select some files>right click>tagging>attach pictures (or batch attach pictures).


Title: foo_run 0.3.7
Post by: Hurlex on 2014-10-10 17:43:06
thanks , but is there a way to automize this if the picture is always in the same folder and has the name "artist - track.jpeg", for example, so that you don't have to specify the folder & filename each time?

Edit: I've got about 20k songs which don't have any artwork and album tags embedded so I want to optimize this process as much as possible.
Title: foo_run 0.3.7
Post by: marc2003 on 2014-10-10 17:46:35
look at the end of my post - the bit in brackets. 

you'd probably want something like %artist% - %title%.jpeg
Title: foo_run 0.3.7
Post by: Strigoy on 2014-10-18 11:31:47
hey guys, is it possible to make foobar change file/folder attributes via foo_run?

Code: [Select]
attrib -r %_path% /d


something like this...
Right now I have a batch file for removing r/o attrib from the files in one of my folders, but being able to do so from within the player for specific files would be even better.
Title: foo_run 0.3.7
Post by: marc2003 on 2014-10-18 13:36:30
just guessing but you might need to use cmd /c like this...
Code: [Select]
cmd /c attrib...


edit: maybe stick double quotes around the path as well because it will most likely have spaces in it.
Title: foo_run 0.3.7
Post by: Strigoy on 2014-10-18 15:16:07
just guessing but you might need to use cmd /c like this...
Code: [Select]
cmd /c attrib...


edit: maybe stick double quotes around the path as well because it will most likely have spaces in it.


thanks, marc, it works! Well, sort of

Code: [Select]
cmd /c attrib -r "%_path%" /s


Works for single files, but not for selections.

iirc attrib also has /d key which is supposed to make it apply attributes to folder, but it doesn't work for me for some reason.

edit: http://www.microsoft.com/resources/documen...b.mspx?mfr=true (http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/attrib.mspx?mfr=true)
for reference
Title: foo_run 0.3.7
Post by: marc2003 on 2014-10-18 15:21:01
it looks like using /d means you have to supply the path to the directory...

Code: [Select]
$directory_path(%path%)
Title: foo_run 0.3.7
Post by: rubber soul on 2014-11-01 17:55:59
Is it possible to have foo_run run a script at the beginning of a selected list, script for each item in list, and then a script for the end of the list?  Here's my problem:

I wrote a python script that takes in a bunch of metadata from foobar.  It clusters the data into albums and then spits out some playlists based on some logic like duplicate albums, albums with track dupes, etc.  Right now I have it working by using foobar's text tools to copy all the metadata into a list and then the script takes that full list and performs the logic to create the playlists.  Is there anyway I can streamline this process to work with foo_run?

process is basically:  create a metadata list, run python script on complete metadata list to generate some smart playlists.

alternatively, i could read in the foobar database directly, though i'm not sure how that is formatted...
Title: foo_run 0.3.7
Post by: sho on 2015-01-07 16:07:49
Yeah, lower is not needed, its just to make it look more tidy, no function at all...

Well, the code works, cause if i do start => run => c:\mp3\mymp3folder\00-path etc, it opens the nfo in the standard nfo viewer (damn nfo viewer) so it works, but just on a couple of dirs cause not all nfo's are exactly in the same format... so i just want it to open the first nfo it can find in the directory.

Good thinking though, maybe the program opening it can find it, or maybe a bat file or something... I'll try later

EDIT

i got the solution:

make a batfile, called opennfo.bat and put it in c:\windows\ , put this in it: FOR %%A in (%1*.nfo) DO %%A


then in foo_run, use this command: opennfo.bat "$directory_path(%path%)\"

that simple actually....


Bolded command opens all nfo files in the directory.

Does anybody know how to write a command in the bat file that will open just one nfo file? I guess it's even more simple than the one above, but I'm not an expert for bat commands.

Thanks!

Title: foo_run 0.3.7
Post by: davideleo on 2015-04-25 17:28:55
I used to run tag&rename with this plug in. Lately I changed my PC and re-installed foobar2000 and the plug-in, but in a portable version and the tag&rename command does not work anymore.
This is what I wrote in the path field:
Code: [Select]
C:\Program Files (x86)\TagRename\TagRename.exe "%path%"

What's wrong with it?
Title: foo_run 0.3.7
Post by: Speech on 2015-04-26 06:41:12
I used to run tag&rename with this plug in. Lately I changed my PC and re-installed foobar2000 and the plug-in, but in a portable version and the tag&rename command does not work anymore.
This is what I wrote in the path field:
Code: [Select]
C:\Program Files (x86)\TagRename\TagRename.exe "%path%"

What's wrong with it?

The answer is already in this thread.
Title: foo_run 0.3.7
Post by: davideleo on 2015-04-26 09:41:30
I used to run tag&rename with this plug in. Lately I changed my PC and re-installed foobar2000 and the plug-in, but in a portable version and the tag&rename command does not work anymore.
This is what I wrote in the path field:
Code: [Select]
C:\Program Files (x86)\TagRename\TagRename.exe "%path%"

What's wrong with it?

The answer is already in this thread.


You're right. I jumped to the end of the thread after failing with the double quotes. Now I saw the brackets problem. Thanks, I'll be more patient next time.
Title: foo_run 0.3.7
Post by: Blueinferno on 2015-06-23 17:24:25
how can i run spotify with the highlighted artist/song in the searchbox? someone in this topic has suggested something like
Code: [Select]
C:\Users\user\AppData\Roaming\Spotify\Spotify.exe search:$replace(%title%, ,+,+)

or
Code: [Select]
C:\Users\user\AppData\Roaming\Spotify\Spotify.exe spotify:search:$replace(%title%, ,+,+)


but neither of these work for me - spotify opens but my query is ignored.
Title: foo_run 0.3.7
Post by: marc2003 on 2015-06-23 17:58:51
IIRC, you don't specify a path to spotify. it should open automatically using just

Code: [Select]
spotify:search:$replace(%title%, ,+)


and you may want to check the documentation for it because things might have changed??
Title: foo_run 0.3.7
Post by: asdfsgt on 2015-08-31 19:57:39
This may have been asked already but I couldn't find an answer, so is it possible to chain commands somehow instead of running them manually step by step?
Title: foo_run 0.3.7
Post by: marc2003 on 2015-08-31 20:05:31
no. if such an option existed, where do you think it would be hidden?  surely it would go in the preferences with everything else...
Title: foo_run 0.3.7
Post by: asdfsgt on 2015-08-31 20:14:21
True... Well, it is still an awesome component!
Title: foo_run 0.3.7
Post by: marc2003 on 2015-08-31 20:20:04
you could of course have a batch file that runs multiple commands. call it something like this...

Code: [Select]
path\to\file.cmd "%artist%" "%album%"


then from inside the batch file, you can access the first argument passed to it with %1, the second argument is %2 and so on.
Title: foo_run 0.3.7
Post by: mire777 on 2015-09-22 17:33:58
Can we use path like this: "fb.ProfilePath\streamripper\streamripper.exe" %path%
Does foobar have some titleformating that point to profile folder?
Title: foo_run 0.3.7
Post by: Issst on 2015-11-10 13:48:53
Hello!

How to run "step by step" 2 commands in one service:
Code: [Select]
foobar2000.exe /runcmd-playlist="Playback Statistics/Rating/1"
foobar2000.exe /runcmd="Playback/Next"


Thanks!
Title: foo_run 0.3.7
Post by: marc2003 on 2015-11-10 18:26:56
put your 2 commands in a batch file and then run the batch file.
Title: foo_run 0.3.7
Post by: Issst on 2015-11-10 19:34:44
put your 2 commands in a batch file and then run the batch file.


Big thanks! It's work.
Title: foo_run 0.3.7
Post by: Issst on 2015-11-11 22:51:33
I have another question, but i do not know where can i ask.

It is possible to create button with RUN SERVICE in Windows Taskbar or Tray?

For example, i want to run service from taskbar even when FB2K is hidden.
Title: foo_run 0.3.7
Post by: marc2003 on 2015-11-12 07:43:04
Use a global keyboard shortcut but make sure it's a combination of keys not used in Windows/other programs.

File>Preferences>Keyboard shortcuts
Title: foo_run 0.3.7
Post by: Issst on 2015-11-12 14:00:09
I created button in Windows Taskbar

1) Assigned CTRL+ALT+P shortcut in FB2K for RUN SERVICE
I checked GLOBAL HOTKEY

2) Created two files .BAT and .VBS:

auto.BAT
Code: [Select]
wscript "d:\soft\Foobar2000\program.vbs"


program.vbs
Code: [Select]
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.AppActivate "foobar2000.exe"
WshShell.SendKeys "^%P"

"^%P" - it's CTRL+ALT+P

3) Create shortcut for .BAT in windows taskbar

It's work fine for me
____________
Title: Re: foo_run 0.3.7
Post by: beesmyer on 2016-01-31 18:44:01
Can anyone help me figure out how to open more than one file in musicbrainz picard with this? I've tried various combinations of everything I found and the closest I can get is opening one file at a time in seperate windows of picard using...

Code: [Select]
"C:\Program Files '('x86')'\MusicBrainz Picard\picard.exe" "%_path%"
Title: Re: foo_run 0.3.7
Post by: Pollux88 on 2016-03-14 16:33:03
Great plugin. I use it to run Spek spectral viewer on files (to tell fake lossless from real lossless), because fooCDtect gives dubious results more often than not.
However if the file is an image+cue sheet, playlist references the .cue file, so when you feed the path to Spek, it tries to open .cue file and expectedly fails. I wrote a little script to circumvent this.
Code: [Select]
D:\spek.exe "$if($and($stricmp($right(%path%,7),wav.cue),$stricmp($left(%__codec%,6),Monkey)),$left(%path%,$sub($len(%path%),7))ape,$if($and($stricmp($right(%path%,7),wav.cue),$stricmp(%__codec%,WavPack)),$left(%path%,$sub($len(%path%),6))wv,$if($and($stricmp($right(%path%,7),wav.cue),$stricmp(%__codec%,FLAC)),$left(%path%,$sub($len(%path%),7))flac,$if($stricmp($right(%path%,7),ape.cue),$left(%path%,$sub($len(%path%),7))ape,$if($stricmp($right(%path%,6),wv.cue),$left(%path%,$sub($len(%path%),6))wv,$if($stricmp($right(%path%,8),flac.cue),$left(%path%,$sub($len(%path%),8))flac,$if($and($stricmp($ext(%path%),cue),$stricmp(%__codec%,FLAC)),$left(%path%,$sub($len(%path%),3))flac,$if($and($stricmp($ext(%path%),cue),$stricmp(%__codec%,WavPack)),$left(%path%,$sub($len(%path%),3))wv,$if($and($stricmp($ext(%path%),cue),$stricmp($left(%__codec%,6),Monkey)),$left(%path%,$sub($len(%path%),3))ape,%path%)))))))))"
It relies on the .cue file being named either exactly the same as .flac, .ape, or .wv file, or be named the same and end with .wav.cue, .ape.cue, etc. This should cover most of the cases, but if there are differences in file names before extension, it will not work.
Hope someone finds this helpful.
Title: Re: foo_run 0.3.7
Post by: davideleo on 2016-04-19 18:15:00
Any suggestion for a script that runs a google image search of the album art? The picture is either in the parent directory or an embedded icon.
Title: Re: foo_run 0.3.7
Post by: radecke on 2016-06-08 11:32:46
Any suggestion for a script that runs a google image search of the album art? The picture is either in the parent directory or an embedded icon.

is use album art downloader for that: https://sourceforge.net/projects/album-art/

here's the script:
".\AlbumArtDownloader\AlbumArt.exe" /ar "%album artist%" /al "%album%" /p "$replace(%path%,%filename_ext%,)folder.%%extension%%" /minSize 300 /coverType front
Title: Re: foo_run 0.3.7
Post by: jazzthieve on 2016-06-08 18:38:00
Any suggestion for a script that runs a google image search of the album art? The picture is either in the parent directory or an embedded icon.

Here's what I use for google
Code: [Select]
https://www.google.be/search?safe=off&hl=en&site=imghp&tbm=isch&source=hp&biw=1920&bih=927&q=$replace(%artist%,' ','+','&','and')+$replace(%album%,' ','+','&','and')
Title: Re: foo_run 0.3.7
Post by: fabiospark on 2016-06-11 18:03:02
Any suggestion for a script that runs a google image search of the album art? The picture is either in the parent directory or an embedded icon.

is use album art downloader for that: https://sourceforge.net/projects/album-art/

here's the script:
".\AlbumArtDownloader\AlbumArt.exe" /ar "%album artist%" /al "%album%" /p "$replace(%path%,%filename_ext%,)folder.%%extension%%" /minSize 300 /coverType front
I've tried to use your string but I'm getting an error.
Shall I have to complete it or change it in same way?

Thanks.
Title: Re: foo_run 0.3.7
Post by: PeteG on 2016-06-12 02:19:27
@fabiospark

Are you using 64 bit Windows? It might be the ".\" in the path that's giving trouble. From the AAD change log:
Quote
Installer now points to "Program Files" rather than "Program Files (x86)" on 64 bit systems.
Hence you should use full path:
Code: [Select]
"C:\Program Files\AlbumArtDownloader\AlbumArt.exe" [options]
Here's another one you can try, with automatic saving of images by type
Code: [Select]
"C:\Program Files\AlbumArtDownloader\albumart.exe" /ar "%album artist%" /al "%album%" /p "$replace(%path%,%filename_ext%,)'%type(cover,cover,back,inside,cd)%'.'%extension%'"
In AAD's main window set Group by: Type and Sort by: Size.
cover is written twice to avoid naming an unknown image type unknown(!). Rename as wanted, e.g. folder,folder or front,front.

Edit: Typo
Title: Re: foo_run 0.3.7
Post by: fabiospark on 2016-06-12 15:08:06
Sorry not to have noticed it before but it seems I have some problem
with AAD itself because when I launch it I'm getting a window with this error:

Quote
Searching for scripts...
Found 1 files: [util.boo]...
Loading references: [System.Web]...
Compiling scripts...
util.boo(76,12): error BCE0005: Unknown identifier: 'Regex'.

and I don't know what it means nor what to do.
I posted the issue in the HA AAD thread and I'm waiting for an answer.
If somebody here can help me about it, she/he'll be welcome.

Thanks.
Title: Re: foo_run 0.3.7
Post by: fabiospark on 2016-06-12 15:56:37
Sorry to reply to myself but I understood that I didn't install the scripts,
together with AAD.
Now I did it and it seems to work.

Now a couple of questions:

Is there a way to download and save automatically album arts and artist pictures?

And, as I've started to be interested in album covers and artist pictures
only since I started to think to copy all my music on an Android device, now
that FB mobile has begun to walk, let me ask if somebody can help me to
understand which settings (picture size, picture files location, etc) should
I use to reach my goal.

Thanks.
Title: foo_run 0.3.7 and foobar2000_v1.3.11_beta_1 having problems? or is it just me...
Post by: fuffi on 2016-07-17 14:58:50
Hello,

can anybody confirm, that foo_run 0.3.7 does not work/run smoothly with foobar2000_v1.3.11_beta_1 ?
Otherwise it would be a crazy coincidence...but some commands are executed, some are not (reproducable).

Not working (but did all the years until today):
Code: [Select]
"..\..\tc+path.cmd" /D /O /S /T "$substr(%_path%,0,$strrchr(%_path%,'\'))"
(opens a batch which opens a program called total commander with the current path of the selected track)
result:
Code: [Select]
Run: Cannot execute ""..\..\tc+path.cmd" /D /O /S /T "C:\William S. Burroughs\1998 - The Best Of William Burroughs From Giorno Poetry Systems (Mercury)\""

Not working (but did all the years until today):
Code: [Select]
".\user-components\AlbumArtDownloaderXUI\AlbumArt.exe" /ar "[%artist%]" /al "[%album%]" /p "C:\mp3\%%name%%.%%extension%%"
result:
Code: [Select]
Run: Cannot execute "".\user-components\AlbumArtDownloaderXUI\AlbumArt.exe" /ar "William S. Burroughs" /al "The Best Of William Burroughs From Giorno Poetry Systems" /p "C:\mp3\%name%.%extension%""

Working:
Code: [Select]
http://www.discogs.com/search?type=all&q=[$replace(%title%,' - ',+, ,+,'_',+,'&',+,'(',,')',,'[',,']',)]&btn=Search
(opens the default browser with discogs site, looking for the title of the selected track)
result: opens my brower ... fine.

I'm not sure, its me (the computer) or the new beta.
thanks/cheers/keep up the good work!
Title: Re: foo_run 0.3.7
Post by: fuffi on 2016-07-17 19:53:58
EDIT: forgot to mention, that returning to the backup'ed files brought back the functionality which did not work in the beta of f2k.
Title: Re: foo_run 0.3.7
Post by: fuffi on 2016-08-21 21:06:56
EDIT2: This "bug" is also found in the latest *stable* version of f2k 1.3.11, so I guess, if this component isnt updated, it'll never work again.
sadly... but thank you for the good time and all the time you saved me!
Title: Re: foo_run 0.3.7
Post by: PeteG on 2016-08-22 10:12:08
@fuffi
I use this for AAD:
Code: [Select]
"C:\Program Files\AlbumArtDownloader\albumart.exe" /ar "%album artist%" /al "%album%" /p "$replace(%path%,%filename_ext%,)'%type(cover,cover,back,inside,cd)%'.'%extension%'"
Replace path to AAD. Replace %album artist% with %artist%.

Using your TC parameters (no idea what they do, too lazy to find out) – but without a cmd file – these two work as expected:
Code: [Select]
"C:\Program Files '('x86')'\totalcmd\totalcmd.exe" /D /O /S /T "$substr(%_path%,0,$strrchr(%_path%,'\'))"
Code: [Select]
"C:\Program Files\totalcmd\totalcmd64.exe" /D /O /S /T "$substr(%_path%,0,$strrchr(%_path%,'\'))"

foobar2000 v1.3.11. Total Commander 32/64 8.52a. Album Art Downloader 1.0.2.0.
Title: Re: foo_run 0.3.7
Post by: fuffi on 2016-09-18 23:52:42
Thank you PeteG,

I cannot change the paths to the programs (TC or AAD or any other I use), because I'm in portable modus.
So those relative paths a essentially for starting those needed little helpers, like AAD or TC ...and will not work with absolute paths like "C:\foo\bar\2000\..."

I now, out of lazyness, updated f2k to the latest version, and copied back the old foobar2000.exe over the new one... ;-)
Works. (I know, I shouldnt do that...)
Title: Re: foo_run 0.3.7
Post by: wcs13 on 2016-09-26 17:13:04
Hi everybody,

Ideally I would need a foo_run command (linked to a shortcut key) tnat would :
- Send the currently selected song to a second instance of foobar (for prelistening purposes),
- [Option] Add it at the end of an existing playlist of the second instance (even if that playlist is not selected in the second instance),
- Start playing it immediataly.
- [Option] With the same shortcut key, make it Play/Pause : First press = send it to instane 2 + play, second press = pause. All that without leaving instance 1. I suppose this could be achieved with two separate shortcut keys, but it would be so much easier with only one, right ? ;)

Can this be achieved ? How ? Thanks.

Right now I have tried this simple command (see attached picture) but it doesn't work at all, nothing happens...
Title: Re: foo_run 0.3.7
Post by: wcs13 on 2016-09-27 15:54:50
Anyway, issue solved, well, sort of : https://hydrogenaud.io/index.php?topic=112703.new#info_928780 . Thanks !
Title: Re: foo_run 0.3.7
Post by: xsdaver on 2016-11-07 17:00:19
I've been using foo_run for quite a while to turn on and off amplifiers through Promixis Girder.  I run batch files like this one using run services:

AmpOn.bat: "c:\program files (x86)\promixis\girder51\event.exe" AmpOffNow

This passes the text AmpOffNow to Girder which turns the amp off.  Simple, works.  Here's the run services setup window to run this batch file:

(http://www.xsxpress.net/images/AmpOffNow.jpg)

So now I'm trying to run another batch file to energize bits on my parallel port to change inputs on a little preamp/crossover I made.  This is one of the batch files:

select1.bat: copy 01.bin lpt1

If I double click on the batch file it works.  If I use run services from Foobar2000 to do it it does not work.  The DOS window flashes up but nothing happens.  This is the command in run services preferences:

(http://www.xsxpress.net/images/RunServiceWindow.jpg)

I've tried it with and without the quotes, doesn't make a difference.  The path and file name was filled in by browsing from the setup window so it's entered correctly.  What am I missing?
Title: Re: foo_run 0.3.7
Post by: xsdaver on 2016-11-08 17:28:25
So today everything works fine. I didn't change anything, it just started working.
Title: Re: foo_run 0.3.7
Post by: JonnyGo on 2016-11-18 05:58:01
Thank for this foo_run. This will halp me make Foobar2000 and VLC work together.

===============================
Here what I do to play video in VLC and lessen audio with Foobar2000.

Step 1: Install Foobar2000 Component "Recorder".
Step 2: Install a "Virtual Audio Driver".
Step 3: In Win, set default audio input / output to Virtual Audio Driver.
Step 4: Start VLC and in Foobar2000 / File / Add Location, type "record://".

Foobar2000 Component "Recorder", Information:
- As of Nov 2016, the version is v0.1 2010-01-23.
- It record audio from the default sound card input.
- Only usable with "record://" in playlist entry syntax.
- Default audio format is 16 bit 44,100 Hz.
- The audio format is listed under File / Preferences / Advanced.
- After component installation, in Foobar2000,
  a right click on the component provide require information.

VLC
- Set VLC volume control to 100%, never over.
- Set VLC / Tools/ Audio track synchronization, -0.500 s.

Virtual Audio Driver, Information:
- The installation package could automatically install
  one Virtual Audio Driver for input and one for output,
  connect the Virtual Audio Driver output to the input,
  and set the default audio format to 16 bit 44,100 Hz.
- A setup software come with the Virtual Audio Driver.
- You may need to do this manually.
- Virtual Audio Driver = Virtual Audio Cable
- "VAC" (Wikipedia, Virtual Audio Cables) worked fine for me.

Title: Re: foo_run 0.3.7
Post by: per1234 on 2017-01-21 09:33:13
Is there any way to make this work with %ispaused%? That field is always absent no matter what the playback state of foobar2000 is. I'm trying to pass the playback state to another application:
Code: [Select]
"C:\Program Files '('x86')'\EventGhost\EventGhost.exe" -e $if(%ispaused%,paused,playing)
passes "playing" even when foobar2000 is paused.

If that is not possible is there any other way to accomplish this in foobar2000?
Title: Re: foo_run 0.3.7
Post by: PeteG on 2017-01-21 13:02:59
@per1234.
I don't know anything about EventGhost, but if the program accepts a dynamically updated text file as input you might find Now Playing Simple (http://skipyrich.com/wiki/Foobar2000:Now_Playing_Simple) of interest.
In the components preferences:
Point to a text file, e.g. C:\Users\YourName\AppData\Roaming\foobar2000\Eventghost.txt (you don't need to create the file).
Uncheck Log mode if necessary.
Activate all Events.
Use the same formatting string as you suggested
Code: [Select]
$if(%ispaused%,paused,playing)
NPS can update the text file as well on foobar2000 exit.

PS. You'll need 7-zip or similar to unpack the component.
Title: Re: foo_run 0.3.7
Post by: per1234 on 2017-01-21 17:32:59
@PeteG indeed EventGhost can read from text files and your suggestion works great. Thanks so much for your help!
Title: Re: foo_run 0.3.7
Post by: sho on 2017-04-08 19:09:56
I am trying to open video files with GOM Player using this command

Code: [Select]
"C:\Program Files\GRETECH\GomPlayer\GOM.exe" "%path%"

Why does it work with .avi files, but not with .mpg files?

Really confusing. GOM Player can open both of them.

EDIT: I've just noticed that Run services command does not appear  in the playlist menu  for some .avi files, while for some others it does? Also, for the .mpg files it doesn't appear.

Title: Re: foo_run 0.3.7
Post by: sho on 2017-04-09 23:07:51
I am trying to open video files with GOM Player using this command

Code: [Select]
"C:\Program Files\GRETECH\GomPlayer\GOM.exe" "%path%"

Why does it work with .avi files, but not with .mpg files?

Really confusing. GOM Player can open both of them.

EDIT: I've just noticed that Run services command does not appear  in the playlist menu  for some .avi files, while for some others it does? Also, for the .mpg files it doesn't appear.


UPDATE: I put video files' paths and some other properties into tags of small mp3 files i purposely created to manage the video files. In addition I added some run actions and now I can control the video files via run service actions and created mp3 files (their tags).

I think this should do the job well, since I didn't find a way to directly manipulate actual video files in foobar.
Title: Re: foo_run 0.3.7
Post by: fuffi on 2017-09-03 10:56:05
I've been using foo_run for quite a while to turn on and off amplifiers through Promixis Girder.  I run batch files like this one using run services:
[...]
select1.bat: copy 01.bin lpt1
[...]
I've tried it with and without the quotes, doesn't make a difference.  The path and file name was filled in by browsing from the setup window so it's entered correctly.  What am I missing?
This is old, I know,
but,
for debugging purpurses,
it would be a good idea to add a SET and a PAUSE command into the called batch-file(s). Maybe directly at the top of the batch-file(s) or at the end, so you could see any output.

This way, you could see/print out some enviroment variables (like PATH or any other important to you).
You could also add a ECHO %CD% to know the current working path, to figure out, if some commands used in the batch are accessible.
Most of the time, batches don't work (when called from external programs) because they don't find the executables or the relative paths used by commands like move or xcopy, etc, are not reachable from within the batch.

So knowing where you are, could be helpful :-)

I wrote this, because I read this line "select1.bat: copy 01.bin lpt1" which has no paths like "C:\path\select1.bat: copy D:\path\01.bin lpt1"

Also, sometimes the path inside the shortcut for the f2k executable is important too and sometimes you start foobar2000.exe directly from windows explorer inside the f2k-program folder and sometimes from the mentioned shortcut (which points to another folder, like in the screenshot (sorry, german lang OS))
(https://img1.picload.org/image/rwwrrpcl/f2k.png)

A lot of things could go wrong, when you not knowing where you are 8-)

just my 2 cents.... no need to argue ;-)
Title: Re: foo_run 0.3.7
Post by: tipar on 2017-12-08 14:15:27
There is sort of guide to writing the codes? I want to use rateyourmusic to search for artist and albums but I do not understand all the code writing.
Title: Re: foo_run 0.3.7
Post by: davideleo on 2017-12-08 15:07:34
There is sort of guide to writing the codes? I want to use rateyourmusic to search for artist and albums but I do not understand all the code writing.

Just write the url of the web page, run service will open it with your default browser. Use titleformatting to replace the dynamic part of the url with the metadata content.
This, for example, is a script I use to open the rateyourmusic release page
Code: [Select]
https://rateyourmusic.com/release/$replace($if2($lower(%release type%),album),lp,album,remix,djmix,compilation,comp)/$replace($lower($replace($meta_sep(album artist,_),/,_,*,_)/$replace(%album%,/,_,>,)),'',, ,_,&,and,!,_,?,_,...,_,.,_,',',_,-,_,'(',_,')',_,:,,°,_,ã,a,é,e,ê,e,ö,o,ó,o,ü,u,я,r,)

Actually I didn't really grasp the logic of rateyourmusic urls, this is what I came up with after a trial-and-error period, but it doesn't always work. Maybe someone has a better suggestion. Of course the script relies on specific metadata information, such as the release type, which not everybody cares of, but it is a dynamic part of the rateyourmusic release page url.
Title: Re: foo_run 0.3.7
Post by: jazzthieve on 2017-12-08 19:17:52
To add to davidleo's answer, I'm using foo_run to go directly to the artist or album page. It works about 80% of the time.

This is for artist
Code: [Select]
https://rateyourmusic.com/artist/$lower($replace(%artist%,!,_,.,_,$char(32),_,&,and,é,e,à,a,è,e,á,a,$char(40),_,$char(41),_,-,_,$char(39),))

for album:
Code: [Select]
https://rateyourmusic.com/release/album/$lower($replace(%artist%,!,_,.,_,$char(32),_,&,and,é,e,à,a,è,e,á,a,$char(40),_,$char(41),_,-,_,$char(39),))/$lower($replace(%album%,!,_,.,_,$char(32),_,&,and,é,e,à,a,è,e,á,a,$char(40),_,$char(41),_,-,_,$char(39),))
Title: Re: foo_run 0.3.7
Post by: tipar on 2017-12-08 21:53:05
File not found both, ty anyways. I guess is a lost battle when I come to writing code.
Title: Re: foo_run 0.3.7
Post by: tipar on 2017-12-08 22:12:07
I have found that with the component foo_openurl you actually can open the embedded URL of an album or another link in the browser. This is what I wanted to do in the first place so is a sort of workaround perfect for me because I copy the URL of the releases and paste it on the MP3.

In order to work you need to add URL as a field and not a customized one.
Title: Re: foo_run 0.3.7
Post by: davideleo on 2017-12-11 12:10:48
I have found that with the component foo_openurl you actually can open the embedded URL of an album or another link in the browser. This is what I wanted to do in the first place so is a sort of workaround perfect for me because I copy the URL of the releases and paste it on the MP3.

In order to work you need to add URL as a field and not a customized one.

If you have a URL tag, you can still use foo_run: just write the tag name in percent signs and it will work exactly like foo_openurl


File not found both, ty anyways. I guess is a lost battle when I come to writing code.

I don't think copying and pasting code should be a problem. I believe the "bug" is rather in the metadata. My code, for example, cannot work if you don't have a %release type% tag or if your %artist% tag is not multivalue. Code must be adapted to your own way of tagging. What you could do is check the actual url of the rateyourmusic page, and compare it with the one generated by the run_service command. This is how I put the code together, failure after failure.
Title: Re: foo_run 0.3.7
Post by: tipar on 2017-12-12 12:31:01
And is it possible to run a software too?

Quote
"C:\Program Files (x86)\MixMeister BPM Analyzer\BpmAnalyzer.exe"

This is the code of the program but when I right click on the file the program does not run.
Title: Re: foo_run 0.3.7
Post by: davideleo on 2017-12-12 16:18:13
And is it possible to run a software too?

Quote
"C:\Program Files (x86)\MixMeister BPM Analyzer\BpmAnalyzer.exe"

This is the code of the program but when I right click on the file the program does not run.

You need to add the file path :
Code: [Select]
"C:\Program Files (x86)\MixMeister BPM Analyzer\BpmAnalyzer.exe" "%path%"
Title: Re: foo_run 0.3.7
Post by: Barfuss on 2018-02-04 22:09:44
Hello,

for a composer-search in the german Wikipedia I use
http://de.wikipedia.org/wiki/$replace(%composer%, ,_)
(I found this on a website).

The problem is, that in the field %composer% I have the family name first, for example "Beethoven, Ludwig van".
Unfortunately Wikipedia does not find "Beethoven, Ludwig van", because the original Wikipedia article is named "Ludwig van Beethoven".

So I would need a possibility to change the %composer% name "Beethoven, Ludwig van" in "Ludwig van Beethoven".

I hope there is a code for this.
Can anybody help me?


Title: Re: foo_run 0.3.7
Post by: davideleo on 2018-02-05 08:40:41
Hello,

for a composer-search in the german Wikipedia I use
http://de.wikipedia.org/wiki/$replace(%composer%, ,_)
(I found this on a website).

The problem is, that in the field %composer% I have the family name first, for example "Beethoven, Ludwig van".
Unfortunately Wikipedia does not find "Beethoven, Ludwig van", because the original Wikipedia article is named "Ludwig van Beethoven".

So I would need a possibility to change the %composer% name "Beethoven, Ludwig van" in "Ludwig van Beethoven".

I hope there is a code for this.
Can anybody help me?

There is likely more than one way to achieve the same result with titleformatting. This is the first one that comes to my mind:
Code: [Select]
$puts(sep,$add($strchr(%composer%,','),1))$right(%composer%,$sub($len(%composer%),$get(sep))) $left(%composer%,$sub($len(%composer%),$add($get(sep),1)))

As a side note I would suggest using the COMPOSERSORTORDER field for "Beethoven, Ludwig van" and the COMPOSER for the foo_run command.
Title: Re: foo_run 0.3.7
Post by: Barfuss on 2018-02-05 21:07:20
Hi davideleo,

thank you very much (again)!

I copied your code to replace "%composer%" in the mentioned Wikipedia code.
It works fine with "Beethoven, Ludwig van".

But for example "Boccherini, Luigi" results in a Wiki-search for "Luigi Bocc".
"Biber, Heinrich Ignaz Franz" results in "Heinrich Ignaz Franz Biber, Heinrich Ign".
"Stamitz, Carl" results in "Carl Sta".

But anyway: Your idea with COMPOSERSORTORDER  and COMPOSER is easier to realize and therefore the best solution, although a field more has to be manually filled with the proper form of the composers' names.
Title: Re: foo_run 0.3.7
Post by: davideleo on 2018-02-06 09:35:46
I copied your code to replace "%composer%" in the mentioned Wikipedia code.
It works fine with "Beethoven, Ludwig van".

But for example "Boccherini, Luigi" results in a Wiki-search for "Luigi Bocc".
"Biber, Heinrich Ignaz Franz" results in "Heinrich Ignaz Franz Biber, Heinrich Ign".
"Stamitz, Carl" results in "Carl Sta".

Uh... sorry, I'm wrtiting from the office where I don't have foobar2000 and I couldn't test it. This should work:
Code: [Select]
$puts(sep,$strchr(%composer%,','))$right(%composer%,$sub($len(%composer%),$get(sep),1)) $left(%composer%,$sub($get(sep),1))


It's worth checking even if you go for the more straightforward solution of the COMPOSERSORTORDER field.
Title: Re: foo_run 0.3.7
Post by: theruan on 2018-02-16 21:58:33
I'm trying to run an script to execute separately on every song selected but simultaneous sim to limit the amount of runs, BUT my problem is that after A and B are finished C and D are not started, is there anyway to overcome this?

To be more precise on my idea, I plan on running a python script for every selected song passing artist, album artist, tittle and full path to the script, this script then search a database for music lyrics and translations, after that the script will either save it to a file or save to a tag, not sure which yet would be better, but likely to a file.
Anyway, I need it to be able to run like 10 instances at a time that would either:
Start another instance once 1 of them is finished
OR
Start another set of 10 instances once all of the previous 10 were finished.

Is this even possible?
I could also pass the information generating a string pattern to store in a file and then later run a powershell script on top of that list.
Or use powershell directly to scan the files and run it, but with foo run it would be way better.
Title: Re: foo_run 0.3.7
Post by: tipar on 2018-02-26 17:23:08
It is a long time but I finally could make Run services to open if not the proper album at least the search page on RYM to an album.  Copy/paste this exact code. I have not tried but I suppose that replacing %album% by the name of the field you want to search should work: artist or whatever.

Code: [Select]
"https://rateyourmusic.com/search?searchtype=l&searchterm=%album%"
Title: Re: foo_run 0.3.8
Post by: Florian on 2018-03-22 09:32:53
It's been a while, but I've just released foo_run 0.3.8. 8)

It's basically a maintenance release and comes with the following changes

You can get it via the link from the first post.
Title: Re: foo_run 0.3.8
Post by: fuffi on 2018-03-23 00:22:46
Thank you Florian,
I use it evey day. Couldn't live w/o it!
Title: Re: foo_run 0.3.8
Post by: jazzthieve on 2018-03-23 08:32:33
Thanks for the update, this is one of the essential components for me.
Title: Re: foo_run 0.3.8
Post by: Jny on 2018-03-23 10:01:12
thanks Florian
Title: Re: foo_run 0.3.8
Post by: Dimsok on 2018-03-25 02:31:17
Crash for me, when updated from previous version:
https://pastebin.com/Nk1b5YEb
Title: Re: foo_run 0.3.8
Post by: Dimsok on 2018-03-26 00:05:49
And about 0.3.7. Is that normal, that when selected 2 or more files in program opens only one song? For example "c:\Program Files\kid3\kid3.exe" "%_path%", "C:\Program Files\AIMP3\AIMP3.exe" /ADD_PLAY "%path%"
Title: Re: foo_run 0.3.8
Post by: sveakul on 2018-03-26 05:07:12
Thanks for the update, Florian!  Can't be without this essential tool.

Note to users:  if you "update" over .37, you may not see the new built-in entries for Wikipedia and DuckDuckGo.  At least, that was the case for me (I have custom entries like most of you).  You can add them using the Label/Path below in the run interface:

DuckDuckGo Artist    https://duckduckgo.com/?q=$replace(%artist%, ,+)

Wikipedia Artist         http://en.wikipedia.org/wiki/Special:Search?search=$replace(%artist%, ,_)

Wikipedia Album       http://en.wikipedia.org/wiki/Special:Search?search=$replace(%album%, ,_)
Title: Re: foo_run 0.3.8
Post by: fuffi on 2018-03-28 17:58:31
And about 0.3.7. Is that normal, that when selected 2 or more files in program opens only one song? For example "c:\Program Files\kid3\kid3.exe" "%_path%", "C:\Program Files\AIMP3\AIMP3.exe" /ADD_PLAY "%path%"
Did you check the "Simultaneous runs" Setting ? (Its next right to the path-textbox, with a slider. You need to set it up for *each* Service you configured.)
Title: Re: foo_run 0.3.8
Post by: Florian on 2018-03-29 08:23:24
Crash for me, when updated from previous version:
https://pastebin.com/Nk1b5YEb

Do you have any more details related to that, e.g.,
- was this the only crash or did/does it happen again
- do you remember any of the actions you've performed when the crash occurred?
Title: Re: foo_run 0.3.8
Post by: Dimsok on 2018-04-01 00:02:24
Quote
Did you check the "Simultaneous runs" Setting ? (Its next right to the path-textbox, with a slider. You need to set it up for *each* Service you configured.)
I did try, but it open each file in new window, not in one.
Title: Re: foo_run 0.3.8
Post by: Dimsok on 2018-04-01 00:05:48
Quote
do you remember any of the actions you've performed when the crash occurred?
It just make crash after staring foobar with 0.3.8
Title: Re: foo_run 0.3.8
Post by: Lesmo16 on 2018-04-01 16:19:09
Quote
Did you check the "Simultaneous runs" Setting ? (Its next right to the path-textbox, with a slider. You need to set it up for *each* Service you configured.)
I did try, but it open each file in new window, not in one.
This is what you're looking for: https://ux.getuploader.com/foobar2000/edit/170
Title: Re: foo_run 0.3.8
Post by: Dimsok on 2018-04-01 22:14:45
Quote
It just make crash after staring foobar with 0.3.8
Sorry, i was mistaken. It makes crash when i start command from foo_run
Title: Re: foo_run 0.3.8
Post by: Dimsok on 2018-04-01 22:38:03
Quote
This is what you're looking for: https://ux.getuploader.com/foobar2000/edit/170 (https://ux.getuploader.com/foobar2000/edit/170)
Can you upload  it to normal host? Can't find out how to download it from this
Title: Re: foo_run 0.3.8
Post by: sveakul on 2018-04-02 05:26:44
Dimsok:  the download link is in a box centered below the MD5 box under the paragraph of text below that, at the link he sent.  Use Google translate if you can't spot it.  That said, I don't have any idea what this plugin does and have not downloaded it myself.
Title: Re: foo_run 0.3.8
Post by: Dimsok on 2018-04-02 23:42:23
Can't see any download link except advertisements. Such hosting services make me crazy.
Title: Re: foo_run 0.3.8
Post by: OwlPants on 2018-04-03 00:10:20
I've downloaded and added the file as an attachment. Remember to unzip it using Winrar/7-Zip.  :D
Title: Re: foo_run 0.3.8
Post by: Dimsok on 2018-04-04 00:46:06
Thanks
Title: Re: foo_run 0.3.8
Post by: sveakul on 2018-04-04 02:56:22
Let us curious ones know if it does what you wanted it to do.
Title: Re: foo_run 0.3.8
Post by: Lesmo16 on 2018-04-05 12:26:22
Let us curious ones know if it does what you wanted it to do.
Assume you select an ARTIST with four ALBUMs (using Facets or AlbumList or what else) .
Using "Run services per group" all tracks of *all* albums are transfered i.e. to mp3Tag.
Using "Run service" only all tracks of the *first* album are transfered.
Title: Re: foo_run 0.3.8
Post by: sveakul on 2018-04-06 04:01:05
Thanks Lesmo16--very cool.
Title: Re: foo_run 0.3.8
Post by: Dimsok on 2018-04-06 22:17:27
For me doesn't work. Open selected tracks, then run service, opens only one track.
Title: Re: foo_run 0.3.8
Post by: Lesmo16 on 2018-04-07 09:10:03
You have to use Run services per group instead of Run service!
Title: Re: foo_run 0.3.8
Post by: stevehero on 2018-04-17 18:53:02
Assume you select an ARTIST with four ALBUMs (using Facets or AlbumList or what else) .
Using "Run services per group" all tracks of *all* albums are transfered i.e. to mp3Tag.
Using "Run service" only all tracks of the *first* album are transfered.
For mp3tag is this the best part variable to use for the per group plugin?
Code: [Select]
"Z:\pathto\Mp3tag.exe" "$replace(%_path%,%_filename_ext%,)"

I would like to load files by filename not album. I can't get it to work like that. Cheers.
Title: Re: foo_run 0.3.8
Post by: tipar on 2018-07-01 16:03:46
I do not know about you but sometimes I like to hear albums in my library—and not new music—that I did not rate or I rated with 4< but still be possible that Spotify recognize the album as one I like/listen—not listen to it on Foobar—. So, whatever it is your reason to do it with this code you can search "ALBUM - ARTIST" in Spotify web.

Code: [Select]
"https://open.spotify.com/search/results/%album% %artist%"
Title: Re: foo_run 0.3.8
Post by: tipar on 2018-07-10 18:06:57
I finally made Foobar work with external applications. The code that worked for me was

Quote
Mp3tag.exe "%_path%"

Now that I did make it—after a year trying now and then—I finally got clean up my Run Services menu as in the image.
(https://i59.servimg.com/u/f59/14/97/63/46/sin_tz14.png)

And if you want to check the parameters for each service I did a .txt file. And I copy the text in case you want only a bunch of them.

Spoiler (click to show/hide)

Just copy the first term on Label and the second one on Path. For instance here is how it looks the code for VLC Spoiler (click to show/hide)
Title: Re: foo_run 0.3.8
Post by: tipar on 2018-07-11 12:55:58
Last search
       "https://www.last.fm/es/search?q=$meta(artist)"

This is the correct one.
Title: Re: foo_run 0.3.8
Post by: loz on 2018-07-11 16:19:53
I finally made Foobar work with external applications. The code that worked for me was

Quote
Mp3tag.exe "%_path%"

I prefer to use the following for Mp3Tag:
Code: [Select]
Mp3tag.exe /fp:"$directory_path(%path%)"
This will load the whole directory of the audio file in question into Mp3Tag. It's just a bit cleaner for editing whole albums.
Title: Re: foo_run 0.3.8
Post by: tipar on 2018-07-13 23:59:17
I finally made Foobar work with external applications. The code that worked for me was

Quote
Mp3tag.exe "%_path%"

I prefer to use the following for Mp3Tag:
Code: [Select]
Mp3tag.exe /fp:"$directory_path(%path%)"
This will load the whole directory of the audio file in question into Mp3Tag. It's just a bit cleaner for editing whole albums.

I gave up on that one but now, as you say, it loads the whole directory with no problem.

Another one; in RYM when you search for an album probably you will not get it on top of the page and even sometimes you do not find it if you misspelled it. With this one, you will search in all releases ["album" "artist"] so if you do not get the album—the less common thing as I have tried a lot and you usually get the result—you will have the artist which you can click so you do not have to use Google RYM artist album another code I have made and posted. It is annoying having to "go outside" RYM.

Quote
"https://rateyourmusic.com/search?searchtype=l&searchterm=%album% %artist%"
Title: Re: foo_run 0.3.8
Post by: loz on 2018-07-26 02:14:56
Is there a way to combine foo_texttools with run services to save what's copied to clipboard to an m3u? Right now I'm highlighting the tracks in an autoplaylist, using text tools to copy and format the tracks using the following code:
Code: [Select]
$replace(%path%,M:,/mnt,\,/)
and manually saving it to an .m3u to be used in mpd on linux.

I'd like to be able to just hit a keyboard shortcut and have a save dialog open with my properly formatted playlist ready to be saved if possible. Thanks.
Title: Re: foo_run 0.3.8
Post by: anamorphic on 2018-07-28 05:04:17
This foo_run is such a helpful component, no idea how I ever used foobar without it! ;)

I finally made Foobar work with external applications. The code that worked for me was [...]

Discogs artist
       "https://www.discogs.com/es/search/?q=$meta(artist)&amp;type=artist"
Discogs album
       "https://www.discogs.com/es/search/?q=$meta(album)&amp;type=release"

Hey @tipar thanks for the samples.  :) Just wanted to let folks know the above searches on Discogs might not work for artists / albums that have a space in the name. Copying what the other samples use works -

Code: [Select]
Discogs artist
https://www.discogs.com/es/search/?q=$replace(%artist%, ,+)&type=artist

Discogs album
https://www.discogs.com/es/search/?q=$replace(%album%, ,+)&type=master

(I changed the album to show the master entry as a better place to start to look up the dozens of releases on Discogs)

Also here is another video player I use -

Code: [Select]
Media Player Classic
mpc-hc.exe "%_path%" /new /add /play /close
mpc-hc.exe "$info(@)" /new /add /play /close

(Use the second path if you tag your videos with external m-TAGs component)

Cheers 8)
Title: Re: foo_run 0.3.8
Post by: swanmaiden on 2018-07-29 12:07:53
Hello,

how can I use foo_run to open a file from the playlist with the default application defined in windows?
Title: Re: foo_run 0.3.8
Post by: swanmaiden on 2018-07-29 16:36:57
tada

cmd /k "start "" "%_path%"" && exit
Title: Re: foo_run 0.3.8
Post by: tipar on 2018-07-29 17:32:38
It works for albums with spaces the thing is that my string retrieves all the results—as in a regular search in Google. Because of the different versions of albums, sometimes more than twenty, that it can coexist in Discogs, I prefer to search as in Google.
Title: Re: foo_run 0.3.8
Post by: sveakul on 2018-07-30 03:03:07
tada

cmd /k "start "" "%_path%"" && exit

I'm curious as to why folks use "%_path%" (with preceding underscore) instead of just "%path%" .  I use foo_run to call several applications from playlist entries, and every one works fine constructed like the example below:

Code: [Select]
C:\Kid3\kid3.exe "%path%"

Does the version with underscore allow some extra flexibility?  I am using Windows 7 SP1 if that matters.
Title: Re: foo_run 0.3.8
Post by: anamorphic on 2018-07-30 08:06:27
I'm curious as to why folks use "%_path%" (with preceding underscore) instead of just "%path%" .
I only used it because everyone else in this thread used it :D (and they must know what they're doing more than I)

It works for albums with spaces the thing is that my string retrieves all the results—as in a regular search in Google. Because of the different versions of albums, sometimes more than twenty, that it can coexist in Discogs, I prefer to search as in Google.
Sure thing. My thinking was that once you click on master release, you then get all releases sorted by date with catalogue numbers etc. But either way works. ;)

Media Player Classic
mpc-hc.exe "%_path%" /new /add /play /close
mpc-hc.exe "$info(@)" /new /add /play /close
Well I had to scratch that last one. It only worked the first time and then nothing. :(  *tests* Ah, this is the one...

Code: [Select]
mpc-hc.exe "$directory_path(%path%)'\'$info(@)" /new /add /play /close

Title: Re: foo_run 0.3.8
Post by: swanmaiden on 2018-08-06 16:20:18
cmd /k "start "" "%_path%"" && exit

Does anybody know how to archive the same with linux/wine?
SimplePortal 1.0.0 RC1 © 2008-2018