From 6e60cbb3145cfdb8e1590ec05e01a5e96df7d9bf Mon Sep 17 00:00:00 2001 From: metamuffin Date: Sun, 16 Feb 2025 18:18:35 +0100 Subject: include extractor name in slug --- import/src/lib.rs | 3 ++- readme.md | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/import/src/lib.rs b/import/src/lib.rs index 3e90e7e..0fc3a0d 100644 --- a/import/src/lib.rs +++ b/import/src/lib.rs @@ -314,7 +314,8 @@ fn import_media_file( let slug = m .infojson .as_ref() - .map(|ij| format!("youtube-{}", ij.id)) + // TODO maybe also include the slug after the primary "id" key + .map(|ij| format!("{}-{}", ij.extractor.to_lowercase(), ij.id)) .unwrap_or_else(|| { if let Some((s, e)) = episode_index { format!( diff --git a/readme.md b/readme.md index a043730..94889ef 100644 --- a/readme.md +++ b/readme.md @@ -10,8 +10,7 @@ See [the Book](https://jellything.metamuffin.org/book/). ## Features **Note:** Currently still suffering from unknown bugs during video playback. -These make transcoded playback basically unusable and normal remuxed playback -slightly annoying. Please send help. +And while they do not completely break playback they are pretty annoying. Please send help. - A functional and visually appealing user interface - Remuxing media on-the-fly to avoid downloading unneccesary tracks. -- cgit v1.2.3-70-g09d2