IPB

Welcome Guest ( Log In | Register )

> foobar2000 General Forum Rules

This is NOT a tech support forum.
Tech support questions go to foobar2000 Tech Support forum instead.

See also: Hydrogenaudio Terms of Service.

3 Pages V   1 2 3 >  
Reply to this topicStart new topic
Context Menu in Win7 not working - detailed description
Anentropia
post Aug 1 2009, 16:16
Post #1





Group: Members
Posts: 11
Joined: 23-June 06
Member No.: 32179



I use foobar since ~2003 - I find it great cos its slim and very good functions (sophisticated tagging, explorer integration (context menu; <hint>)..) without beeing overblown like WMP or Itunes (at least with standard-interface)

But since I installed Windows7 - Beta in ~2-2009 and RC1 in 5-2009 - the context menus from foobar are often missing to the point its unbearable, so actually I use Itunes for playing my music.
I have read every single post according to this problem on hydrogenaudio, and I researched on other sites to to see if ANYONE have a solution. During my research I found a webpage there someone claimed in an update that foobar would run perfect on Windows7 after he stated a while while ago that for him the context menus were missing.

-----------------------------------------------

The exact problem is that:
1st: often there is no "play in foobar" AND "enque in foobar" on the album-directories
2nd: on audio files (MP3 / WAV / etc ) is NOWHERE "enque in foobar" in the context menu, only "play in foobar" appears

First things I have to state: Foobar is actual (0.9.6.8), I have no external plugins/addons for foobar installed, and Windows+Drives are up to date - I'm IT-Professional (inclusive various apprenticeships). I'm using Windows7 x64 - 64Bit version.
My audio-files structured like this: F:\Music\<artist>\<album>\<audio files> (*.mp3 and *.wav)

-------------------------------------------

I have read here that the problem is supposed to be caused by the explorer from windows (file-explorer, not IE) - that it wouldn't show the context menu options if there are more than 12 audio-files in the directory. I can savely say: not true. I have albums with way more 12 songs / files, there the context menu for Foobar on the album-directory DO show up, and I have albums with less than 12 songs/files there the context menu on the directory doesn't show up. I tried it with a lot from my stuff, but the context-menus seems to work/not work randomly - I couln't determine any pattern. For example I have "Play/Enque in foobar" if I do context-menu on the basic "Music"-folder - which is ~80gb with ~8300 of files within. But not on various <Album>-folders even when they contain less than 12 files...

Also it is NOT true that the problem has to do with file assoziation - I used the file assoziation tool from within Foobar AND Windows7 itself (standard programs, assoziated everything possible), but it didn't help either.
Also I tried to run Foobar with compatibility mode for Vista SP1 and administrator-rights combined, but so it didn't start at all (my regular windows user-account is an "standard-user"; I do so since WinXP in 2001; never had problems with Foobar until Win7).
Furthermore it's not true that the missing context menu appears if do "Shift+Rightclick" - some additional stuff i the context menu appears, but nothing that had to do with Foobar.
And finally I also tried it with an AddOn for Foobar called "Windows7 shell integration" from http://wintense.com/plugins/foo_w7shell - but it also didn't solve the context-menu problem...

---------------------------------------------

Suspician Nr1 why Foobar has problem with Win7:

http://www.sevenforums.com/software/8795-r...enu-7zip-2.html

On the above webpage I found the almost identical problem for 7-Zip (open source compressor) - the context menu for 7Zip were missing for someone with Windows7_x64, although everything was installed and configured properly, including regestrie-entries.
The solution was that he to use the x64 (64Bit) version of 7-Zip. After that the context-menus appeard as they should without any messing around with configuration/etc and dispite that the 32Bit 7-Zip version he originally installed and the 64Bit 7-Zip had the same version-number.
This also works for me - I use 7-zip since years, but I didn't notice the possible problem 'cos I install the 64Bit version of 7-zip since I installed Win7_x64 the first time (2-2009)

So it seems to me that Win7 has some odd behaviour in it's context-menu if not an native x64 Binary is installed.
I know that the code of the exporer has been quite changed since Vista, and since it's an very fundamental component I doubt it will be changed - if the explorer is the reason for this at all and besides it's an RC.

