Help - Search - Members - Calendar
Full Version: [0.9b9] Explorer context menu question
Hydrogenaudio Forums > Hosted Forums > foobar2000 > Support - (fb2k)
vapidsquid
I recently did a fresh install of Windows XP (sp2) and installed the latest beta of foobar2000.

I've searched the forums looking for an answer to this and was unable to come up with anything (perhaps i was using the wrong keywords), and a google search on similar keywords yielded one hit that seemed useful, but was in french and google refused to translate that portion of the forum thread. ( here's the thread ).

A very convenient feature of foobar that i have grown accustomed to using frequently is the explorer context menu option of "play in foobar" and "enqueue in foobar" that has been present on folders, not just files, as long as i can remember.

After installing 0.9b9, the first thing i noticed was that this no longer exists.

Is this just my install, or has it been removed from the install process? Did i miss an option in setup (if so, i missed it several times trying to fix the problem)?

If this has been removed, is there a way that i can configure my folder context menus to include this?

Thank you for your time,
corey
gfngfgf
Look in your main foobar2000 folder (on most systems, that's "C:\Program Files\foobar2000\") for fooassoc.exe. Run that and you'll get options to associate files with foobar2000.
Cosmo
To associate file types with v0.9 Beta 9, go to Preferences > File Types.

If the file types you're concerned about are already associated (indicated by a checkmark), I'd try unassociating them, restarting fb2k, then reassociating them (and perhaps restart fb2k again). If you still get no context menu options, try rebooting.
vapidsquid
QUOTE(Cosmo @ Oct 3 2005, 06:14 PM)
To associate file types with v0.9 Beta 9, go to Preferences > File Types.

If the file types you're concerned about are already associated (indicated by a checkmark), I'd try unassociating them, restarting fb2k, then reassociating them (and perhaps restart fb2k again). If you still get no context menu options, try rebooting.
*



i'm not having a trouble with files not having the context menu, but the folders containing the files. i probably was not clear enough in my initial post.

for all the filetypes i have associated with foobar, those context items appear. i was just wondering what happened to the context items when right-clicking on a folder that contains files associated with foobar.

nonetheless, i gave this solution a shot (disassociated all, rebooted, re-associated, rebooted) and still no dice.
Cosmo
My fault, I just missed that point.
I have no such options for folders either. Can't recall them ever being there, though...
Hmmm
vapidsquid
QUOTE(Cosmo @ Oct 3 2005, 06:40 PM)
My fault, I just missed that point.
I have no such options for folders either. Can't recall them ever being there, though...
Hmmm
*



apparently it's a setup option...
<edit>
i tried to isolate the registry entries 0.8.3 setup creates for the shell extension, and merge them in after i installed 0.9b9, but after i merged the registry entries the items didn't show up in the context menu after a reboot.
</edit>
image from 0.8.3 setup:
user posted image

image from 0.9b9 setup:
user posted image
Cosmo
<edit>
This post originally contained (lengthy) steps for manually editing the registry.
It really isn't necessary, so please just see :
vapidsquid's .reg file text (in post #8),
or ZhuGeLiang's link to their "Context Menu Editor.exe" (in post #24) below.
smile.gif
</edit>
vapidsquid
QUOTE(Cosmo @ Oct 3 2005, 08:21 PM)
I'm kind of hesitant to post this, not knowing if there is a better / proper way to create those folder context menu options, but if you wish to add them manually -

I was able to add the folder context menu options using regedit in WinXP (pro.sp2) like this:



worked like a charm. the registry key i exported and merged was the wrong one, had i done it properly i could have avoided this whole mess.

i appreciate your work on this, cosmo.

and now it's here for other people to see :-)

edit
same disclaimer as above, if you don't feel comfortable hand-editing your registry and want this functionality back, you can copy the following into a text file and name it "foobar-context.reg" then run the .reg file to regain the functionality.

CODE

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\shell\foobar2000.play]
@="Play in foobar2000"

[HKEY_CLASSES_ROOT\Directory\shell\foobar2000.play\command]
@="\"C:\\Program Files\\foobar2000\\foobar2000.exe\" \"%1\""

[HKEY_CLASSES_ROOT\Directory\shell\foobar2000.enqueue]
@="Enqueue in foobar2000"

[HKEY_CLASSES_ROOT\Directory\shell\foobar2000.enqueue\command]
@="\"C:\\Program Files\\foobar2000\\foobar2000.exe\" /add \"%1\""
Fandango
That's what I also did.

I copied the registry entries after I've installed foobar 0.8, made a .reg file out of them and I'm now using it for the 0.9 beta versions.
arman68
Thank you!

I have been cursing ever since this option was removed from the 0.9beta. I knew I could do it easily by hand, but had not come around to doing it yet. This will do nicely until (hopefully) it will get added back to the installer.
cank
While this is a nice temporary fix, this isn't sensitive to the contents of the folder that you are clicking on, which is how it used to be.... This is a definite fix until the proper release version of 0.9 comes out.
foosion
The foobar2000 entries for folders never were sensitive to the contents of folders; that would require installing a shell extension.
Fandango
It still works fine with 0.9b for me... what do you mean by "sensitive to the contents of folders" anyway?
Fungo
i think it will be a *great* idea to re-insert this setting in 0.9 beta cycle.

The "play/enqueue folder" is necessary.
Cosmo
QUOTE(Fandango)
... what do you mean by "sensitive to the contents of folders" anyway?

I think they mean that the play/enqueue options would only be present for folders containing music files (or rather file types associated with fb2k).
evangelion
Cool, made a .reg file out of the code provided and it worked like a charm.

Thanks!!!
beer.gif
sony666
QUOTE(Fungo @ Dec 7 2005, 02:52 PM)
The "play/enqueue folder" is necessary.
*



Yes

On the other hand, thanks to all fb2k developers and testers laugh.gif
ciropizza
hi all.

i tried to add the reg infos to the registry and all's fine, but, everytime i try to enqueue or play a folder it asks me ALWAYS which program i like to use to open the file xyz.

where xyz stands for the name of the folder.

which is the problem?

thanks in advance,

ciroops
ciropizza
uhr, well, i solved it myself wink.gif

i have foobar in a different directory, as it "c:\programmi", the italian "c:\program files"
cassady
Does anyone know why it was removed in the first place?
Florian
QUOTE(cassady @ Mar 22 2006, 09:32 AM)
Does anyone know why it was removed in the first place?
*


These are the relevant quotes from Peter:
QUOTE(Peter @ Mar 6 2006, 11:29 PM)
[...]I personally believe apps infecting directory context menus to be spawn of satan. There are multiple ways around it, starting from simply using drag&drop, to adding context menus manually using regedit.exe.
*

QUOTE(Peter @ Mar 7 2006, 01:35 AM)
The problem with infecting directory context menus is that the easiest approach infects all directory context menus, regardless of contents, which is highly annoying; avoiding this needs global hooks to be installed (say hello to reboot on reinstall/uninstall).
I am considering adding extra option on file types page for 0.9.1, but not before.
*


Betse
There is a very simple solution for all this, just put a foobar shortcut in your sendto folder (C:\Documents and Settings\Betse\SendTo). Then rightclick anything you want to play in foobar and then select the sendto/foobar. You can do it with simple files or directories.

i like it.
DMack
QUOTE(Florian @ Mar 22 2006, 02:37 AM)
QUOTE(Peter @ Mar 6 2006, 11:29 PM)
[...]I personally believe apps infecting directory context menus to be spawn of satan. There are multiple ways around it, starting from simply using drag&drop, to adding context menus manually using regedit.exe.
*

QUOTE(Peter @ Mar 7 2006, 01:35 AM)
The problem with infecting directory context menus is that the easiest approach infects all directory context menus, regardless of contents, which is highly annoying; avoiding this needs global hooks to be installed (say hello to reboot on reinstall/uninstall).
I am considering adding extra option on file types page for 0.9.1, but not before.
*


*


Thanks for clearing that up smile.gif I was wondering why the decision was made. I hope it comes back as an option in 0.9.1
ZhuGeLiang
Here is a program that may help you.

http://www.hydrogenaudio.org/forums/index....showtopic=42829
peter_gunn
Hi, thanks ZhuGeLiang (and everyone else). I've just got one problem: the new context menu entry 'Play in foobar2000' is now the standard option (the one in bold at the top of the list), and I can't open folders by double clicking them any more! Any folder I double click tries to be played in foobar now. How can I keep the new comands, but set have the 'Open' option back to being standard action when I double click a folder? Appreciate any help...
Societal Eclipse
QUOTE(peter_gunn @ Mar 24 2006, 03:30 PM)
Hi, thanks ZhuGeLiang (and everyone else). I've just got one problem: the new context menu entry 'Play in foobar2000' is now the standard option (the one in bold at the top of the list), and I can't open folders by double clicking them any more! Any folder I double click tries to be played in foobar now. How can I keep the new comands, but set have the 'Open' option back to being standard action when I double click a folder? Appreciate any help...
*



In Windows Explorer try Tools -> Folder Options -> File Types. Select 'Folder' (not 'File Folder') and Advanced then make sure Explore or Open are the default actions.
Madcow
Thanks for the fix. Just voicing my opinion that I, too, use this frequently, and ask that it least be optional in future versions.

Good example for where it's useful: Selecting multiple directories at once (but not every one). You could drag them to fb2k, but that locks up Explorer while they get added.
Squeller
<snip>

BTW, someone knowing if system/user variables work in registry? Then we could offer a universal registry fix with like "%programfiles%\foobar2000\" ...

EDIT: Ah I see all relevant has been said in this thread.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.