forum

Complete ranked/loved map set checking script

posted
Total Posts
1
Topic Starter
G3T
This tells you which ranked/loved maps are not in your songs folder. It provides no automated downloading and is designed for use on osu! installations that have a nearly complete set of all ranked/loved maps.

It is a python script that scans your songs folder for beatmap files and cross references these files with a list of all ranked/loved maps downloaded from the osu!API.

It has a minimal CLI UI, but you don't need to directly edit the script to use it.

The code is quite ugly; I do not plan to rewrite it, but may recreate it with a GUI at some point.

Usage/Download
This script is written for python (version >= 3.6). It can be found here.

Transfer the code from the pastebin into a python script file in your osu! directory and then run it with a python interpreter.

It will save your API key in a file titled 'api_key' in your osu! directory.

It will save the list of ranked map data that it downloads from the API in a file titled 'ranked_maps.json' in your osu! directory.

It will save map md5s and mtimes from the song folder scan in 'md5_mtime_db' in your osu! directory.

Changelog
20170125 - added md5 caching for the song folder scan
20170121 - script posted

License (WTFPL)
        DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE 
Version 2, December 2004

Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>

Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.

DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

0. You just DO WHAT THE FUCK YOU WANT TO.
Please sign in to reply.

New reply