joe
joe
Offline
0
currently when a user uploads their album their songs are dumped into the SONGS folder which makes it hard to keep track of their songs. Is their anyway to allow the users to create a folder during the upload process for just their album? I currently have to log in and re-org the files into folders and then update their song url which is time consuming. Any insights?
Responses (5)
  • Accepted Answer

    Tuesday, February 28 2012, 06:02 PM - #Permalink
    0
    hello!

    I see what you mean but no, there's no way to do that currently..
    you would need some custom coding work for that..!
    The reply is currently minimized Show
  • Accepted Answer

    dj_proto87
    dj_proto87
    Offline
    Tuesday, March 06 2012, 12:09 PM - #Permalink
    0
    Hi guys!
    I was trying to do that in the morning :)
    I think I could do some interesting things, most of all I tried using php conditionals and mkdir is_dir estructure...

    But I got stock when I have to change the filenames directory:
    for example:


    "/songs/".this->artist->artist_name."/".this->album->name."/".ANYSONG


    how can I change the song path to something like that Germi???

    Thanks... once I had ready, I will post it here if you want :)
    The reply is currently minimized Show
  • Accepted Answer

    joe
    joe
    Offline
    Tuesday, March 06 2012, 12:55 PM - #Permalink
    0
    that would be awesome Im stuck right now, Germi said he that it would have be a custom setup so if you know a way to do it Id love to see it work because the current setup is a bit much to sort out
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, March 06 2012, 06:33 PM - #Permalink
    0
    it's not that easy, just "changing the path"... as joerugby says it requires actually some core customization work. also, using just artist names or album names in directories is not a good idea (blank spaces, maybe àáèéíóú characters etc...)

    if you want to give it a try I would suggest to try this when the song is SAVED when uploaded... but be careful!!
    The reply is currently minimized Show
  • Accepted Answer

    dj_proto87
    dj_proto87
    Offline
    Tuesday, March 06 2012, 07:14 PM - #Permalink
    0
    Of course Germi! You are right ! But for example:
    -Replacing the blank spaces with "-" would be enough.

    - The àáèéíóú problem can "fixed" :
    - By giving rules to who uploads the files (it´s a risk)
    - Giving a script IF (the file contains this simbols && this simbols){give an error, with a message to the user saying "Hey, you cannot put that or something like that :) jeje
    Altough I think as you Germi that to do it right, We need no load all the symbols and even sustitute that symbols with a symbol that works: For example: á=a

    But I will give a try as you says, I love the component and i want to give a hand (even a small one) to help the project ;)
    But really really need to know when I can change the path as I mentioned above, If you could give me a try I could work for this on my own and then transfer the files, or if you could give me an affordable price I could think, but as I mentioned before, I live in Argentina with Argentinian pesos :( and for me, 1 euro is equal to 6 pesos!!! It would be imposible.. but I wait for your answer ;) If you prefer, we continue this by mail, would you? Thanks Germi! Matt
    The reply is currently minimized Show
Your Reply