Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - emilles

Pages: 12
1
MusicBee API / Winamp API: get track length
« on: May 30, 2021, 04:47:03 PM »
Is there support in MusicBee's WinAmp (Output Plug-in) API for getting the length of the current track?  WinAmp supports this in 2 ways:
Code
DWORD error;
DWORD_PTR result;
SendMessage(window, WM_WA_IPC, (LPARAM) IPC_GETOUTPUTTIME, (WPARAM) 2, &error, &result);
time_t length = (time_t) result;

Code
void GetBasicFileInfo(time_t& length, const wchar_t* const filePath, HWND hWnd)
{
basicFileInfoStructW fileInfo;
fileInfo.filename = filePath;
fileInfo.quickCheck = 0;
fileInfo.title = NULL;
fileInfo.titlelen = 0;
fileInfo.length = 0;

SendMessageWithTimeout(hWnd, WM_WA_IPC, IPC_GET_BASIC_FILE_INFOW, (WPARAM) &fileInfo);
if (fileInfo.length > 0)
{
length = static_cast<time_t>(fileInfo.length) * 1000;
}
}

IPC_GET_BASIC_FILE_INFOW is 1291.  There is an older message 291 for non-wide chars as well.

I have been using the MusicBee IPC plug-in, which uses the standard MusicBee API and gives me access over IPC.  However, that plug-in seems to have been wiped from the internet.

2
Plugins / Re: AirPlay plugin
« on: October 17, 2020, 04:53:32 PM »
Im trying to install the airplay plugin for musicbee and followed the instructions on the plugin to move a dll to the plugins folder in musicbee directory which i did. But when i go into musicbee and go into preferences>plugins and click "Add plugin" and navigate to the plugins directory to load the dll i placed there it doesnt show up as a choice.

This plug-in is not a MusicBee plug-in; it is a Winamp plug-in.  You cannot add it using Preferences > Plugins > Add plugin.  Changing the filename won't help make it work.  If you have copied "out_apx.dll" to the MusicBee plugins folder, you should see this plug-in under Preferences > Player > Output when you restart the player.

3
Plugins / Re: AirPlay plugin
« on: June 25, 2020, 12:27:03 AM »
This thread isn't for plug-in support.  There is a README file installed with the plug-in that includes support contact information.

4
Plugins / Re: AirPlay plugin
« on: March 09, 2018, 02:13:19 PM »
This is the patch that was confirmed to fix the loading issues: https://getmusicbee.com/forum/index.php?topic=23304.msg136451#msg136451

I'm not sure if that has made it into MusicBee 3.1 or 3.2.

5
Bug Reports / Re: Can't connect to remote speakers or stereo
« on: November 22, 2017, 01:46:22 PM »
You must use the MusicBeeDebugWinamp2.zip linked above from 21 Nov.  With that, everything worked normally for me.  You select "Remote Speakers output" from Preferences > Player > Output.  Then click Configure.  Then select a remote device and click Apply in the Remote Speakers dialog.  Then click Apply in the Preferences dialog.

6
Bug Reports / Re: Can't connect to remote speakers or stereo
« on: November 22, 2017, 12:46:08 PM »
Steven, I'm using the DebugWinamp2 version from 21 Nov.  Still the output plug-in is not loaded.  This is why it cannot be correctly selected in Preferences > Player > Output.

Update: Okay, I tried selecting the plug-in as the output plug-in and the dll was loaded at that time.  Now that "Remote Speakers output" is the active output plug-in, it loads during startup as I would expect.  And I was able to select an output device and play to remote speakers.

7
Bug Reports / Re: Can't connect to remote speakers or stereo
« on: November 20, 2017, 12:01:20 AM »
Steven and I can work this out.  There is something different between MB 3.0 and 3.1 that is preventing Winamp plug-ins from loading.

