Skip to content

When device is offline and no cover image available it only shows the audio full path #11

@ghost

Description

If an iOS device is offline (audio is saved locally to Library\no_cloud directory) - there is no thumbnail (cover image) - the remotecontrols show the file full path and not the value sent in setting 'title'. This looks very confusing for the user. When the device is online and so cover image is valid url then it works perfectly ..... great plugin btw !!!

Even if I send an empty string for the cover image or download the thumbnail to the same directory as the audio mp3 (which I realise may not help due to it being inaccessible outside the app code ????) - it still shows full file path and not the sent title value. Looking at code for RemoteControls.m file - if a valid image does not exist it uses a @'no-image' variable - not sure what this is - but it does seem that where no valid (accessible) image url is available then it does not work as expected and use the 'title' value.

I have tried downloading the thumbnail cover image to the Documents directory rather than Library\no-cloud ... but it still fails when offline and shows the fullpath. The files are not named according to the title and so make little sense to a user viewing this. However, the next/previous and play/pause events still work perfectly - its just the display of title ..... not really bothered about displaying an image when offline (as works when online) - its just the title.

Any help would be really appreciated !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions