2022-12-07 19:09:05 -05:00
|
|
|
from catalog.common import *
|
|
|
|
|
|
|
|
|
|
|
|
class Podcast(Item):
|
2022-12-11 23:20:28 +00:00
|
|
|
category = ItemCategory.Podcast
|
2022-12-12 16:46:37 +00:00
|
|
|
url_path = 'podcast'
|
2022-12-07 19:09:05 -05:00
|
|
|
feed_url = PrimaryLookupIdDescriptor(IdType.Feed)
|
|
|
|
apple_podcast = PrimaryLookupIdDescriptor(IdType.ApplePodcast)
|
|
|
|
# ximalaya = LookupIdDescriptor(IdType.Ximalaya)
|
|
|
|
# xiaoyuzhou = LookupIdDescriptor(IdType.Xiaoyuzhou)
|
|
|
|
hosts = jsondata.ArrayField(default=list)
|
|
|
|
|
|
|
|
|
|
|
|
# class PodcastEpisode(Item):
|
|
|
|
# pass
|