Use my files mp3 to make playist

Read 8215 times
Hello to everyone,

I would like to use my files mp3 to make  playist where i want on my website, but i can't.

I tried to use this  link:  http://mysite.com:2197/ondemand/mystream/myfile.mp3

to make this link:
 http://mysite.com:2197/media/mystream/myfile.mp3

but it don't work

Thanks for help
As long as you have root access I have found you can allow access to your files in the /media folder by editing the file

/usr/local/centovacast/etc/web.d/cc-content

what you do is just copy the /ondemand section

look for

location ~ ^/ondemand/([A-Za-z0-9_]+)/(.*)$ {
      expires 7d;
      alias /usr/local/centovacast/var/vhosts/$1/var/spool/ondemand/$2;
   }




and replace it with





location ~ ^/ondemand/([A-Za-z0-9_]+)/(.*)$ {
      expires 7d;
      alias /usr/local/centovacast/var/vhosts/$1/var/spool/ondemand/$2;
   }


location ~ ^/media/([A-Za-z0-9_]+)/(.*)$ {
      expires 7d;
      alias /usr/local/centovacast/var/vhosts/$1/var/spool/media/$2;
   }




then restart
/etc/init.d/centovacast restart

unless your server installation is not default this should work Not sure about the security issues with this, if any, I know there are legal issues with allowing instant on demand streaming but if Slacker radio & others can do it, we should be able to also (although I am sure they pay lots of fees!)
 

My Auto DJ
Orlando, FL USA
Quality SHOUTcast Hosting http://myautodj.com
SHOUTcast Widgets http://shoutcastwidgets.com
Thank you very much, i'll try it. 

when i'll restart centova, all listeners will disconnect to the stream?

Thank's
Thanks  :D :D :D :D It's work  great