Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show covers directly after adding feeds (bug 1987) #126

Merged
merged 1 commit into from Feb 15, 2015

Conversation

niklasf
Copy link
Contributor

@niklasf niklasf commented Feb 10, 2015

When adding a new podcast feed a cover will get downloaded in the
background. Once it is finished gPodder.cover_download_finished() calls
PodcastListModel.add_cover_by_channel(), however by then a placeholder
cover will already be in the cache and the new cover will not be shown.

cover_download_finished() is the only caller of add_cover_by_channel(),
so generally clearing the cache when adding a new cover should be fine.

I reported this as https://bugs.gpodder.org/show_bug.cgi?id=1987, earlier.

When adding a new podcast feed a cover will get downloaded in the
background. Once it is finished gPodder.cover_download_finished() calls
PodcastListModel.add_cover_by_channel(), however by then a placeholder
cover will already be in the cache and the new cover will not be shown.

cover_download_finished() is the only caller of add_cover_by_channel(),
so generally clearing the cache when adding a new cover should be fine.
@thp
Copy link
Member

thp commented Feb 15, 2015

Great, I had this issue also a few times, but never bothered to investigate. Good work!

thp added a commit that referenced this pull request Feb 15, 2015
Show covers directly after adding feeds (bug 1987)
@thp thp merged commit b2cf183 into gpodder:master Feb 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants