talklib 3.4.0__tar.gz → 3.4.1__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.4
2
2
  Name: talklib
3
- Version: 3.4.0
3
+ Version: 3.4.1
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 = "3.4.0"
3
+ version = "3.4.1"
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"}
@@ -361,6 +361,7 @@ class TLPod(BaseModel):
361
361
  max_episodes_in_feed: int = Field(ge=1, default=5)
362
362
  override_filename: bool = False
363
363
  short_timestamp: bool = False
364
+ preroll: bool = True
364
365
  audio_folders:list = EV().destinations
365
366
  notifications: Type[Notifications] = Notifications()
366
367
  episode: Type[Episode] = Episode()
@@ -485,6 +486,9 @@ class TLPod(BaseModel):
485
486
  raise ffmpeg_exception
486
487
 
487
488
  def concat(self, preroll:str, program_audio: str, output_filename: str):
489
+ if not self.preroll:
490
+ os.rename(program_audio, output_filename)
491
+ return output_filename
488
492
  self.notifications.prep_syslog(message="concatenating preroll and program audio together...")
489
493
  subprocess.run(f'ffmpeg -hide_banner -loglevel quiet -i "concat:{preroll}|{program_audio}" -c copy {output_filename}')
490
494
  self.notifications.prep_syslog(message=f"files successfully concatenated as: {output_filename}")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: talklib
3
- Version: 3.4.0
3
+ Version: 3.4.1
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
File without changes