Adding song without ID3 tag

0
Good day!

Is it any possibility to add songs without enabling the ID3 tag reading? I mean, i need that stay disabled since the album name will be created automatically from other custom parameters i have set. What i mean is that i don't need the ID3 tag to create an album name, since it's generating his own custom name after song submission. Once i disable ID3 tag reading it throws the 'Error saving song' message.

Accepted Answer

Thursday, February 05 2015, 01:15 PM - #Permalink
0
Well, i solved it for the moment. If anyone else want to try out disabling the id3 tags of the uploaded file and let the user fill in the track details manually, go to:
For song upload: com_muscol/models/song.php at line 338

find: $data = MusColHelper::getID3data($data, $datafiles['song_file']['tmp_name']) ;
replace with: $data = MusColHelper::getID3data($data, $datafiles['song_file']) ;

For album upload: com_muscol/models/album.php at line 692

find: $data = MusColHelper::getID3data($data, $data['song_file']['tmp_name']) ;
replace with: $data = MusColHelper::getID3data($data, $data['song_file']) ;

Basically remove the tmp_name variable from the code within the models folder.
Remember, this is not an official fix, just a workaround. You may lose this customization on update.
The reply is currently minimized Show
Responses (1)
  • Accepted Answer

    Wednesday, February 04 2015, 04:41 PM - #Permalink
    0
    All i actually want is to make it ignore the file's album name but i don't know where to find it. Went in libraries but no success yet. I only need the location folder where i can edit it.
    The reply is currently minimized Show
Your Reply