View Issue Details

IDProjectCategoryView StatusLast Update
0012445MMADBpublic2015-01-15 03:20
Reporterpeke Assigned To 
PriorityurgentSeverityminorReproducibilityrandom
Status closedResolutionunable to reproduce 
Product Version1.1.0 
Target Version1.1.0 
Summary0012445: DB still holds missing tracks / deletes tracks when SD is removed
DescriptionSometimes after remount of SD card MMA still see old tracks even they are unavailable.

Note: as they are available in Library they can be started to play even they are missing but do not play
TagsNo tags attached.
Attached Files
Fixed in build

Activities

marek

2014-12-22 11:38

developer   ~0041524

Unfortunately I have only the first log. It is not possible to send more than one log in 5 minutes.

I have removed this limitation for user logs - it will be in build 359.

In first log I can see that the storage is still removed. It is /storage/sdcard1.

Could you please give me details:
1. You have unmounted sd card
2. Tracks should remain in DB
3. You have remounted other sdcard (without these tracks)
4. Tracks were not deleted from DB

Is this your scenario ??

If so, please resend me log after storage is remounted and tracks are still visible.

peke

2014-12-22 14:12

developer   ~0041527

Last edited: 2014-12-22 14:15

Unfortunately I'm not sure I can replicate the issue anymore.

Problem was that My SD card got corrupted during the sync and I needed to reformat. At the moment of sending Logs SD card was in and Moto G told me that it was remounted, So I guess that scenario is valid (After remount Card Was Empty and needed format which I've done after I salvaged files)

Meantime I deleted MediaMonkey folder to get empty DB

rusty

2015-01-11 02:31

administrator   ~0041643

There is also a related situation described at:
http://www.mediamonkey.com/forum/viewtopic.php?f=21&t=78785

in which all content is deleted if a USB OTG key (masquerading as an SD card) is removed while the device is running. Marek, any idea why that would occur?

marek

2015-01-12 21:59

developer   ~0041660

This issue with USB OTG is already solved over kayako - IGK-463-78698

marek

2015-01-13 10:02

developer   ~0041667

I tried it with build 364 - I have formatted the card and all tracks are gone in MMA too

peke

2015-01-15 03:20

developer   ~0041711

Verified 365

All is working as expected.

1. If SD card is removed tracks are still in Library as expected due teh fact that SD card can be removed for battery saver and if tracks were removed immediately than on remount there will be needlessly new scan and unpaired tracks, so this behavior is correct.

2. If new SD card insertion is detected (Format, new card) than Media Scan kicks in and all tracks are removed

3. In case of abnormal removal of SD card and its corruption MMA is not being able to determine if it needs to remove tracks from library as OS didn't notified new SD card is inserted due the fact that it is known card but corrupted and data is not accessible.