2023-01-06 16:11:56 +00:00
|
|
|
{ config, lib, sane-lib, ... }:
|
2022-11-22 05:28:41 +00:00
|
|
|
|
2023-01-08 05:24:56 +00:00
|
|
|
let
|
|
|
|
feeds = sane-lib.feeds;
|
|
|
|
all-feeds = config.sane.feeds;
|
|
|
|
wanted-feeds = feeds.filterByFormat ["podcast"] all-feeds;
|
|
|
|
podcast-urls = lib.concatStringsSep "|" (
|
|
|
|
builtins.map (feed: feed.url) wanted-feeds
|
|
|
|
);
|
|
|
|
in
|
2022-10-21 15:47:21 +00:00
|
|
|
{
|
2023-04-24 07:22:33 +00:00
|
|
|
sane.programs.vlc = {
|
|
|
|
# vlc remembers play position in ~/.config/vlc/vlc-qt-interface.conf
|
|
|
|
persist.plaintext = [ ".config/vlc" ];
|
2023-05-08 21:41:02 +00:00
|
|
|
fs.".config/vlc/vlcrc".symlink.text = ''
|
2023-04-24 07:22:33 +00:00
|
|
|
[podcast]
|
|
|
|
podcast-urls=${podcast-urls}
|
|
|
|
[core]
|
|
|
|
metadata-network-access=0
|
|
|
|
[qt]
|
|
|
|
qt-privacy-ask=0
|
|
|
|
'';
|
|
|
|
};
|
2022-10-21 15:47:21 +00:00
|
|
|
}
|