Skip to content

Commit

Permalink
wip fix for aspect ratio
Browse files Browse the repository at this point in the history
  • Loading branch information
abamaxa committed Jan 31, 2024
1 parent bcb7395 commit 895c124
Show file tree
Hide file tree
Showing 14 changed files with 26 additions and 25 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tvserver"
version = "0.7.1"
version = "0.7.2"
edition = "2021"
authors = ["Chris Morgan <cmorgan@abamaxa.com>"]
repository = "https://github.com/abamaxa/tvserver"
Expand Down
12 changes: 6 additions & 6 deletions client/player/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"files": {
"main.css": "/player/static/css/main.391ec4e1.css",
"main.js": "/player/static/js/main.cbacf082.js",
"main.css": "/player/static/css/main.d89221b5.css",
"main.js": "/player/static/js/main.cbccdb4a.js",
"index.html": "/player/index.html",
"main.391ec4e1.css.map": "/player/static/css/main.391ec4e1.css.map",
"main.cbacf082.js.map": "/player/static/js/main.cbacf082.js.map"
"main.d89221b5.css.map": "/player/static/css/main.d89221b5.css.map",
"main.cbccdb4a.js.map": "/player/static/js/main.cbccdb4a.js.map"
},
"entrypoints": [
"static/css/main.391ec4e1.css",
"static/js/main.cbacf082.js"
"static/css/main.d89221b5.css",
"static/js/main.cbccdb4a.js"
]
}
2 changes: 1 addition & 1 deletion client/player/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><title>Video Player</title><script defer="defer" src="/player/static/js/main.cbacf082.js"></script><link href="/player/static/css/main.391ec4e1.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><title>Video Player</title><script defer="defer" src="/player/static/js/main.cbccdb4a.js"></script><link href="/player/static/css/main.d89221b5.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion client_src/remote_player
Submodule remote_player updated 1 files
+1 −1 src/Viewer.tsx
5 changes: 4 additions & 1 deletion src/adaptors/repository.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
use async_trait::async_trait;
use sqlx::{Error, Sqlite, Row};
use sqlx::migrate::{MigrateDatabase, MigrateError, Migrator};
use sqlx::migrate::{
MigrateDatabase,
MigrateError, Migrator
};
use sqlx::sqlite::{SqlitePool, SqliteRow};
use std::path;
use std::path::PathBuf;
Expand Down
3 changes: 0 additions & 3 deletions src/domain/traits.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,6 @@ pub trait RemotePlayer: Send + Sync {
#[async_trait]
pub trait Filer: Sync + Send {
fn is_dir(&self) -> bool;
/*async fn read(&self, count: usize) -> anyhow::Result<Vec<u8>>;
async fn write(&self, data: Vec<u8>) -> anyhow::Result<()>;
async fn close(&self);*/
async fn get_metadata(&self) -> anyhow::Result<VideoDetails>;
async fn save_metadata(&self, details: VideoDetails) -> anyhow::Result<()>;
}
Expand Down
3 changes: 1 addition & 2 deletions src/services/chatgpt.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*use crate::domain::messages::{ChatGPTMessage, ChatGPTRequest, ChatGPTResponse};
use crate::domain::messages::{ChatGPTMessage, ChatGPTRequest, ChatGPTResponse};
use crate::domain::models::SeriesDetails;
use crate::domain::traits::JsonFetcher;
use anyhow::anyhow;
Expand Down Expand Up @@ -231,4 +231,3 @@ mod tests {
Ok(())
}
}
*/
Loading

0 comments on commit 895c124

Please sign in to comment.