talklib 2.0.7__tar.gz → 2.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {talklib-2.0.7/src/talklib.egg-info → talklib-2.1.0}/PKG-INFO +1 -1
- {talklib-2.0.7 → talklib-2.1.0}/pyproject.toml +1 -1
- {talklib-2.0.7 → talklib-2.1.0}/src/talklib/pod.py +0 -9
- {talklib-2.0.7 → talklib-2.1.0/src/talklib.egg-info}/PKG-INFO +1 -1
- {talklib-2.0.7 → talklib-2.1.0}/LICENSE.txt +0 -0
- {talklib-2.0.7 → talklib-2.1.0}/README.md +0 -0
- {talklib-2.0.7 → talklib-2.1.0}/requirements.txt +0 -0
- {talklib-2.0.7 → talklib-2.1.0}/setup.cfg +0 -0
- {talklib-2.0.7 → talklib-2.1.0}/src/talklib/__init__.py +0 -0
- {talklib-2.0.7 → talklib-2.1.0}/src/talklib/ev.py +0 -0
- {talklib-2.0.7 → talklib-2.1.0}/src/talklib/ffmpeg.py +0 -0
- {talklib-2.0.7 → talklib-2.1.0}/src/talklib/notify.py +0 -0
- {talklib-2.0.7 → talklib-2.1.0}/src/talklib/show.py +0 -0
- {talklib-2.0.7 → talklib-2.1.0}/src/talklib/utils.py +0 -0
- {talklib-2.0.7 → talklib-2.1.0}/src/talklib.egg-info/SOURCES.txt +0 -0
- {talklib-2.0.7 → talklib-2.1.0}/src/talklib.egg-info/dependency_links.txt +0 -0
- {talklib-2.0.7 → talklib-2.1.0}/src/talklib.egg-info/requires.txt +0 -0
- {talklib-2.0.7 → talklib-2.1.0}/src/talklib.egg-info/top_level.txt +0 -0
|
@@ -134,7 +134,6 @@ class Episode(BaseModel):
|
|
|
134
134
|
episode_title: str = Field(min_length=1, default=None)
|
|
135
135
|
notifications: Notifications = Notifications()
|
|
136
136
|
max_episodes: int = Field(default=None)
|
|
137
|
-
categories: list = Field(default=None)
|
|
138
137
|
|
|
139
138
|
def pub_date(self) -> str:
|
|
140
139
|
timezone = time.timezone/60/60 # 60 seconds per minute, 60 minutes per hour
|
|
@@ -210,12 +209,6 @@ class Episode(BaseModel):
|
|
|
210
209
|
itunes_duration_element.text = self.itunes_duration()
|
|
211
210
|
item.append(itunes_duration_element)
|
|
212
211
|
|
|
213
|
-
for category in self.categories:
|
|
214
|
-
category_element = ET.Element("category")
|
|
215
|
-
category_element.text = category
|
|
216
|
-
self.notifications.prep_syslog(message=f"adding category: {category}")
|
|
217
|
-
item.append(category_element)
|
|
218
|
-
|
|
219
212
|
# insert the new 'item' element as the first item, but below all the other channel elements
|
|
220
213
|
items = root.findall('item')
|
|
221
214
|
if items:
|
|
@@ -277,7 +270,6 @@ class TLPod(BaseModel):
|
|
|
277
270
|
'''
|
|
278
271
|
display_name: str = Field(min_length=1)
|
|
279
272
|
filename_to_match: str = Field(min_length=1)
|
|
280
|
-
categories: list = Field(default=[])
|
|
281
273
|
bucket_folder: str = Field(default=None)
|
|
282
274
|
max_episodes_in_feed: int = Field(ge=1, default=5)
|
|
283
275
|
override_filename: bool = False
|
|
@@ -376,7 +368,6 @@ class TLPod(BaseModel):
|
|
|
376
368
|
self.episode.feed_file = feed_file
|
|
377
369
|
self.episode.audio_filename = converted_file
|
|
378
370
|
self.episode.bucket_folder = self.bucket_folder
|
|
379
|
-
self.episode.categories = self.categories
|
|
380
371
|
self.episode.episode_title = f"{self.display_name} ({datetime.now().strftime('%a, %d %B')})"
|
|
381
372
|
self.episode.max_episodes = self.max_episodes_in_feed
|
|
382
373
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|