Closed (fixed)
Project:
Audio
Version:
4.7.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
11 Dec 2006 at 09:45 UTC
Updated:
13 Jan 2007 at 02:19 UTC
Greetings,
I have a folder on my website in which mp3 files are uploaded at random times. Is it possible, or has anyone out there created a audio node creation which will read mp3 files from a particular folder and automatically create the audio nodes for those files. Something that would run whenever there is a cron job scheduled. I've tried the audio import module, but I'm not sure I understand how it works.
Comments
Comment #1
leoburd commentedI'm working on a module called audio_xmlrpc.module that allows the creation of audio entries via XML-RPC. I've also developed a PHP library that is called by cron to upload local audiofiles (together with user information, tags, etc.) to audio_xmlrpc.module.
Although this is probably more than what you are looking for, I believe audio_xmlrpc has all the functionality that you need. It's only been tested on Drupal 4.7, though. Let me know if you would like to try this module, ok?
Leo
Comment #2
toemaz commentedHi Leoburd,
Your comment is very interesting. I would be happy to try out this module and perhaps even help you out with it. Can you tell us how you want to proceed?
thx
Comment #3
toemaz commentedIn the meantime, I found a record of you xmlrpc module. Is the version attached to this comment http://drupal.org/node/43110#comment-148617 the last version you have?
Where can I find the "upload local audiofiles" module you are speaking about?
Comment #4
drewish commentedanthon1, odds are that audio_import will do 90% of what you want. if want to build a cron based import take a look at the station module's archive. it has some code you could use as a starting point. it uses a cron hook to import mp3s and fetch metadata via XMLRPC from a station schedule.
Comment #5
anthon1 commentedI will try the Station Archive Module, but I am interested in trying the xmlrpc code out. Please send me a copy. I'll check it out and let u know how it works on drupal 5.
Thanks for all the feedback guys.
-Anthony
Comment #6
toemaz commentedWell, you can find it in 2 different modules:
http://drupal.org/node/43110#comment-148617
http://drupal.org/project/station
Comment #7
leoburd commentedI've just uploaded the latest version of audio_xmlrpc.module to http://drupal.org/node/43110 ...
Leo
Comment #8
drewish commentedanthon1, i wasn't suggestion that the station module was a solution for you, only that, if you were a developer, it would be a good source of sample code because it does a good deal of you described.
Comment #9
drewish commentedfeel free to re-open this if you need more help.
Comment #10
(not verified) commented