View Issue Details

IDProjectCategoryView StatusLast Update
0011661MMAGeneralpublic2014-09-28 01:15
Reporterrusty Assigned To 
PriorityurgentSeveritymajorReproducibilitysometimes
Status closedResolutionfixed 
Product Version1.0.4 
Target Version1.0.7Fixed in Version1.0.7 
Summary0011661: On some devices/environments playlists become empty on reboot (regression?)
DescriptionThere are at least 5 different individuals having the problem that MMA's playlists become empty upon rebooting using the latest build (209), one of them even losing playlists without rebooting!

A potential clue is raised at http://www.mediamonkey.com/forum/viewtopic.php?f=21&t=74699#p380216 -- pauby indicates that simply unmounting/remounting the SD card can trigger the problem, and suggests that perhaps the issue is that MM is resetting the playlists because it is being run prior to the SD card being mounted.
Additional Informationhttp://www.mediamonkey.com/forum/viewtopic.php?f=21&t=73746&start=60
http://www.mediamonkey.com/forum/viewtopic.php?f=21&t=74699
TagsNo tags attached.
Fixed in build303

Relationships

related to 0011298 closedmarek USB Sync: Playlists are sometimes disappearing 
related to 0012144 closedmarek Playlists lost 
related to 0011606 closedlowlander Wifi sync keeps creating new Device Profiles 
related to 0011803 closedlowlander Sync failures causes Playlists on device not to be synced properly 

Activities

rusty

2013-12-23 19:42

administrator   ~0039019

Last edited: 2013-12-23 20:22

Thanks to user pauby, I've been able to simulate this bug:

1 Run MMA
-->observe tracks, albums, playlists, etc.
2 Close MMA & wait for process to terminate
3 Unmount SD Card
4 Run MMA (and initiate scan (i.e. Options > Check for new media) if it doesn't scan automomatically)
--> Library content (e.g. Albums) is empty, but playlists remain, though they are all now empty
5 Close MMA and wait for it to terminate
6 Remount the SD card
7 Run MMA (and initiate scan (i.e. Options > Check for new media) if it doesn't scan automomatically)
--> Scan takes about 15 minutes (using significant battery resources). After it's complete, the library is repopulated except that some or all of the the Playlists are now empty (on one occasion only 1 playlist became empty--the one containing a video, on the other occasion all became empty)! This is slightly different than what users have explained--they've indicated that _all_ playlists always become empty, but I expect that this difference may not be relevant to the fix. [I'm not sure what could result in such a situation--it would presumably be when the M3U file is either empty or if it's not read. e.g. a) sync scenarios which would update the DB but not the SD card's m3u files?? b) if Playlists are stored to the main memory but tracks are stored to the SD Card, which could result in a situation in which .m3u files are updated in response to playlists being empty?? c) If a mediastore refresh is triggered by an app other than MMA which could cause tracks to be seen, but not playlists?? d) it could just be user error due to the fact that playlist updates occur after track updates and therefore appear 'empty' until the scan is complete??]

I expect that this bug occurs in either of the following situations:
a) some devices may occasionally unmount the drive during use due to a combination of the device drivers and the SD card being used ( http://forum.xda-developers.com/showthread.php?t=2113906 ) --> each time it unmounts and MMA is run, the bug occurs
b) on some devices MM might run at startup prior to the SD card getting mounted --> the bug occurs

marek

2013-12-26 10:14

developer   ~0039061

Fixed in build 213

rusty

2013-12-27 07:05

administrator   ~0039068

Tested 213 and the bug can no longer be simulated. We'll see if it's resolved for users before closing.

rusty

2014-01-13 14:49

administrator   ~0039205

This issue seems to be resolved.

rusty

2014-01-23 16:26

administrator   ~0039350

Last edited: 2014-01-23 16:35

User reported at http://www.mediamonkey.com/forum/viewtopic.php?f=21&t=73746&start=105#p382187 that this has recurred in build 221.

I tried to simulate the bug using build 221, but can't so it may not be the same issue. Are there any changes in this build that might explain this?

rusty

2014-01-27 19:57

administrator   ~0039386

Reduced priority until user provides more feedback.

rusty

2014-02-11 05:21

administrator   ~0039554

User has indicated that the problem is related to use of widgets:
http://www.mediamonkey.com/forum/viewtopic.php?f=21&t=73746&start=105#p383347

I haven't tried to simulate this yet, but he indicates that the widget appears to be attempting to load the Now Playing list content before the SD card has been mounted, which would be a similar scenario to those that triggered this bug to begin with.

marek

2014-02-11 15:49

developer   ~0039562

Waiting for log..

rusty

2014-09-24 06:52

administrator   ~0040550

Marek, can you confirm whether this is resolved?
I noticed a report at http://www.mediamonkey.com/forum/viewtopic.php?f=21&t=76825 but nothing using recent 1.0.7 builds.

marek

2014-09-25 16:16

developer   ~0040591

Fixed in build 303

Fixed as 0012144

peke

2014-09-28 01:15

developer   ~0040604

Verified 303