[PR #109] enhancement to response["version"] interpretation #109

Open
opened 2026-03-23 20:34:20 +00:00 by mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/tubearchivist/tubearchivist-plex/pull/109
Author: @bmcdonough
Created: 10/10/2025
Status: 🔄 Open

Base: testHead: bmcd-20251009


📝 Commits (4)

📊 Changes

2 files changed (+23 additions, -11 deletions)

View changed files

📝 Contents/Code/__init__.py (+12 -6)
📝 Scanners/Series/TubeArchivist Series Scanner.py (+11 -5)

📄 Description

I had modified my locally running tubearchivist and therefore changed the version string using word other than "unstable" after.
This prevented tubearchivist-plex from functioning.
Since the existing logic discards the text after the hyphen I improved the logic to discard anything after the hyphen.

# Split the string at the first hyphen and take the first part
# This removes '-unstable', '-beta', '-rc1', or any other suffix

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/tubearchivist/tubearchivist-plex/pull/109 **Author:** [@bmcdonough](https://github.com/bmcdonough) **Created:** 10/10/2025 **Status:** 🔄 Open **Base:** `test` ← **Head:** `bmcd-20251009` --- ### 📝 Commits (4) - [`6bb193a`](https://github.com/tubearchivist/tubearchivist-plex/commit/6bb193a6d9005611348d0c2831bf0527014a1966) split version at the first hyphen - [`eaaa678`](https://github.com/tubearchivist/tubearchivist-plex/commit/eaaa678d753ba87b2117b4344b6622bad6848e9f) split version at the first hyphen - [`7d4a01b`](https://github.com/tubearchivist/tubearchivist-plex/commit/7d4a01ba05d3995f442782b2f85b4cd17ca43fd3) lowercase Log.info - [`c6f21b9`](https://github.com/tubearchivist/tubearchivist-plex/commit/c6f21b938679d5a2a4ded641ffc6e7f5f5fdcd45) lowercase Log.info ### 📊 Changes **2 files changed** (+23 additions, -11 deletions) <details> <summary>View changed files</summary> 📝 `Contents/Code/__init__.py` (+12 -6) 📝 `Scanners/Series/TubeArchivist Series Scanner.py` (+11 -5) </details> ### 📄 Description I had modified my locally running tubearchivist and therefore changed the version string using word other than "unstable" after. This prevented tubearchivist-plex from functioning. Since the existing logic discards the text after the hyphen I improved the logic to discard anything after the hyphen. ``` # Split the string at the first hyphen and take the first part # This removes '-unstable', '-beta', '-rc1', or any other suffix ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
tubearchivist/archived-tubearchivist-plex#109
No description provided.