Hi,
I am writing Internet Radio App using Django. When i load the stream page in the browser (i.e. play_page.html) server does not stream the audio file at all.
I have following settings in my project.
MEDIA_ROOT = '/home/atul/Atul/django_radio/'
MEDIA_URL = ''
Audio File's Model:
class Audio(models.Model):
title = models.CharField(max_length=200)
mp3 = models.FileField(upload_to = u'talks/', max_length=200)
seconds = models.IntegerField(blank = True, null = True)
def __unicode__(self):
return self.title
Audio Files are stored at: '/home/atul/Atul/django_radio/talks/'
I don't get why server unable to access the media file stored at above location??
or does problem lies elsewhere?
--
Atul Khairnar
College of Engineering , Pune
Cell - (+91)9579289613
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment