View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0011458 | MMA | Synchronization | public | 2013-11-06 22:05 | 2013-12-20 07:46 |
Reporter | rusty | Assigned To | |||
Priority | immediate | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.0.4 | ||||
Target Version | 1.0.4 | Fixed in Version | 1.0.4 | ||
Summary | 0011458: Error after initial sync in Kit Kat | ||||
Description | I've observed this a couple of times with build 179: after doing a clean install and syncing a single playlist to a new profile, debug logs are uploaded (even though the sync appears to be successful). Tested on Nexus 5 Initial log sent at 5:02pm Manual log submitted 3 minutes later: WCGCMMKQHQ | ||||
Tags | No tags attached. | ||||
Fixed in build | 205 | ||||
related to | 0011630 | closed | marek | Android Media Store isn't immediately updated when tracks are deleted in MMA (USB Sync: content fails to sync to a Nexus 5) |
related to | 0011627 | closed | marek | Wi-Fi sync: deleted playlists aren't removed from other players |
related to | 0011624 | closed | marek | USB Sync: Playlists don't delete from MMA |
related to | 0011638 | closed | marek | Deleting playlists triggers crash (regression) |
|
Partly fixed in build 181 Google have changed permissions for intent that updates MediaStore after wifi sync. We don't have permission to update it now. Don't know why. I have disabled it for KitKat. So it won't crash but we have to find an alternative approach. Comment from Marek added by Rusty: Impact is that new files synced during wifi sync won't be visible in other apps till restart of device or till some other app forces the MediaStore refresh. |
|
Partly fixed in build 203 I have implemented new way how to refresh and commit new files to MediaStore. It looks like much more reliable way but it has to be tested on other devices and APIs. Since MediaStore DB is used for MTP, this fix might be very helpful in USB sync where it can solve some MTP issues. Please note that it has to be optimized in the future. I suggest to postpone it to 1.0.5. Now, often whole SD card is scanned even it is not necessary. Now you have to keep in mind, that files that are synced over wifi occurs in MTP after some time (30 seconds for me but it can be much longer time). So if you start USB sync before it occurs in MTP, MMW won't see these files. It can also cause some delays/freezes in USB sync (only when you do USB sync after another sync). |
|
Tested 203 and there seem to be regressions. a) On kitkat, playlists/artists that are synced do not appear correctly when attempting to view them in Google Play. Playlists show up, but contain 0 tracks. And none of the tracks (whether selected via Playlists or Artists) show up. b) On ics/experia Pro, playlists that are synced exhibit the same problem as above (regression?) c) On JB/SG3, all playlists that are synced (to the external sd card) appear in MMA as 'Empty'! 3 playlists are: Jogging, PLF, Missing Metadata. Debug log ID: SF86X9LHSD EDIT: item c) appears to be the same as 0011591, so we can track it there. |
|
a) b) did you wait ? As I said it can take some time. Could you send logs ? It works for me. c) this is something in MMW. In wifi sync I see empty playlists. 0011591 assigned to Ludek. |
|
In build 204: I have optimized refreshing of MediaStore for wifi sync ... downloads of tracks are refreshed immediately. I have fixed refreshing of deletions of files that controls the USB sync. Deletions of tracks during wifi sync or from app remains unoptimized and it takes some time till change is visible over MTP. More sophisticated algorithm has to be implemented later. |
|
a)b) retested with 203 on ICS/Experia Pro. Added 'Artwork Order Test' playlist to sync list, and then synced. After sync: Log ID 6PF588HKJR Waited 2-3 minutes after sync and submitted new log UQJDBDNVZA This time the artwork displayed in Google Play Music. Perhaps I didn't wait long enough the first time. Questions: -Is the new mechanism re. MediaStore implemented across all android APIs/devices? |
|
Yes it is. But the previously used mechanism wasn't faster. And it didn't work for all file types, so it wasn't reliable. And it wasn't optimizable. |
|
Fixed in build 205 |
|
The issues orginally raised in this bug have been resolved (verified in 205): Wi-Fi Sync playlist to new profile --> debug logs uploaded -Verified. - Synced playlists show up in Google Play with 0 tracks. Confirmed as fixed in 0011627 for Wi-Fi sync. Confirmed as fixed in 0011624 for Wired sync (aside from several issues remaining there) - Synced files (selected via Artists) don't show up Confirmed that this is working as well. Various related issues are still open, but tracked separately. |