Coder Social home page Coder Social logo

icecast-autodj's People

Contributors

renaud11232 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

icecast-autodj's Issues

Can't install dependencies for liquidsoap on Debian 12.2 (Bookworm)

` liquidsoap-v1.4.4 : Depends on: libavcodec58 (>= 7:4.2) but is not installable

                 Depends on: libavdevice58 (>= 7:4.0) but is not installable

                 Depends on: libavformat58 (>= 7:4.2) but is not installable

                 Depends on: libavutil56 (>= 7:4.0) but is not installable

                 Depends on: libfdk-aac1 (>= 0.1.4) but is not installable

                 Depends on: libflac8 (>= 1.3.0) but is not installable

                 Depends on: libjpeg8 (>= 8c) but is not installable

                 Depends on: libsrt1 (>= 1.4.0) but is not installable

                 Depends on: libssl1.1 (>= 1.1.1) but is not installable

                 Depends on: libswresample3 (>= 7:4.0) but is not installable

                 Depends on: libswscale5 (>= 7:4.0) but is not installable

                 Depends on: libtiff5 (>= 4.0.3) but is not installable

                 Recommends: but ffmpeg should not be installed`

Error

Ezstream error 2 missing url

Autodj not working - silence

Hi there,

I've installed icecast & liquidsoap using your instructions.

Liquidsoap connects to icecast but it doesn't play the playlist, all I hear is silence

My liquidsoap config:

set("harbor.bind_addr", "0.0.0.0")

silence = blank()

autodj = playlist(
"/home/m/m/",
reload_mode="watch"
)
live = input.harbor(
"live",
port=8001,
password="",
user="
"
)

source_chain = fallback(
track_sensitive=false,
[live, autodj, silence]
)

radio = nrj(source_chain)

output.icecast(
%mp3(
bitrate=128
),
host="",
port=8000,
user="source",
password="
",
mount="stream",
name="
*****",
radio
)

Is there something I'm doing wrong?

Thanks!

Liquidsoap 1.3.3-2 compatibility

Is there a way to use this project with Liquidsoap 1.3.3-2?

Unfortunately with 1.4.4 I run into dependency problems with debian 10

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'liquidsoap-v1.4.4' instead of './liquidsoap-v1.4.4_1.4.4-ubuntu-focal-amd64-1_amd64.deb'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 liquidsoap-v1.4.4 : Depends: libavcodec58 (>= 7:4.2)
                     Depends: libavformat58 (>= 7:4.2) but 7:4.1.6-1~deb10u1 is to be installed
                     Depends: libc6 (>= 2.29) but 2.28-10 is to be installed
                     Depends: libfdk-aac1 (>= 0.1.4) but it is not installable
                     Depends: libgcc-s1 (>= 3.0) but it is not installable
                     Depends: libjpeg8 (>= 8c) but it is not installable
                     Depends: libsrt1 (>= 1.4.0) but it is not installable
E: Unable to correct problems, you have held broken packages.

AutoDJ Errors

https://github.com/Renaud11232/icecast-autodj

cp configs/icecast.xml /etc/icecast2/icecast.xml & cp configs/ezstream.v0.xml /etc/ezstream/ezstream.xml do not work

They throw the error cp: cannot stat 'configs/ezstream.v1.xml': No such file or directory
etc etc

any solutions to this? am i meant to be in a directory?

Liquidsoap for Icecast AutoDJ doesn't work

Hello.
There is an IceCast server. It works correct.
I want to configure AutoDJ on the Linux server to play tracks from the / Home / Music folder.
So, I tried Liquidsoap. But it doesn't work.
So what did I do?
I have Debian 10.9.0.
apt install icecast2
In the .xml file I created MountPoints:

/autodj
test123
500
3600
/tmp/dump-live.mp3

ISO8859-1
1
TestRadio
It's TestRadio!
http://ip:8000/autodj.mp3.m3u
Other
128
application/mp3
mp3
65536
4096


/live
test123
500
3600
/tmp/dump-live.mp3

/autodj
1
1
ISO8859-1
1
TestRadio
It's TestRadio!
http://ip:8000/live.mp3.m3u
Other
128
application/mp3
mp3
65536
4096

I used different ways to install Liquidsoap. With apt install Liquidsoap, opam and deb package.
It didn't run, so I used the template:
https://github.com/Renaud11232/icecast-autodj
git clone https://github.com/Renaud11232/icecast-autodj.git
cd icecast-autodj
mkdir -p /etc/liquidsoap
cp configs/dj.liq /etc/liquidsoap
chown -R icecast2:icecast /etc/liquidsoap
chmod 660 /etc/liquidsoap/dj.liq
cp systemd/liquidsoap.service /etc/systemd/system/
systemctl daemon-reload
systemctl enable icecast2
systemctl enable liquidsoap
systemctl start icecast2
systemctl start liquidsoap

dj.liq:
#!/usr/bin/liquidsoap -d
#set("init.daemon",true)
#set("init.daemon.pidfile",false)
set("log.file",false)
#set("log.file.path","/var/log/liquidsoap/basic.log")
#set("log.stdout",true)
#set("log.level",4)
set("decoder.file_decoders",["META","MAD","OGG"])
set("decoder.file_extensions.mad",["mp3","mp2","mp1"])
set("decoder.file_extensions.ogg",["ogv","oga","ogx","ogg","opus"])
set("decoder.mime_types.ogg",["application/ogg","application/x-ogg","audio/x-ogg","audio/ogg","video/ogg"])
set("decoder.mime_types.mp3",["audio/mpeg","audio/MPA"])
def update_title(m) =
title = m["title"]
if title == "" or title == "Unknown" then
content = m["filename"]
content = basename(content)
content = get_process_output("STR=""^content^""; echo ${STR%.*}")
content = string.recode(out_enc="UTF-8", content)
[("title", content)]
else
sArtist = string.recode(out_enc="UTF-8", m["artist"])
sTitle = string.recode(out_enc="UTF-8", m["title"])
[("title", sTitle),
("artist", sArtist)]
end
end
set("tag.encodings",["UTF-8"])
music = nrj(playlist(mode='randomize', reload_mode='rounds=1', '/home/music'))
mount = "autodj",
encoding = "ISO-8859-1",
default,
host = "ip", port = 8000, password = "test123",
genre="other",
name="TestRadio",
fallible = true,
icy_metadata="true",
public=true,
url="http://ip",
description="It's TestRadio!")

But, after executing systemctl start, I open http://ip:8000/autodj, and it doesn't work.
What's wrong? Please help me!
Thank you in advance!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.