Can developers of Foobar do some serious testing according to this - Foobar is 'cos of the missing context-menus not useable..
Maybe you can even contact the developers of 7-Zip if they did code - according to the context-menu integration - anything different in comparison to the
32Bit version.

Suspicion Nr2:

I just noticed that the context-menu on some Album-Folders appears even than more than 15Files inside, but after I opened that folder in the explorer, then go one directory-level back to the <Artist> folder and than open the context-menu for the <Album>-Folder I just opened, the context-menu entries for Foobar vanished!
WTF??

This post has been edited by shakey_snake: Mar 30 2010, 01:04
Reason for edit: Removed Post Icon
Go to the top of the page
+Quote Post
marc2003
post Aug 1 2009, 16:50
Post #2





Group: Members
Posts: 4450
Joined: 27-January 05
From: England
Member No.: 19379



hmmn, i never use context menus myself as i prefer to manage my collection from within foobar using the built in media library. but i've just browsed loads of different combinations of files/folders and they are all showing the context menus as expected. i've tried it at every level within my folder structure and the files themselves.

when you say "the context menus from foobar are often missing" how exactly does this occur? in the same browsing explorer session. between foobar restarts?

i'm running w7 x64 RC build 7100, foobar 0.9.6.8 here.

and i'm finding it hard to believe if there was an issue that it would be caused by the fact foobar is a 32bit binary. admittedly i'm no dev so am i pretty clueless on this particular subject. laugh.gif
Go to the top of the page
+Quote Post
Anentropia
post Aug 1 2009, 17:24
Post #3





Group: Members
Posts: 11
Joined: 23-June 06
Member No.: 32179



QUOTE (marc2003 @ Aug 1 2009, 16:50) *
hmmn, i never use context menus myself as i prefer to manage my collection from within foobar using the built in media library. but i've just browsed loads of different combinations of files/folders and they are all showing the context menus as expected. i've tried it at every level within my folder structure and the files themselves.

when you say "the context menus from foobar are often missing" how exactly does this occur? in the same browsing explorer session. between foobar restarts?

i'm running w7 x64 RC build 7100, foobar 0.9.6.8 here.

and i'm finding it hard to believe if there was an issue that it would be caused by the fact foobar is a 32bit binary. admittedly i'm no dev so am i pretty clueless on this particular subject. laugh.gif


It doesn't matter for me if Foobar is already running when I try the context menu - context menu is on most Folders still missing when Foobar already runs, or never run after I just started windows.
Explorer options are "show data-type" + "show hidden files", besides that imo default.

Windows7 x64 RC1 (Build7100; 64Bit version, german language).
My audio-files structured like this: F:\Music\<artist>\<album>\<audio files> (*.mp3 and *.wav)
I only have plain HDDs - no SSDs - as storage btw

Read "Suspicion Nr2" btw - cos thats realy odd

!!!Also I noticed that imo everywhere where the context menu from foobar is missing, I instead have entries from WindowsMediaPlayer <barf> althought as already said I associated every possible with Foobar from within Foobar and Windows (Standard programs)!!!

All my MP3s are tagged with ID3v2.3 and ID3v1.1 btw - if that should make difference, but don't think so

This post has been edited by Anentropia: Aug 1 2009, 17:47
Go to the top of the page
+Quote Post
marc2003
post Aug 1 2009, 17:36
Post #4





Group: Members
Posts: 4450
Joined: 27-January 05
From: England
Member No.: 19379



just realised that was a daft thing to say about foobar running. of course context menus wouldn't be affected by that. laugh.gif

my folder structure is similar

d:\music\albums\%codec%\%album artist%\%album%\file

i really can't reproduce this problem my end at all? i've been flicking in and out of folders all up and down my structure, back and forth and everything is fine. folders with much more than 15 files in show ok.

i also have mp3tag installed and that also has a context menu working with no problems.

i haven't tested on a clean windows boot yet. can't restart till later, got some stuff running that can't be stopped. tongue.gif
Go to the top of the page
+Quote Post
Case
post Aug 1 2009, 19:08
Post #5





Group: Developer (Donating)
Posts: 2210
Joined: 19-October 01
From: Finland
Member No.: 322



Try these steps:
Rerun the installer - make sure to choose 'Standard installation'.
Open 'Default Programs', click on 'Set your default programs', select Windows Media Player and click 'Set this program as default'
Now click on foobar2000 and click on 'Set this program as default'.

The 7-zip issue has nothing to do with foobar - the installer has come with both 32-bit and 64-bit shell extensions since the shell extension was first introduced in 0.9.6 beta days.
Go to the top of the page
+Quote Post
Anentropia
post Aug 1 2009, 19:39
Post #6





Group: Members
Posts: 11
Joined: 23-June 06
Member No.: 32179



Besides I always used standard - and not portable - installation, your suggestion made no difference whatsoever even with my user-account with admin-rights who just reinstalled..

Even made reboot after ever step in process

Now you may carefully read my posts..

This post has been edited by Anentropia: Aug 1 2009, 19:41
Go to the top of the page
+Quote Post
shakey_snake
post Aug 1 2009, 19:51
Post #7





Group: FB2K Moderator
Posts: 4322
Joined: 1-November 06
From: Cincinnati
Member No.: 37036



Your posts contain a lot of useless trivia and often incorrect speculation.
Perhaps if you spent more detail relevantly describing your problem Case or I could be more of a help.

This post has been edited by shakey_snake: Aug 1 2009, 19:52


--------------------
elevatorladylevitateme
Go to the top of the page
+Quote Post
Anentropia
post Aug 1 2009, 20:27
Post #8





Group: Members
Posts: 11
Joined: 23-June 06
Member No.: 32179



I tried to include all stuff that should be relevant to the problem accourding to my experiences in IT, and THIS what I get for answer...

Seriously, this is bullcrap^2
Go to the top of the page
+Quote Post
Case
post Aug 1 2009, 21:37
Post #9





Group: Developer (Donating)
Posts: 2210
Joined: 19-October 01
From: Finland
Member No.: 322



What happens when you open elevated command prompt and execute "regsvr32 ShellExt64.dll" command in the directory foobar was installed to?
Do you have "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\foobar2000.MP3\shellex\ContextMenuHandlers\Fb2kShellExt" registry key with default value "{511D48AF-9E45-4CB8-8F02-9C1BE4BC3CF8}"?
Do you have "foobar2000.MP3" in "Progid" field under "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.mp3\UserChoice"?
Does it help if you create a REG_SZ key called "{511D48AF-9E45-4CB8-8F02-9C1BE4BC3CF8}" in "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved"?
Go to the top of the page
+Quote Post
Anentropia
post Aug 1 2009, 22:13
Post #10





Group: Members
Posts: 11
Joined: 23-June 06
Member No.: 32179



QUOTE (Case @ Aug 1 2009, 21:37) *
What happens when you open elevated command prompt and execute "regsvr32 ShellExt64.dll" command in the directory foobar was installed to?
Do you have "HKEY_LOCAL_MACHINE\SOFTWARE\Classes\foobar2000.MP3\shellex\ContextMenuHandlers\Fb2kShellExt" registry key with default value "{511D48AF-9E45-4CB8-8F02-9C1BE4BC3CF8}"?
Do you have "foobar2000.MP3" in "Progid" field under "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.mp3\UserChoice"?
Does it help if you create a REG_SZ key called "{511D48AF-9E45-4CB8-8F02-9C1BE4BC3CF8}" in "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved"?


I have both Registrie-Keys - with my Standard-User and my Admin-Account
After that I checked that I tried the promt-command:

Windows reported in Infowindow "REGSVR32: DLLRegisterServer in ShellExt64.dll succesfully performed" (my translation from german to english)

After I rebooted - same behavior

After that I did create that Reg-Key - still same behavior:

-----------------------------------------------
1st: often there is no "play in foobar" AND "enque in foobar" on the album-directories, instead entries for Play and Enque for WindowsMediaPlayer
2nd: on audio files (MP3 / WAV / etc ) is NOWHERE "enque in foobar" in the context menu, only "play in foobar" appears; instead I have additional entrie for "Add to WMP-Playlist"
3rd: the context-menu on some Album-Folders appears even than more than 15Files inside, but after I opened that folder in the explorer, then go one directory-level back to the <Artist> folder and than open the context-menu for the <Album>-Folder I just opened, the context-menu entries for Foobar vanishes, and instead I have entries for WindowsMediaPlayer

