Skip to main content

Notice

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

[0.9b9] Explorer context menu question

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

[0.9b9] Explorer context menu question

Reply #1
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.

[0.9b9] Explorer context menu question

Reply #2
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.

[0.9b9] Explorer context menu question

Reply #3
Quote
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.
[a href="index.php?act=findpost&pid=331405"][{POST_SNAPBACK}][/a]


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.

[0.9b9] Explorer context menu question

Reply #4
My fault, I just missed that point.
I have no such options for folders either. Can't recall them ever being there, though...
Hmmm

[0.9b9] Explorer context menu question

Reply #5
Quote
My fault, I just missed that point.
I have no such options for folders either. Can't recall them ever being there, though...
Hmmm
[a href="index.php?act=findpost&pid=331407"][{POST_SNAPBACK}][/a]


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:


image from 0.9b9 setup:

[0.9b9] Explorer context menu question

Reply #6
<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.

</edit>

[0.9b9] Explorer context menu question

Reply #7
Quote
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: [Select]
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\""

[0.9b9] Explorer context menu question

Reply #8
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.

[0.9b9] Explorer context menu question

Reply #9
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.

[0.9b9] Explorer context menu question

Reply #10
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.

[0.9b9] Explorer context menu question

Reply #11
The foobar2000 entries for folders never were sensitive to the contents of folders; that would require installing a shell extension.

[0.9b9] Explorer context menu question

Reply #12
It still works fine with 0.9b for me... what do you mean by "sensitive to the contents of folders" anyway?

[0.9b9] Explorer context menu question

Reply #13
i think it will be a *great* idea to re-insert this setting in 0.9 beta cycle.

The "play/enqueue folder" is necessary.

[0.9b9] Explorer context menu question

Reply #14
Quote
... 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).

[0.9b9] Explorer context menu question

Reply #15
Cool, made a .reg file out of the code provided and it worked like a charm.

Thanks!!!

[0.9b9] Explorer context menu question

Reply #16
Quote
The "play/enqueue folder" is necessary.
[a href="index.php?act=findpost&pid=348311"][{POST_SNAPBACK}][/a]


Yes

On the other hand, thanks to all fb2k developers and testers

[0.9b9] Explorer context menu question

Reply #17
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

[0.9b9] Explorer context menu question

Reply #18
uhr, well, i solved it myself

i have foobar in a different directory, as it "c:\programmi", the italian "c:\program files"

[0.9b9] Explorer context menu question

Reply #19
Does anyone know why it was removed in the first place?

[0.9b9] Explorer context menu question

Reply #20
Quote
Does anyone know why it was removed in the first place?
[a href="index.php?act=findpost&pid=373780"][{POST_SNAPBACK}][/a]

These are the relevant quotes from Peter:
Quote
[...]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.
[a href="index.php?act=findpost&pid=369763"][{POST_SNAPBACK}][/a]
Quote
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.
[a href="index.php?act=findpost&pid=369790"][{POST_SNAPBACK}][/a]

[0.9b9] Explorer context menu question

Reply #21
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.
Inter Deum et Diabolum semper Musica est", Tanzwut

[0.9b9] Explorer context menu question

Reply #22
Quote
Quote
[...]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.
[a href="index.php?act=findpost&pid=369763"][{POST_SNAPBACK}][/a]
Quote
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.
[a href="index.php?act=findpost&pid=369790"][{POST_SNAPBACK}][/a]

[a href="index.php?act=findpost&pid=373783"][{POST_SNAPBACK}][/a]

Thanks for clearing that up  I was wondering why the decision was made. I hope it comes back as an option in 0.9.1


[0.9b9] Explorer context menu question

Reply #24
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...