Skip to content

Commit

Permalink
bugfix, version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
ddboline committed Sep 2, 2024
1 parent 61c5779 commit e01b6ef
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 5 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 = "movie_collection_rust"
version = "0.10.44"
version = "0.10.45"
authors = ["Daniel Boline <[email protected]>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion movie_collection_http/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "movie_collection_http"
version = "0.10.44"
version = "0.10.45"
authors = ["Daniel Boline <[email protected]>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion movie_collection_lib/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "movie_collection_lib"
version = "0.10.44"
version = "0.10.45"
authors = ["Daniel Boline <[email protected]>"]
edition = "2018"

Expand Down
8 changes: 7 additions & 1 deletion movie_collection_lib/src/movie_collection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,13 @@ impl MovieCollection {
/// Returns error if db queries fail
pub async fn get_plex_metadata_key(&self, idx: Uuid) -> Result<Option<StackString>, Error> {
let query = query!(
r#"SELECT metadata_key FROM plex_filename WHERE collection_id = $idx"#,
r#"
SELECT metadata_key
FROM plex_filename
WHERE collection_id = $idx
ORDER BY last_modified DESC
LIMIT 1
"#,
idx = idx,
);
let conn = self.pool.get().await?;
Expand Down
2 changes: 1 addition & 1 deletion transcode_lib/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "transcode_lib"
version = "0.10.44"
version = "0.10.45"
authors = ["Daniel Boline <[email protected]>"]
edition = "2018"

Expand Down

0 comments on commit e01b6ef

Please sign in to comment.