From 6d26be674be11625d203d2d4e3c9a530377c95da Mon Sep 17 00:00:00 2001 From: Hellow Date: Thu, 13 Apr 2023 18:54:17 +0200 Subject: [PATCH] added credits --- src/music_kraken/utils/path_manager/music_directory.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/music_kraken/utils/path_manager/music_directory.py b/src/music_kraken/utils/path_manager/music_directory.py index 8680830..0e32a43 100644 --- a/src/music_kraken/utils/path_manager/music_directory.py +++ b/src/music_kraken/utils/path_manager/music_directory.py @@ -9,6 +9,14 @@ DEFAULT_MUSIC_DIRECTORY = Path(Path.home(), "Music") def get_xdg_music_directory() -> Path: + """ + gets the xdg music directory, for all the linux or bsd folks! + Thanks to Distant Thunder, as well as Kevin Gruber for making that pull request: + https://github.com/HeIIow2/music-downloader/pull/6 + + :return: + """ + # XDG_USER_DIRS_FILE reference: https://freedesktop.org/wiki/Software/xdg-user-dirs/ xdg_user_dirs_file = Path(Path.home(), ".config", "user-dirs.dirs")