Where does MC call the song folder?

greengeek
greengeek
Offline
0
germi,

Where does MC define and load the string to set the 'songs' folder? I am trying to make it so that MC does not add a folder path or website root to the actual song location.

Currently if I tell MC that the song is album/song.mp3, it will make the song url be www.website.com/songs/album/song.mp3 I want it to keep the path as a relative path of album/song.mp3 and not add the root and user defined folder to the path. Where can I find the code in MC to remove this variable?

This way I can call files on the web server that are outside of root or are in multiple folders located throughout the website. This would allow me to place media that is accessible to the web service, but not directly accessible by the internet. I don't want it to use the admin defined field in the MC options or attach the website address to the songs url.

Thank you.
Responses (2)
  • Accepted Answer

    greengeek
    greengeek
    Offline
    Saturday, January 05 2013, 02:59 AM - #Permalink
    0
    Any ideas on this?
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, January 05 2013, 11:24 AM - #Permalink
    0
    look on the helpers/helpers.php file, the're a function called getSongFileURL

    I think that's what you're looking for.
    The reply is currently minimized Show
Your Reply