mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
nixos/minidlna: fix tests
This commit is contained in:
parent
ce609256fb
commit
ccd367ae4f
1 changed files with 15 additions and 16 deletions
|
@ -6,25 +6,24 @@ import ./make-test-python.nix ({ pkgs, ... }: {
|
||||||
{ ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
imports = [ ../modules/profiles/minimal.nix ];
|
imports = [ ../modules/profiles/minimal.nix ];
|
||||||
networking.firewall.allowedTCPPorts = [ 8200 ];
|
services.minidlna.enable = true;
|
||||||
services.minidlna = {
|
services.minidlna.openFirewall = true;
|
||||||
enable = true;
|
services.minidlna.settings = {
|
||||||
loglevel = "error";
|
log_level = "error";
|
||||||
mediaDirs = [
|
media_dir = [
|
||||||
"PV,/tmp/stuff"
|
"PV,/tmp/stuff"
|
||||||
|
];
|
||||||
|
friendly_name = "rpi3";
|
||||||
|
root_container = "B";
|
||||||
|
notify_interval = 60;
|
||||||
|
album_art_names = [
|
||||||
|
"Cover.jpg/cover.jpg/AlbumArtSmall.jpg/albumartsmall.jpg"
|
||||||
|
"AlbumArt.jpg/albumart.jpg/Album.jpg/album.jpg"
|
||||||
|
"Folder.jpg/folder.jpg/Thumb.jpg/thumb.jpg"
|
||||||
];
|
];
|
||||||
friendlyName = "rpi3";
|
|
||||||
rootContainer = "B";
|
|
||||||
extraConfig =
|
|
||||||
''
|
|
||||||
album_art_names=Cover.jpg/cover.jpg/AlbumArtSmall.jpg/albumartsmall.jpg
|
|
||||||
album_art_names=AlbumArt.jpg/albumart.jpg/Album.jpg/album.jpg
|
|
||||||
album_art_names=Folder.jpg/folder.jpg/Thumb.jpg/thumb.jpg
|
|
||||||
notify_interval=60
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
client = { ... }: { };
|
client = { ... }: { };
|
||||||
};
|
};
|
||||||
|
|
||||||
testScript =
|
testScript =
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue