Skip to content

Commit

Permalink
fix transcoding to 480 instead of 1080
Browse files Browse the repository at this point in the history
  • Loading branch information
vanchaxy committed Dec 5, 2024
1 parent 8d00e76 commit 3d5215a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion fly.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ app = 'plexio'
primary_region = 'iad'

[build]
image = 'ghcr.io/vanchaxy/plexio:0.1.7'
image = 'ghcr.io/vanchaxy/plexio:0.1.8'

[env]
CACHE_TYPE = 'redis'
Expand Down
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "frontend",
"private": true,
"version": "0.1.7",
"version": "0.1.8",
"type": "module",
"scripts": {
"dev": "vite --host",
Expand Down
2 changes: 1 addition & 1 deletion plexio/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.1.7'
__version__ = '0.1.8'
4 changes: 2 additions & 2 deletions plexio/models/plex.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class Resolution(str, Enum):


RESOLUTION_QUALITY_PARAMS = {
Resolution.R480: {
Resolution.R1080: {
'name': '1080p',
'min_width': 1920,
'plex_args': {
Expand All @@ -32,7 +32,7 @@ class Resolution(str, Enum):
'videoResolution': '1280x720',
},
},
Resolution.R1080: {
Resolution.R480: {
'name': '480p',
'min_width': 640,
'plex_args': {
Expand Down

0 comments on commit 3d5215a

Please sign in to comment.