View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0020399 | MMA | Synchronization | public | 2023-11-20 17:36 | 2024-07-30 22:26 |
Reporter | rusty | Assigned To | |||
Priority | urgent | Severity | minor | Reproducibility | always |
Status | closed | Resolution | reopened | ||
Product Version | 2.0.0 | ||||
Target Version | 2.0.1 | Fixed in Version | 2.0.1 | ||
Summary | 0020399: Playlists .m3u files are synced only if /Playlists directory pre-exists | ||||
Description | Since MMA 2, whenever playlists are synced they don't appear as .m3u files on the device, which means that other apps don't have access to the playlists. It turns out that if the /Playlists directory already exists on the device's storage locations, then MM will save .m3u files to those locations so that other apps can use the playlists. But, MM will not create the /Playlists directory if it doesn't pre-exist. | ||||
Additional Information | Possibly related: https://www.mediamonkey.com/forum/viewtopic.php?t=105239 | ||||
Tags | todoc-help | ||||
Fixed in build | 1201 | ||||
|
So I tested this out by: 1) Syncing without a /Playlists folder, then creating a Playlists folder and resyncing --> m3u file is correctly created in the /Playlists folder (this failed in build 1103 with a Global error2). 2 Clean install on a device with a /Playlists folder --> m3u file is correctly created I suppose the only issue is that MM doesn't automatically create the /Playlists folder if it's missing. Is there a way of doing this? |
|
Unfortunately, no, MMA was creating the necessary directories before Android <=10 because it was possible to grant permissions for the entire storage. Since Android 11 MMA has access only to existing directories that have been granted permission. MM only has access where MMA has access. |
|
I suppose that the only thing we may want to consider is: 1) Notify the user in such cases in the sync confirmation dialog e.g.: %directory% folder is missing. %content% will be synced to a private MediaMonkey directory and will not be available to other apps unless you manually create this directory. (note: we may already have a string for this). 2) Consider prompting for full file access in such cases. e.g. %directory% folder is missing. %content% will be synced to a private MediaMonkey directory and will not be available to other apps. Alternatively, you can manually create this directory or grant MediaMonkey full drive access so that it can create this directory. [Grant] Regardless, this needs to be documented. |
|
The current 'Missing access' entry in the 'Sync settings' page of the sync config wizard is kind of confusing since it appears as if it's an optional configuration entry. It would be preferable if the 'Sync settins' did not have the 'missing access' option and instead, when the user clicks 'Next', the 'Grant access' dialog would appear (i.e. it should work similarly to the MMA startup wizard). e.g. Sync configuration wizard --- (2) Sync settings ----- (3) Grant access ----- (4) Review settings MediaMonkey needs access to media folders. If permission is not granted, new content will be saved to a private MediaMonkey folder that can't be shared with other apps. Movies . . . . ✓ Music . . . . ✓ Video . . . . _Grant_ Playlists . _Create & Grant_ [Back] . . . . . [Next] Note: - if the user taps 'Grant' then the 'To grant access' dialog should appear for the first 'Grant' tapped in the wizard. - if the user taps 'Create & Grant' then the 'To create a folder and grant access' dialog should appear for the first 'Create & Grant' tapped in the wizard. The two dialogs would essentially be identical except for a single line of text -------------------------------------- For 'Grant': To grant access: A file browser will open. <Image> Tap 'Use this folder' or 'Select' to choose the folder. ------------------------------------- For 'Create & Grant' To grant access: A file browser will open. Tap the 'Create folder' button, and enter or 'Paste' the new folder name (MediaMonkey copies the folder name to the clipboard). <Image> Tap 'Use this folder' or 'Select' to choose the folder. -------------------------------------- Note: there are slight changes to the text in the dialogs. The changes have been made so that the strings can apply to all three usecases: 1) Grant access in the startup wizard 2) Grant access in the sync wizard 3) Create & Grant access in the sync wizard. |
|
Fixed in build 2.0.0.1168 |
|
This seems to be working well (Tested on Android 12 and 14, and with folders pre-existing/not pre-existing and internal/external storage). The only issue is that the permissions dialog appears _after_ 'Review settings' which means that the 'Review Settings' dialog is incorrect as to the location to which files are synced, depending on whether or not the permissions are granted. Is it possible for this to appear prior to 'Review Settings'? |
|
Fixed in build 2.0.1.1201 |
|
Verified 1202 |