Kenneth Reitz 30f3a890c1 try except
2011-04-07 07:57:13 -04:00
2011-03-08 23:49:09 -05:00
2011-04-07 07:57:13 -04:00
2011-03-07 00:00:01 -05:00
2011-03-08 01:09:58 -05:00
2011-03-07 00:00:01 -05:00
2011-03-09 02:23:47 -05:00
2011-03-08 01:06:38 -05:00
2011-03-09 00:51:14 -05:00
2011-03-09 01:44:21 -05:00

Music Saver
===========

Saves your Public MP3s.

Music Request Process:

- user opens music page
- php registers temporary url for user, passes it to players
- players request mp3 from this app
- app checks database for constraints
- if kosher, stream mp3 to user, logs info
    - grabs mp3 from server (http authed)
    - responds with it (slowly if possible)


Notes:
------

- ``user_id`` is ip address
- 
- Block known scrapers

Disable access for known referrals and such.


Install:

    components/com_muscol/helpers.php

    function getSongFileURL($song){
    

Configuration:
--------------

    SONGS_PER_MINUTE = 3
    SONGS_PER_HOUR = 16
    SONGS_PER_DAY = 180
    URL_EXPIRES_MINUTES = 15
    
    
Routes
------

- `/get?song=<url-for-song>`
    Returns url for player to use. Good for 15 minutes?
- `/get?song=<url-for-song>`
    Returns url for player to use. Good for 15 minutes?
    
S
Description
No description provided
Readme 10 MiB
Languages
Python 100%