How do you expect it to play? Do you have a player on the front end? Also,
if you look at the assets loaded into a browser - you can do this with Net
panel in firebug - does the file get loaded?

On 26/04/2012 2:23 PM, "atul khairnar" <atulnkhair...@gmail.com> wrote:

> 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+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to