Skip to content

Commit

Permalink
fix celux bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
NevermindNilas committed Dec 26, 2024
1 parent 7b67a3d commit bf9a5c7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
### Notes
- This version of TAS is now built against AE 2025, with official support provided. The overall UI and feel have been adjusted to match AE 2025. This may cause mismatches with older versions of AE, and some core functionalities may not work as well or at all.
- The new update checking system does not automatically download TAS Adobe Edition, the end user will still have to manually download it but eventually a fully automated process is planned.
- `Toasts` do not fully replace alerts, they just replace some of the previous easy to detect errors.

### New
- Added an auto Update Cheking system which prompts the user if a new version has been released.
Expand All @@ -78,6 +79,8 @@
- Added `Arrange Layers` function to quickly sort layers based on user requirements.
- A bunch of tooltips for the end user.
- Added an indicator where the TAS backend will be downloaded.
- Added `Toasts` as an alternative to `alerts`, this should be less intrusive and less annoying than alerts.
- Added `Open Changelogs` button.

### Improved
- Some naming schemes
Expand Down
2 changes: 1 addition & 1 deletion src/utils/getVideoMetadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def getVideoMetadata(inputPath: str, inPoint: float, outPoint: float, mainPath:
video = celux.VideoReader(inputPath, device="cpu")
properties = video.get_properties()
except ValueError as ve:
if "Unknown pixel format for bit depth inference: gbrp" in str(ve):
if "Unknown pixel format for bit depth inference:" in str(ve):
logging.info(f"ValueError encountered: {ve}. Switching to PyMediaInfo.")
return videoMetadataPyMedia(inputPath, inPoint, outPoint, mainPath)
else:
Expand Down

0 comments on commit bf9a5c7

Please sign in to comment.