Displaying 3 results from an estimated 3 matches for "newtitl".
Did you mean:
newtitle
2005 Apr 17
0
Listener count in stream title
...tent =~ s|.*<pre>(.*)</pre>|$1|s;
foreach my $line (split(/\n/, $content)) {
if ($line =~ /^$mounts,/) {
if ($line =~ /^([^,]*),[^,]*,[^,]*,(\d+),[^,]*, - (.*),$/) {
my $mount = $1;
my $listeners = $2;
my $title = $3;
$title =~ s|^\[\d+/\d+\] ||;
my $newtitle = uri_escape("[$listeners/$maxclients] $title");
$ua->credentials($host, $realm, $user, $pass);
my $res2 = $ua->get("http://$host/admin/metadata?mode=updinfo&mount=$mount&song=$newtitle");
warn $res2->status_line unless $res2->is_success;...
2004 Aug 06
0
metadata update - possible to send adminpass in
...th ogg stream
:) ) but I couldn't find how to insert admin username and admin password
into this string.
Is it possible to send admin username and admin password with this string
(LIKE it is used with shoutcast servers:
http://...:8000/admin.cgi?pass=herecomespassword&mode=updinfo&song=newtitle )
Could you please help me what kind of modificated string do I have to use to
send metadata "by one click"? Could you please tell me an example of it?
Greetings:
Gergely Nagy
2004 Aug 06
0
metadata update - possible to send adminpass in
...If it isn't then it won't be a major problem, but
I'll have to check it later on.
> Is it possible to send admin username and admin password with this string
> (LIKE it is used with shoutcast servers:
> http://...:8000/admin.cgi?pass=herecomespassword&mode=updinfo&song=newtitle )
icecast2 uses http auth so you should be able to use
http://user:pass@host:8000/admin/....
karl.