tox-dev / platformdirs

A small Python module for determining appropriate platform-specific dirs, e.g. a "user data dir".
https://platformdirs.readthedocs.io
MIT License
593 stars 51 forks source link

platformdirs: introduce `user_music_dir()` #173

Closed kemzeb closed 1 year ago

kemzeb commented 1 year ago

Introduces the means to acquire the user's music directory path.

Feature suggested in #141. Should be the final feature needed to close the issue.

Written tests and done my own tests on Windows, MacOS, and Linux using an interactive Python shell and they produce the expected results when calling the function. As I have explained in my previous PRs I can't test Android in a similar fashion as I did the other OSs since I don't have access to an Android device.

References: Android:

MacOS:

Unix:

Windows: