gdavis / Mimir-Feedback

The place to report bugs and suggest improvements for the podcast app Mimir
https://mimirpodcasts.app
9 stars 0 forks source link

[macOS][iOS]: Support downloaded file custom image #89

Open gdavis opened 2 years ago

gdavis commented 2 years ago

Image information is currently parsed when downloading an episode, and should be displayed in the Now Playing view when playing the episode if available.

Need to determine how to best store the file. Possible solutions:

  1. Simply store a true/false on the DownloadedFile object to indicate if an image was found, then re-read the file when played to pull out the image instead of using the podcast image.
  2. Extract the image and save it to a new file next to the downloaded episode. Then save a file URL to the image on the DownloadedFile object. When the file object is deleted, or the episode on disk is deleted, also remove the image. Update the UI to load the extracted image when needed. Downside: we are using extra disk space since its already technically part of the downloaded episode, but on the up-side we don't need to try to parse the whole audio file when we need it.
  3. More options????