Assuming the archive.org emfield module handles audio the same way it does video via the item url -- all that probably needs to be done is:
1. Adjust the field selector on the main settings page to also pull "emaudio" fields
2. Adjust the language on the main settings page
3. Test.

Comments

civicpixel’s picture

Status: Active » Needs review

Altered the emvideo storage code to support emaudio via the media: archive module. Emaudio fields now appear in the select list on the main settings tab. In addition the setting now allows for selection of more than one emaudio/emvideo field in the rare case that a site is storing both audio and video files to archive.org.

I've tested this functionality with two audio file uploads and saw the emaudio field populated properly when the upload was validated. I'm going to leave this issue needs review for awhile to encourage more testing.

bserem’s picture

I'll test it this weekend probably!

In the meanwhile Winston is looking at this issue:
#1042646: Embedding Audio from Archive.org doesn't display a player on the drupal site.
which will allow media_archive to display the IA player of audio files
there are some issues there that need to be solved, I'll be trying both modules

hopefully in the end the combination of these two modules would make it quite easy to link drupal sites with IA

civicpixel’s picture

Great! When I was testing with mp3 files transferred via internet_archive, the media: archive module was playing them just fine. If I run into the "player not working" issue on any of my tests I'll let you / troubleshoot it and submit a patch.

bserem’s picture

strange that the module worked when you transfered with IA_archive

both me and Winston tried it and it didn't display a player! I'll inform him about your post

bserem’s picture

I tried to push a file to IA and I get this error in the watchdog:
Item: could not be created, (http 400). Bad request can suggest a problem with the metadata being attached to the item.

then these two are created in IA:
http://www.archive.org/details/soniclearnings_-_suprise_me.mp3
http://www.archive.org/details/vlepo_nonprofit_1
the second one in community texts (again) and neither one has a file attached to it

I do not understand why it doesn't work for me

civicpixel’s picture

I think I've created a patch to resolve this in the original issue here:
http://drupal.org/node/1045206#comment-4080538

Please try applying that to your install and let me know if you get better results.

civicpixel’s picture

This patch was committed this morning along with numerous other updates.

civicpixel’s picture

Status: Needs review » Fixed

bserem noted that he tested the most recent changes successfully in a separate issue here:
http://drupal.org/node/1045206

bserem’s picture

indeed, sadly I don't have time to provide feedback at the moment

I just have to inform you that for some reason my item is still pending (after 1-2 weeks)
I really to want to try this module but the following weeks are kinda full for me

civicpixel’s picture

No problem on the delay -- when you get back to it, feel free to re-open the issue if you're still having problems.

As far as your item still pending, do you mean it's pending derivation on archive.org or its reporting pending on the node? If it's on the node, you may just need to run cron (the module checks to validate files, and for derivatives when cron runs).

bserem’s picture

oups! I wasn't running cron in my dev site, now the node is updated
I haven't yet managed to link this module with media_archive, it is on my to do list!

from my experience with module I can report that it is usable and that it allows experimentation (with the test-library of IA) so anybody should be able to use it

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.