aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-02-16 18:18:35 +0100
committermetamuffin <metamuffin@disroot.org>2025-02-16 18:18:35 +0100
commit6e60cbb3145cfdb8e1590ec05e01a5e96df7d9bf (patch)
tree2269e2da7103d3899950ba2688bee0be17785e3c
parent371ef06b3969895fc5e0b34df854fb7c19973f4d (diff)
downloadjellything-6e60cbb3145cfdb8e1590ec05e01a5e96df7d9bf.tar
jellything-6e60cbb3145cfdb8e1590ec05e01a5e96df7d9bf.tar.bz2
jellything-6e60cbb3145cfdb8e1590ec05e01a5e96df7d9bf.tar.zst
include extractor name in slug
-rw-r--r--import/src/lib.rs3
-rw-r--r--readme.md3
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.