Hello.

I am new to both python and web2py but have been playing with it a bit. I 
have made a simple program to listen to like artists from lastfm's API. I 
store my mp3s in a database: Artist/Track/File. It will go through my mp3s 
and find like songs and play them with jPlayer. I am stuck at playing the 
songs with jPlayer. It is trying to play my songs from 
/media/Music/artist/track.mp3 which is out of web2py's static dir. What 
would be the best way to allow web2py to access these files? If you had any 
examples that would be great.

An example of the error: HTTP load failed with status 404. Load of media 
resource https://IP:8080/media/Music/mp3/Artist/Song.mp3 failed.  (removed 
IP and artist/song since they were not important)

This will only be used by me and on my local server so I am not concerned 
with the security issues of accessing files outside of static.


Thanks!

Cliff

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to