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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: talklib
3
- Version: 2.0.7
3
+ Version: 2.1.0
4
4
  Summary: A package to automate processing of shows/segments airing on the TL
5
5
  Author-email: Ben Weddle <ben.weddle@gmail.com>
6
6
  Maintainer-email: Ben Weddle <ben.weddle@gmail.com>
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "talklib"
3
- version = "2.0.7"
3
+ version = "2.1.0"
4
4
  description = "A package to automate processing of shows/segments airing on the TL"
5
5
  readme = "README.md"
6
6
  license = {file = "LICENSE.txt"}
@@ -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
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: talklib
3
- Version: 2.0.7
3
+ Version: 2.1.0
4
4
  Summary: A package to automate processing of shows/segments airing on the TL
5
5
  Author-email: Ben Weddle <ben.weddle@gmail.com>
6
6
  Maintainer-email: Ben Weddle <ben.weddle@gmail.com>
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