ubuntu-phone team mailing list archive
-
ubuntu-phone team
-
Mailing list archive
-
Message #11073
Re: [Music] Deleting the "Music" folder while using MTP causes the music app to be unable to import music via ContentHub
I see one more:
3. Maintain a simple script that checks if the default folders are present
and creates them on the fly. This avoids to lock the user abilities,
doesn't require special policies for the core apps and allow the system to
work ;)
On 8 February 2015 at 07:29, Victor Thompson <victor.thompson@xxxxxxxxx>
wrote:
> Hi all,
>
> The music app developers have been discussing an issue we found while
> doing testing of the app. Currently the user can delete the "Music"
> directory when connected to the device via MTP. On a side note, it appears
> that Android also allows the user to shoot him/herself in the foot. When
> the user does this, it causes the music app to be unable to import music
> via ContentHub. The directory can not be created again without using
> ADB--so Developer mode is needed to remedy the predicament.
>
> This probably isn't a big deal, but since it's so easy for the user to
> delete the directory, maybe we should remedy this?
>
> I see two possible fixes:
>
> 1. The music app is changed such that it has write access to "~/Music/".
> This would mostly work, but currently it seems that mediascanner2 needs to
> be restarted in order for this fix to work--so more investigation would be
> needed.
> 2. The user could be prevented from removing the default directories
> exposed via MTP.
>
> Other apps like Gallery app may be affected in a similar manner, so #2
> would mostly likely fix all instances of this situation.
>
> Thoughts?
>
> Victor Thompson (music app dev)
>
> --
> Mailing list: https://launchpad.net/~ubuntu-phone
> Post to : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~ubuntu-phone
> More help : https://help.launchpad.net/ListHelp
>
>
Follow ups
References