https://github.com/rixx/stepmania-to-sqlite
https://github.com/rixx/stepmania-to-sqlite
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/rixx/stepmania-to-sqlite
- Owner: rixx
- License: other
- Created: 2020-05-19T12:35:56.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-08-16T16:27:08.000Z (almost 5 years ago)
- Last Synced: 2025-02-05T11:47:47.874Z (5 months ago)
- Language: Python
- Size: 12.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# stepmania-to-sqlite
[](https://pypi.org/project/stepmania-to-sqlite/)
[](https://github.com/rixx/stepmania-to-sqlite/blob/master/LICENSE)Put stats about your stepmania library into a SQLite database. Will export all songs with data about their groups,
difficulty levels, durations, bpms, etc. Particularly useful if you use the database with
[datasette](https://datasette.readthedocs.io/).Please note that under Windows, no song durations will be calculated, and Windows support is generally tenuous. I'm
happy to merge PRs for this issue (or any other).## How to install
$ pip install stepmania-to-sqlite
Add the `-U` flag to update. Change notes can be found in the ``CHANGELOG`` file, next to this README.
## Importing data
Run the tool with the path to your database - if it doesn't exist yet, it will be created:
$ stepmania-to-sqlite songs.db
If your library is not located in a directory like ``~/.stepmania*``, you can pass the library path with the -l flag:
$ stepmania-to-sqlite songs.db -l /path/to/library
## Limitations- Steps are not included, only pre-processed step counts per difficulty.
- Currently, only .sm files are parsed, not the newer .ssc files.## Thanks
This package is heavily inspired by [github-to-sqlite](https://github.com/dogsheep/github-to-sqlite/) by [Simon
Willison](https://simonwillison.net/2019/Oct/7/dogsheep/).