Skip to main content

Export audio from osu to directory/to ingame collection/to steam music or create m3u8 playlist

Project description

osuplaylist

PyPI

  • Extract all osu songs, collection,run a regex search in .osu tag line , apply daterange
  • Export audio to directory/to ingame collection/to steam queue or create m3u8 playlist
  • Import your songs in .mp3 format to osu
  • Use as a module
    screenshot_export_to_steam_from_osu

Installation

Python version >= 3.6
pip install osuplaylist
update pip install osuplaylist -U

Limitations

  • refresh <F5> if beatmap library is not correct
  • creation of ingame collection requires to restart client
  • importing your mp3 requires restart & refresh F5 & ascii name

Commands

export all songs as .m3u8 playlist, may take a while

osuplaylist

apply daterange (optional)

osuplaylist --date_range "daterange",daterange format:Year.month.day example: >2020.1.1 older than, 2020.1.1:2020.1.24 in this range this will include last played beatmaps in that timeframe.

export collection. Name might be case insensitive or with typos

osuplaylist --collection "name of collection"

export to ingame collection. Name will be with current timestamp. (optional)

osuplaylist --update_db "name of collection"

run a regex search on tags provided from .osu file

osuplaylist --regtag "regex"

run an inversed regex search on tags (optional)

osuplaylist -r "regex" -i

provide path to export audio.(optional) if used without arg - all songs

osuplaylist --to_dir "path"

export to steam queue.m3u8

osuplaylist -r "step" -s close steam first, this will overwrite queue.m3u8 from _database of steam, you will be asked just one time to provide full path

import mp3s

osuplaylist -m "E:Installation\music" -n "in_game_collection_name", name ascii only and you need manually click all mp3s, search mp3 in osu,and click,otherwise collections will not work

info

osuplaylist --help

Examples

Example with mpv:

mpv --playlist=playlist.m3u8 --shuffle --volume 35

Example regex search + inverse + to directory:

osuplaylist -r "(azer|step)" -i -d "E:/music/osuplaylist" -r "(azer|step)" will match all songs which contain azer or step

-i (optional) return an inverted result , all songs which NOT contain azer or step

-d (optional) export .mp3 to directory E:/music/osuplaylist

Example combine regex + daterange + to steam

osuplaylist -r "step" -t ">2020.1.1" -s

Using osuplaylist.py as module

See tests

Contribute

Contributions are welcome!

See also

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

osuplaylist-3.1.0.tar.gz (66.9 kB view details)

Uploaded Source

Built Distribution

osuplaylist-3.1.0-py3-none-any.whl (66.4 kB view details)

Uploaded Python 3

File details

Details for the file osuplaylist-3.1.0.tar.gz.

File metadata

  • Download URL: osuplaylist-3.1.0.tar.gz
  • Upload date:
  • Size: 66.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.10 CPython/3.8.0 Windows/7

File hashes

Hashes for osuplaylist-3.1.0.tar.gz
Algorithm Hash digest
SHA256 317174fd630cab078d3a0ef0f326518be43a0273e3801832a20de7d0637469a7
MD5 b98d2a6d6aa6fc411eb7ae62647fdf62
BLAKE2b-256 199018f65edec35fe759af79aa480b1fc307f4b0d8b91e937568e10c6efa96d5

See more details on using hashes here.

File details

Details for the file osuplaylist-3.1.0-py3-none-any.whl.

File metadata

  • Download URL: osuplaylist-3.1.0-py3-none-any.whl
  • Upload date:
  • Size: 66.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.10 CPython/3.8.0 Windows/7

File hashes

Hashes for osuplaylist-3.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 81d228655c623b42f84e8d1ce4e74860d916ab3142870aa7ee0e2dbb5cc73548
MD5 65e72b5aae242e20d225c33eda6c5ce8
BLAKE2b-256 66cf00dd7c30c82c61f6f1fbe691bfbc1f81ab0e3a0fa1cc7bc0cd75607c2184

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page