https://forums.slimdevices.com/showthread.php?112809-Pipe-Squeezelite-to-Icecast=1048789=#post1048789
Hellsblade's Profile: http://forums.slimdevices.com/member.php?userid=4283
View this thread:
Matt Drown wrote:
> https://forums.slimdevices.com/showthread.php?112809-Pipe-Squeezelite-to-Icecast=1047446=1#post1047446
> I just setup LMS->Squeezelite->PulseAudio->PAREC->ICES w/ metadata on a
> linux box, the handful of options, including the bash/curl commands to
> pull song/artist to
bpa wrote:
> CLI is standard part of LMS. All the CLI commands & parameters are
> integral part of LMS and used by all other UIs. Check WebUI
> Settings/Advanced/Command Line Interface - see if it is enabled (it can
> be disabled using a command line option to set port to zero) and the
>
Roland0 wrote:
> >
Code:
> > curl -H "Content-Type: application/json" -X POST -d
'{"id":1,"method":"slim.request","params":["08:00:27:6c:e1:a2", ["status", "-",
"1", "tags:al"]]}' "http://192.168.1.29:9000/jsonrpc.js;
> >
> will return
https://forums.slimdevices.com/showthread.php?112809-Pipe-Squeezelite-to-Icecast=1047446=1#post1047446
I just setup LMS->Squeezelite->PulseAudio->PAREC->ICES w/ metadata on a
linux box, the handful of options, including the bash/curl commands to
pull song/artist to update metadata is listed.
Hellsblade wrote:
> Thanks for the help :D. I hope you don't mind if I knock on your door a
> couple of times. I think I will need a full install of LMS for looking
> into the CLI code. It doesn't seem to exist in my docker container. I'm
> diving into this tomorrow. I will also try to get this
bpa wrote:
> Just checked works OK on windows.
>
> To avoid defender etc. you can download the nmap zip file and from it,
> just copy the ncat.exe and the two libraries libcrypto-1_1.dll and
> libssl-1_1.dll all to a working directory.
Thanks for the help :D. I hope you don't mind if I knock
Hellsblade wrote:
>
> I found a little more info using this command;
> curl -v 'http://192.168.1.29:9000/jsonrpc.js' --data-raw
> '{"id":1,"method":"slim.request","params":["08:00:27:6c:e1:a2",["stop"]]}'
>
>
Code:
curl -H "Content-Type: application/json" -X POST
Just checked works OK on windows.
To avoid defender etc. you can download the nmap zip file and from it,
just copy the ncat.exe and the two libraries libcrypto-1_1.dll and
libssl-1_1.dll all to a working directory.
bpa's
Hellsblade wrote:
>
> Have to work on the output though;
> :Title:08:00:27:6c:e1:a2 title Heat Miser :Artists: 08:00:27:6c:e1:a2
> artist Massive Attack :Album: 08:00:27:6c:e1:a2 album Spirits Of Nature
> 2
> Should be;
> Title: Heat Miser Artists: Massive Attack Album: Spirits Of Nature 2
>
Hellsblade wrote:
> g me from running this executable (will work on that)
>
> Luckily i already have an installed nmap on my mac, so the command works
> out of the box from there.
> Have to work on the output though;
> :Title:08:00:27:6c:e1:a2 title Heat Miser :Artists: 08:00:27:6c:e1:a2
>
bpa wrote:
> I haven't tested this on Windows.
>
> When run from a command prompt it generates log messages to console and
> writes out to a file in /tmp "/tmp/cliresult.txt"
Nice:o
Windows defender was stopping me from running this executable (will work
on that)
Luckily i already have an
I haven't tested this on Windows.
An alternative would be to use the "ncat" package (part of the nmap
package ) https://nmap.org/ncat/
It is available for Windows and Linux. It is like the standard linux
netcat/nc utility but has a built in a lua script engine.
Attached is a sample lua script
chicks wrote:
> Not sure it can be done with a one liner, because you first need a path
> to or id of the current song, then a second query gets the songinfo.
>
> I haven't coded with PowerShell in a while, but there's the
> Invoke-Webrequest method that will allow you to post both queries,
Paul Webster wrote:
> stream.mp3 is a real player.
> When you connect to it you will see a new player appear in the list and
> you can then queue songs to it
So that URL seems to show up every now and then in LMS, if put the URL
in the browser it shows as a html5 player, but then when i put a
Not sure it can be done with a one liner, because you first need a path
to or id of the current song, then a second query gets the songinfo.
I haven't coded with PowerShell in a while, but there's the
Invoke-Webrequest method that will allow you to post both queries, then
PS can easily parse the
stream.mp3 is a real player.
When you connect to it you will see a new player appear in the list and
you can then queue songs to it
Paul Webster
author of \"now playing\" plugins covering radio france (fip etc),
planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, abc
australia and
Paul Webster wrote:
> Is it this that you are trying to satisfy?
>
> https://manual.djsoft.net/radiocaster/en/metadata.html
>
> If you are rebroadcasting from a stream in LMS ... then it looks to me
> like it could extract the metadata that LMS inserts into the stream.mp3
I started with
Is it this that you are trying to satisfy?
https://manual.djsoft.net/radiocaster/en/metadata.html
If you are rebroadcasting from a stream in LMS ... then it looks to me
like it could extract the metadata that LMS inserts into the stream.mp3
Paul Webster
author of \"now playing\" plugins
bpa wrote:
> What OS is this little program going to run on Linux, PCP, MacOS,
> Windows ?
> What are your capabilities: None, Perl, Python, VB, bash etc.
Hi,
Its running on Windows: programming capabilities are very limited, but
i'm not scared to try something :o
Hellsblade wrote:
> I need a line for a program called radiocaster it can point to an URL or
> a txt file to show artist title info in the stream it catches from audio
> output (which has no info) or even a networksource.
What OS is this little program going to run on Linux, PCP, MacOS,
Hi michael,
I need a line for a program called radiocaster it can point to an URL or
a txt file to show artist title info in the stream it catches from audio
output (which has no info) or even a networksource.
I found a little more info using this command;
curl -v
I need a one line URL to get the now playing song and artist info.
What kine of one liner do you need? A URL? A script returning data in a
specific format? What's going to execute the one line, and what is
consuming it?
___
Squeezecenter mailing
Hi,
I have been wading through this forums vast content, but can not seem to
find a working answer.
I need a one line URL to get the now playing song and artist info.
When I try this http://192.168.1.29:9000/status.html#currentsong. I
still get the complete server xml/html.
I know i need to
24 matches
Mail list logo