McCloudS
f663622deb
Update subgen.py
2024-02-08 08:49:06 -07:00
McCloudS
269a54cbb6
Update subgen.py
2024-02-08 08:33:42 -07:00
McCloudS
9395a65a49
Update subgen.py
...
Re-added random import (whoops!)
2024-02-06 11:16:20 -07:00
McCloudS
e44dc365e9
Update subgen.py
2024-02-05 23:35:01 -07:00
McCloudS
743366b741
Update subgen.py
2024-02-05 22:59:04 -07:00
McCloudS
6259bd8018
Update subgen.py
2024-02-05 22:07:55 -07:00
McCloudS
0dc9b09e1d
Update subgen.py
2024-02-05 21:08:22 -07:00
McCloudS
bfa281c1c4
Update subgen.py
2024-02-05 14:06:40 -07:00
McCloudS
eb3ebf8a74
Update subgen.py
...
Cleaned up imports
2024-02-05 13:49:26 -07:00
McCloudS
6b862cfaff
Update subgen.py
...
removed rsplit to use platform independent os.path.splitext
2024-02-05 13:48:00 -07:00
McCloudS
02954e2f2a
Update subgen.py
2024-02-05 13:39:54 -07:00
McCloudS
4cb836b80b
Update subgen.py
...
Fixed removing failed items from the queue.
2024-02-05 13:29:17 -07:00
McCloudS
0447d6a805
Update subgen.py
...
Some error checking for transcribe_exiting()
2024-02-05 11:50:47 -07:00
McCloudS
6a17b1b935
Update subgen.py
...
Removed double is_video_file check.
2024-02-05 11:42:16 -07:00
McCloudS
ff8b465ebd
Update subgen.py
2024-02-05 11:26:15 -07:00
McCloudS
1095b5c65e
Update subgen.py
...
Changed delimintg character from ',' (comma) to '|' (pipe)
2024-02-05 11:00:45 -07:00
McCloudS
940f15fbc8
Update subgen.py
2024-01-28 12:55:24 -07:00
McCloudS
516f58d62c
Update subgen.py
2024-01-28 11:40:50 -07:00
McCloudS
f02cb3d870
Update subgen.py
...
Added some warning messages if you try to access webhooks via GET (Browsers or wget for example) instead of how you're supposed to. Can also be used to troubleshoot network stuff a bit.
2023-12-21 08:48:40 -07:00
McCloudS
2ba2357202
Update subgen.py
...
Added metadata refresh for Jellyfin
2023-12-19 12:35:50 -07:00
Rikiar
02c97f1535
Fix indentation for Plex webhook error message
2023-12-19 12:26:46 +01:00
Rikiar
5c5fe8d114
Improve webhook error handling and URL building
...
Adjusted indentation in the webhook receiver to correctly fall back to a
warning message when receiving a misconfigured webhook. Also, updated
metadata refresh function to construct the request URL dynamically,
allowing for more robust handling of server addresses, including those
served over HTTPS. These changes ensure better user feedback and improve
compatibility with secure Plex server configurations.
2023-12-19 11:55:54 +01:00
Rikiar
f41ef2d740
Refine Plex metadata key usage for refresh
2023-12-18 23:28:15 +01:00
Rikiar
113e0a203c
Enhance post-webhook metadata handling
...
Added metadata refresh capability immediately after subtitle generation
when handling Plex webhooks. If subtitle generation is successful, the
Plex item's metadata is attempted to be refreshed to ensure that the
updates are reflected. The change includes robust error handling to log
failures in refreshing metadata and alerts the user if the webhook is
misconfigured. This enhancement improves the overall user experience by
ensuring the media library is up-to-date after any subtitle changes.
2023-12-18 16:51:45 +01:00
McCloudS
353b27cd98
Update subgen.py
2023-11-21 08:04:39 -07:00
McCloudS
7ae5f72d5d
Update subgen.py
...
Fixed error/logging issue.
2023-11-11 09:16:16 -07:00
McCloudS
5bd8b57408
Update subgen.py
2023-11-04 12:01:54 -06:00
McCloudS
1b86ef6d4f
Update subgen.py
2023-11-02 22:20:35 -06:00
McCloudS
be5869ca7b
Update subgen.py
2023-11-02 22:07:12 -06:00
McCloudS
942c11bc0e
Update subgen.py
2023-10-31 10:14:01 -06:00
Ellison Patterson
ce476bbe7c
Update subgen.py
...
Set model to none rather than deleting it to avoid raising a NameError exception
2023-10-31 11:08:53 -04:00
McCloudS
59802f9e01
Update subgen.py
...
Added ASR webhook for Bazarr
2023-10-31 01:23:41 -06:00
Ellison Patterson
b4e46d22f0
Update subgen.py
...
Fixed variable typo
2023-10-30 15:01:16 -04:00
McCloudS
6177d17965
Update subgen.py
2023-10-30 10:46:40 -06:00
McCloudS
a47cd332db
Update subgen.py
...
More housekeeping
2023-10-28 23:15:22 -06:00
McCloudS
6850829574
Update subgen.py
...
Significant housekeeping.
* Cleaned up logging to not spam as much
* Move from Flask to FastAPI/uvicorn
* Added some garbage collection vram clearing for GPUs when not transcoding
2023-10-28 22:57:29 -06:00
McCloudS
42bf55f203
Update subgen.py
...
Cleaned up garbage collection so vram is released when the transcode queue is empty.
2023-10-26 22:57:14 -06:00
McCloudS
40d3bf9aec
Update subgen.py
2023-10-26 09:27:35 -06:00
McCloudS
f1d42c7776
Update subgen.py
2023-10-26 09:23:00 -06:00
McCloudS
715cd279e6
Update subgen.py
...
Fixed UnboundLocalError: cannot access local variable 'jellyfin_userid' where it is not associated with a value
2023-10-25 23:59:20 -06:00
McCloudS
a6bd06249e
Update subgen.py
2023-10-25 23:33:59 -06:00
McCloudS
1a9526978c
Update subgen.py
...
Cleaned up transcribe_existing treading, moved some prints that were spamming into logging.debug.
2023-10-25 23:31:54 -06:00
McCloudS
8bedd6edf9
Update subgen.py
2023-10-25 22:47:42 -06:00
McCloudS
93fbf5e764
Update subgen.py
2023-10-25 21:30:28 -06:00
ManifestFailure
43233a528f
Changed jellyfin API call
...
Changed the jellyfin API call to get the admin user id to use for all subsequent requests.
2023-10-25 18:10:36 +08:00
McCloudS
6a919de1d4
Update subgen.py
2023-10-24 00:53:50 -06:00
McCloudS
2b949531ce
Update subgen.py
2023-10-24 00:42:50 -06:00
McCloudS
492ae4d4ca
Update subgen.py
...
Added Jellyfin and refactored/cleaned up to make it a bit easier to add new integrations.
2023-10-24 00:34:56 -06:00
McCloudS
9cb6230f0d
Update subgen.py
2023-10-23 13:28:09 -06:00
McCloudS
dadb5d760a
Update subgen.py
2023-10-23 13:24:51 -06:00