Mod Archive Forums Mod Archive Forums
Advanced search  

News:

Please note: Your main modarchive.org account will not work here, you must create a forum account to post on the forums.

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - AsSlowAsHell

Pages: [1]
1
Software Showcase / Python App - Song "Sorter"
« on: November 09, 2007, 08:50:55 »
I have made a simple app that makes a "sorted" "collection" of any mod files you want it to sort.  Any mod file or zip of a mod file or group zip of a mod file from the 2007 mod archive torrent will be imported correctly.  Source code is included.

The files are renamed to a more descriptive format:
for example:
from sm-unbreakable.it
to    7.00 sm-unbreakable.it (Unbreakable Barrier) ID158134 Hits-53

It organizes the files in the following format:
if the song has a rating:
rated\genre\rating (one of bad, good, great, zomg)\descriptive file name
if the song does not have a rating:
unrated\(genre)\popularity (one of obscure, seldom seen, known, popular, hit, mega-hit)\descriptive file name

How to use:
-Make sure python interpreter is installed (http://www.python.org/download/).  for those that dont know what it is its a multiplatform interpreter for the python programming language.  kind of like java, but without aids :P
-Download program and extract somewhere http://rapidshare.com/files/68466783/ModuleImportFixed.zip.html
-Put mod files into the import folder
-Run ModImport.py
-Output will go to the collection folder

Notes:
The modules you put in the import folder need to be unmodified names of the original file you downloaded from this website (modarchive) for the songs to be properly organized.  They can also be zipped, but if they are zipped the zip file name should be the original file name of the module with a .zip on the end just as they are downloaded from modarchive.  You can also import zips of these zipped files.

IMPORTANT!  When the songs are imported to the collection folder, the original named songs in the import folder are moved/deleted and end up in the collection folder with the transformed file name.  if you want to maintain the original file please perform the import on copies of the files and not the originals.

If there are any problems let me know, also if anyone finds it useful let me know.


EDIT: haha i after posting this i saw the mod library thing XD.  Mine has a slightly different goal, the main goal was to take the 120,000 module 2007 torrent pack and to put the files into a more usable structure for exploring and finding new songs you may like.  Module Database seems to be more of a library for mod song you already know you like ;)

EDIT2: I forgot to include the BeautifulSoup.py file in the package, so i repackaged it.

Pages: [1]