Structure of Files: F:\Music\<artist>\<Album>\<audio files> (*.mp3 + *.wav)

This post has been edited by Anentropia: Aug 1 2009, 22:39
Go to the top of the page
+Quote Post
Anentropia
post Aug 2 2009, 11:41
Post #11





Group: Members
Posts: 11
Joined: 23-June 06
Member No.: 32179



I have found something that could be related to the problem and is Win7 + audio files specific:

http://social.technet.microsoft.com/Forums...c2-ff62bf2f8103

Exerpt:
[Programmatically assigning file associations in the registry is no longer compatible with Vista. At least with audio file extensions like WAV and MP3 for example...]

How are the Registrie Keys in Hkey_LocalMacine\Software\Classes \.mp3 are suposed to look?
Cos I have Reg_SZ Key named (Standard) with "WMP11.Assoc.File.mp3" in there
In .wav same scheme: (Standard) Reg_SZ WMP11.Assoc.File.wav



This post has been edited by Anentropia: Aug 2 2009, 12:07
Go to the top of the page
+Quote Post
Case
post Aug 2 2009, 12:08
Post #12





Group: Developer (Donating)
Posts: 2210
Joined: 19-October 01
From: Finland
Member No.: 322



Those people in your link are trying to do things completely incorrectly. foobar uses documented methods.
PS. I do use have been using Windows 7 x64 since the beta and I have no issues at all with context menus.
Go to the top of the page
+Quote Post
Anentropia
post Aug 2 2009, 12:29
Post #13





Group: Members
Posts: 11
Joined: 23-June 06
Member No.: 32179



QUOTE (Case @ Aug 2 2009, 12:08) *
Those people in your link are trying to do things completely incorrectly. foobar uses documented methods.
PS. I do use have been using Windows 7 x64 since the beta and I have no issues at all with context menus.


You and some other may not have problems; I have them reproducible ever since Win7 although I didn't do "weird" stuff. And I'm not the only one, but no one had solution to the problem so far.
So there has be a reason for this - even it may be my language-version of Win7...

Post the Registry-Keys or screenshit of this:

HKLM\Software\Classes\.mp3

This post has been edited by Anentropia: Aug 2 2009, 13:26
Go to the top of the page
+Quote Post
Case
post Aug 2 2009, 12:53
Post #14





Group: Developer (Donating)
Posts: 2210
Joined: 19-October 01
From: Finland
Member No.: 322



This won't help but here:
CODE
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.mp3]
"PerceivedType"="audio"
@="WMP11.AssocFile.MP3"
"Content Type"="audio/mpeg"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.mp3\OpenWithList]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.mp3\OpenWithList\ehshell.exe]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.mp3\OpenWithList\iTunes.exe]
@=""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.mp3\OpenWithProgIds]
"WMP11.AssocFile.MP3"=hex(0):
"QuickTime.mp3"=hex(0):
@=""
"iTunes.mp3"=hex:

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.mp3\PersistentHandler]
@="{098f2470-bae0-11cd-b579-08002b30bfeb}"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.mp3\ShellEx]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.mp3\ShellEx\{BB2E617C-0920-11D1-9A0B-00C04FC2D6C1}]
@="{9DBD2C50-62AD-11D0-B806-00C04FD706EC}"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.mp3\ShellEx\{e357fccd-a995-4576-b01f-234630154e96}]
@="{9DBD2C50-62AD-11D0-B806-00C04FD706EC}"

Go to the top of the page
+Quote Post
Anentropia
post Aug 2 2009, 13:18
Post #15





Group: Members
Posts: 11
Joined: 23-June 06
Member No.: 32179



HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.mp3 ;
looks identical to mine; thought the reason for error could have been the (Standard) REG_SZ WMP11.AssocFile.MP3; but you have same entry:

-------------

