about summary refs log tree commit diff stats
path: root/sys/nixpkgs
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-05-09 15:05:21 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-05-09 20:33:35 +0200
commit5c84fd105f69f716f7be5320b7e352693f170905 (patch)
tree8ba376272aa38dad1f29bfb86776321f3928272b /sys/nixpkgs
parentfeat(hm/conf/lf/keybindings): Add a keybind to follow symnlinks (diff)
downloadnixos-config-5c84fd105f69f716f7be5320b7e352693f170905.tar.gz
nixos-config-5c84fd105f69f716f7be5320b7e352693f170905.zip
fix(sys/pkgs/yt): Don't require an thumbnail url
Some extractors do not provide it.
Diffstat (limited to '')
-rw-r--r--sys/nixpkgs/pkgs/yt/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/nixpkgs/pkgs/yt/src/lib.rs b/sys/nixpkgs/pkgs/yt/src/lib.rs
index 856a4cbc..b089c1a2 100644
--- a/sys/nixpkgs/pkgs/yt/src/lib.rs
+++ b/sys/nixpkgs/pkgs/yt/src/lib.rs
@@ -14,7 +14,7 @@ pub struct YtccListData {
     pub publish_date: String,
     pub watch_date: Option<f64>,
     pub duration: String,
-    pub thumbnail_url: String,
+    pub thumbnail_url: Option<String>,
     pub extractor_hash: String,
     pub id: u32,
     pub playlists: Vec<YtccPlaylistData>,