[podcasts] Fix name for Episode model to PodcastEpisode

This commit is contained in:
2024-02-10 13:57:42 -05:00
parent 033e3c3b35
commit bfdf73d4c0
8 changed files with 65 additions and 21 deletions

View File

@ -76,7 +76,7 @@ class Podcast(TimeStampedModel):
self.cover_image.save(fname, ContentFile(r.content), save=True)
class Episode(ScrobblableMixin):
class PodcastEpisode(ScrobblableMixin):
COMPLETION_PERCENT = getattr(settings, "PODCAST_COMPLETION_PERCENT", 90)
podcast = models.ForeignKey(Podcast, on_delete=models.DO_NOTHING)