Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Access admin with curl - cron.

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
radiomg



Joined: 12 Jul 2014
Posts: 16

PostPosted: Wed Feb 22, 2017 1:21 pm    Post subject: Access admin with curl - cron. Reply with quote

Hello!

Im trying to get of some rippers by changing the title..
But i doesn't work..

Any idea?

I use this on crontab. Icecast is on the same server.
Code:
*/2 * * * * curl -u user:password http://MY_URL:PORT/admin/metadata.xsl?song=You+listen+to+the+best+music&mount=/pop80_test&mode=updinfo&charset=UTF-8' >> /dev/null 2>&1


Edit: I have fix it!
Use this code and its work perfectly..
Code:
*/2 * * * * curl --user user:password 'http://MY_URL:PORT/admin/metadata.xsl?song=You+listen+to+the+best+music&mount=/pop80_test&mode=updinfo&charset=UTF-8' >> /dev/null 2>&1
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber