A reusable Django app for uploading/previewing audio files plus a simple id3 tag reader (Title/Artist/Album)
A reusable Django app for uploading/previewing audio files with a simple id3 tag reader.
Requires Django 1.7 or greater
Install from PyPi with pip:
pip install django-audioadmin
Add "audioadmin" to the INSTALLED_APPS in your settings.py:
INSTALLED_APPS = ( ... "audioadmin" ... )
Make sure you have your Media folder setup. Add these to your settings.py:
MEDIA_URL = '/media/' MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
Make sure your media files can be served on dev. Add these to your urls.py:
urlpatterns = patterns('', ... url(r'^admin/', include(admin.site.urls)), ... ) + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
Start development server:
To run tests:
Django-Audioadmin is licensed under MIT, see MIT-LICENSE.txt.