View Issue Details

IDProjectCategoryView StatusLast Update
0009821MMW v4Synchronizationpublic2012-11-08 05:27
Reporterlowlander Assigned To 
PriorityurgentSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version4.0 
Target Version4.0.7Fixed in Version4.0.7 
Summary0009821: Samsung Galaxy Note: Tracks show unknown Album Artist / Album (failed device detection)
DescriptionAndroid 4.0.3, Samsung Galaxy Note, MTP.

Most files (if not all) show with Album and Album Artist unknown on device. This seems to also result on Playlist being empty. The problem seems to occur at the end of the sync (when files have already been synced). Windows Explorer for example get's frozen in this last phase and after MediaMonkey finishes the device needs to be restarted to be seen by Windows and MediaMonkey.

Music Player: Playlist empty, Albums empty, can't play tracks
Android Media Player: Playlist empty, Albums empty, Songs empty, can't play tracks
Rocket Player: Playlist works (everything unknown), Albums empty, Songs empty, can play tracks (from Playlist)
TagsNo tags attached.
Fixed in build1509

Relationships

related to 0009518 closedLudek Sync with Galaxy S3 can fail due to PLA playlists 
related to 0009216 closedLudek User should be able to check what type of playlist synced to device 
related to 0009066 closedjiri M3U playlists should be preferred over MTP 
related to 0009397 closedLudek "Android Phone" shows up as device lablel even when the device is recognized correctly 
related to 0009961 closedLudek PLA playlist being sycned to Samsung Galaxy S2 instead of M3U 
related to 0009962 closedLudek Setting Support Formats Playlist type fails 
related to 0011628 resolvedLudek USB Sync Problems (Samsung Galaxy Note) 

Activities

Ludek

2012-10-13 09:43

developer   ~0032523

Last edited: 2012-10-13 10:34

I canot reproduce with my Samsung Galaxy Nexus.
Is this always reproducable also for small set of tracks, e.g. one single album? Or it is a random issue?
There are syncing playlists in the last phase of the auto-sync process there, but I don't see a problem in the debug log.

Are the tracks visible/playable after restart of the phone?

If you upload the tracks using windows explorer, are then OK in the phone?

Ludek

2012-10-13 09:48

developer   ~0032524

Last edited: 2012-10-13 13:31

I see in the log failures when uploading albums and Album Arts at the end of the log around lines 20900, the upload has failed, was there enough space on the device?

BTW. I could not repro it with my Galaxy Nexus as the WMDM interface reported that multimedia albums (WMDM_FORMATCODE_ABSTRACTMULTIMEDIAALBUM) aren't supported by my phone so they aren't uploaded at all in my case.

lowlander

2012-10-13 16:48

developer   ~0032528

I'm testing with only 15 tracks (in the log), on a larger set of 250 I had around 24 tracks on the Playlist that worked with the rest being unknown. The device has 8GB free so space is not an issue. Restarting the phone makes no difference.

I do think the issue is at the end of the log, after the files themselves have been synced to the device. I have seen this process get stuck (more than 11 hours with Windows debugging window shown). Strangely allthough tags are unknown in all players tested (even after restart) all players on the device do show Album Art (which in MM is embedded into files).

I can't use Windows Explorer as all the folders in the Media folder are represented as files (thus I can't open the Music folder).

lowlander

2012-10-14 03:26

developer   ~0032536

New WMDM resulted in blazing fast sync. However it seems to not have removed the old files (did ask to) nor does it seem the new files are on the device (not entirely sure as I synced a random Auto-Playlist) [debug2.zip]. Restarting device didn't change that. (also note that the Media Tree showed the device and the SD card twice with the new WMDM)
On reconnecting the device MediaMonkey froze [debug3.zip].

lowlander

2012-10-14 04:43

developer   ~0032540

Tried to sync to the old phone entry (previous logs were with new phone entry in Media Tree) and it hung with a Visual Studio Debugger window [debug4.zip].

Ludek

2012-10-14 08:35

developer   ~0032547

Last edited: 2012-10-14 09:27

Martin, it seems that you didn't replace the DLL, but copied another d_WMDM(1).dll to the Plugins directory. Thus there are two d_WMDM.dll and this causes the issues (device seen twice etc).

So deleted both d_WMDM(1).dll and d_WMDM.dll and ensure that only the http://www.happymonkeying.com/beta/GalaxyNote/d_WMDM.dll is in the Plugins directory.

lowlander

2012-10-14 22:44

developer   ~0032556

Last edited: 2012-10-14 22:45

I tried sync with a static Playlist of a single MP3 Album. It still failed with the tags showing correctly prior to disconnecting device, but after disconnection, restart device, reconnecting the tags show incorrect in device Apps and in MediaMonkey as well. [debug5.zip]

Ludek

2012-10-15 10:21

developer   ~0032563

Last edited: 2012-10-15 10:22

OK, I uploaded new DLL to the same place: http://www.happymonkeying.com/beta/GalaxyNote/d_WMDM.dll

So re-download it please and:
1. Replace the DLL, run MM
2. Delete all media files from the device
3. Sync one or several files and re-generate log

lowlander

2012-10-15 16:20

developer   ~0032566

With the new dll I synced a few tracks (Send To > Device) [debug6.zip] and auto-synced a static playlist [debug7.zip] and in both cases the sync was slow and the Artist, Album and Title fields have correct values. However this isn't the case for Album Artist (=unknown) and Composer (=<unknown>). In the original files Composer is empty, but Album Artist has same value as Artist. So wonderful progress was made with the new dll.

lowlander

2012-10-15 17:47

developer   ~0032567

Did a new sync of random Auto-Playlists and at the end it notified several tracks weren't synced. Upon checking the device the Playlist itself was also missing [debug8.zip]

Ludek

2012-10-16 13:56

developer   ~0032594

Re: Debug7:
- The only that I changed in the last DLL was, that I disabled uploading Album Art that looks like it helped in Debug7.zip, are the album arts visible then in the device?

Re: Debug8:
- in the log the upload suddenly failed at 374 seconds and then any further upload consistently fails. It looks like a random issue? Couldn't it be a hardware/driver/access issue? Are you able to successfuly sync all the tracks using other software like WMP?

lowlander

2012-10-16 20:03

developer   ~0032600

Last edited: 2012-10-16 20:24

After WMP sync I ran an Auto-Sync in MM and it was a lot faster (couple minutes, same amount took 8+ hours last night). However the Playlist synced contained 100 (but MM stated it was syncing 98 files) files, but only shows 2 on device. Prior to device restart Artwork does seem to be missing on many files, after restart only 7 files are shown as Songs, plenty of Albums are shown, but all unknown. (unfortunately DBGView wasn't running (an AV after sync has been submitted, but may be unrelated). MediaMonkey does show full tags for files on device.

Ludek

2012-10-16 22:52

developer   ~0032603

Last edited: 2012-10-16 22:54

I've just read forum topic from issue 0009518 , i.e. this forum topic:
http://www.mediamonkey.com/forum/viewtopic.php?f=12&t=66514
and it sounds that you are experiencing the same issues?

Could you confirm that deletion of whole Music folder (on the device) before sync resolves the problem?

lowlander

2012-10-17 04:11

developer   ~0032607

I deleted the Music folder on the device, restarted device and synced an Auto-Playlist of 25 random MP3's. [debug9.zip]
- Songs tab on Android Music Player and Rocket Player show no songs
- Playlist shows empty on Music Player, Android Music Player and Rocket Player
- Tags are unknown on Music Player, Android Music Player, Rocket Player and BubbleUPnP

Ludek

2012-10-17 10:05

developer   ~0032611

Hmm, I don't see any failures in the debug log (debug9.zip) this time, so I still don't understand what is wrong.

Does it happen with Internal Storage too?
Do you sync tracks to SD card or Internal storage?

lowlander

2012-10-17 14:33

developer   ~0032613

So far I've just been syncing to internal storage.

Ludek

2012-10-17 15:28

developer   ~0032614

Hmm, it looks exactly like the issues described here: http://www.mediamonkey.com/forum/viewtopic.php?f=12&t=66514&start=75#p348969 with S3/ICS

Ludek

2012-10-17 15:36

developer   ~0032615

Last edited: 2012-10-17 15:50

The failures seem to be too random, it more and more looks like it was a driver issue. Could you please test with WMP (several tests for sure) to be sure that the issue is (not) happening with WMP too?

Also it looks that OS Android 4.0.3 is affected (based on the forum link), could you try upgrading to OS Android 4.1.1 to see whether it fixes the issues?

lowlander

2012-10-17 16:03

developer   ~0032617

Last edited: 2012-10-17 16:10

WMP synced files successfully to the device with tags intact. (PS. the latest testing has been with d_WDMD downloaded last night)

lowlander

2012-10-17 20:15

developer   ~0032621

I tried to sync the device on a WinXP instead of Win2003 machine and the sync seems to have worked (4.0.7.1506 with modified d_WDMD). Then I installed Kies on Win2003 and it doesn't recognize the device and after troubleshooting the device itself is no longer recognized (windows can not identify the device plugged into the Samsung Mobile USB Composite Device).

Ludek

2012-10-17 20:19

developer   ~0032622

BTW. Does it also fail if you select the tracks and use "Send to -> Device" or does it fail only with auto-sync?

lowlander

2012-10-17 20:54

developer   ~0032623

Just synced a single Album with Send To on Win2003 and it is shown with tags on device.

jiri

2012-10-17 21:20

administrator   ~0032626

Martin, could you please try test Send To with more data, so that we could be sure that it really works differently? Note that it would be rather surprising...

lowlander

2012-10-18 02:45

developer   ~0032630

Last edited: 2012-10-18 03:11

I tested with the same set of files (35 files on 3 Albums) as Auto-Sync and manual Send To. Auto-Sync failed (and seems inconsistent) to have tags on all files, however Send To synced all files with tags successfully.
To rule out PC issues I also did Auto-Sync on WinXP and it failed to show any tags as well on device (earlier reported successful XP sync was through Send To) [debug10.zip]

Ludek

2012-10-18 11:17

developer   ~0032633

Last edited: 2012-10-18 11:43

Hmm, the only difference I can imagine is in playlist creation that maybe the device doesn't like.

If you put the tracks to a static playlist and right click the _playlist_ and select Send to -> Device
does it fail like in case of auto-sync?

i.e. Does playlist creation causing the issues?
Tech note: there are several types of playlists supported by various MTP devices, WMDM_FORMATCODE_ABSTRACTAUDIOVIDEOPLAYLIST is used for your device, maybe this could be a clue and we should use another type.

lowlander

2012-10-18 15:22

developer   ~0032638

You're right, the Playlist sync trips up the device. I did an Auto-Sync of a Playlist with the option to sync Playlists disabled and the files showed with tags. Re-enabled the option to sync Playlists and used Send To > Device on a static Playlists and the files had no tags. [debug11.zip]

Ludek

2012-10-18 18:40

developer   ~0032640

Last edited: 2012-10-18 18:42

Great, so we have a clue finally.

I uploaded new DLL to the same place ( http://www.happymonkeying.com/beta/GalaxyNote/d_WMDM.dll )

1) I would need to see debug log just after plug-ing the device so that I could see device capabilities in the log (because of the supported playlists).

2) Try sync with this DLL, I set up M3U as preferred over PLA in this DLL so I wonder if it is going to work well

lowlander

2012-10-18 19:18

developer   ~0032641

[3836] WMDM: Supported formats: MP3, WMA, AVI, ASF, MPG, WMV, MP4, M3U

which is strange as to my knowledge FLAC is supported (and plays on device). Also note that there is a report that PLA sync fails with Unicode enabled: http://www.mediamonkey.com/forum/viewtopic.php?f=12&t=67744&hilit=pla although I did see PLA files on my device.
Another related: http://www.mediamonkey.com/forum/viewtopic.php?f=12&t=67434&hilit=pla

It seems the sync with the new dll to m3u playlist did work as expected with tags intact [debug12.zip]

Ludek

2012-10-18 19:57

developer   ~0032642

Last edited: 2012-10-18 20:41

Re: the FLAC, it was point of issue 0009772 , both Galaxy S3 and Galaxy Note doesn't report FLAC as supported. Probably because it is supported only by third party apps.

Re the playlists, it is great that M3U works, so it seems that it is related to issues 0009066, 0009216

In 0009066 we preferred M3U over PLA, but it seems that for same devices like Sansa Clip the PLA needs to be preffered (see issue 0009216 for details).

So it seems that 0009216 is not poperly fixed, If both PLA and M3U are supported, we should prefer M3U for all Android devices and PLA fo the others.

Looking at it further, the root of the problem is that Galaxy Note is not correctly detected as Android device profile otherwise M3U would be preferred.

Ludek

2012-10-18 20:32

developer   ~0032645

Fixed in build 1507.

Test note: Device profile needs to be deleted or M3U needs to be added manually to supported formats.

lowlander

2012-11-05 17:17

developer   ~0032932

Last edited: 2012-11-06 04:15

1507 fixes the Playlist sync issue, but phone and card were both recognized as Android Phone not as Phone and Card like prior to 1507. Also the after files synced process was really long and produced Visual Studio debugger (after this sync finished quickly) [debug13.zip]

Ludek

2012-11-06 16:25

developer   ~0032971

Last edited: 2012-11-06 16:55

Re the 'Android Phone' caption, it was fixed for Mambo and 4.1 as #9381 and 0009397, we just haven't merged it into 4.0

=> Merged into build 4.0.7.1509 as 0009397

Re: the log debug13:
I see at 227 seconds that WMDM.insert3 has failed when uploading second Album Art

There are two possibilities:
1. Your device doesn't support WMDM album arts correctly althougt its interface says it supports it, to confirm this please test with http://www.happymonkeying.com/beta/GalaxyNote/d_WMDM.dll where I disabled artwork uploading in the WMDM form.

2. There is a USB problem, do you use e.g. USB hub? If yes, could you try to plug the device directly to PC USB port and sync?

lowlander

2012-11-06 17:39

developer   ~0032977

I deleted Music and Playlist folders of device, rebooted, synced with new dll and it worked fast without errors. The only thing I saw was the Playlist twice on the device (1 empty, 1 with files) and I don't know where it is coming from (can't find 2 using the file explorer on the device). [debug14.zip]

Ludek

2012-11-07 11:55

developer   ~0033000

Fixed in 4.0.7.1509

rusty

2012-11-08 05:27

administrator   ~0033012

Confirmed by Martin for build 1509.