CODE

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.mp3]
"PerceivedType"="audio"
@="WMP11.AssocFile.MP3"
"Content Type"="audio/mpeg"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.mp3\OpenWithList]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.mp3\OpenWithList\ehshell.exe]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.mp3\OpenWithList\iTunes.exe]
@=""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.mp3\OpenWithProgIds]
"WMP11.AssocFile.MP3"=hex(0):
"QuickTime.mp3"=hex(0):
@=""
"iTunes.mp3"=hex:
"foobar2000.mp3"=hex:

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.mp3\PersistentHandler]
@="{098f2470-bae0-11cd-b579-08002b30bfeb}"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.mp3\ShellEx]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.mp3\ShellEx\{BB2E617C-0920-11D1-9A0B-00C04FC2D6C1}]
@="{9DBD2C50-62AD-11D0-B806-00C04FD706EC}"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.mp3\ShellEx\{e357fccd-a995-4576-b01f-234630154e96}]
@="{9DBD2C50-62AD-11D0-B806-00C04FD706EC}"


-------------

HKey_Current_User\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\mp3 :

CODE

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.mp3]

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.mp3\OpenWithList]
"a"="MovieMaker.Exe"
"MRUList"="fbdeca"
"b"="MOVIEMK.exe"
"c"="audacity.exe"
"d"="foobar2000.exe"
"e"="EAC.exe"
"f"="iTunes.exe"

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.mp3\OpenWithProgids]
"WMP11.AssocFile.MP3"=hex(0):

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.mp3\UserChoice]
"Progid"="foobar2000.MP3"


HKEY_LOCAL_MACHINE\SOFTWARE\Classes\foobar2000\.mp3:
CODE

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\foobar2000.MP3]
@="MPEG layer 3"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\foobar2000.MP3\DefaultIcon]
@="C:\\Program Files (x86)\\foobar2000\\icons\\MP3.ico"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\foobar2000.MP3\shell]
@="open"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\foobar2000.MP3\shell\enqueue]
@="Enqueue in foobar2000"
"LegacyDisable"=""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\foobar2000.MP3\shell\enqueue\command]
@="\"C:\\Program Files (x86)\\foobar2000\\foobar2000.exe\" /add \"%1\""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\foobar2000.MP3\shell\open]
@="Open in foobar2000"
"LegacyDisable"=""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\foobar2000.MP3\shell\open\command]
@="\"C:\\Program Files (x86)\\foobar2000\\foobar2000.exe\" \"%1\""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\foobar2000.MP3\shell\play]
@="Play in foobar2000"
"LegacyDisable"=""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\foobar2000.MP3\shell\play\command]
@="\"C:\\Program Files (x86)\\foobar2000\\foobar2000.exe\" /playnow \"%1\""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\foobar2000.MP3\shellex]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\foobar2000.MP3\shellex\ContextMenuHandlers]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\foobar2000.MP3\shellex\ContextMenuHandlers\Fb2kShellExt]
@="{511D48AF-9E45-4CB8-8F02-9C1BE4BC3CF8}"
"IsDefaultAction"=""



HKLM\Software\Classes\WMP11.AssocFile.MP3 :

