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
-
Accepted Answer
0Hi 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 -
Accepted Answer
-
Accepted Answer
0it'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!! -
Accepted Answer
0Of 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
Your Reply
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »