-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
meuse
committed
Jun 23, 2013
1 parent
92623df
commit d720e81
Showing
6 changed files
with
31 additions
and
1 deletion.
There are no files selected for viewing
Binary file not shown.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
""" | ||
This cron script is automatically run once a week | ||
following activities are done: | ||
------------------------------ | ||
* checks for artist tags | ||
* decays the a2s property by 0.95 | ||
* updates the artist popularity | ||
* checks artist similarity | ||
""" | ||
|
||
import sys | ||
sys.path.insert(0, '/Users/meuse/Meuse/env/meuse/meuse/meuse') | ||
from downloader import Downloader | ||
|
||
downloader = Downloader() | ||
|
||
#get taags | ||
downloader.download_tags() | ||
|
||
#decay artist popularity | ||
downloader.decay_a2s() | ||
|
||
#get popularity | ||
downloader.update_artist_popularity() | ||
|
||
#get similar artists | ||
downloader.download_similar_artists() | ||
|
||
|
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.