By alex789 on
I'm having problems uploading large mp3 files to the audio module. Searching the forums here I find that I need to php.ini, but on the production server I want be able to make edits to php.ini.
Is there any way to tell the audio module to work with an mp3 file that is already on the server file system (uploaded over ftp or other means)?
alex
Comments
This is a great question. I
This is a great question. I think it might be worth submitting a formal feature request to the audio.module asking for a way to type in a URL of an existing mp3 file and create a node that way. This would also facilitate situations where the file is hosted else where (such as some free hosting service) but can still be represented on your site. It would also make it easy to cross-publish work from multiple sites....
So definitely submit that request!
OK. How do I submit such a
OK. How do I submit such a "formal feature request".
In the meantime I'm uploading tiny files and once they're in place I
replace them with the right files and hand edit the meta data in
mysql. Quite tedious.
http://flosspick.org - finding the right open source
More googling reveals that
More googling reveals that the file size limit can be set in .htaccess
This solves my problem but I still think it would be nice to have the option to use files that are uploded in other ways.
http://flosspick.org - finding the right open source
Site5 does not allow the max
Site5 does not allow the max filesize to be changed in .htaccess, so you can use the php.ini instead. You have to go in and fetch the site5's php.ini, because if the directory has the file, it won't fetch the default php.ini. I figured it out from this forum topic.
EDIT: Ok, php.ini was mentioned in the original topic. I had looked around so much since then that I forgot.
--
Bradlis7.com | Churchofchristnet
Using Other Audio File Locations
I just decided to create regular "Page" nodes with an embed tag instead... rather than use the audio.module at all...
It gives me more flexibility to post my own comments, lyrics, etc... and I can put an additional link to a download as well if I want.
To every complex hi-tech system problem... there may be a low-tech answer? -Charlie
Problem using in IE 6 SP2
The audio module plays completely in Firefox at all times, (of course you have to keep the window open)
In IE 6 SP2 I was having problems with this.
Often the file would stop playing at various times. In fact never did get a file to play all the way through.
To fix this I replaced the 'swf' file and the 'as' file with those included at - http://musicplayer.sourceforge.net
I did not change the name of the 'as' file but changed the 'swf' file name to the same name used in the module which is 'mp3.swf'.
Also, there is a great player avaiable at: http://www.jeroenwijering.com/?item=Flash_MP3_Player
audio_import.module (part of audio module package)
If you have the latest 4.7 or cvs version of the Audio module, you can enable audio_import.module to import files you have FTP'd. This works around the filesize issue.
EDIT: I see now that somebody just bumped a really old thread.
-- Ben
bump and hijack
the old bump and hijack. you gotta love it.
enabling?
And where would one find the switch to enable this?
I'd like to see something along the lines of Gallery's Import from URL feature. plug in a url, it makes a list of every graphic on that page for you to check off the ones you wish to add. Just my two cents...
Thanks!
not that easy... but finally work Thanks!!!
Hi
I've got the same problem (upload limited to 2Mo). I had to upload a truncated mp3 (only 30 secs).
I tried to replace it by the full one via ftp, it didn't change anything. (still play 30 secs)
htaccess doesn't work either
Searching the forum, I found your post.
It took me a little time to really understand your solution because I missed the right menu : I looked under administer > settings > audio_import in place of administer > audio_import which is the right one!
I succeed in importing a first audio file, but then had a lot of problems
After deleting all audionodes, I import my 2 mp3 again in the tmp and get an error when importing (player error : "This file is not compatible with the Flash audio player. Flash can only play MP3 files with a sample rate of 11, 22 or 44KHz.". Well, th emp3 is 44,1!)
I had to delete again and reupload everything
When I imported mp3 one by one, it was ok
Thanks!!!
Patch
import
Having problems with audio import is always empty. Any more suggestions?