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.
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
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.
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.
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 »