8
Bug Reports / Re: Can't connect to remote speakers or stereo
« on: November 19, 2017, 11:52:31 PM »
Here is a good 3.0 load and a 3.1 load.  In 3.0 my plug-in loads right after the nsi.dll (which I'm guessing is the Nullsoft Interface library).

3.0 loading:
Code
'MusicBee.exe': Loaded 'C:\Windows\SysWOW64\dsound.dll', Cannot find or open the PDB file
'MusicBee.exe': Loaded 'C:\Windows\SysWOW64\powrprof.dll', Cannot find or open the PDB file
'MusicBee.exe': Loaded 'C:\Windows\SysWOW64\MMDevAPI.dll', Cannot find or open the PDB file
'MusicBee.exe': Loaded 'C:\Users\Public\MusicBee-3.0\basscd.dll', No symbols loaded.
'MusicBee.exe': Loaded 'C:\Users\Public\MusicBee-3.0\MusicBeeBass.dll', No symbols loaded.
'MusicBee.exe': Loaded 'C:\Windows\SysWOW64\ws2_32.dll', Cannot find or open the PDB file
'MusicBee.exe': Loaded 'C:\Windows\SysWOW64\nsi.dll', Cannot find or open the PDB file
'MusicBee.exe': Loaded 'C:\Users\Public\MusicBee-3.0.5995\Plugins\out_apx.dll', Symbols loaded.
'MusicBee.exe': Loaded 'E:\Development Projects\!Remote Speakers output\mainline1\rsoutput\out\apxCore.dll', Symbols loaded.
'MusicBee.exe': Loaded 'C:\Windows\SysWOW64\IPHLPAPI.DLL', Cannot find or open the PDB file
'MusicBee.exe': Loaded 'C:\Windows\SysWOW64\winnsi.dll', Cannot find or open the PDB file
Player attaching to plug-in...
Player requesting plug-in interface...
Reading plug-in options from 'C:\Users\U0076777\AppData\Local\Remote Speakers output\plugin.ini'...
Read 'VolumeControl' value '1'.
Read 'PlayerControl' value '0'.
Read 'ResetOnPause' value '1'.
Read 'Device1_Type' value '99'.
Read 'Device1_Name' value 'Klipsch G-17'.
Read 'Device1_Address1' value 'CC909300E218@Klipsch G-17'.
Read 'Device1_Address2' value '_raop._tcp.'.
Read 'Device1_ZeroConf' value '1'.
Read 'Device1_Activated' value '1'.
Read plug-in options from 'C:\Users\U0076777\AppData\Local\Remote Speakers output\plugin.ini'.
Initializing remote speakers output component...
Initialized remote speakers output component.
Starting playback state monitoring thread...
'MusicBee.exe': Loaded 'ImageAtBase0x61e90000', Loading disabled by Include/Exclude setting.
'MusicBee.exe': Loaded 'ImageAtBase0x9e40000', Loading disabled by Include/Exclude setting.
'MusicBee.exe': Unloaded 'ImageAtBase0x61e90000'
'MusicBee.exe': Loaded 'C:\Windows\SysWOW64\xmllite.dll', Cannot find or open the PDB file
'MusicBee.exe': Loaded 'C:\Windows\SysWOW64\thumbcache.dll', Cannot find or open the PDB file
'MusicBee.exe': Loaded 'C:\Windows\SysWOW64\SearchFolder.dll', Cannot find or open the PDB file
'MusicBee.exe': Loaded 'C:\Windows\SysWOW64\actxprxy.dll', Cannot find or open the PDB file
'MusicBee.exe': Loaded 'C:\Windows\SysWOW64\StructuredQuery.dll', Cannot find or open the PDB file
'MusicBee.exe': Loaded 'C:\Windows\SysWOW64\secur32.dll', Cannot find or open the PDB file
'MusicBee.exe': Loaded 'C:\Windows\SysWOW64\dnsapi.dll', Cannot find or open the PDB file
'MusicBee.exe': Loaded 'C:\Windows\SysWOW64\dhcpcsvc.dll', Cannot find or open the PDB file
'MusicBee.exe': Loaded 'C:\Windows\SysWOW64\dhcpcsvc6.dll', Cannot find or open the PDB file

3.1 loading:
Code
'MusicBee.exe': Loaded 'C:\Windows\SysWOW64\dsound.dll', Cannot find or open the PDB file
'MusicBee.exe': Loaded 'C:\Windows\SysWOW64\powrprof.dll', Cannot find or open the PDB file
'MusicBee.exe': Loaded 'C:\Windows\SysWOW64\MMDevAPI.dll', Cannot find or open the PDB file
'MusicBee.exe': Loaded 'C:\Windows\SysWOW64\AudioSes.dll', Cannot find or open the PDB file
'MusicBee.exe': Loaded 'C:\Users\Public\MusicBee\basscd.dll', Binary was not built with debug information.
'MusicBee.exe': Loaded 'ImageAtBase0x626d0000', Loading disabled by Include/Exclude setting.
'MusicBee.exe': Loaded 'ImageAtBase0xa4c0000', Loading disabled by Include/Exclude setting.
'MusicBee.exe': Unloaded 'ImageAtBase0x626d0000'
'MusicBee.exe': Loaded 'ImageAtBase0x62690000', Loading disabled by Include/Exclude setting.
'MusicBee.exe': Loaded 'ImageAtBase0x79c0000', Loading disabled by Include/Exclude setting.
'MusicBee.exe': Unloaded 'ImageAtBase0x62690000'
'MusicBee.exe': Loaded 'C:\Windows\SysWOW64\xmllite.dll', Cannot find or open the PDB file
'MusicBee.exe': Loaded 'C:\Windows\SysWOW64\thumbcache.dll', Cannot find or open the PDB file
'MusicBee.exe': Loaded 'C:\Windows\SysWOW64\SearchFolder.dll', Cannot find or open the PDB file
'MusicBee.exe': Loaded 'C:\Windows\SysWOW64\actxprxy.dll', Cannot find or open the PDB file
'MusicBee.exe': Loaded 'C:\Windows\SysWOW64\StructuredQuery.dll', Cannot find or open the PDB file
'MusicBee.exe': Loaded 'C:\Windows\SysWOW64\secur32.dll', Cannot find or open the PDB file

9
Bug Reports / Re: Can't connect to remote speakers or stereo
« on: November 19, 2017, 11:11:56 PM »
I get no additional output in the Error Log or in Output view in Visual Studio.  And the init method is still not called; I think the dll is not loaded.

10
Bug Reports / Re: Can't connect to remote speakers or stereo
« on: November 19, 2017, 09:40:10 PM »
Even with this update (refers to your 3.1 patch posted on the 12th), Winamp's extern "C" __declspec(dllexport) Out_Module* winampGetOutModule() interface is not being called for the out_apx.dll plug-in.  Without this recognition/initialization, the rest of the plug-in will not work.

11
Bug Reports / Re: Drag & Drop Tagging no longer works since update
« on: November 19, 2017, 09:26:34 PM »
MusicBee is no longer loading output plug-ins through the Winamp interfaces.  This is why you can still see "Remote Speakers output" as a choice but clicking Configure just brings up an error.

12
Plugins / Re: AirPlay plugin
« on: August 15, 2015, 01:30:59 PM »
I too have an issue with MB crashing when I have the out_apx in the plugin folder.  Bummer...Would be awesome but for this.  I'd love this to be fixed if you can.

Not much I can do without a lot more information.  As stated in the README that comes with the plug-in, you can run DebugView to capture some more info.  Plus send me (through email) the plug-in version you are running, Windows version, AirPlay device type, etc.

13
Plugins / Re: AirPlay plugin
« on: December 12, 2014, 11:16:51 AM »
...on the AppleTV itself, it only shows iTunes as being shared. MusicBee is nowhere to be seen. Am I doing something wrong? Do I need to copy the files to other folders? Any help would be appreciated because I would really like to use it.

This plug-in does not set up MusicBee as an iTunes shared library.  You will need to select your ATV from MB and play songs out of the MB library to hear them on the ATV.  Support for the Remote app and library browsing from an Apple TV or other more capable device would need to be added to the plug-in or supplied as a separate plug-in.

14
Plugins / Re: AirPlay plugin
« on: August 28, 2014, 03:02:31 AM »
Unfortunately, the sound quality is not good and I can not offer it in public in my dance school.  The sound seems like distorted and loses both the treble and the bass...  Have you any suggestions to adjust and improve the sound quality?

@franco  Re: the expiration on the 31st.  I can create a new build with a different expiration date as long as we are making progress.  Let's try to figure it out before then if possible.

As far as distorted sound, I am wondering if you have a DSP or some ReplayGain or something enabled in MusicBee.  Sound over AirPlay should be as clear as the source track.  I've not heard of the Sitecom WMA-1000 before.  Any chance you or a friend has an iPad or iPhone so you could quickly confirm that the receiver's AirPlay works fine?  Also, you could try adjusting the volume slider when playing to see if less volume is the answer.

Could you run DebugView before you start MusicBee?  There are instructions in the README file for doing so.  This should capture some important information to help me understand the problem.  You can email me the log and any additional support questions at: [email protected]

15
Plugins / Re: AirPlay plugin
« on: August 21, 2014, 07:06:09 PM »
@Franco  Can you try this out?  Some devices don't handle the uncompressed ALAC stream.  This one has compression and may make the difference for you.  Otherwise, it should have everything else that is in v4.9 proper.

http://emilles.dyndns.org/software/out_apx/out_apx-4.9pr1.zip

4.9pr1 (2014-07-26):
* Reduced network utilization by compressing the ALAC audio stream

Pages: 12