song filename truncating

Chris
Chris
Offline
0
When I add a new song and select the song from the browse button the name of the file is being truncated.

filename: "10 Rave On.mp3"
what is saved: "rave-on.mp3"

also, why am I selecting a file from my computer and not the folder configured to be read from on the server?
Responses (4)
  • Accepted Answer

    Sunday, November 29 2009, 09:38 PM - #Permalink
    0
    the system automaticly changes the name of the file to avoid bad characters that cannot be read well on some servers.

    you are selecting file from computer because that's how it works in this version. on next version we'll add server-side folder reading

    Germi
    The reply is currently minimized Show
  • Accepted Answer

    Chris
    Chris
    Offline
    Sunday, November 29 2009, 10:03 PM - #Permalink
    0
    Thanks germi.

    Is there a way to disable this truncating?

    All of my music is stored in this fashion. I'm patiently awaiting the next version since I've read a lot of the manual administration will be reduced but right now, adding a single song is quite tedious. I've over 9,000+ songs that I would like to eventually have available for listening.

    thank you for explaining the limitation at this time. I can definitely wait till january/february for an update. Even with this complaint, I have to admit, I find this component incredible.

    and why the heck are you awake at this time of night :)
    The reply is currently minimized Show
  • Accepted Answer

    Monday, November 30 2009, 12:25 AM - #Permalink
    0
    Me thinks, Germi is a machine, that never sleeps :laugh: :laugh: :laugh:
    The reply is currently minimized Show
  • Accepted Answer

    Monday, November 30 2009, 03:53 PM - #Permalink
    0
    if you want to can remove this feature (auto-name filenames), but then it will be up to you be sure that the filenames dont content any strange chars! ;)

    on file /administrator/components/com_muscol/tables/song.php

    on line 81 approx you'll find

    $filename = JFilterOutput::stringURLSafe($this->name);

    $filename = $filename . "." . $ext ;


    you just need to remove it.

    Germi
    The reply is currently minimized Show
Your Reply