getmusicbee.com

Support => Portable Devices => Topic started by: JlMN on August 05, 2019, 09:05:36 PM

Title: After update it does not detect my Amazon Fire HD tablet anymore.
Post by: JlMN on August 05, 2019, 09:05:36 PM
I recently updated MusicBee from 3.2.6902 to 3.3.7155

When I connect my device [tablet] (Amazon Fire HD 8 6th Generation) to my PC (Win 7) (wired), the device icon on the upper right area doesn't appear.

But it does detect my Samsung Android smartphone.

On my device I checked if MTP is selected, and it is.

In the Error Logs I see this:

Code
8/5/2019 12:35:43 PM - Unable to initialise device=Exception from HRESULT: 0x80042009

I never had this issue before with this tablet with the older MusicBee version. :(
Title: Re: After update it does not detect my Amazon Fire HD tablet anymore.
Post by: Steven on August 05, 2019, 09:28:09 PM
if you go back to the older version does it work again?
Title: Re: After update it does not detect my Amazon Fire HD tablet anymore.
Post by: JlMN on August 05, 2019, 11:59:43 PM
I haven't tried that, but since it was working with the older version, I suppose so.  My last successful sync was like two days prior to updating the application on my PC.


Do I need to uninstall the newer version prior to installing the older version?  Or can I install over it -- hoping that the older files replace the new files?
Title: Re: After update it does not detect my Amazon Fire HD tablet anymore.
Post by: JlMN on August 08, 2019, 12:38:14 AM
After testing your most latest version: MusicBee_Setup_3_3_7157  -- and no luck to my issue.  I uninstalled MusicBee and then reinstalled the last working version for me: v3.2.6902

The good thing is that I had kept a backup of my settings when I was with that version, and after loading my settings, the program is able to sync with my Amazon Fire HD.

So that should answer the question if I still have issues with the older version.

Hopefully someday your newer version supports my device.
Title: Re: After update it does not detect my Amazon Fire HD tablet anymore.
Post by: Steven on August 08, 2019, 08:54:43 AM
would you be happy to run a debug version? You would only need to replace musicbee.exe
Title: Re: After update it does not detect my Amazon Fire HD tablet anymore.
Post by: JlMN on August 08, 2019, 07:24:13 PM
Sure!  Just let me know if you want me to run it on the older version or the newest version?

One thing I noticed comparing the new and older versions.  Under Edit Preferences (CTRL+O) > Devices (tab).

Under the new version, the following option is nowhere to be found: detect MTP devices.  Under the new version, it seems to have been replaced with the WiFi Option instead.

Just an observation...
Title: Re: After update it does not detect my Amazon Fire HD tablet anymore.
Post by: Steven on August 08, 2019, 07:49:36 PM
take a copy of MusicBee.exe and your current settings file

unzip and replace MusicBee.exe with this file
https://www.mediafire.com/file/ly6t6bc8rngpajq/MusicBeeDebugSync.zip/file

After restarting MB, it will log an entry at the end of the error log with "Line=?" - i need the value
(help/ support/ view error log)
Title: Re: After update it does not detect my Amazon Fire HD tablet anymore.
Post by: JlMN on August 09, 2019, 04:16:11 AM
Okay, here is the error log:

Code
8/8/2019 8:11:03 PM - Line=21
8/8/2019 8:11:03 PM - Unable to initialise device=Method not found: 'Void PortableDeviceApiLib.IEnumPortableDeviceObjectIDs.Next(UInt32, System.String[], UInt32 ByRef)'.

FYI: I didn't update MusicBee, so I was still using v3.2.6902 when I swapped the debug exe file you gave me when I conducted this test for you.

Plus, I loaded MusicBee while my Amazon Fire HD device was connected to the PC, in order to get the error you needed.

If you still wish for me to update MusicBee and then test this debug exe file again, just let me know?


UPDATE:
One thing I noticed that after replacing the debug exe with the original one, the part that I stated above where "detect MTP device" is found was was turned off or unchecked by the new exe.  So that was weird, perhaps a clue?  Because my tablet was still connected and did not detect it because of that setting...

Glad I ran a backup of my settings, I think the new exe changes some of my settings.  Let me know if you want for me to investigate this more... or you have enough info with that debug output above?

UPDATE 2:
Comparing the changes between my older saved settings and this new debug version settings, here are a few lines that may help?

v3.2.6902
Code
<SystemEnableMtpDevice>true</SystemEnableMtpDevice>

Debug Version
Code
<SystemEnableMtpDevice>false</SystemEnableMtpDevice>

Plus on the new debug version, it removes this line that represents both my devices that I sync with MusicBee:

Code
<RootStoragePath>Fire - 8HD - Red\Storage device\</RootStoragePath>
<RootStoragePath>Samsung\Card\</RootStoragePath>
Title: Re: After update it does not detect my Amazon Fire HD tablet anymore.
Post by: Steven on August 09, 2019, 06:50:39 AM
the mtp device setting is not used any more
I need to give you 2 more files which should be replaced in the musicbee application folder - keep the original 2 in case you want to revert back to v3.2
https://www.mediafire.com/file/sfxi7604gd4bw5t/Interop.zip/file
Title: Re: After update it does not detect my Amazon Fire HD tablet anymore.
Post by: JlMN on August 09, 2019, 06:52:12 PM
Just checking to see if I follow you correctly.

You want me to put these files when I have either v3.2 or v3.3 installed?  Please clarify?


Plus after placing these files, do you want me to run MusicBee normally or with that debug exe file?
Title: Re: After update it does not detect my Amazon Fire HD tablet anymore.
Post by: Steven on August 09, 2019, 10:30:15 PM
dont worry about the debug version any more - i should be able to address this tomorrow
Title: Re: After update it does not detect my Amazon Fire HD tablet anymore.
Post by: Steven on August 10, 2019, 09:29:49 AM
try this version:
https://getmusicbee.com/patches/MusicBee33_Patched.zip

unzip and replace the existing musicbee application files

I suggest you either do a Sync or a Preview just to make sure the issue isnt pushed further along from device initialisation
Title: Re: After update it does not detect my Amazon Fire HD tablet anymore.
Post by: JlMN on August 16, 2019, 03:51:34 AM
A million apologies for the late reply...

Okay, I updated MusicBee to 3.3.7115 -- I believe that is the version we get when we download it from here: https://getmusicbee.com/downloads/  (7zip: MD5: c6e6729ab61ee7149e822ae8147457d7)

I then downloaded your patched zip you provided above and extracted the zip file and copied the files into this path: C:\Program Files (x86)\MusicBee  -- and after updating those files, I get this version under About: 3.3.7165

I then connected my Amazon Fire HD tablet to my Win 7 PC.

I then ran MusicBee, and it was able to detect my device and clicked on the tablet icon.

Ran a Preview, but it didn't give me any results, and I know this is strange, since I do have a few Playlists changes since my last update.

I then ran Sync, and it gave me this error:


(https://i.ibb.co/B3fbBqm/error.png)

At this point, I don't know what I should do?  What do I need to modify or fix?  Keeping in mind that with v3.2 there is no issue, the path set is correct as far as that version goes...

So my only guess is that the new version isn't working yet with my device.  Let me know?

Plus, I checked the Log, and nothing there about anything.
Title: Re: After update it does not detect my Amazon Fire HD tablet anymore.
Post by: JlMN on August 17, 2019, 10:41:47 PM
Here is something I spotted, when I uninstalled the new version and returned to v3.2.

I noticed that the older MusicBee version writes the storage path complete like this:

Code
Fire - 8HD - Red\Storage device\

(https://i.ibb.co/BCHqK7F/older-path.png)


And the new MusicBee version rewrote the storage path this way:

Code
Fire\Storage device\

(https://i.ibb.co/TggGy03/new-path.png)


You see, that device, I named it like this "Red's Fire HD 6 Gen." under the Change Your Device Name options under my tablet's settings.

And MusicBee detects it like: Fire - 8HD - Red.

So I wonder if that is the issue?  The newer versions are omitting parts of the path?  -- I sort of explained that earlier in this thread about comparing MusicBee Settings -- if you recall.

Plus note, that the Storage device part is my SD card on my tablet, and not the device's internal memory.

So I hope this helps?
Title: Re: After update it does not detect my Amazon Fire HD tablet anymore.
Post by: Steven on August 18, 2019, 07:51:05 AM
thanks for the tip. I will create a v3.3 debug version later today
Title: Re: After update it does not detect my Amazon Fire HD tablet anymore.
Post by: Steven on August 18, 2019, 10:38:18 AM
To start with I have created 2 debug versions - one for v3.2 and one for v3.3 in order to compare the initialisation.
If you havent already done so, I suggest you install v3.3 using the portable installer so its separate from v3.2
All you need to do is start MusicBee, wait a minute and then send me the new info at the end of error log in both cases - let me know which log is for v3.2 and which is v3.3


https://www.mediafire.com/file/j615zvbatptxpx5/MusicBeeDebugSync3_2.zip/file
unzip and replace musicbee.exe in the v3.2 location

https://www.mediafire.com/file/6c0fmyirgpypfqx/MusicBeeDebugSync3_3.zip/file
unzip and replace musicbee.exe in the v3.3 location
Title: Re: After update it does not detect my Amazon Fire HD tablet anymore.
Post by: JlMN on August 20, 2019, 05:18:34 AM
Please forgive me in advance, but I am not too comfortable in giving you the entire error logs.  I don't know if I will be giving you something that is personal to my device.

Both logs gave a folder structure of the root of my SD card on my tablet and also my Internal Memory of my device.  Plus it gave the same or at least two different 36 chars code.  Including the serial number of my device in one or two lines within the LOGs.

I don't know if that can be used to identify my tablet on the net, but I rather not share that.  So I will replace the 36 chars code with just that: 36 chars code.  And will only opt to list a few standard folders -- and not every folder and sub-folder on the root of my device.  Plus, rename the serial code to SN.

v3.2 LOG:
Code
8/19/2019 8:21:15 PM - device name=Fire - 8HD - Red
8/19/2019 8:21:15 PM - 36-chars-code-7=Amazon*
8/19/2019 8:21:15 PM - 36-chars-code-8=Fire*
8/19/2019 8:21:15 PM - 36-chars-code-9=SN*
8/19/2019 8:21:15 PM - 36-chars-code-3=1.0*
8/19/2019 8:21:15 PM - model=Fire
8/19/2019 8:21:15 PM - 36-chars-code-12=null int
8/19/2019 8:21:15 PM - 36-chars-code-4=Internal storage*
8/19/2019 8:21:15 PM - 36-chars-code-3=DEVICE*
8/19/2019 8:21:15 PM - storage[0]=s10001,Fire - 8HD - Red\Internal storage\
8/19/2019 8:21:16 PM - 36-chars-code-12=Android*
8/19/2019 8:21:16 PM - 36-chars-code-12=Music*
8/19/2019 8:21:16 PM - 36-chars-code-12=Podcasts*
8/19/2019 8:21:16 PM - 36-chars-code-12=Ringtones*
8/19/2019 8:21:16 PM - 36-chars-code-12=Alarms*
8/19/2019 8:21:16 PM - 36-chars-code-12=Notifications*
8/19/2019 8:21:16 PM - 36-chars-code-12=Pictures*
8/19/2019 8:21:16 PM - 36-chars-code-12=Movies*
8/19/2019 8:21:16 PM - 36-chars-code-12=Download*
8/19/2019 8:21:16 PM - 36-chars-code-12=DCIM*
8/19/2019 8:21:16 PM - 36-chars-code-12=kindle*
8/19/2019 8:21:16 PM - 36-chars-code-12=Books*
8/19/2019 8:21:16 PM - 36-chars-code-12=Documents*
8/19/2019 8:21:16 PM - 36-chars-code-12=backups*
8/19/2019 8:21:16 PM - 36-chars-code-12=albumthumbs*
8/19/2019 8:21:16 PM - 36-chars-code-12=bluetooth*
8/19/2019 8:21:16 PM - 36-chars-code-12=null*
8/19/2019 8:21:16 PM - 36-chars-code-12=Playlists*
8/19/2019 8:21:16 PM - 36-chars-code-12=null int
8/19/2019 8:21:16 PM - 36-chars-code-4=Storage device*
8/19/2019 8:21:16 PM - 36-chars-code-3=DEVICE*
8/19/2019 8:21:16 PM - storage[1]=s20001,Fire - 8HD - Red\Storage device\
8/19/2019 8:21:17 PM - 36-chars-code-12=LOST.DIR*
8/19/2019 8:21:17 PM - 36-chars-code-12=Android*
8/19/2019 8:21:17 PM - 36-chars-code-12=DCIM*
8/19/2019 8:21:17 PM - 36-chars-code-12=Apps*
8/19/2019 8:21:17 PM - 36-chars-code-12=Alarms*
8/19/2019 8:21:17 PM - 36-chars-code-12=Books*
8/19/2019 8:21:17 PM - 36-chars-code-12=Games*
8/19/2019 8:21:17 PM - 36-chars-code-12=Images*
8/19/2019 8:21:17 PM - 36-chars-code-12=Movies*
8/19/2019 8:21:17 PM - 36-chars-code-12=Music*
8/19/2019 8:21:17 PM - 36-chars-code-12=Notifications*
8/19/2019 8:21:17 PM - 36-chars-code-12=Pictures*
8/19/2019 8:21:17 PM - 36-chars-code-12=Ringtones*
8/19/2019 8:21:17 PM - 36-chars-code-12=Playlists*

v3.3 LOG

Code
8/19/2019 8:23:38 PM - device name=Fire - 8HD - Red
8/19/2019 8:23:38 PM - 36-chars-code-7=Amazon*
8/19/2019 8:23:38 PM - 36-chars-code-8=Fire*
8/19/2019 8:23:38 PM - 36-chars-code-9=SN*
8/19/2019 8:23:38 PM - 36-chars-code-3=1.0*
8/19/2019 8:23:38 PM - model=Fire
8/19/2019 8:23:38 PM - 36-chars-code-12=null int
8/19/2019 8:23:38 PM - 36-chars-code-4=Internal storage*
8/19/2019 8:23:38 PM - 36-chars-code-3=DEVICE*
8/19/2019 8:23:38 PM - storage[0]=s10001,Fire - 8HD - Red\Internal storage\
8/19/2019 8:23:38 PM - Unable to initialise device=Method not found: 'Void PortableDeviceApiLib.IEnumPortableDeviceObjectIDs.Next(UInt32, System.String ByRef, UInt32 ByRef)'.
8/19/2019 8:24:24 PM - 36-chars-code-5
8/19/2019 8:24:24 PM - 36-chars-code-4
8/19/2019 8:24:24 PM - 36-chars-code-7
8/19/2019 8:24:24 PM - 31=Amazon
8/19/2019 8:24:24 PM - 36-chars-code-8
8/19/2019 8:24:24 PM - 31=Fire
8/19/2019 8:24:24 PM - 36-chars-code-9
8/19/2019 8:24:24 PM - 31=SN
8/19/2019 8:24:24 PM - 36-chars-code-3
8/19/2019 8:24:24 PM - 31=1.0
8/19/2019 8:24:24 PM - device name=
8/19/2019 8:24:24 PM - device name=Fire
8/19/2019 8:24:24 PM - 31=s10001
8/19/2019 8:24:24 PM - 31=s20001
8/19/2019 8:24:24 PM - model=Fire
8/19/2019 8:24:24 PM - 36-chars-code-12
8/19/2019 8:24:24 PM - 10=null
8/19/2019 8:24:24 PM - 36-chars-code-4
8/19/2019 8:24:24 PM - 31=Internal storage
8/19/2019 8:24:24 PM - 36-chars-code-3
8/19/2019 8:24:24 PM - 31=DEVICE
8/19/2019 8:24:24 PM - storage[0]=s10001,Fire\Internal storage\
8/19/2019 8:24:24 PM - 36-chars-code-12
8/19/2019 8:24:24 PM - 31=Android
8/19/2019 8:24:24 PM - 36-chars-code-12
8/19/2019 8:24:24 PM - 31=Music
8/19/2019 8:24:24 PM - 36-chars-code-12
8/19/2019 8:24:24 PM - 31=Podcasts
8/19/2019 8:24:24 PM - 36-chars-code-12
8/19/2019 8:24:24 PM - 31=Ringtones
8/19/2019 8:24:24 PM - 36-chars-code-12
8/19/2019 8:24:24 PM - 31=Alarms
8/19/2019 8:24:24 PM - 36-chars-code-12
8/19/2019 8:24:24 PM - 31=Notifications
8/19/2019 8:24:24 PM - 36-chars-code-12
8/19/2019 8:24:24 PM - 31=Pictures
8/19/2019 8:24:24 PM - 36-chars-code-12
8/19/2019 8:24:24 PM - 31=Movies
8/19/2019 8:24:24 PM - 36-chars-code-12
8/19/2019 8:24:24 PM - 31=Download
8/19/2019 8:24:24 PM - 36-chars-code-12
8/19/2019 8:24:24 PM - 31=DCIM
8/19/2019 8:24:24 PM - 36-chars-code-12
8/19/2019 8:24:24 PM - 31=kindle
8/19/2019 8:24:24 PM - 36-chars-code-12
8/19/2019 8:24:24 PM - 31=Books
8/19/2019 8:24:24 PM - 36-chars-code-12
8/19/2019 8:24:24 PM - 31=Documents
8/19/2019 8:24:24 PM - 36-chars-code-12
8/19/2019 8:24:24 PM - 31=backups
8/19/2019 8:24:24 PM - 36-chars-code-12
8/19/2019 8:24:24 PM - 31=albumthumbs
8/19/2019 8:24:24 PM - 36-chars-code-12
8/19/2019 8:24:24 PM - 31=bluetooth
8/19/2019 8:24:24 PM - 36-chars-code-12
8/19/2019 8:24:24 PM - 31=null
8/19/2019 8:24:24 PM - 36-chars-code-12
8/19/2019 8:24:24 PM - 31=Playlists
8/19/2019 8:24:24 PM - 36-chars-code-12
8/19/2019 8:24:24 PM - 10=null
8/19/2019 8:24:24 PM - 36-chars-code-4
8/19/2019 8:24:24 PM - 31=Storage device
8/19/2019 8:24:24 PM - 36-chars-code-3
8/19/2019 8:24:24 PM - 31=DEVICE
8/19/2019 8:24:24 PM - storage[1]=s20001,Fire\Storage device\
Title: Re: After update it does not detect my Amazon Fire HD tablet anymore.
Post by: Steven on August 20, 2019, 09:18:59 PM
could you use this debug version for the v3.3 install only. Same instructions where you just start MB, wait a minute and then send me the new entries as the end of the error log

https://www.mediafire.com/file/nnz4ioar2dggex2/MusicBeeDebugSync3_3-3.zip/file


and this one for v3.2
https://www.mediafire.com/file/tp8dvsasbl45ub5/MusicBeeDebugSync3_2-3.zip/file
Title: Re: After update it does not detect my Amazon Fire HD tablet anymore.
Post by: Steven on August 22, 2019, 06:03:49 PM
Never mind with the debug version - Hopefully this will work

https://getmusicbee.com/patches/MusicBee33_Patched.zip
unzip and replace the musicbee v3.3 application files
Title: Re: After update it does not detect my Amazon Fire HD tablet anymore.
Post by: JlMN on August 23, 2019, 01:06:36 AM
I think it's fixed!

I update to v3.3, then applied your patch, and now my Amazon Fire HD device syncs without an issue and no error logs.

Plus, before syncing, I tried Preview, and it worked also.

Thanks for the support!