Add Jellyfin. 73
This commit is contained in:
parent
28bcb88d50
commit
ce6ffd9ee7
15 changed files with 54 additions and 9 deletions
|
@ -13,7 +13,7 @@
|
|||
output.icecast(
|
||||
%ffmpeg(format="ogg", %audio(codec="libvorbis", samplerate=48000, b="256k", channels=2)),
|
||||
host="127.0.0.1",
|
||||
port=265,
|
||||
port=${toString config.services.icecast.listen.port},
|
||||
password="${config.secrets.castSourcePass}",
|
||||
encoding = "UTF-8",
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{ pkgs, lib, config, ... }:
|
||||
{
|
||||
config = lib.mkIf config.services.icecast.enable {
|
||||
services.liquidsoap.streams = lib.mkIf config.services.icecast.enable {
|
||||
services.liquidsoap.streams = {
|
||||
jimscrapped = pkgs.writeText "jimscrapped" ''
|
||||
settings.log.stdout.set(true)
|
||||
settings.init.allow_root.set(true)
|
||||
|
@ -13,7 +13,7 @@
|
|||
output.icecast(
|
||||
%ffmpeg(format="ogg", %audio(codec="libvorbis", samplerate=48000, b="256k", channels=2)),
|
||||
host="127.0.0.1",
|
||||
port=265,
|
||||
port=${toString config.services.icecast.listen.port},
|
||||
password="${config.secrets.castSourcePass}",
|
||||
encoding = "UTF-8",
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue