talklib 3.5.0__tar.gz → 3.5.2__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-3.5.0/src/talklib.egg-info → talklib-3.5.2}/PKG-INFO +3 -3
- {talklib-3.5.0 → talklib-3.5.2}/pyproject.toml +1 -1
- {talklib-3.5.0 → talklib-3.5.2}/requirements.txt +2 -2
- {talklib-3.5.0 → talklib-3.5.2}/src/talklib/ev.py +0 -1
- {talklib-3.5.0 → talklib-3.5.2}/src/talklib/ffmpeg.py +2 -2
- {talklib-3.5.0 → talklib-3.5.2}/src/talklib/pod.py +4 -3
- {talklib-3.5.0 → talklib-3.5.2/src/talklib.egg-info}/PKG-INFO +3 -3
- {talklib-3.5.0 → talklib-3.5.2}/src/talklib.egg-info/requires.txt +2 -2
- {talklib-3.5.0 → talklib-3.5.2}/LICENSE.txt +0 -0
- {talklib-3.5.0 → talklib-3.5.2}/README.md +0 -0
- {talklib-3.5.0 → talklib-3.5.2}/setup.cfg +0 -0
- {talklib-3.5.0 → talklib-3.5.2}/src/talklib/__init__.py +0 -0
- {talklib-3.5.0 → talklib-3.5.2}/src/talklib/cli.py +0 -0
- {talklib-3.5.0 → talklib-3.5.2}/src/talklib/notify.py +0 -0
- {talklib-3.5.0 → talklib-3.5.2}/src/talklib/show.py +0 -0
- {talklib-3.5.0 → talklib-3.5.2}/src/talklib/utils.py +0 -0
- {talklib-3.5.0 → talklib-3.5.2}/src/talklib.egg-info/SOURCES.txt +0 -0
- {talklib-3.5.0 → talklib-3.5.2}/src/talklib.egg-info/dependency_links.txt +0 -0
- {talklib-3.5.0 → talklib-3.5.2}/src/talklib.egg-info/entry_points.txt +0 -0
- {talklib-3.5.0 → talklib-3.5.2}/src/talklib.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: talklib
|
|
3
|
-
Version: 3.5.
|
|
3
|
+
Version: 3.5.2
|
|
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>
|
|
@@ -26,7 +26,7 @@ Requires-Dist: cffi==2.0.0
|
|
|
26
26
|
Requires-Dist: charset-normalizer==2.1.1
|
|
27
27
|
Requires-Dist: colorama==0.4.6
|
|
28
28
|
Requires-Dist: coverage==6.5.0
|
|
29
|
-
Requires-Dist: cryptography==46.0.
|
|
29
|
+
Requires-Dist: cryptography==46.0.6
|
|
30
30
|
Requires-Dist: decorator==5.1.1
|
|
31
31
|
Requires-Dist: Deprecated==1.2.14
|
|
32
32
|
Requires-Dist: docutils==0.20.1
|
|
@@ -56,7 +56,7 @@ Requires-Dist: pycparser==2.22
|
|
|
56
56
|
Requires-Dist: pydantic==2.9.1
|
|
57
57
|
Requires-Dist: pydantic_core==2.23.3
|
|
58
58
|
Requires-Dist: Pygments==2.17.2
|
|
59
|
-
Requires-Dist: PyJWT==2.
|
|
59
|
+
Requires-Dist: PyJWT==2.12.1
|
|
60
60
|
Requires-Dist: PyNaCl==1.6.2
|
|
61
61
|
Requires-Dist: pyparsing==3.0.9
|
|
62
62
|
Requires-Dist: pyproject_hooks==1.0.0
|
|
@@ -14,7 +14,7 @@ cffi==2.0.0
|
|
|
14
14
|
charset-normalizer==2.1.1
|
|
15
15
|
colorama==0.4.6
|
|
16
16
|
coverage==6.5.0
|
|
17
|
-
cryptography==46.0.
|
|
17
|
+
cryptography==46.0.6
|
|
18
18
|
decorator==5.1.1
|
|
19
19
|
Deprecated==1.2.14
|
|
20
20
|
docutils==0.20.1
|
|
@@ -44,7 +44,7 @@ pycparser==2.22
|
|
|
44
44
|
pydantic==2.9.1
|
|
45
45
|
pydantic_core==2.23.3
|
|
46
46
|
Pygments==2.17.2
|
|
47
|
-
PyJWT==2.
|
|
47
|
+
PyJWT==2.12.1
|
|
48
48
|
PyNaCl==1.6.2
|
|
49
49
|
pyparsing==3.0.9
|
|
50
50
|
pyproject_hooks==1.0.0
|
|
@@ -51,7 +51,6 @@ class EV:
|
|
|
51
51
|
self.twilio_to = sort_twilio_to() # to where should texts/calls be sent
|
|
52
52
|
self.icecast_user = get_EV(ev="icecast_user") # our icecast username
|
|
53
53
|
self.icecast_pass = get_EV(ev="icecast_pass") # our icecast password
|
|
54
|
-
self.pod_server_uname = get_EV(ev="pod_server_uname")
|
|
55
54
|
|
|
56
55
|
def get_EV(ev: str):
|
|
57
56
|
try:
|
|
@@ -22,7 +22,7 @@ class FFMPEG:
|
|
|
22
22
|
def __build_input_commands(self) -> dict:
|
|
23
23
|
command = {}
|
|
24
24
|
command.update({'hide_banner': None})
|
|
25
|
-
command.update({'loglevel': 'quiet'})
|
|
25
|
+
# command.update({'loglevel': 'quiet'})
|
|
26
26
|
command.update({'filename': self.input_file})
|
|
27
27
|
|
|
28
28
|
return command
|
|
@@ -56,7 +56,7 @@ class FFMPEG:
|
|
|
56
56
|
output_commands = self.__build_output_commands()
|
|
57
57
|
stream = ffmpeg.input(**input_commands)
|
|
58
58
|
stream = ffmpeg.output(stream, **output_commands)
|
|
59
|
-
ffmpeg.run(stream, capture_stdout=True)
|
|
59
|
+
ffmpeg.run(stream, capture_stdout=True, capture_stderr=True)
|
|
60
60
|
return self.output_file
|
|
61
61
|
|
|
62
62
|
def get_length_in_minutes(self) -> float:
|
|
@@ -9,6 +9,7 @@ import time
|
|
|
9
9
|
from typing import ClassVar, Type
|
|
10
10
|
|
|
11
11
|
from fabric import Connection, Result
|
|
12
|
+
from ffmpeg._run import Error as ffmpeg_error
|
|
12
13
|
from paramiko.ssh_exception import SSHException as paramiko_SSH_exception
|
|
13
14
|
from pydantic import BaseModel, Field, model_validator
|
|
14
15
|
import requests
|
|
@@ -479,10 +480,10 @@ class TLPod(BaseModel):
|
|
|
479
480
|
output = self.ffmpeg.convert()
|
|
480
481
|
self.notifications.prep_syslog(message="File successfully converted")
|
|
481
482
|
return output
|
|
482
|
-
except
|
|
483
|
-
to_send: str = f
|
|
483
|
+
except ffmpeg_error as e:
|
|
484
|
+
to_send: str = f"There was a problem podcasting {self.display_name}. There was an FFmpeg error: {e.stderr.decode('utf-8')}"
|
|
484
485
|
self.notifications.send_notifications(message=to_send, subject='Error')
|
|
485
|
-
raise
|
|
486
|
+
raise e
|
|
486
487
|
|
|
487
488
|
def concat(self, preroll:str, program_audio: str, output_filename: str):
|
|
488
489
|
if not self.preroll:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: talklib
|
|
3
|
-
Version: 3.5.
|
|
3
|
+
Version: 3.5.2
|
|
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>
|
|
@@ -26,7 +26,7 @@ Requires-Dist: cffi==2.0.0
|
|
|
26
26
|
Requires-Dist: charset-normalizer==2.1.1
|
|
27
27
|
Requires-Dist: colorama==0.4.6
|
|
28
28
|
Requires-Dist: coverage==6.5.0
|
|
29
|
-
Requires-Dist: cryptography==46.0.
|
|
29
|
+
Requires-Dist: cryptography==46.0.6
|
|
30
30
|
Requires-Dist: decorator==5.1.1
|
|
31
31
|
Requires-Dist: Deprecated==1.2.14
|
|
32
32
|
Requires-Dist: docutils==0.20.1
|
|
@@ -56,7 +56,7 @@ Requires-Dist: pycparser==2.22
|
|
|
56
56
|
Requires-Dist: pydantic==2.9.1
|
|
57
57
|
Requires-Dist: pydantic_core==2.23.3
|
|
58
58
|
Requires-Dist: Pygments==2.17.2
|
|
59
|
-
Requires-Dist: PyJWT==2.
|
|
59
|
+
Requires-Dist: PyJWT==2.12.1
|
|
60
60
|
Requires-Dist: PyNaCl==1.6.2
|
|
61
61
|
Requires-Dist: pyparsing==3.0.9
|
|
62
62
|
Requires-Dist: pyproject_hooks==1.0.0
|
|
@@ -14,7 +14,7 @@ cffi==2.0.0
|
|
|
14
14
|
charset-normalizer==2.1.1
|
|
15
15
|
colorama==0.4.6
|
|
16
16
|
coverage==6.5.0
|
|
17
|
-
cryptography==46.0.
|
|
17
|
+
cryptography==46.0.6
|
|
18
18
|
decorator==5.1.1
|
|
19
19
|
Deprecated==1.2.14
|
|
20
20
|
docutils==0.20.1
|
|
@@ -44,7 +44,7 @@ pycparser==2.22
|
|
|
44
44
|
pydantic==2.9.1
|
|
45
45
|
pydantic_core==2.23.3
|
|
46
46
|
Pygments==2.17.2
|
|
47
|
-
PyJWT==2.
|
|
47
|
+
PyJWT==2.12.1
|
|
48
48
|
PyNaCl==1.6.2
|
|
49
49
|
pyparsing==3.0.9
|
|
50
50
|
pyproject_hooks==1.0.0
|
|
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
|