Which version of Opus are you using it with?
It's version 11.16.3, 64-bit.
Actually, re-reading what you wrote: I can't set the path to foobar, as in the first version. I misread and thought we were talking about setting the music folders, which is the only configuration option the script has.
You've never been able to set the path to Foobar or any music player. It's not needed. The script works by launching the .M3U playlist file as if it was double-clicked.
So you just need to make sure that M3U files are set to open with Foobar (or whichever music player you want).
Leo, sorry for the mistake. I didn't remember, that i use some modified version of your script, the one by jhn431. Since i don't have M3Us in all my folders, i chose to use that version. That explains the path to foobar2000, too.
Root post updated with new version of the script:
v1.2 (20-Jan-2016):
- Now looks for both .m3u and .m3u8 files, to support Unicode playlists.
.m3u8 files are important as they let you name David Bowie's ★ album correctly.
Nice...
R.I.P. David Bowie
i just tried this script, the one by jhn431. with musicbee works great
i just set the foobar2000 path to musicbee.exe instead and it worked and set musicbee to compact player .... heaven
ok one thing if i set musicbee.exe works fine but if i set to M:\MusicBee\MusicBee.exe /OpenCompactPlayer
/OpenCompactPlayer
is the Command line parameter for CompactPlayer wont work but if i run a shortcut with M:\MusicBee\MusicBee.exe /OpenCompactPlayer
/OpenCompactPlayer works fine.... i dont know how to fix script can anyone help thanks ....
can jhn431 script please be update to switch to details view if you holddown ctrl and click left mouse button so that the album click opens in details view for editing
Please don't bump the thread repeatedly. Bumps with no new content get deleted.
While people often will write complete custom scripts, and are even more likely to answer questions from anyone who wants help learning to write or modify their own scripts, but people have many things demanding their time & skills and no one is obligated to write & test custom scripts.
Asking a "how do I do X?" question in Help & Support or in Script & Plugin Development may get help from people not reading this thread, or people willing to help answer questions but who don't have time to write/test a whole custom script.
I've updated the script slightly to allow subdirectories of the provided root folder to be clicked on as well.
In my case, my music folder has a /Music/Artist/Artist - Year - Album
structure so I needed to allow subdirectories to function as well.
To do this I updated the IsPathInVector
function to:
Function IsPathInVector(fsu, path, vecFolders)
IsPathInVector = False
' Resolve aliases, libraries, etc. to their real/absolute paths.
path = fsu.Resolve(path)
Dim testPath
Dim resolvedTestPath
For Each testPath in vecFolders
Set resolvedTestPath = fsu.Resolve(testPath)
If fsu.ComparePath(path, resolvedTestPath) Or Len(Replace(path, resolvedTestPath, "", 1, 1, vbTextCompare)) > 0 Then
IsPathInVector = True
Exit Function
End If
Next
End Function