Skip to content

Commit bfb4a48

Browse files
Merge pull request #49 from NakedRoboticCore/main
Update minimum Python version
2 parents a1319db + 43b4c19 commit bfb4a48

5 files changed

Lines changed: 8 additions & 26 deletions

File tree

README.md

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ If you're interested in contributing to this project or want to understand how i
181181
# Installation
182182

183183
### 1. Install Python
184-
[Install Python](https://www.python.org/downloads/) (if not installed already). You'll need version 3.10 or later.
184+
[Install Python](https://www.python.org/downloads/) (if not installed already). You'll need version 3.12 or later.
185185

186186
### 2. Get Artwork Uploader for Plex
187187
Either download the Zip and extract all files into a folder, or Git Clone the repository
@@ -293,7 +293,7 @@ Open a web browser and point it to `http://your_ip_address:4567` and you're read
293293

294294
## Directly as a python script
295295

296-
**NOTE**: THIS REQUIRES AT LEAST PYTHON 3.10. You will encounter odd errors in the scraping log for earlier versions of Python, due to a bug that was fixed in 3.10.
296+
**NOTE**: THIS REQUIRES AT LEAST PYTHON 3.12.
297297

298298
### Running the Application
299299

@@ -407,7 +407,7 @@ python3 -m pip install -r requirements.txt
407407
```
408408

409409
#### 2. **Wrong Python version**
410-
Artwork Uploader requires Python 3.10 or later. Check your version:
410+
Artwork Uploader requires Python 3.12 or later. Check your version:
411411
```bash
412412
python3 --version
413413
```
@@ -485,20 +485,6 @@ Flask correctly rejects these with a 400 error since it doesn't support HTTPS by
485485

486486
If you want to access the app over HTTPS you can use a reverse proxy like Nginx or Caddy.
487487

488-
### "eventlet monkey_patch" errors
489-
490-
If you see errors related to eventlet on Python 3.13, consider using Python 3.11 or 3.12 instead, as eventlet has known compatibility issues with Python 3.13.
491-
492-
```bash
493-
# Install Python 3.12 via Homebrew (macOS)
494-
brew install python@3.12
495-
496-
# Create venv with Python 3.12
497-
python3.12 -m venv .venv
498-
source .venv/bin/activate
499-
pip install -r requirements.txt
500-
```
501-
502488
### Plex connection issues
503489

504490
**"Cannot reach Plex server" or Application hangs on startup**

artwork_uploader.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
11
from email import errors
2-
#import eventlet
3-
4-
#eventlet.monkey_patch()
5-
#from gevent import monkey
6-
#monkey.patch_all()
72

83
import uuid
94
import os

core/__version__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
Import version information from here rather than hardcoding it elsewhere.
66
"""
77

8-
__version__ = "0.8.1"
9-
__version_info__ = (0, 8, 1, "patch")
8+
__version__ = "0.8.2"
9+
__version_info__ = (0, 8, 2, "patch")
1010
__author__ = "mscodemonkey"
1111
__license__ = "MIT"
1212
__url__ = "https://github.com/mscodemonkey/artwork-uploader-plex"

core/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
# Python version requirements
1313
MIN_PYTHON_MAJOR = 3
14-
MIN_PYTHON_MINOR = 10
14+
MIN_PYTHON_MINOR = 12
1515

1616
# Server configuration
1717
DEFAULT_WEB_PORT = 4567

scrapers/mediux_scraper.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,8 @@ def _process_set(self, set_data: dict) -> None:
292292
else:
293293
# Unknown file type or structure, skip
294294
self.callbacks.debug(f"⏩ Skipping unknown TV show file type: {data.get('fileType')}", "MediuxScraper/_process_set")
295-
self.callbacks.log(f"⚠️ {self.title}{self.author} | Skipping asset (unknown TV show file tye)")
295+
self.callbacks.debug(data)
296+
self.callbacks.log(f"⚠️ {self.title}{self.author} | Skipping asset (unknown TV show file type: {data.get('fileType')})")
296297
self.errored += 1
297298
continue
298299

0 commit comments

Comments
 (0)