CODE

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\WMP11.AssocFile.MP3]
@="MP3 Format Sound"
"EditFlags"=hex:00,00,11,00
"FriendlyTypeName"=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,\
00,6f,00,6f,00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,\
32,00,5c,00,75,00,6e,00,72,00,65,00,67,00,6d,00,70,00,32,00,2e,00,65,00,78,\
00,65,00,2c,00,2d,00,39,00,39,00,32,00,35,00,00,00
"PreferExecuteOnMismatch"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\WMP11.AssocFile.MP3\DefaultIcon]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,77,00,6d,00,\
70,00,6c,00,6f,00,63,00,2e,00,64,00,6c,00,6c,00,2c,00,2d,00,37,00,33,00,32,\
00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\WMP11.AssocFile.MP3\shell]
@="Play"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\WMP11.AssocFile.MP3\shell\Enqueue]
@="&Add to Windows Media Player list"
"MUIVerb"=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,\
6f,00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,\
00,75,00,6e,00,72,00,65,00,67,00,6d,00,70,00,32,00,2e,00,65,00,78,00,65,00,\
2c,00,2d,00,39,00,38,00,30,00,30,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\WMP11.AssocFile.MP3\shell\Enqueue\command]
"DelegateExecute"="{45597c98-80f6-4549-84ff-752cf55e2d29}"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\WMP11.AssocFile.MP3\shell\open]
"LegacyDisable"=""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\WMP11.AssocFile.MP3\shell\open\command]
@=hex(2):22,00,25,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,00,6c,\
00,65,00,73,00,28,00,78,00,38,00,36,00,29,00,25,00,5c,00,57,00,69,00,6e,00,\
64,00,6f,00,77,00,73,00,20,00,4d,00,65,00,64,00,69,00,61,00,20,00,50,00,6c,\
00,61,00,79,00,65,00,72,00,5c,00,77,00,6d,00,70,00,6c,00,61,00,79,00,65,00,\
72,00,2e,00,65,00,78,00,65,00,22,00,20,00,2f,00,70,00,72,00,65,00,66,00,65,\
00,74,00,63,00,68,00,3a,00,36,00,20,00,2f,00,4f,00,70,00,65,00,6e,00,20,00,\
22,00,25,00,4c,00,22,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\WMP11.AssocFile.MP3\shell\play]
@="&Play"
"MUIVerb"=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,\
6f,00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,\
00,75,00,6e,00,72,00,65,00,67,00,6d,00,70,00,32,00,2e,00,65,00,78,00,65,00,\
2c,00,2d,00,39,00,39,00,39,00,31,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\WMP11.AssocFile.MP3\shell\play\command]
@=hex(2):22,00,25,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,00,6c,\
00,65,00,73,00,28,00,78,00,38,00,36,00,29,00,25,00,5c,00,57,00,69,00,6e,00,\
64,00,6f,00,77,00,73,00,20,00,4d,00,65,00,64,00,69,00,61,00,20,00,50,00,6c,\
00,61,00,79,00,65,00,72,00,5c,00,77,00,6d,00,70,00,6c,00,61,00,79,00,65,00,\
72,00,2e,00,65,00,78,00,65,00,22,00,20,00,2f,00,70,00,72,00,65,00,66,00,65,\
00,74,00,63,00,68,00,3a,00,36,00,20,00,2f,00,50,00,6c,00,61,00,79,00,20,00,\
22,00,25,00,4c,00,22,00,00,00
"DelegateExecute"="{ed1d0fdf-4414-470a-a56d-cfb68623fc58}"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\WMP11.AssocFile.MP3\shellex]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\WMP11.AssocFile.MP3\shellex\{8895b1c6-b41f-4c1c-a562-0d564250836f}]
@="{031EE060-67BC-460d-8847-E4A7C5E45A27}"



HKLM\Software\Classes\WMP11.PlayMedia :

CODE

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\WMP.PlayMedia]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\WMP.PlayMedia\shell]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\WMP.PlayMedia\shell\Play]
@="&Play"
"MUIVerb"=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,\
6f,00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,\
00,75,00,6e,00,72,00,65,00,67,00,6d,00,70,00,32,00,2e,00,65,00,78,00,65,00,\
2c,00,2d,00,39,00,39,00,39,00,31,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\WMP.PlayMedia\shell\Play\command]
"DelegateExecute"="{ed1d0fdf-4414-470a-a56d-cfb68623fc58}"



This post has been edited by Anentropia: Aug 2 2009, 13:51
Go to the top of the page
+Quote Post
Yirkha
post Aug 2 2009, 14:14
Post #16





Group: FB2K Moderator
Posts: 2359
Joined: 30-November 07
Member No.: 49158



Maybe comparing registry access during show/doesn't show cases in Process Monitor could reveal what's the difference?


--------------------
Full-quoting makes you scroll past the same junk over and over.
Go to the top of the page
+Quote Post
Anentropia
post Aug 2 2009, 14:56
Post #17





Group: Members
Posts: 11
Joined: 23-June 06
Member No.: 32179



