Add uploaded media to database so it shows in media library

Topics: Customizing Orchard
Jan 9, 2015 at 7:22 PM
Edited Jan 9, 2015 at 7:35 PM
Uploaded media won't show in the media library unless it has been uploaded through the media library. I was looking into the way in which the media library imports media, but can't seem to figure out how to implement that in a file upload field. The field succesfully uploads the file to the specified folder but these uploaded files are not displayed in the media library because they weren't uploaded using the media library.

Edit: Is there a way I could extend the Media Library's import functionality as a field by creating a field that uses the Media Library module's import functionality?
Jan 10, 2015 at 11:33 PM
Marked as answer by emeraldarcher on 1/12/2015 at 10:47 AM