Disable mopidy-youtube caching
This commit is contained in:
parent
086d0679e0
commit
b8d6691f1a
|
@ -90,7 +90,6 @@ in {
|
||||||
base_dir = /home/coolneng/Music
|
base_dir = /home/coolneng/Music
|
||||||
|
|
||||||
[youtube]
|
[youtube]
|
||||||
allow_cache = true
|
|
||||||
search_results = 50
|
search_results = 50
|
||||||
youtube_dl_package = yt_dlp
|
youtube_dl_package = yt_dlp
|
||||||
musicapi_enabled = true
|
musicapi_enabled = true
|
||||||
|
|
|
@ -138,16 +138,6 @@ with pkgs;
|
||||||
after = [ "network-online.target" ];
|
after = [ "network-online.target" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
# Clean up Mopidy cache monthly
|
|
||||||
systemd.services.mopidy-cleanup = {
|
|
||||||
description = "Clean up Mopidy cache monthly";
|
|
||||||
path = [ coreutils ];
|
|
||||||
script = "${pkgs.coreutils}/bin/rm -rf /var/lib/mopidy/.cache/*";
|
|
||||||
serviceConfig.Type = "oneshot";
|
|
||||||
startAt = "*-*-15 14:00:00";
|
|
||||||
after = [ "network-online.target" ];
|
|
||||||
};
|
|
||||||
|
|
||||||
# Pull changes from zion daily
|
# Pull changes from zion daily
|
||||||
systemd.user.services.zion-pull = {
|
systemd.user.services.zion-pull = {
|
||||||
description = "Pull zion changes to git";
|
description = "Pull zion changes to git";
|
||||||
|
|
Loading…
Reference in New Issue