I tried login with ProcesMonitor 2.5 from Sysinternals (http://technet.microsoft.com/de-de/sysinternals/bb896645%28en-us%29.aspx), but it's a huge bulk of log entries - 10mb - even after I filtered out all stuff with result "success"

Contextmenu on Directory:
My exact actions once I started logging:

-rightclick on <Album> folder where I knew the context-entries for foobar appear
-selected "enque in foobar" for that album (~10 files inside)
-Foobar opened and added the files from that album to the playlist, but didn't play anything
-I closed foobar
-I opened that <album> folder in explorer
-right after I went back to the basic <artist> folder
-rightclicked on the <Album> folder where I just was and the menu-entries for foobar appeared before but NOW context menu entries for foobar were vanished, instead I had entries for WindowsMediaPlayer - as discribed before
-saved the Logfile from ProcessMonitor

Logfile without all entriess wich had "Success" as Result:

http://www.filefront.com/14178471/Log%20Pr...7Success%27.PML

Logfile unfiltered:
http://www.filefront.com/14178649/Log%20Pr...%20complete.PML

Contextmenu on MP3-File ("enque in foobar" always missing):
-I opened an <Album> folder
-rightclicked on an MP3-File
-stopped loggin with Process montor

Logfile unfiltered:
http://www.filefront.com/14178769/Log%20Pr...%20complete.PML

This post has been edited by Anentropia: Aug 2 2009, 15:46
Go to the top of the page
+Quote Post
Yirkha
post Aug 2 2009, 21:04
Post #18





Group: FB2K Moderator
Posts: 2359
Joined: 30-November 07
Member No.: 49158



Well OK, I tried to look at it, but as I thought, there is not much to look at. I thought it might be possible to pinpoint when Explorer takes a wrong path and doesn't use fb2k's shell extension by comparing it with a successful case, but it's hard to see anything in your log.

Some tips if you'd like to try again:

* Don't keep the SUCCESS stuff out, otherwise the output is very crippled and doesn't tell anything.

* To make the log smaller, leave the Process Monitor running for some time just like it is and filter are useless processes like vmware-authd.exe or LEWMon.exe out (right-click on Process Name > Exclude ...). Or rather set the inclusion filter to only foobar2000.exe and explorer.exe, nothing more should be relevant, these two are necessary and important, be sure they are both included.

* And finally, pack it with any archiver you like, it should compress pretty well (10 MB => 0.6 MB for the log you provided).


--------------------
Full-quoting makes you scroll past the same junk over and over.
Go to the top of the page
+Quote Post
Anentropia
post Aug 2 2009, 22:17
Post #19





Group: Members
Posts: 11
Joined: 23-June 06
Member No.: 32179



Contextmenu on Directory:
My exact actions once I started logging:

-rightclick on <Album> folder where I knew the context-entries for foobar appear
-selected "enque in foobar" for that album (~10 files inside)
-Foobar opened and added the files from that album to the playlist, but didn't play anything
-I closed foobar
-I opened that <album> folder in explorer
-right after I went back to the basic <artist> folder
-rightclicked on the <Album> folder where I just was and the menu-entries for foobar appeared before but NOW context menu entries for foobar were vanished, instead I had entries for WindowsMediaPlayer - as discribed before
-saved the Logfile from ProcessMonitor

Logfile with only explorer.exe + foobar200.exe; including all succes events:

http://www.filefront.com/14180999/Log%20Pr...20foobar2000.7z

In my 2nd Log - context-menu for mp3-files ; in my previous post - barely got smaller; explorer.exe didn't even appear in the unfiltered one, so I left it as it is; its already unfiltered

This post has been edited by Anentropia: Aug 2 2009, 22:24
Go to the top of the page
+Quote Post
Yirkha
post Aug 4 2009, 20:37
Post #20





Group: FB2K Moderator
Posts: 2359
Joined: 30-November 07
Member No.: 49158



The issue is caused by the fact that Windows Media Player has registered "play" and "enqueue" verbs for directories, like foobar2000, and the shell removes duplicate items from the menu. Unfortunately for you, the context menu extensions are processed in an order which kills the fb2k's ones, not the WMP's.

It happens only sometimes because foobar2000 uses generic "Directory" item type, while WMP uses perceived type "Directory.Audio". The behaviour changes after you look into a folder and Explorer now remembers there are audio files in it. You can see (and change) this in folder's Properties, on tab Customize, option "Optimize this folder for" - "Music" vs. "General Items".

I didn't find any option in WMP's settings to disable the relevant shell hook. You can fix this manually, though. Rename the following registry keys to something unique like "WMPEnqueue" and "WMPPlay" (or delete them altogether, that's up to you):
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\SystemFileAssociations\Directory.Audio\shell\Enqueue
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\SystemFileAssociations\Directory.Audio\shell\Play


--------------------
Full-quoting makes you scroll past the same junk over and over.
Go to the top of the page
+Quote Post
Anentropia
post Aug 6 2009, 13:36
Post #21





Group: Members
Posts: 11
Joined: 23-June 06
Member No.: 32179



QUOTE (Yirkha @ Aug 4 2009, 20:37) *
The issue is caused by the fact that Windows Media Player has registered "play" and "enqueue" verbs for directories, like foobar2000, and the shell removes duplicate items from the menu. Unfortunately for you, the context menu extensions are processed in an order which kills the fb2k's ones, not the WMP's.

It happens only sometimes because foobar2000 uses generic "Directory" item type, while WMP uses perceived type "Directory.Audio". The behaviour changes after you look into a folder and Explorer now remembers there are audio files in it. You can see (and change) this in folder's Properties, on tab Customize, option "Optimize this folder for" - "Music" vs. "General Items".

I didn't find any option in WMP's settings to disable the relevant shell hook. You can fix this manually, though. Rename the following registry keys to something unique like "WMPEnqueue" and "WMPPlay" (or delete them altogether, that's up to you):
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\SystemFileAssociations\Directory.Audio\shell\Enqueue
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\SystemFileAssociations\Directory.Audio\shell\Play


Thx for trying to solve that thing:

1st I set all my Folders to optimize for "Music" -> Foobar entries on directories vanished everythere
2nd I reset all my Folder to optimize for "generic elements" -> Foobar entries appeard in context menue and seem to stay there even after I opened a album folder (tried on 3 albums; even with >15 files inside)

After this I made back of HKLM\SOFTWARE\Classes\SystemFileAssociations\Audio\shell\Enqueue And your 2 keys (HKLM\SOFTWARE\Classes\SystemFileAssociations\Directory.Audio\shell\Enqueue + HKLM\SOFTWARE\Classes\SystemFileAssociations\Directory.Audio\shell\Play)

Then I deleted HKLM\SOFTWARE\Classes\SystemFileAssociations\Audio\shell\Enqueue -> "enqueue in foobar" on audio-files was finally back in context-menu smile.gif

I tried using "enque in foobar" and it worked - I couldn't notice any errors
Guess deleting the other 2 keys results in enqueue/play in foobar being avaible on my folders which are not "optimized" for generic elements as well.

I just hope after release of Win7 this isn't necessary.

This post has been edited by Anentropia: Aug 6 2009, 13:39
Go to the top of the page
+Quote Post
Linkin
post Aug 17 2009, 14:41
Post #22





Group: Members
Posts: 257
Joined: 9-May 02
From: Germany
Member No.: 2009



Thank God I found this thread. Was experiencing the same problem with Win7 RTM.
Go to the top of the page
+Quote Post
gurubhai
post Aug 17 2009, 17:04
Post #23





Group: Members
Posts: 39
Joined: 14-June 09
Member No.: 70668



there is a easy method to do it :

1. go to "set program access & defaults" in control panel.

2. Choose configuration : Custom

3. In the Choose default media player tab, select "use my current media player" & unselect the options "enable access to this program" for WMC & WMP.

thats it.
Go to the top of the page
+Quote Post
Yirkha
post Aug 17 2009, 18:17
Post #24





Group: FB2K Moderator
Posts: 2359
Joined: 30-November 07
Member No.: 49158



Indeed, unchecking "[x] Enable access to this program" for "Windows Media Player" does the trick, safely and easily. Thanks for sharing!


--------------------
Full-quoting makes you scroll past the same junk over and over.
Go to the top of the page
+Quote Post
omnimodis78
post Sep 5 2009, 18:26
Post #25





Group: Members
Posts: 16
Joined: 18-June 09
From: Canada
Member No.: 70802



If you don't need Windows Media Player at all, and nobody should ever 'need' that thing, then go to Windows Features and disable WMP under Media Features. This did the trick for me as, like yourself, didn't have the context menu options for foobar, but after disabling that, the options appeared for foobar. Worth a try... BTW I'm using W7 x64 and foobar2000 0.9.6.9. Good luck!

This post has been edited by Frank Bicking: Sep 5 2009, 18:28
Reason for edit: Removed pointless fullquote of the first post.
Go to the top of the page
+Quote Post

3 Pages V   1 2 3 >
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd August 2014 - 13:41