App option to toggle showing podcast artwork embedded in show notes#1854
App option to toggle showing podcast artwork embedded in show notes#1854MiSikora merged 15 commits intoAutomattic:mainfrom
Conversation
|
@MiSikora I'm happy to make any changes to the strings if you have better suggestions as well |
|
I'd say instead of calling it episode artwork I would call it RSS episode artwork 🤔🤔 and call Embedded artwork MP3 artwork 🤔🤔, my two cents and thus exclude the extra line 😉 |
|
@CookieyedCodes that's not a bad idea, I agree that it might make sense to change the copy for "embedded" artwork to distinguish between RSS and MP3 artwork |
MiSikora
left a comment
There was a problem hiding this comment.
Thanks for the contribution! I left some comments. There's also two bugs that I found.
- Mini player artwork doesn't update with the setting. You can see that when the player is paused toggling the setting doesn't affect the mini player artwork. When the player is playing it works sometimes. I assume it has something to do with the state but I haven't investigated it.
screen-20240221-122019.mp4
- Notification center always uses RSS artwork.
screen-20240221-122243.mp4
|
@MiSikora I address the comments you made. One note is that the notification artwork doesn't seem to be reflected immediately if a podcast is playing, but is respected if the podcast is paused. If a podcast is playing when this setting is changed, the change will be reflected when the user changes the playback state. I'm not sure why it's not reflected immediately. I suspect this is not a setting that users will be changing frequently so I'm not sure if that's a blocker or not. Untitled.mov |
Yeah, this is perfectly fine. 👍 |
|
The miniplayer is now broken. Miniplayer artwork doesn't toggle. screen-20240226-084243.mp4Miniplayer doesn't switch artwork at all. Even when playing a different podcast. screen-20240226-084535.mp4Miniplayer doesn't close. screen-20240226-085051.mp4
screen-20240226-085250.mp4 |
|
From my understanding the toggle only applys to the next podcast so it makes sence the artwork cache is updated for the miniplayer when it changes episodes 🤔 Miniplayer should close tho hmmmm Well chapter artwork is embedded in the audio file so while it probably should disable it would be a completely different toggle in my opinion |
Sorry, I don't understand your point. Are you agreeing with me that it is an issue that the miniplayer doesn't update the artwork when a different episode/podcast is played?
If that's the case we should leave this behavior as is. 👍 |
|
Regarding the confusion, from my understanding the miniplayer artwork caches when the episode loaded not during the episode (same with the player from my understanding, which is probably harder to fix tbh) just saying why it may be happening 🤔 🤔 |
|
It might be caching but this change introduced a flag that changes the main player artwork on being toggled. You can see this in my first video in here - #1854 (review). If the main player respects the toggle with live updates so should the mini player. I'm fine with notification center lagging a bit because it is a different beast and would require probably many more changes. |
|
Agreed 👍👍 |
|
@MiSikora that's really odd, in my testing I'm pretty sure I was seeing the mini player artwork being updated with that toggle as expected. I'll take another look sometime today |
|
@MiSikora I was able to repro your issues. Looks like this was a Coroutine Context issue. Flows in MainActivity were launched using Dispatchers.Default while the mini player uses Dispatchers.Main. It looks like this combined flow is the only member of MainActivity using the coroutine context so I changed it to Dispatchers.Main and I'm not longer seeing any issues with the mini player. |
Approved a wrong PR. I will review once again after the changes are made.
MiSikora
left a comment
There was a problem hiding this comment.
LGTM! Thanks for this PR.
You need to sync with the main branch and move your changelog entry to the 7.59 release.
|
@MiSikora sync and CHANGELOG update are complete |

Description
Recently, a change was made to show artwork that is embedded in a podcast episode's show notes by default. This adds a toggle to appearance settings that functions similarly to the existing toggle for embedded artwork.
Fixes #1709
Testing Instructions
Screenshots or Screencast
Checklist
./gradlew spotlessApplyto automatically apply formatting/linting)modules/services/localization/src/main/res/values/strings.xmlI have tested any UI changes...