Changing Song Folder Location

Rob Fisher
Rob Fisher
Offline
0
Is there a way to change the location of the directory you want the system to use for the songs that is outside of the root? Currently I have all of my music files is a separate folder location on the server and I can't seem to get the system to point to it. I tried to set this within the Options but it still shows the default location in the root of the site. I searched the forum and found a few older entries but nothing recent. I have a site linked to a folder on the hosted server but would like set this one up to access those files too through the transition.

Hoping this is something I can accomplish.

Thanks
Rob
Responses (3)
  • Accepted Answer

    Thursday, January 30 2014, 05:15 PM - #Permalink
    0
    Hello,

    no, you can't do that. the songs folder has to be on the root, because it needs to be "directly accessible" by the player (otherwise the songs would not be able to be played online), do you know what I mean?
    The reply is currently minimized Show
  • Accepted Answer

    Rob Fisher
    Rob Fisher
    Offline
    Thursday, January 30 2014, 05:19 PM - #Permalink
    0
    Thanks... I totally get it... I just wasn't sure if I missed something in the set up that would allow for that. NO worries.. I'll work with that.

    Thanks again
    The reply is currently minimized Show
  • Accepted Answer

    greengeek
    greengeek
    Offline
    Friday, January 31 2014, 06:23 AM - #Permalink
    0
    @Rob Fisher

    This is a feature I would love to see MC integrate so that it functions more so like other popular web streaming applications. Until that time, you can accomplish something similar on your end while still using MC. There are 2 different ways I have done this with MC. They do require a slight amount of technical work. One is done via apache, while the other one is done via the operating system.

    If you have access to the webserver and are running apache, you can do this by creating an alias. This allows you to map a location outside of the webroot to a folder within the webroot. Since this is all done on apache side, MC sees it as a folder on the website and can access it. This does take a little bit of configuration. See http://httpd.apache.org/docs/2.2/mod/mod_alias.html#alias for details. If you are using WAMP server it is extremely simple as they give you a tool to just add folders you want included and where you want it mapped.

    The other option is to do it via the OS via symbolic links or symlinks. These make it so the files actually appear inside the folder. A good write up on this is found at http://www.howtogeek.com/howto/16226/complete-guide-to-symbolic-links-symlinks-on-windows-or-linux/

    One thing to note, since these make the files appear as if they were in those folders, they are equally as accessible to all as if they were actually in those folders. There is no added security in doing this over actually moving the files to the actual folder. However I still prefer this way as I like to keep all my music well organized and stored on my file server and not have to move a copy of it all over to the webserver.
    The reply is currently minimized Show
Your Reply