From 933eddeea4382fb535a3ca724cd1d4c6c58f57ff Mon Sep 17 00:00:00 2001 From: Lars Noack Date: Tue, 13 Dec 2022 16:58:22 +0100 Subject: [PATCH] fafhhjsdajhfg --- .VSCodeCounter/2022-11-15_14-12-28/details.md | 79 ------------ .../2022-11-15_14-12-28/diff-details.md | 82 ------------- .VSCodeCounter/2022-11-15_14-12-28/diff.csv | 69 ----------- .VSCodeCounter/2022-11-15_14-12-28/diff.md | 42 ------- .VSCodeCounter/2022-11-15_14-12-28/diff.txt | 112 ------------------ .../2022-11-15_14-12-28/results.csv | 66 ----------- .../2022-11-15_14-12-28/results.json | 1 - .VSCodeCounter/2022-11-15_14-12-28/results.md | 44 ------- .../2022-11-15_14-12-28/results.txt | 111 ----------------- .VSCodeCounter/2022-12-13_13-57-09/details.md | 60 ++++++++++ .../2022-12-13_13-57-09/diff-details.md | 25 ++++ .VSCodeCounter/2022-12-13_13-57-09/diff.csv | 12 ++ .VSCodeCounter/2022-12-13_13-57-09/diff.md | 29 +++++ .VSCodeCounter/2022-12-13_13-57-09/diff.txt | 42 +++++++ .../2022-12-13_13-57-09/results.csv | 47 ++++++++ .../2022-12-13_13-57-09/results.json | 1 + .VSCodeCounter/2022-12-13_13-57-09/results.md | 35 ++++++ .../2022-12-13_13-57-09/results.txt | 83 +++++++++++++ src/goof.py | 5 +- src/music_kraken/database/new_database.py | 75 +++++++++++- test.db | Bin 65536 -> 65536 bytes 21 files changed, 410 insertions(+), 610 deletions(-) delete mode 100644 .VSCodeCounter/2022-11-15_14-12-28/details.md delete mode 100644 .VSCodeCounter/2022-11-15_14-12-28/diff-details.md delete mode 100644 .VSCodeCounter/2022-11-15_14-12-28/diff.csv delete mode 100644 .VSCodeCounter/2022-11-15_14-12-28/diff.md delete mode 100644 .VSCodeCounter/2022-11-15_14-12-28/diff.txt delete mode 100644 .VSCodeCounter/2022-11-15_14-12-28/results.csv delete mode 100644 .VSCodeCounter/2022-11-15_14-12-28/results.json delete mode 100644 .VSCodeCounter/2022-11-15_14-12-28/results.md delete mode 100644 .VSCodeCounter/2022-11-15_14-12-28/results.txt create mode 100644 .VSCodeCounter/2022-12-13_13-57-09/details.md create mode 100644 .VSCodeCounter/2022-12-13_13-57-09/diff-details.md create mode 100644 .VSCodeCounter/2022-12-13_13-57-09/diff.csv create mode 100644 .VSCodeCounter/2022-12-13_13-57-09/diff.md create mode 100644 .VSCodeCounter/2022-12-13_13-57-09/diff.txt create mode 100644 .VSCodeCounter/2022-12-13_13-57-09/results.csv create mode 100644 .VSCodeCounter/2022-12-13_13-57-09/results.json create mode 100644 .VSCodeCounter/2022-12-13_13-57-09/results.md create mode 100644 .VSCodeCounter/2022-12-13_13-57-09/results.txt diff --git a/.VSCodeCounter/2022-11-15_14-12-28/details.md b/.VSCodeCounter/2022-11-15_14-12-28/details.md deleted file mode 100644 index 8164065..0000000 --- a/.VSCodeCounter/2022-11-15_14-12-28/details.md +++ /dev/null @@ -1,79 +0,0 @@ -# Details - -Date : 2022-11-15 14:12:28 - -Directory /home/lars/Projects/music-downloader - -Total : 64 files, 2415 codes, 227 comments, 652 blanks, all 3294 lines - -[Summary](results.md) / Details / [Diff Summary](diff.md) / [Diff Details](diff-details.md) - -## Files -| filename | language | code | comment | blank | total | -| :--- | :--- | ---: | ---: | ---: | ---: | -| [music-downloader/.VSCodeCounter/2022-11-08_16-41-25/details.md](/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/details.md) | Markdown | 43 | 0 | 6 | 49 | -| [music-downloader/.VSCodeCounter/2022-11-08_16-41-25/diff-details.md](/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/diff-details.md) | Markdown | 25 | 0 | 6 | 31 | -| [music-downloader/.VSCodeCounter/2022-11-08_16-41-25/diff.md](/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/diff.md) | Markdown | 21 | 0 | 7 | 28 | -| [music-downloader/.VSCodeCounter/2022-11-08_16-41-25/results.json](/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/results.json) | JSON | 1 | 0 | 0 | 1 | -| [music-downloader/.VSCodeCounter/2022-11-08_16-41-25/results.md](/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/results.md) | Markdown | 28 | 0 | 7 | 35 | -| [music-downloader/.VSCodeCounter/2022-11-10_14-10-12/details.md](/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/details.md) | Markdown | 52 | 0 | 6 | 58 | -| [music-downloader/.VSCodeCounter/2022-11-10_14-10-12/diff-details.md](/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/diff-details.md) | Markdown | 30 | 0 | 6 | 36 | -| [music-downloader/.VSCodeCounter/2022-11-10_14-10-12/diff.md](/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/diff.md) | Markdown | 26 | 0 | 7 | 33 | -| [music-downloader/.VSCodeCounter/2022-11-10_14-10-12/results.json](/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/results.json) | JSON | 1 | 0 | 0 | 1 | -| [music-downloader/.VSCodeCounter/2022-11-10_14-10-12/results.md](/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/results.md) | Markdown | 31 | 0 | 7 | 38 | -| [music-downloader/.VSCodeCounter/2022-11-14_08-49-48/details.md](/music-downloader/.VSCodeCounter/2022-11-14_08-49-48/details.md) | Markdown | 64 | 0 | 6 | 70 | -| [music-downloader/.VSCodeCounter/2022-11-14_08-49-48/diff-details.md](/music-downloader/.VSCodeCounter/2022-11-14_08-49-48/diff-details.md) | Markdown | 42 | 0 | 6 | 48 | -| [music-downloader/.VSCodeCounter/2022-11-14_08-49-48/diff.md](/music-downloader/.VSCodeCounter/2022-11-14_08-49-48/diff.md) | Markdown | 26 | 0 | 7 | 33 | -| [music-downloader/.VSCodeCounter/2022-11-14_08-49-48/results.json](/music-downloader/.VSCodeCounter/2022-11-14_08-49-48/results.json) | JSON | 1 | 0 | 0 | 1 | -| [music-downloader/.VSCodeCounter/2022-11-14_08-49-48/results.md](/music-downloader/.VSCodeCounter/2022-11-14_08-49-48/results.md) | Markdown | 33 | 0 | 7 | 40 | -| [music-downloader/.VSCodeCounter/2022-11-14_12-36-23/details.md](/music-downloader/.VSCodeCounter/2022-11-14_12-36-23/details.md) | Markdown | 34 | 0 | 6 | 40 | -| [music-downloader/.VSCodeCounter/2022-11-14_12-36-23/diff-details.md](/music-downloader/.VSCodeCounter/2022-11-14_12-36-23/diff-details.md) | Markdown | 40 | 0 | 6 | 46 | -| [music-downloader/.VSCodeCounter/2022-11-14_12-36-23/diff.md](/music-downloader/.VSCodeCounter/2022-11-14_12-36-23/diff.md) | Markdown | 28 | 0 | 7 | 35 | -| [music-downloader/.VSCodeCounter/2022-11-14_12-36-23/results.json](/music-downloader/.VSCodeCounter/2022-11-14_12-36-23/results.json) | JSON | 1 | 0 | 0 | 1 | -| [music-downloader/.VSCodeCounter/2022-11-14_12-36-23/results.md](/music-downloader/.VSCodeCounter/2022-11-14_12-36-23/results.md) | Markdown | 20 | 0 | 7 | 27 | -| [music-downloader/.VSCodeCounter/2022-11-14_15-47-38/details.md](/music-downloader/.VSCodeCounter/2022-11-14_15-47-38/details.md) | Markdown | 69 | 0 | 6 | 75 | -| [music-downloader/.VSCodeCounter/2022-11-14_15-47-38/diff-details.md](/music-downloader/.VSCodeCounter/2022-11-14_15-47-38/diff-details.md) | Markdown | 49 | 0 | 6 | 55 | -| [music-downloader/.VSCodeCounter/2022-11-14_15-47-38/diff.md](/music-downloader/.VSCodeCounter/2022-11-14_15-47-38/diff.md) | Markdown | 32 | 0 | 7 | 39 | -| [music-downloader/.VSCodeCounter/2022-11-14_15-47-38/results.json](/music-downloader/.VSCodeCounter/2022-11-14_15-47-38/results.json) | JSON | 1 | 0 | 0 | 1 | -| [music-downloader/.VSCodeCounter/2022-11-14_15-47-38/results.md](/music-downloader/.VSCodeCounter/2022-11-14_15-47-38/results.md) | Markdown | 34 | 0 | 7 | 41 | -| [music-downloader/.idea/dataSources.xml](/music-downloader/.idea/dataSources.xml) | XML | 12 | 0 | 0 | 12 | -| [music-downloader/.idea/inspectionProfiles/profiles_settings.xml](/music-downloader/.idea/inspectionProfiles/profiles_settings.xml) | XML | 6 | 0 | 0 | 6 | -| [music-downloader/.idea/misc.xml](/music-downloader/.idea/misc.xml) | XML | 4 | 0 | 0 | 4 | -| [music-downloader/.idea/modules.xml](/music-downloader/.idea/modules.xml) | XML | 9 | 0 | 0 | 9 | -| [music-downloader/.idea/music-downloader.iml](/music-downloader/.idea/music-downloader.iml) | XML | 11 | 0 | 0 | 11 | -| [music-downloader/.idea/vcs.xml](/music-downloader/.idea/vcs.xml) | XML | 6 | 0 | 0 | 6 | -| [music-downloader/README.md](/music-downloader/README.md) | Markdown | 138 | 0 | 60 | 198 | -| [music-downloader/assets/database_structure.sql](/music-downloader/assets/database_structure.sql) | SQLite | 53 | 0 | 6 | 59 | -| [music-downloader/build.sh](/music-downloader/build.sh) | Shell Script | 14 | 3 | 6 | 23 | -| [music-downloader/notes.md](/music-downloader/notes.md) | Markdown | 17 | 0 | 3 | 20 | -| [music-downloader/pyproject.toml](/music-downloader/pyproject.toml) | toml | 18 | 0 | 3 | 21 | -| [music-downloader/requirements.txt](/music-downloader/requirements.txt) | pip requirements | 8 | 0 | 0 | 8 | -| [music-downloader/setup.py](/music-downloader/setup.py) | Python | 28 | 1 | 3 | 32 | -| [music-downloader/src/music_kraken/__init__.py](/music-downloader/src/music_kraken/__init__.py) | Python | 80 | 3 | 23 | 106 | -| [music-downloader/src/music_kraken/__main__.py](/music-downloader/src/music_kraken/__main__.py) | Python | 3 | 0 | 3 | 6 | -| [music-downloader/src/music_kraken/audio/__init__.py](/music-downloader/src/music_kraken/audio/__init__.py) | Python | 0 | 0 | 1 | 1 | -| [music-downloader/src/music_kraken/audio/song.py](/music-downloader/src/music_kraken/audio/song.py) | Python | 3 | 0 | 1 | 4 | -| [music-downloader/src/music_kraken/download.py](/music-downloader/src/music_kraken/download.py) | Python | 56 | 11 | 18 | 85 | -| [music-downloader/src/music_kraken/download_links.py](/music-downloader/src/music_kraken/download_links.py) | Python | 30 | 11 | 15 | 56 | -| [music-downloader/src/music_kraken/lyrics/__init__.py](/music-downloader/src/music_kraken/lyrics/__init__.py) | Python | 0 | 0 | 1 | 1 | -| [music-downloader/src/music_kraken/lyrics/genius.py](/music-downloader/src/music_kraken/lyrics/genius.py) | Python | 99 | 38 | 35 | 172 | -| [music-downloader/src/music_kraken/lyrics/lyrics.py](/music-downloader/src/music_kraken/lyrics/lyrics.py) | Python | 50 | 19 | 26 | 95 | -| [music-downloader/src/music_kraken/metadata/__init__.py](/music-downloader/src/music_kraken/metadata/__init__.py) | Python | 0 | 0 | 1 | 1 | -| [music-downloader/src/music_kraken/metadata/database.py](/music-downloader/src/music_kraken/metadata/database.py) | Python | 161 | 66 | 40 | 267 | -| [music-downloader/src/music_kraken/metadata/download.py](/music-downloader/src/music_kraken/metadata/download.py) | Python | 254 | 24 | 63 | 341 | -| [music-downloader/src/music_kraken/metadata/object_handeling.py](/music-downloader/src/music_kraken/metadata/object_handeling.py) | Python | 19 | 0 | 6 | 25 | -| [music-downloader/src/music_kraken/metadata/search.py](/music-downloader/src/music_kraken/metadata/search.py) | Python | 253 | 40 | 72 | 365 | -| [music-downloader/src/music_kraken/scraping/__init__.py](/music-downloader/src/music_kraken/scraping/__init__.py) | Python | 0 | 0 | 1 | 1 | -| [music-downloader/src/music_kraken/scraping/file_system.py](/music-downloader/src/music_kraken/scraping/file_system.py) | Python | 40 | 0 | 18 | 58 | -| [music-downloader/src/music_kraken/scraping/musify.py](/music-downloader/src/music_kraken/scraping/musify.py) | Python | 100 | 2 | 35 | 137 | -| [music-downloader/src/music_kraken/scraping/phonetic_compares.py](/music-downloader/src/music_kraken/scraping/phonetic_compares.py) | Python | 15 | 0 | 8 | 23 | -| [music-downloader/src/music_kraken/scraping/youtube_music.py](/music-downloader/src/music_kraken/scraping/youtube_music.py) | Python | 66 | 2 | 19 | 87 | -| [music-downloader/src/music_kraken/url_to_path.py](/music-downloader/src/music_kraken/url_to_path.py) | Python | 35 | 6 | 18 | 59 | -| [music-downloader/src/music_kraken/utils/__init__.py](/music-downloader/src/music_kraken/utils/__init__.py) | Python | 1 | 1 | 1 | 3 | -| [music-downloader/src/music_kraken/utils/object_handeling.py](/music-downloader/src/music_kraken/utils/object_handeling.py) | Python | 19 | 0 | 6 | 25 | -| [music-downloader/src/music_kraken/utils/phonetic_compares.py](/music-downloader/src/music_kraken/utils/phonetic_compares.py) | Python | 34 | 0 | 15 | 49 | -| [music-downloader/src/music_kraken/utils/shared.py](/music-downloader/src/music_kraken/utils/shared.py) | Python | 35 | 0 | 11 | 46 | -| [music-downloader/src/music_kraken_cli.py](/music-downloader/src/music_kraken_cli.py) | Python | 3 | 0 | 2 | 5 | -| [music-downloader/src/try-programming-interface.py](/music-downloader/src/try-programming-interface.py) | Python | 3 | 0 | 2 | 5 | - -[Summary](results.md) / Details / [Diff Summary](diff.md) / [Diff Details](diff-details.md) \ No newline at end of file diff --git a/.VSCodeCounter/2022-11-15_14-12-28/diff-details.md b/.VSCodeCounter/2022-11-15_14-12-28/diff-details.md deleted file mode 100644 index f214614..0000000 --- a/.VSCodeCounter/2022-11-15_14-12-28/diff-details.md +++ /dev/null @@ -1,82 +0,0 @@ -# Diff Details - -Date : 2022-11-15 14:12:28 - -Directory /home/lars/Projects/music-downloader - -Total : 67 files, 133 codes, -15 comments, 14 blanks, all 132 lines - -[Summary](results.md) / [Details](details.md) / [Diff Summary](diff.md) / Diff Details - -## Files -| filename | language | code | comment | blank | total | -| :--- | :--- | ---: | ---: | ---: | ---: | -| [music-downloader/.VSCodeCounter/2022-11-07_11-51-29/details.md](/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/details.md) | Markdown | -37 | 0 | -6 | -43 | -| [music-downloader/.VSCodeCounter/2022-11-07_11-51-29/diff-details.md](/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/diff-details.md) | Markdown | -25 | 0 | -6 | -31 | -| [music-downloader/.VSCodeCounter/2022-11-07_11-51-29/diff.md](/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/diff.md) | Markdown | -22 | 0 | -7 | -29 | -| [music-downloader/.VSCodeCounter/2022-11-07_11-51-29/results.json](/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/results.json) | JSON | -1 | 0 | 0 | -1 | -| [music-downloader/.VSCodeCounter/2022-11-07_11-51-29/results.md](/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/results.md) | Markdown | -26 | 0 | -7 | -33 | -| [music-downloader/.VSCodeCounter/2022-11-14_15-47-38/details.md](/music-downloader/.VSCodeCounter/2022-11-14_15-47-38/details.md) | Markdown | 69 | 0 | 6 | 75 | -| [music-downloader/.VSCodeCounter/2022-11-14_15-47-38/diff-details.md](/music-downloader/.VSCodeCounter/2022-11-14_15-47-38/diff-details.md) | Markdown | 49 | 0 | 6 | 55 | -| [music-downloader/.VSCodeCounter/2022-11-14_15-47-38/diff.md](/music-downloader/.VSCodeCounter/2022-11-14_15-47-38/diff.md) | Markdown | 32 | 0 | 7 | 39 | -| [music-downloader/.VSCodeCounter/2022-11-14_15-47-38/results.json](/music-downloader/.VSCodeCounter/2022-11-14_15-47-38/results.json) | JSON | 1 | 0 | 0 | 1 | -| [music-downloader/.VSCodeCounter/2022-11-14_15-47-38/results.md](/music-downloader/.VSCodeCounter/2022-11-14_15-47-38/results.md) | Markdown | 34 | 0 | 7 | 41 | -| [music-downloader/README.md](/music-downloader/README.md) | Markdown | 36 | 0 | 24 | 60 | -| [music-downloader/assets/database_structure.sql](/music-downloader/assets/database_structure.sql) | SQLite | 1 | 0 | 0 | 1 | -| [music-downloader/build.sh](/music-downloader/build.sh) | Shell Script | 14 | 3 | 6 | 23 | -| [music-downloader/notes.md](/music-downloader/notes.md) | Markdown | 4 | 0 | 1 | 5 | -| [music-downloader/pyproject.toml](/music-downloader/pyproject.toml) | toml | 18 | 0 | 3 | 21 | -| [music-downloader/setup.py](/music-downloader/setup.py) | Python | 28 | 1 | 3 | 32 | -| [music-downloader/src/__init__.py](/music-downloader/src/__init__.py) | Python | 0 | 0 | -1 | -1 | -| [music-downloader/src/__main__.py](/music-downloader/src/__main__.py) | Python | -82 | -3 | -26 | -111 | -| [music-downloader/src/audio/__init__.py](/music-downloader/src/audio/__init__.py) | Python | 0 | 0 | -1 | -1 | -| [music-downloader/src/audio/song.py](/music-downloader/src/audio/song.py) | Python | -3 | 0 | -1 | -4 | -| [music-downloader/src/download.py](/music-downloader/src/download.py) | Python | -56 | -11 | -18 | -85 | -| [music-downloader/src/download_links.py](/music-downloader/src/download_links.py) | Python | -30 | -11 | -15 | -56 | -| [music-downloader/src/lyrics/__init__.py](/music-downloader/src/lyrics/__init__.py) | Python | 0 | 0 | -1 | -1 | -| [music-downloader/src/lyrics/genius.py](/music-downloader/src/lyrics/genius.py) | Python | -99 | -38 | -35 | -172 | -| [music-downloader/src/lyrics/lyrics.py](/music-downloader/src/lyrics/lyrics.py) | Python | -48 | -19 | -26 | -93 | -| [music-downloader/src/lyrics_.py](/music-downloader/src/lyrics_.py) | Python | -51 | -19 | -26 | -96 | -| [music-downloader/src/metadata/__init__.py](/music-downloader/src/metadata/__init__.py) | Python | 0 | 0 | -1 | -1 | -| [music-downloader/src/metadata/database.py](/music-downloader/src/metadata/database.py) | Python | -161 | -66 | -40 | -267 | -| [music-downloader/src/metadata/download.py](/music-downloader/src/metadata/download.py) | Python | -254 | -24 | -63 | -341 | -| [music-downloader/src/metadata/object_handeling.py](/music-downloader/src/metadata/object_handeling.py) | Python | -19 | 0 | -6 | -25 | -| [music-downloader/src/metadata/search.py](/music-downloader/src/metadata/search.py) | Python | -253 | -40 | -72 | -365 | -| [music-downloader/src/music_kraken/__init__.py](/music-downloader/src/music_kraken/__init__.py) | Python | 80 | 3 | 23 | 106 | -| [music-downloader/src/music_kraken/__main__.py](/music-downloader/src/music_kraken/__main__.py) | Python | 3 | 0 | 3 | 6 | -| [music-downloader/src/music_kraken/audio/__init__.py](/music-downloader/src/music_kraken/audio/__init__.py) | Python | 0 | 0 | 1 | 1 | -| [music-downloader/src/music_kraken/audio/song.py](/music-downloader/src/music_kraken/audio/song.py) | Python | 3 | 0 | 1 | 4 | -| [music-downloader/src/music_kraken/download.py](/music-downloader/src/music_kraken/download.py) | Python | 56 | 11 | 18 | 85 | -| [music-downloader/src/music_kraken/download_links.py](/music-downloader/src/music_kraken/download_links.py) | Python | 30 | 11 | 15 | 56 | -| [music-downloader/src/music_kraken/lyrics/__init__.py](/music-downloader/src/music_kraken/lyrics/__init__.py) | Python | 0 | 0 | 1 | 1 | -| [music-downloader/src/music_kraken/lyrics/genius.py](/music-downloader/src/music_kraken/lyrics/genius.py) | Python | 99 | 38 | 35 | 172 | -| [music-downloader/src/music_kraken/lyrics/lyrics.py](/music-downloader/src/music_kraken/lyrics/lyrics.py) | Python | 50 | 19 | 26 | 95 | -| [music-downloader/src/music_kraken/metadata/__init__.py](/music-downloader/src/music_kraken/metadata/__init__.py) | Python | 0 | 0 | 1 | 1 | -| [music-downloader/src/music_kraken/metadata/database.py](/music-downloader/src/music_kraken/metadata/database.py) | Python | 161 | 66 | 40 | 267 | -| [music-downloader/src/music_kraken/metadata/download.py](/music-downloader/src/music_kraken/metadata/download.py) | Python | 254 | 24 | 63 | 341 | -| [music-downloader/src/music_kraken/metadata/object_handeling.py](/music-downloader/src/music_kraken/metadata/object_handeling.py) | Python | 19 | 0 | 6 | 25 | -| [music-downloader/src/music_kraken/metadata/search.py](/music-downloader/src/music_kraken/metadata/search.py) | Python | 253 | 40 | 72 | 365 | -| [music-downloader/src/music_kraken/scraping/__init__.py](/music-downloader/src/music_kraken/scraping/__init__.py) | Python | 0 | 0 | 1 | 1 | -| [music-downloader/src/music_kraken/scraping/file_system.py](/music-downloader/src/music_kraken/scraping/file_system.py) | Python | 40 | 0 | 18 | 58 | -| [music-downloader/src/music_kraken/scraping/musify.py](/music-downloader/src/music_kraken/scraping/musify.py) | Python | 100 | 2 | 35 | 137 | -| [music-downloader/src/music_kraken/scraping/phonetic_compares.py](/music-downloader/src/music_kraken/scraping/phonetic_compares.py) | Python | 15 | 0 | 8 | 23 | -| [music-downloader/src/music_kraken/scraping/youtube_music.py](/music-downloader/src/music_kraken/scraping/youtube_music.py) | Python | 66 | 2 | 19 | 87 | -| [music-downloader/src/music_kraken/url_to_path.py](/music-downloader/src/music_kraken/url_to_path.py) | Python | 35 | 6 | 18 | 59 | -| [music-downloader/src/music_kraken/utils/__init__.py](/music-downloader/src/music_kraken/utils/__init__.py) | Python | 1 | 1 | 1 | 3 | -| [music-downloader/src/music_kraken/utils/object_handeling.py](/music-downloader/src/music_kraken/utils/object_handeling.py) | Python | 19 | 0 | 6 | 25 | -| [music-downloader/src/music_kraken/utils/phonetic_compares.py](/music-downloader/src/music_kraken/utils/phonetic_compares.py) | Python | 34 | 0 | 15 | 49 | -| [music-downloader/src/music_kraken/utils/shared.py](/music-downloader/src/music_kraken/utils/shared.py) | Python | 35 | 0 | 11 | 46 | -| [music-downloader/src/music_kraken_cli.py](/music-downloader/src/music_kraken_cli.py) | Python | 3 | 0 | 2 | 5 | -| [music-downloader/src/scraping/__init__.py](/music-downloader/src/scraping/__init__.py) | Python | 0 | 0 | -1 | -1 | -| [music-downloader/src/scraping/file_system.py](/music-downloader/src/scraping/file_system.py) | Python | -40 | 0 | -18 | -58 | -| [music-downloader/src/scraping/musify.py](/music-downloader/src/scraping/musify.py) | Python | -100 | -2 | -35 | -137 | -| [music-downloader/src/scraping/phonetic_compares.py](/music-downloader/src/scraping/phonetic_compares.py) | Python | -15 | 0 | -8 | -23 | -| [music-downloader/src/scraping/youtube_music.py](/music-downloader/src/scraping/youtube_music.py) | Python | -66 | -2 | -19 | -87 | -| [music-downloader/src/try-programming-interface.py](/music-downloader/src/try-programming-interface.py) | Python | 3 | 0 | 2 | 5 | -| [music-downloader/src/url_to_path.py](/music-downloader/src/url_to_path.py) | Python | -35 | -6 | -18 | -59 | -| [music-downloader/src/utils/__init__.py](/music-downloader/src/utils/__init__.py) | Python | -1 | -1 | -1 | -3 | -| [music-downloader/src/utils/object_handeling.py](/music-downloader/src/utils/object_handeling.py) | Python | -19 | 0 | -6 | -25 | -| [music-downloader/src/utils/phonetic_compares.py](/music-downloader/src/utils/phonetic_compares.py) | Python | -34 | 0 | -15 | -49 | -| [music-downloader/src/utils/shared.py](/music-downloader/src/utils/shared.py) | Python | -35 | 0 | -11 | -46 | - -[Summary](results.md) / [Details](details.md) / [Diff Summary](diff.md) / Diff Details \ No newline at end of file diff --git a/.VSCodeCounter/2022-11-15_14-12-28/diff.csv b/.VSCodeCounter/2022-11-15_14-12-28/diff.csv deleted file mode 100644 index aae07da..0000000 --- a/.VSCodeCounter/2022-11-15_14-12-28/diff.csv +++ /dev/null @@ -1,69 +0,0 @@ -"filename", "language", "SQLite", "Markdown", "JSON", "Python", "toml", "Shell Script", "comment", "blank", "total" -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/details.md", "Markdown", 0, -37, 0, 0, 0, 0, 0, -6, -43 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/diff-details.md", "Markdown", 0, -25, 0, 0, 0, 0, 0, -6, -31 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/diff.md", "Markdown", 0, -22, 0, 0, 0, 0, 0, -7, -29 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/results.json", "JSON", 0, 0, -1, 0, 0, 0, 0, 0, -1 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/results.md", "Markdown", 0, -26, 0, 0, 0, 0, 0, -7, -33 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_15-47-38/details.md", "Markdown", 0, 69, 0, 0, 0, 0, 0, 6, 75 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_15-47-38/diff-details.md", "Markdown", 0, 49, 0, 0, 0, 0, 0, 6, 55 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_15-47-38/diff.md", "Markdown", 0, 32, 0, 0, 0, 0, 0, 7, 39 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_15-47-38/results.json", "JSON", 0, 0, 1, 0, 0, 0, 0, 0, 1 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_15-47-38/results.md", "Markdown", 0, 34, 0, 0, 0, 0, 0, 7, 41 -"/home/lars/Projects/music-downloader/README.md", "Markdown", 0, 36, 0, 0, 0, 0, 0, 24, 60 -"/home/lars/Projects/music-downloader/assets/database_structure.sql", "SQLite", 1, 0, 0, 0, 0, 0, 0, 0, 1 -"/home/lars/Projects/music-downloader/build.sh", "Shell Script", 0, 0, 0, 0, 0, 14, 3, 6, 23 -"/home/lars/Projects/music-downloader/notes.md", "Markdown", 0, 4, 0, 0, 0, 0, 0, 1, 5 -"/home/lars/Projects/music-downloader/pyproject.toml", "toml", 0, 0, 0, 0, 18, 0, 0, 3, 21 -"/home/lars/Projects/music-downloader/setup.py", "Python", 0, 0, 0, 28, 0, 0, 1, 3, 32 -"/home/lars/Projects/music-downloader/src/__init__.py", "Python", 0, 0, 0, 0, 0, 0, 0, -1, -1 -"/home/lars/Projects/music-downloader/src/__main__.py", "Python", 0, 0, 0, -82, 0, 0, -3, -26, -111 -"/home/lars/Projects/music-downloader/src/audio/__init__.py", "Python", 0, 0, 0, 0, 0, 0, 0, -1, -1 -"/home/lars/Projects/music-downloader/src/audio/song.py", "Python", 0, 0, 0, -3, 0, 0, 0, -1, -4 -"/home/lars/Projects/music-downloader/src/download.py", "Python", 0, 0, 0, -56, 0, 0, -11, -18, -85 -"/home/lars/Projects/music-downloader/src/download_links.py", "Python", 0, 0, 0, -30, 0, 0, -11, -15, -56 -"/home/lars/Projects/music-downloader/src/lyrics/__init__.py", "Python", 0, 0, 0, 0, 0, 0, 0, -1, -1 -"/home/lars/Projects/music-downloader/src/lyrics/genius.py", "Python", 0, 0, 0, -99, 0, 0, -38, -35, -172 -"/home/lars/Projects/music-downloader/src/lyrics/lyrics.py", "Python", 0, 0, 0, -48, 0, 0, -19, -26, -93 -"/home/lars/Projects/music-downloader/src/lyrics_.py", "Python", 0, 0, 0, -51, 0, 0, -19, -26, -96 -"/home/lars/Projects/music-downloader/src/metadata/__init__.py", "Python", 0, 0, 0, 0, 0, 0, 0, -1, -1 -"/home/lars/Projects/music-downloader/src/metadata/database.py", "Python", 0, 0, 0, -161, 0, 0, -66, -40, -267 -"/home/lars/Projects/music-downloader/src/metadata/download.py", "Python", 0, 0, 0, -254, 0, 0, -24, -63, -341 -"/home/lars/Projects/music-downloader/src/metadata/object_handeling.py", "Python", 0, 0, 0, -19, 0, 0, 0, -6, -25 -"/home/lars/Projects/music-downloader/src/metadata/search.py", "Python", 0, 0, 0, -253, 0, 0, -40, -72, -365 -"/home/lars/Projects/music-downloader/src/music_kraken/__init__.py", "Python", 0, 0, 0, 80, 0, 0, 3, 23, 106 -"/home/lars/Projects/music-downloader/src/music_kraken/__main__.py", "Python", 0, 0, 0, 3, 0, 0, 0, 3, 6 -"/home/lars/Projects/music-downloader/src/music_kraken/audio/__init__.py", "Python", 0, 0, 0, 0, 0, 0, 0, 1, 1 -"/home/lars/Projects/music-downloader/src/music_kraken/audio/song.py", "Python", 0, 0, 0, 3, 0, 0, 0, 1, 4 -"/home/lars/Projects/music-downloader/src/music_kraken/download.py", "Python", 0, 0, 0, 56, 0, 0, 11, 18, 85 -"/home/lars/Projects/music-downloader/src/music_kraken/download_links.py", "Python", 0, 0, 0, 30, 0, 0, 11, 15, 56 -"/home/lars/Projects/music-downloader/src/music_kraken/lyrics/__init__.py", "Python", 0, 0, 0, 0, 0, 0, 0, 1, 1 -"/home/lars/Projects/music-downloader/src/music_kraken/lyrics/genius.py", "Python", 0, 0, 0, 99, 0, 0, 38, 35, 172 -"/home/lars/Projects/music-downloader/src/music_kraken/lyrics/lyrics.py", "Python", 0, 0, 0, 50, 0, 0, 19, 26, 95 -"/home/lars/Projects/music-downloader/src/music_kraken/metadata/__init__.py", "Python", 0, 0, 0, 0, 0, 0, 0, 1, 1 -"/home/lars/Projects/music-downloader/src/music_kraken/metadata/database.py", "Python", 0, 0, 0, 161, 0, 0, 66, 40, 267 -"/home/lars/Projects/music-downloader/src/music_kraken/metadata/download.py", "Python", 0, 0, 0, 254, 0, 0, 24, 63, 341 -"/home/lars/Projects/music-downloader/src/music_kraken/metadata/object_handeling.py", "Python", 0, 0, 0, 19, 0, 0, 0, 6, 25 -"/home/lars/Projects/music-downloader/src/music_kraken/metadata/search.py", "Python", 0, 0, 0, 253, 0, 0, 40, 72, 365 -"/home/lars/Projects/music-downloader/src/music_kraken/scraping/__init__.py", "Python", 0, 0, 0, 0, 0, 0, 0, 1, 1 -"/home/lars/Projects/music-downloader/src/music_kraken/scraping/file_system.py", "Python", 0, 0, 0, 40, 0, 0, 0, 18, 58 -"/home/lars/Projects/music-downloader/src/music_kraken/scraping/musify.py", "Python", 0, 0, 0, 100, 0, 0, 2, 35, 137 -"/home/lars/Projects/music-downloader/src/music_kraken/scraping/phonetic_compares.py", "Python", 0, 0, 0, 15, 0, 0, 0, 8, 23 -"/home/lars/Projects/music-downloader/src/music_kraken/scraping/youtube_music.py", "Python", 0, 0, 0, 66, 0, 0, 2, 19, 87 -"/home/lars/Projects/music-downloader/src/music_kraken/url_to_path.py", "Python", 0, 0, 0, 35, 0, 0, 6, 18, 59 -"/home/lars/Projects/music-downloader/src/music_kraken/utils/__init__.py", "Python", 0, 0, 0, 1, 0, 0, 1, 1, 3 -"/home/lars/Projects/music-downloader/src/music_kraken/utils/object_handeling.py", "Python", 0, 0, 0, 19, 0, 0, 0, 6, 25 -"/home/lars/Projects/music-downloader/src/music_kraken/utils/phonetic_compares.py", "Python", 0, 0, 0, 34, 0, 0, 0, 15, 49 -"/home/lars/Projects/music-downloader/src/music_kraken/utils/shared.py", "Python", 0, 0, 0, 35, 0, 0, 0, 11, 46 -"/home/lars/Projects/music-downloader/src/music_kraken_cli.py", "Python", 0, 0, 0, 3, 0, 0, 0, 2, 5 -"/home/lars/Projects/music-downloader/src/scraping/__init__.py", "Python", 0, 0, 0, 0, 0, 0, 0, -1, -1 -"/home/lars/Projects/music-downloader/src/scraping/file_system.py", "Python", 0, 0, 0, -40, 0, 0, 0, -18, -58 -"/home/lars/Projects/music-downloader/src/scraping/musify.py", "Python", 0, 0, 0, -100, 0, 0, -2, -35, -137 -"/home/lars/Projects/music-downloader/src/scraping/phonetic_compares.py", "Python", 0, 0, 0, -15, 0, 0, 0, -8, -23 -"/home/lars/Projects/music-downloader/src/scraping/youtube_music.py", "Python", 0, 0, 0, -66, 0, 0, -2, -19, -87 -"/home/lars/Projects/music-downloader/src/try-programming-interface.py", "Python", 0, 0, 0, 3, 0, 0, 0, 2, 5 -"/home/lars/Projects/music-downloader/src/url_to_path.py", "Python", 0, 0, 0, -35, 0, 0, -6, -18, -59 -"/home/lars/Projects/music-downloader/src/utils/__init__.py", "Python", 0, 0, 0, -1, 0, 0, -1, -1, -3 -"/home/lars/Projects/music-downloader/src/utils/object_handeling.py", "Python", 0, 0, 0, -19, 0, 0, 0, -6, -25 -"/home/lars/Projects/music-downloader/src/utils/phonetic_compares.py", "Python", 0, 0, 0, -34, 0, 0, 0, -15, -49 -"/home/lars/Projects/music-downloader/src/utils/shared.py", "Python", 0, 0, 0, -35, 0, 0, 0, -11, -46 -"Total", "-", 1, 114, 0, -14, 18, 14, -15, 14, 132 \ No newline at end of file diff --git a/.VSCodeCounter/2022-11-15_14-12-28/diff.md b/.VSCodeCounter/2022-11-15_14-12-28/diff.md deleted file mode 100644 index 40d795e..0000000 --- a/.VSCodeCounter/2022-11-15_14-12-28/diff.md +++ /dev/null @@ -1,42 +0,0 @@ -# Diff Summary - -Date : 2022-11-15 14:12:28 - -Directory /home/lars/Projects/music-downloader - -Total : 67 files, 133 codes, -15 comments, 14 blanks, all 132 lines - -[Summary](results.md) / [Details](details.md) / Diff Summary / [Diff Details](diff-details.md) - -## Languages -| language | files | code | comment | blank | total | -| :--- | ---: | ---: | ---: | ---: | ---: | -| Markdown | 10 | 114 | 0 | 25 | 139 | -| toml | 1 | 18 | 0 | 3 | 21 | -| Shell Script | 1 | 14 | 3 | 6 | 23 | -| SQLite | 1 | 1 | 0 | 0 | 1 | -| JSON | 2 | 0 | 0 | 0 | 0 | -| Python | 52 | -14 | -18 | -20 | -52 | - -## Directories -| path | files | code | comment | blank | total | -| :--- | ---: | ---: | ---: | ---: | ---: | -| . | 67 | 133 | -15 | 14 | 132 | -| .VSCodeCounter | 10 | 74 | 0 | 0 | 74 | -| .VSCodeCounter/2022-11-07_11-51-29 | 5 | -111 | 0 | -26 | -137 | -| .VSCodeCounter/2022-11-14_15-47-38 | 5 | 185 | 0 | 26 | 211 | -| assets | 1 | 1 | 0 | 0 | 1 | -| src | 51 | -42 | -19 | -23 | -84 | -| src/audio | 2 | -3 | 0 | -2 | -5 | -| src/lyrics | 3 | -147 | -57 | -62 | -266 | -| src/metadata | 5 | -687 | -130 | -182 | -999 | -| src/music_kraken | 24 | 1,353 | 223 | 437 | 2,013 | -| src/music_kraken/audio | 2 | 3 | 0 | 2 | 5 | -| src/music_kraken/lyrics | 3 | 149 | 57 | 62 | 268 | -| src/music_kraken/metadata | 5 | 687 | 130 | 182 | 999 | -| src/music_kraken/scraping | 5 | 221 | 4 | 81 | 306 | -| src/music_kraken/utils | 4 | 89 | 1 | 33 | 123 | -| src/scraping | 5 | -221 | -4 | -81 | -306 | -| src/utils | 4 | -89 | -1 | -33 | -123 | - -[Summary](results.md) / [Details](details.md) / Diff Summary / [Diff Details](diff-details.md) \ No newline at end of file diff --git a/.VSCodeCounter/2022-11-15_14-12-28/diff.txt b/.VSCodeCounter/2022-11-15_14-12-28/diff.txt deleted file mode 100644 index 92181c1..0000000 --- a/.VSCodeCounter/2022-11-15_14-12-28/diff.txt +++ /dev/null @@ -1,112 +0,0 @@ -Date : 2022-11-15 14:12:28 -Directory : /home/lars/Projects/music-downloader -Total : 67 files, 133 codes, -15 comments, 14 blanks, all 132 lines - -Languages -+--------------+------------+------------+------------+------------+------------+ -| language | files | code | comment | blank | total | -+--------------+------------+------------+------------+------------+------------+ -| Markdown | 10 | 114 | 0 | 25 | 139 | -| toml | 1 | 18 | 0 | 3 | 21 | -| Shell Script | 1 | 14 | 3 | 6 | 23 | -| SQLite | 1 | 1 | 0 | 0 | 1 | -| JSON | 2 | 0 | 0 | 0 | 0 | -| Python | 52 | -14 | -18 | -20 | -52 | -+--------------+------------+------------+------------+------------+------------+ - -Directories -+-----------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+ -| path | files | code | comment | blank | total | -+-----------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+ -| . | 67 | 133 | -15 | 14 | 132 | -| .VSCodeCounter | 10 | 74 | 0 | 0 | 74 | -| .VSCodeCounter/2022-11-07_11-51-29 | 5 | -111 | 0 | -26 | -137 | -| .VSCodeCounter/2022-11-14_15-47-38 | 5 | 185 | 0 | 26 | 211 | -| assets | 1 | 1 | 0 | 0 | 1 | -| src | 51 | -42 | -19 | -23 | -84 | -| src/audio | 2 | -3 | 0 | -2 | -5 | -| src/lyrics | 3 | -147 | -57 | -62 | -266 | -| src/metadata | 5 | -687 | -130 | -182 | -999 | -| src/music_kraken | 24 | 1,353 | 223 | 437 | 2,013 | -| src/music_kraken/audio | 2 | 3 | 0 | 2 | 5 | -| src/music_kraken/lyrics | 3 | 149 | 57 | 62 | 268 | -| src/music_kraken/metadata | 5 | 687 | 130 | 182 | 999 | -| src/music_kraken/scraping | 5 | 221 | 4 | 81 | 306 | -| src/music_kraken/utils | 4 | 89 | 1 | 33 | 123 | -| src/scraping | 5 | -221 | -4 | -81 | -306 | -| src/utils | 4 | -89 | -1 | -33 | -123 | -+-----------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+ - -Files -+-----------------------------------------------------------------------------------------+--------------+------------+------------+------------+------------+ -| filename | language | code | comment | blank | total | -+-----------------------------------------------------------------------------------------+--------------+------------+------------+------------+------------+ -| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/details.md | Markdown | -37 | 0 | -6 | -43 | -| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/diff-details.md | Markdown | -25 | 0 | -6 | -31 | -| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/diff.md | Markdown | -22 | 0 | -7 | -29 | -| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/results.json | JSON | -1 | 0 | 0 | -1 | -| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/results.md | Markdown | -26 | 0 | -7 | -33 | -| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_15-47-38/details.md | Markdown | 69 | 0 | 6 | 75 | -| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_15-47-38/diff-details.md | Markdown | 49 | 0 | 6 | 55 | -| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_15-47-38/diff.md | Markdown | 32 | 0 | 7 | 39 | -| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_15-47-38/results.json | JSON | 1 | 0 | 0 | 1 | -| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_15-47-38/results.md | Markdown | 34 | 0 | 7 | 41 | -| /home/lars/Projects/music-downloader/README.md | Markdown | 36 | 0 | 24 | 60 | -| /home/lars/Projects/music-downloader/assets/database_structure.sql | SQLite | 1 | 0 | 0 | 1 | -| /home/lars/Projects/music-downloader/build.sh | Shell Script | 14 | 3 | 6 | 23 | -| /home/lars/Projects/music-downloader/notes.md | Markdown | 4 | 0 | 1 | 5 | -| /home/lars/Projects/music-downloader/pyproject.toml | toml | 18 | 0 | 3 | 21 | -| /home/lars/Projects/music-downloader/setup.py | Python | 28 | 1 | 3 | 32 | -| /home/lars/Projects/music-downloader/src/__init__.py | Python | 0 | 0 | -1 | -1 | -| /home/lars/Projects/music-downloader/src/__main__.py | Python | -82 | -3 | -26 | -111 | -| /home/lars/Projects/music-downloader/src/audio/__init__.py | Python | 0 | 0 | -1 | -1 | -| /home/lars/Projects/music-downloader/src/audio/song.py | Python | -3 | 0 | -1 | -4 | -| /home/lars/Projects/music-downloader/src/download.py | Python | -56 | -11 | -18 | -85 | -| /home/lars/Projects/music-downloader/src/download_links.py | Python | -30 | -11 | -15 | -56 | -| /home/lars/Projects/music-downloader/src/lyrics/__init__.py | Python | 0 | 0 | -1 | -1 | -| /home/lars/Projects/music-downloader/src/lyrics/genius.py | Python | -99 | -38 | -35 | -172 | -| /home/lars/Projects/music-downloader/src/lyrics/lyrics.py | Python | -48 | -19 | -26 | -93 | -| /home/lars/Projects/music-downloader/src/lyrics_.py | Python | -51 | -19 | -26 | -96 | -| /home/lars/Projects/music-downloader/src/metadata/__init__.py | Python | 0 | 0 | -1 | -1 | -| /home/lars/Projects/music-downloader/src/metadata/database.py | Python | -161 | -66 | -40 | -267 | -| /home/lars/Projects/music-downloader/src/metadata/download.py | Python | -254 | -24 | -63 | -341 | -| /home/lars/Projects/music-downloader/src/metadata/object_handeling.py | Python | -19 | 0 | -6 | -25 | -| /home/lars/Projects/music-downloader/src/metadata/search.py | Python | -253 | -40 | -72 | -365 | -| /home/lars/Projects/music-downloader/src/music_kraken/__init__.py | Python | 80 | 3 | 23 | 106 | -| /home/lars/Projects/music-downloader/src/music_kraken/__main__.py | Python | 3 | 0 | 3 | 6 | -| /home/lars/Projects/music-downloader/src/music_kraken/audio/__init__.py | Python | 0 | 0 | 1 | 1 | -| /home/lars/Projects/music-downloader/src/music_kraken/audio/song.py | Python | 3 | 0 | 1 | 4 | -| /home/lars/Projects/music-downloader/src/music_kraken/download.py | Python | 56 | 11 | 18 | 85 | -| /home/lars/Projects/music-downloader/src/music_kraken/download_links.py | Python | 30 | 11 | 15 | 56 | -| /home/lars/Projects/music-downloader/src/music_kraken/lyrics/__init__.py | Python | 0 | 0 | 1 | 1 | -| /home/lars/Projects/music-downloader/src/music_kraken/lyrics/genius.py | Python | 99 | 38 | 35 | 172 | -| /home/lars/Projects/music-downloader/src/music_kraken/lyrics/lyrics.py | Python | 50 | 19 | 26 | 95 | -| /home/lars/Projects/music-downloader/src/music_kraken/metadata/__init__.py | Python | 0 | 0 | 1 | 1 | -| /home/lars/Projects/music-downloader/src/music_kraken/metadata/database.py | Python | 161 | 66 | 40 | 267 | -| /home/lars/Projects/music-downloader/src/music_kraken/metadata/download.py | Python | 254 | 24 | 63 | 341 | -| /home/lars/Projects/music-downloader/src/music_kraken/metadata/object_handeling.py | Python | 19 | 0 | 6 | 25 | -| /home/lars/Projects/music-downloader/src/music_kraken/metadata/search.py | Python | 253 | 40 | 72 | 365 | -| /home/lars/Projects/music-downloader/src/music_kraken/scraping/__init__.py | Python | 0 | 0 | 1 | 1 | -| /home/lars/Projects/music-downloader/src/music_kraken/scraping/file_system.py | Python | 40 | 0 | 18 | 58 | -| /home/lars/Projects/music-downloader/src/music_kraken/scraping/musify.py | Python | 100 | 2 | 35 | 137 | -| /home/lars/Projects/music-downloader/src/music_kraken/scraping/phonetic_compares.py | Python | 15 | 0 | 8 | 23 | -| /home/lars/Projects/music-downloader/src/music_kraken/scraping/youtube_music.py | Python | 66 | 2 | 19 | 87 | -| /home/lars/Projects/music-downloader/src/music_kraken/url_to_path.py | Python | 35 | 6 | 18 | 59 | -| /home/lars/Projects/music-downloader/src/music_kraken/utils/__init__.py | Python | 1 | 1 | 1 | 3 | -| /home/lars/Projects/music-downloader/src/music_kraken/utils/object_handeling.py | Python | 19 | 0 | 6 | 25 | -| /home/lars/Projects/music-downloader/src/music_kraken/utils/phonetic_compares.py | Python | 34 | 0 | 15 | 49 | -| /home/lars/Projects/music-downloader/src/music_kraken/utils/shared.py | Python | 35 | 0 | 11 | 46 | -| /home/lars/Projects/music-downloader/src/music_kraken_cli.py | Python | 3 | 0 | 2 | 5 | -| /home/lars/Projects/music-downloader/src/scraping/__init__.py | Python | 0 | 0 | -1 | -1 | -| /home/lars/Projects/music-downloader/src/scraping/file_system.py | Python | -40 | 0 | -18 | -58 | -| /home/lars/Projects/music-downloader/src/scraping/musify.py | Python | -100 | -2 | -35 | -137 | -| /home/lars/Projects/music-downloader/src/scraping/phonetic_compares.py | Python | -15 | 0 | -8 | -23 | -| /home/lars/Projects/music-downloader/src/scraping/youtube_music.py | Python | -66 | -2 | -19 | -87 | -| /home/lars/Projects/music-downloader/src/try-programming-interface.py | Python | 3 | 0 | 2 | 5 | -| /home/lars/Projects/music-downloader/src/url_to_path.py | Python | -35 | -6 | -18 | -59 | -| /home/lars/Projects/music-downloader/src/utils/__init__.py | Python | -1 | -1 | -1 | -3 | -| /home/lars/Projects/music-downloader/src/utils/object_handeling.py | Python | -19 | 0 | -6 | -25 | -| /home/lars/Projects/music-downloader/src/utils/phonetic_compares.py | Python | -34 | 0 | -15 | -49 | -| /home/lars/Projects/music-downloader/src/utils/shared.py | Python | -35 | 0 | -11 | -46 | -| Total | | 133 | -15 | 14 | 132 | -+-----------------------------------------------------------------------------------------+--------------+------------+------------+------------+------------+ \ No newline at end of file diff --git a/.VSCodeCounter/2022-11-15_14-12-28/results.csv b/.VSCodeCounter/2022-11-15_14-12-28/results.csv deleted file mode 100644 index 244e3d5..0000000 --- a/.VSCodeCounter/2022-11-15_14-12-28/results.csv +++ /dev/null @@ -1,66 +0,0 @@ -"filename", "language", "SQLite", "Markdown", "JSON", "XML", "Python", "toml", "Shell Script", "pip requirements", "comment", "blank", "total" -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/details.md", "Markdown", 0, 43, 0, 0, 0, 0, 0, 0, 0, 6, 49 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/diff-details.md", "Markdown", 0, 25, 0, 0, 0, 0, 0, 0, 0, 6, 31 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/diff.md", "Markdown", 0, 21, 0, 0, 0, 0, 0, 0, 0, 7, 28 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/results.json", "JSON", 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/results.md", "Markdown", 0, 28, 0, 0, 0, 0, 0, 0, 0, 7, 35 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/details.md", "Markdown", 0, 52, 0, 0, 0, 0, 0, 0, 0, 6, 58 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/diff-details.md", "Markdown", 0, 30, 0, 0, 0, 0, 0, 0, 0, 6, 36 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/diff.md", "Markdown", 0, 26, 0, 0, 0, 0, 0, 0, 0, 7, 33 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/results.json", "JSON", 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/results.md", "Markdown", 0, 31, 0, 0, 0, 0, 0, 0, 0, 7, 38 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_08-49-48/details.md", "Markdown", 0, 64, 0, 0, 0, 0, 0, 0, 0, 6, 70 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_08-49-48/diff-details.md", "Markdown", 0, 42, 0, 0, 0, 0, 0, 0, 0, 6, 48 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_08-49-48/diff.md", "Markdown", 0, 26, 0, 0, 0, 0, 0, 0, 0, 7, 33 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_08-49-48/results.json", "JSON", 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_08-49-48/results.md", "Markdown", 0, 33, 0, 0, 0, 0, 0, 0, 0, 7, 40 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_12-36-23/details.md", "Markdown", 0, 34, 0, 0, 0, 0, 0, 0, 0, 6, 40 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_12-36-23/diff-details.md", "Markdown", 0, 40, 0, 0, 0, 0, 0, 0, 0, 6, 46 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_12-36-23/diff.md", "Markdown", 0, 28, 0, 0, 0, 0, 0, 0, 0, 7, 35 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_12-36-23/results.json", "JSON", 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_12-36-23/results.md", "Markdown", 0, 20, 0, 0, 0, 0, 0, 0, 0, 7, 27 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_15-47-38/details.md", "Markdown", 0, 69, 0, 0, 0, 0, 0, 0, 0, 6, 75 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_15-47-38/diff-details.md", "Markdown", 0, 49, 0, 0, 0, 0, 0, 0, 0, 6, 55 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_15-47-38/diff.md", "Markdown", 0, 32, 0, 0, 0, 0, 0, 0, 0, 7, 39 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_15-47-38/results.json", "JSON", 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_15-47-38/results.md", "Markdown", 0, 34, 0, 0, 0, 0, 0, 0, 0, 7, 41 -"/home/lars/Projects/music-downloader/.idea/dataSources.xml", "XML", 0, 0, 0, 12, 0, 0, 0, 0, 0, 0, 12 -"/home/lars/Projects/music-downloader/.idea/inspectionProfiles/profiles_settings.xml", "XML", 0, 0, 0, 6, 0, 0, 0, 0, 0, 0, 6 -"/home/lars/Projects/music-downloader/.idea/misc.xml", "XML", 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 4 -"/home/lars/Projects/music-downloader/.idea/modules.xml", "XML", 0, 0, 0, 9, 0, 0, 0, 0, 0, 0, 9 -"/home/lars/Projects/music-downloader/.idea/music-downloader.iml", "XML", 0, 0, 0, 11, 0, 0, 0, 0, 0, 0, 11 -"/home/lars/Projects/music-downloader/.idea/vcs.xml", "XML", 0, 0, 0, 6, 0, 0, 0, 0, 0, 0, 6 -"/home/lars/Projects/music-downloader/README.md", "Markdown", 0, 138, 0, 0, 0, 0, 0, 0, 0, 60, 198 -"/home/lars/Projects/music-downloader/assets/database_structure.sql", "SQLite", 53, 0, 0, 0, 0, 0, 0, 0, 0, 6, 59 -"/home/lars/Projects/music-downloader/build.sh", "Shell Script", 0, 0, 0, 0, 0, 0, 14, 0, 3, 6, 23 -"/home/lars/Projects/music-downloader/notes.md", "Markdown", 0, 17, 0, 0, 0, 0, 0, 0, 0, 3, 20 -"/home/lars/Projects/music-downloader/pyproject.toml", "toml", 0, 0, 0, 0, 0, 18, 0, 0, 0, 3, 21 -"/home/lars/Projects/music-downloader/requirements.txt", "pip requirements", 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 8 -"/home/lars/Projects/music-downloader/setup.py", "Python", 0, 0, 0, 0, 28, 0, 0, 0, 1, 3, 32 -"/home/lars/Projects/music-downloader/src/music_kraken/__init__.py", "Python", 0, 0, 0, 0, 80, 0, 0, 0, 3, 23, 106 -"/home/lars/Projects/music-downloader/src/music_kraken/__main__.py", "Python", 0, 0, 0, 0, 3, 0, 0, 0, 0, 3, 6 -"/home/lars/Projects/music-downloader/src/music_kraken/audio/__init__.py", "Python", 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1 -"/home/lars/Projects/music-downloader/src/music_kraken/audio/song.py", "Python", 0, 0, 0, 0, 3, 0, 0, 0, 0, 1, 4 -"/home/lars/Projects/music-downloader/src/music_kraken/download.py", "Python", 0, 0, 0, 0, 56, 0, 0, 0, 11, 18, 85 -"/home/lars/Projects/music-downloader/src/music_kraken/download_links.py", "Python", 0, 0, 0, 0, 30, 0, 0, 0, 11, 15, 56 -"/home/lars/Projects/music-downloader/src/music_kraken/lyrics/__init__.py", "Python", 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1 -"/home/lars/Projects/music-downloader/src/music_kraken/lyrics/genius.py", "Python", 0, 0, 0, 0, 99, 0, 0, 0, 38, 35, 172 -"/home/lars/Projects/music-downloader/src/music_kraken/lyrics/lyrics.py", "Python", 0, 0, 0, 0, 50, 0, 0, 0, 19, 26, 95 -"/home/lars/Projects/music-downloader/src/music_kraken/metadata/__init__.py", "Python", 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1 -"/home/lars/Projects/music-downloader/src/music_kraken/metadata/database.py", "Python", 0, 0, 0, 0, 161, 0, 0, 0, 66, 40, 267 -"/home/lars/Projects/music-downloader/src/music_kraken/metadata/download.py", "Python", 0, 0, 0, 0, 254, 0, 0, 0, 24, 63, 341 -"/home/lars/Projects/music-downloader/src/music_kraken/metadata/object_handeling.py", "Python", 0, 0, 0, 0, 19, 0, 0, 0, 0, 6, 25 -"/home/lars/Projects/music-downloader/src/music_kraken/metadata/search.py", "Python", 0, 0, 0, 0, 253, 0, 0, 0, 40, 72, 365 -"/home/lars/Projects/music-downloader/src/music_kraken/scraping/__init__.py", "Python", 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1 -"/home/lars/Projects/music-downloader/src/music_kraken/scraping/file_system.py", "Python", 0, 0, 0, 0, 40, 0, 0, 0, 0, 18, 58 -"/home/lars/Projects/music-downloader/src/music_kraken/scraping/musify.py", "Python", 0, 0, 0, 0, 100, 0, 0, 0, 2, 35, 137 -"/home/lars/Projects/music-downloader/src/music_kraken/scraping/phonetic_compares.py", "Python", 0, 0, 0, 0, 15, 0, 0, 0, 0, 8, 23 -"/home/lars/Projects/music-downloader/src/music_kraken/scraping/youtube_music.py", "Python", 0, 0, 0, 0, 66, 0, 0, 0, 2, 19, 87 -"/home/lars/Projects/music-downloader/src/music_kraken/url_to_path.py", "Python", 0, 0, 0, 0, 35, 0, 0, 0, 6, 18, 59 -"/home/lars/Projects/music-downloader/src/music_kraken/utils/__init__.py", "Python", 0, 0, 0, 0, 1, 0, 0, 0, 1, 1, 3 -"/home/lars/Projects/music-downloader/src/music_kraken/utils/object_handeling.py", "Python", 0, 0, 0, 0, 19, 0, 0, 0, 0, 6, 25 -"/home/lars/Projects/music-downloader/src/music_kraken/utils/phonetic_compares.py", "Python", 0, 0, 0, 0, 34, 0, 0, 0, 0, 15, 49 -"/home/lars/Projects/music-downloader/src/music_kraken/utils/shared.py", "Python", 0, 0, 0, 0, 35, 0, 0, 0, 0, 11, 46 -"/home/lars/Projects/music-downloader/src/music_kraken_cli.py", "Python", 0, 0, 0, 0, 3, 0, 0, 0, 0, 2, 5 -"/home/lars/Projects/music-downloader/src/try-programming-interface.py", "Python", 0, 0, 0, 0, 3, 0, 0, 0, 0, 2, 5 -"Total", "-", 53, 882, 5, 48, 1387, 18, 14, 8, 227, 652, 3294 \ No newline at end of file diff --git a/.VSCodeCounter/2022-11-15_14-12-28/results.json b/.VSCodeCounter/2022-11-15_14-12-28/results.json deleted file mode 100644 index 81a70e5..0000000 --- a/.VSCodeCounter/2022-11-15_14-12-28/results.json +++ /dev/null @@ -1 +0,0 @@ -{"file:///home/lars/Projects/music-downloader/assets/database_structure.sql":{"language":"SQLite","code":53,"comment":0,"blank":6},"file:///home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_12-36-23/diff-details.md":{"language":"Markdown","code":40,"comment":0,"blank":6},"file:///home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_12-36-23/results.md":{"language":"Markdown","code":20,"comment":0,"blank":7},"file:///home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_12-36-23/details.md":{"language":"Markdown","code":34,"comment":0,"blank":6},"file:///home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_12-36-23/results.json":{"language":"JSON","code":1,"comment":0,"blank":0},"file:///home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/diff-details.md":{"language":"Markdown","code":25,"comment":0,"blank":6},"file:///home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/results.md":{"language":"Markdown","code":28,"comment":0,"blank":7},"file:///home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_12-36-23/diff.md":{"language":"Markdown","code":28,"comment":0,"blank":7},"file:///home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/details.md":{"language":"Markdown","code":43,"comment":0,"blank":6},"file:///home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/diff.md":{"language":"Markdown","code":21,"comment":0,"blank":7},"file:///home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/results.json":{"language":"JSON","code":1,"comment":0,"blank":0},"file:///home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_15-47-38/diff-details.md":{"language":"Markdown","code":49,"comment":0,"blank":6},"file:///home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_15-47-38/results.md":{"language":"Markdown","code":34,"comment":0,"blank":7},"file:///home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_15-47-38/details.md":{"language":"Markdown","code":69,"comment":0,"blank":6},"file:///home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_15-47-38/results.json":{"language":"JSON","code":1,"comment":0,"blank":0},"file:///home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/diff-details.md":{"language":"Markdown","code":30,"comment":0,"blank":6},"file:///home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_15-47-38/diff.md":{"language":"Markdown","code":32,"comment":0,"blank":7},"file:///home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/details.md":{"language":"Markdown","code":52,"comment":0,"blank":6},"file:///home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/results.md":{"language":"Markdown","code":31,"comment":0,"blank":7},"file:///home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/results.json":{"language":"JSON","code":1,"comment":0,"blank":0},"file:///home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/diff.md":{"language":"Markdown","code":26,"comment":0,"blank":7},"file:///home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_08-49-48/diff-details.md":{"language":"Markdown","code":42,"comment":0,"blank":6},"file:///home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_08-49-48/results.md":{"language":"Markdown","code":33,"comment":0,"blank":7},"file:///home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_08-49-48/details.md":{"language":"Markdown","code":64,"comment":0,"blank":6},"file:///home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_08-49-48/diff.md":{"language":"Markdown","code":26,"comment":0,"blank":7},"file:///home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_08-49-48/results.json":{"language":"JSON","code":1,"comment":0,"blank":0},"file:///home/lars/Projects/music-downloader/.idea/inspectionProfiles/profiles_settings.xml":{"language":"XML","code":6,"comment":0,"blank":0},"file:///home/lars/Projects/music-downloader/.idea/vcs.xml":{"language":"XML","code":6,"comment":0,"blank":0},"file:///home/lars/Projects/music-downloader/.idea/misc.xml":{"language":"XML","code":4,"comment":0,"blank":0},"file:///home/lars/Projects/music-downloader/notes.md":{"language":"Markdown","code":17,"comment":0,"blank":3},"file:///home/lars/Projects/music-downloader/setup.py":{"language":"Python","code":28,"comment":1,"blank":3},"file:///home/lars/Projects/music-downloader/README.md":{"language":"Markdown","code":138,"comment":0,"blank":60},"file:///home/lars/Projects/music-downloader/pyproject.toml":{"language":"toml","code":18,"comment":0,"blank":3},"file:///home/lars/Projects/music-downloader/.idea/modules.xml":{"language":"XML","code":9,"comment":0,"blank":0},"file:///home/lars/Projects/music-downloader/build.sh":{"language":"Shell Script","code":14,"comment":3,"blank":6},"file:///home/lars/Projects/music-downloader/src/music_kraken/url_to_path.py":{"language":"Python","code":35,"comment":6,"blank":18},"file:///home/lars/Projects/music-downloader/.idea/music-downloader.iml":{"language":"XML","code":11,"comment":0,"blank":0},"file:///home/lars/Projects/music-downloader/.idea/dataSources.xml":{"language":"XML","code":12,"comment":0,"blank":0},"file:///home/lars/Projects/music-downloader/src/music_kraken/__init__.py":{"language":"Python","code":80,"comment":3,"blank":23},"file:///home/lars/Projects/music-downloader/src/music_kraken/audio/__init__.py":{"language":"Python","code":0,"comment":0,"blank":1},"file:///home/lars/Projects/music-downloader/requirements.txt":{"language":"pip requirements","code":8,"comment":0,"blank":0},"file:///home/lars/Projects/music-downloader/src/music_kraken/audio/song.py":{"language":"Python","code":3,"comment":0,"blank":1},"file:///home/lars/Projects/music-downloader/src/music_kraken/download.py":{"language":"Python","code":56,"comment":11,"blank":18},"file:///home/lars/Projects/music-downloader/src/music_kraken/scraping/__init__.py":{"language":"Python","code":0,"comment":0,"blank":1},"file:///home/lars/Projects/music-downloader/src/music_kraken/scraping/youtube_music.py":{"language":"Python","code":66,"comment":2,"blank":19},"file:///home/lars/Projects/music-downloader/src/music_kraken/scraping/phonetic_compares.py":{"language":"Python","code":15,"comment":0,"blank":8},"file:///home/lars/Projects/music-downloader/src/music_kraken/scraping/musify.py":{"language":"Python","code":100,"comment":2,"blank":35},"file:///home/lars/Projects/music-downloader/src/music_kraken/scraping/file_system.py":{"language":"Python","code":40,"comment":0,"blank":18},"file:///home/lars/Projects/music-downloader/src/music_kraken/download_links.py":{"language":"Python","code":30,"comment":11,"blank":15},"file:///home/lars/Projects/music-downloader/src/music_kraken/metadata/search.py":{"language":"Python","code":253,"comment":40,"blank":72},"file:///home/lars/Projects/music-downloader/src/music_kraken/utils/shared.py":{"language":"Python","code":35,"comment":0,"blank":11},"file:///home/lars/Projects/music-downloader/src/music_kraken/metadata/database.py":{"language":"Python","code":161,"comment":66,"blank":40},"file:///home/lars/Projects/music-downloader/src/music_kraken/utils/phonetic_compares.py":{"language":"Python","code":34,"comment":0,"blank":15},"file:///home/lars/Projects/music-downloader/src/music_kraken/metadata/__init__.py":{"language":"Python","code":0,"comment":0,"blank":1},"file:///home/lars/Projects/music-downloader/src/music_kraken/utils/__init__.py":{"language":"Python","code":1,"comment":1,"blank":1},"file:///home/lars/Projects/music-downloader/src/music_kraken/utils/object_handeling.py":{"language":"Python","code":19,"comment":0,"blank":6},"file:///home/lars/Projects/music-downloader/src/music_kraken/metadata/download.py":{"language":"Python","code":254,"comment":24,"blank":63},"file:///home/lars/Projects/music-downloader/src/music_kraken/metadata/object_handeling.py":{"language":"Python","code":19,"comment":0,"blank":6},"file:///home/lars/Projects/music-downloader/src/music_kraken/__main__.py":{"language":"Python","code":3,"comment":0,"blank":3},"file:///home/lars/Projects/music-downloader/src/music_kraken/lyrics/__init__.py":{"language":"Python","code":0,"comment":0,"blank":1},"file:///home/lars/Projects/music-downloader/src/music_kraken/lyrics/genius.py":{"language":"Python","code":99,"comment":38,"blank":35},"file:///home/lars/Projects/music-downloader/src/music_kraken/lyrics/lyrics.py":{"language":"Python","code":50,"comment":19,"blank":26},"file:///home/lars/Projects/music-downloader/src/music_kraken_cli.py":{"language":"Python","code":3,"comment":0,"blank":2},"file:///home/lars/Projects/music-downloader/src/try-programming-interface.py":{"language":"Python","code":3,"comment":0,"blank":2}} \ No newline at end of file diff --git a/.VSCodeCounter/2022-11-15_14-12-28/results.md b/.VSCodeCounter/2022-11-15_14-12-28/results.md deleted file mode 100644 index 611e582..0000000 --- a/.VSCodeCounter/2022-11-15_14-12-28/results.md +++ /dev/null @@ -1,44 +0,0 @@ -# Summary - -Date : 2022-11-15 14:12:28 - -Directory /home/lars/Projects/music-downloader - -Total : 64 files, 2415 codes, 227 comments, 652 blanks, all 3294 lines - -Summary / [Details](details.md) / [Diff Summary](diff.md) / [Diff Details](diff-details.md) - -## Languages -| language | files | code | comment | blank | total | -| :--- | ---: | ---: | ---: | ---: | ---: | -| Python | 27 | 1,387 | 224 | 444 | 2,055 | -| Markdown | 22 | 882 | 0 | 193 | 1,075 | -| SQLite | 1 | 53 | 0 | 6 | 59 | -| XML | 6 | 48 | 0 | 0 | 48 | -| toml | 1 | 18 | 0 | 3 | 21 | -| Shell Script | 1 | 14 | 3 | 6 | 23 | -| pip requirements | 1 | 8 | 0 | 0 | 8 | -| JSON | 5 | 5 | 0 | 0 | 5 | - -## Directories -| path | files | code | comment | blank | total | -| :--- | ---: | ---: | ---: | ---: | ---: | -| . | 64 | 2,415 | 227 | 652 | 3,294 | -| .VSCodeCounter | 25 | 732 | 0 | 130 | 862 | -| .VSCodeCounter/2022-11-08_16-41-25 | 5 | 118 | 0 | 26 | 144 | -| .VSCodeCounter/2022-11-10_14-10-12 | 5 | 140 | 0 | 26 | 166 | -| .VSCodeCounter/2022-11-14_08-49-48 | 5 | 166 | 0 | 26 | 192 | -| .VSCodeCounter/2022-11-14_12-36-23 | 5 | 123 | 0 | 26 | 149 | -| .VSCodeCounter/2022-11-14_15-47-38 | 5 | 185 | 0 | 26 | 211 | -| .idea | 6 | 48 | 0 | 0 | 48 | -| .idea/inspectionProfiles | 1 | 6 | 0 | 0 | 6 | -| assets | 1 | 53 | 0 | 6 | 59 | -| src | 26 | 1,359 | 223 | 441 | 2,023 | -| src/music_kraken | 24 | 1,353 | 223 | 437 | 2,013 | -| src/music_kraken/audio | 2 | 3 | 0 | 2 | 5 | -| src/music_kraken/lyrics | 3 | 149 | 57 | 62 | 268 | -| src/music_kraken/metadata | 5 | 687 | 130 | 182 | 999 | -| src/music_kraken/scraping | 5 | 221 | 4 | 81 | 306 | -| src/music_kraken/utils | 4 | 89 | 1 | 33 | 123 | - -Summary / [Details](details.md) / [Diff Summary](diff.md) / [Diff Details](diff-details.md) \ No newline at end of file diff --git a/.VSCodeCounter/2022-11-15_14-12-28/results.txt b/.VSCodeCounter/2022-11-15_14-12-28/results.txt deleted file mode 100644 index c5376b2..0000000 --- a/.VSCodeCounter/2022-11-15_14-12-28/results.txt +++ /dev/null @@ -1,111 +0,0 @@ -Date : 2022-11-15 14:12:28 -Directory : /home/lars/Projects/music-downloader -Total : 64 files, 2415 codes, 227 comments, 652 blanks, all 3294 lines - -Languages -+------------------+------------+------------+------------+------------+------------+ -| language | files | code | comment | blank | total | -+------------------+------------+------------+------------+------------+------------+ -| Python | 27 | 1,387 | 224 | 444 | 2,055 | -| Markdown | 22 | 882 | 0 | 193 | 1,075 | -| SQLite | 1 | 53 | 0 | 6 | 59 | -| XML | 6 | 48 | 0 | 0 | 48 | -| toml | 1 | 18 | 0 | 3 | 21 | -| Shell Script | 1 | 14 | 3 | 6 | 23 | -| pip requirements | 1 | 8 | 0 | 0 | 8 | -| JSON | 5 | 5 | 0 | 0 | 5 | -+------------------+------------+------------+------------+------------+------------+ - -Directories -+-----------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+ -| path | files | code | comment | blank | total | -+-----------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+ -| . | 64 | 2,415 | 227 | 652 | 3,294 | -| .VSCodeCounter | 25 | 732 | 0 | 130 | 862 | -| .VSCodeCounter/2022-11-08_16-41-25 | 5 | 118 | 0 | 26 | 144 | -| .VSCodeCounter/2022-11-10_14-10-12 | 5 | 140 | 0 | 26 | 166 | -| .VSCodeCounter/2022-11-14_08-49-48 | 5 | 166 | 0 | 26 | 192 | -| .VSCodeCounter/2022-11-14_12-36-23 | 5 | 123 | 0 | 26 | 149 | -| .VSCodeCounter/2022-11-14_15-47-38 | 5 | 185 | 0 | 26 | 211 | -| .idea | 6 | 48 | 0 | 0 | 48 | -| .idea/inspectionProfiles | 1 | 6 | 0 | 0 | 6 | -| assets | 1 | 53 | 0 | 6 | 59 | -| src | 26 | 1,359 | 223 | 441 | 2,023 | -| src/music_kraken | 24 | 1,353 | 223 | 437 | 2,013 | -| src/music_kraken/audio | 2 | 3 | 0 | 2 | 5 | -| src/music_kraken/lyrics | 3 | 149 | 57 | 62 | 268 | -| src/music_kraken/metadata | 5 | 687 | 130 | 182 | 999 | -| src/music_kraken/scraping | 5 | 221 | 4 | 81 | 306 | -| src/music_kraken/utils | 4 | 89 | 1 | 33 | 123 | -+-----------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+ - -Files -+-----------------------------------------------------------------------------------------+------------------+------------+------------+------------+------------+ -| filename | language | code | comment | blank | total | -+-----------------------------------------------------------------------------------------+------------------+------------+------------+------------+------------+ -| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/details.md | Markdown | 43 | 0 | 6 | 49 | -| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/diff-details.md | Markdown | 25 | 0 | 6 | 31 | -| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/diff.md | Markdown | 21 | 0 | 7 | 28 | -| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/results.json | JSON | 1 | 0 | 0 | 1 | -| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/results.md | Markdown | 28 | 0 | 7 | 35 | -| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/details.md | Markdown | 52 | 0 | 6 | 58 | -| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/diff-details.md | Markdown | 30 | 0 | 6 | 36 | -| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/diff.md | Markdown | 26 | 0 | 7 | 33 | -| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/results.json | JSON | 1 | 0 | 0 | 1 | -| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/results.md | Markdown | 31 | 0 | 7 | 38 | -| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_08-49-48/details.md | Markdown | 64 | 0 | 6 | 70 | -| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_08-49-48/diff-details.md | Markdown | 42 | 0 | 6 | 48 | -| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_08-49-48/diff.md | Markdown | 26 | 0 | 7 | 33 | -| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_08-49-48/results.json | JSON | 1 | 0 | 0 | 1 | -| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_08-49-48/results.md | Markdown | 33 | 0 | 7 | 40 | -| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_12-36-23/details.md | Markdown | 34 | 0 | 6 | 40 | -| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_12-36-23/diff-details.md | Markdown | 40 | 0 | 6 | 46 | -| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_12-36-23/diff.md | Markdown | 28 | 0 | 7 | 35 | -| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_12-36-23/results.json | JSON | 1 | 0 | 0 | 1 | -| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_12-36-23/results.md | Markdown | 20 | 0 | 7 | 27 | -| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_15-47-38/details.md | Markdown | 69 | 0 | 6 | 75 | -| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_15-47-38/diff-details.md | Markdown | 49 | 0 | 6 | 55 | -| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_15-47-38/diff.md | Markdown | 32 | 0 | 7 | 39 | -| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_15-47-38/results.json | JSON | 1 | 0 | 0 | 1 | -| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_15-47-38/results.md | Markdown | 34 | 0 | 7 | 41 | -| /home/lars/Projects/music-downloader/.idea/dataSources.xml | XML | 12 | 0 | 0 | 12 | -| /home/lars/Projects/music-downloader/.idea/inspectionProfiles/profiles_settings.xml | XML | 6 | 0 | 0 | 6 | -| /home/lars/Projects/music-downloader/.idea/misc.xml | XML | 4 | 0 | 0 | 4 | -| /home/lars/Projects/music-downloader/.idea/modules.xml | XML | 9 | 0 | 0 | 9 | -| /home/lars/Projects/music-downloader/.idea/music-downloader.iml | XML | 11 | 0 | 0 | 11 | -| /home/lars/Projects/music-downloader/.idea/vcs.xml | XML | 6 | 0 | 0 | 6 | -| /home/lars/Projects/music-downloader/README.md | Markdown | 138 | 0 | 60 | 198 | -| /home/lars/Projects/music-downloader/assets/database_structure.sql | SQLite | 53 | 0 | 6 | 59 | -| /home/lars/Projects/music-downloader/build.sh | Shell Script | 14 | 3 | 6 | 23 | -| /home/lars/Projects/music-downloader/notes.md | Markdown | 17 | 0 | 3 | 20 | -| /home/lars/Projects/music-downloader/pyproject.toml | toml | 18 | 0 | 3 | 21 | -| /home/lars/Projects/music-downloader/requirements.txt | pip requirements | 8 | 0 | 0 | 8 | -| /home/lars/Projects/music-downloader/setup.py | Python | 28 | 1 | 3 | 32 | -| /home/lars/Projects/music-downloader/src/music_kraken/__init__.py | Python | 80 | 3 | 23 | 106 | -| /home/lars/Projects/music-downloader/src/music_kraken/__main__.py | Python | 3 | 0 | 3 | 6 | -| /home/lars/Projects/music-downloader/src/music_kraken/audio/__init__.py | Python | 0 | 0 | 1 | 1 | -| /home/lars/Projects/music-downloader/src/music_kraken/audio/song.py | Python | 3 | 0 | 1 | 4 | -| /home/lars/Projects/music-downloader/src/music_kraken/download.py | Python | 56 | 11 | 18 | 85 | -| /home/lars/Projects/music-downloader/src/music_kraken/download_links.py | Python | 30 | 11 | 15 | 56 | -| /home/lars/Projects/music-downloader/src/music_kraken/lyrics/__init__.py | Python | 0 | 0 | 1 | 1 | -| /home/lars/Projects/music-downloader/src/music_kraken/lyrics/genius.py | Python | 99 | 38 | 35 | 172 | -| /home/lars/Projects/music-downloader/src/music_kraken/lyrics/lyrics.py | Python | 50 | 19 | 26 | 95 | -| /home/lars/Projects/music-downloader/src/music_kraken/metadata/__init__.py | Python | 0 | 0 | 1 | 1 | -| /home/lars/Projects/music-downloader/src/music_kraken/metadata/database.py | Python | 161 | 66 | 40 | 267 | -| /home/lars/Projects/music-downloader/src/music_kraken/metadata/download.py | Python | 254 | 24 | 63 | 341 | -| /home/lars/Projects/music-downloader/src/music_kraken/metadata/object_handeling.py | Python | 19 | 0 | 6 | 25 | -| /home/lars/Projects/music-downloader/src/music_kraken/metadata/search.py | Python | 253 | 40 | 72 | 365 | -| /home/lars/Projects/music-downloader/src/music_kraken/scraping/__init__.py | Python | 0 | 0 | 1 | 1 | -| /home/lars/Projects/music-downloader/src/music_kraken/scraping/file_system.py | Python | 40 | 0 | 18 | 58 | -| /home/lars/Projects/music-downloader/src/music_kraken/scraping/musify.py | Python | 100 | 2 | 35 | 137 | -| /home/lars/Projects/music-downloader/src/music_kraken/scraping/phonetic_compares.py | Python | 15 | 0 | 8 | 23 | -| /home/lars/Projects/music-downloader/src/music_kraken/scraping/youtube_music.py | Python | 66 | 2 | 19 | 87 | -| /home/lars/Projects/music-downloader/src/music_kraken/url_to_path.py | Python | 35 | 6 | 18 | 59 | -| /home/lars/Projects/music-downloader/src/music_kraken/utils/__init__.py | Python | 1 | 1 | 1 | 3 | -| /home/lars/Projects/music-downloader/src/music_kraken/utils/object_handeling.py | Python | 19 | 0 | 6 | 25 | -| /home/lars/Projects/music-downloader/src/music_kraken/utils/phonetic_compares.py | Python | 34 | 0 | 15 | 49 | -| /home/lars/Projects/music-downloader/src/music_kraken/utils/shared.py | Python | 35 | 0 | 11 | 46 | -| /home/lars/Projects/music-downloader/src/music_kraken_cli.py | Python | 3 | 0 | 2 | 5 | -| /home/lars/Projects/music-downloader/src/try-programming-interface.py | Python | 3 | 0 | 2 | 5 | -| Total | | 2,415 | 227 | 652 | 3,294 | -+-----------------------------------------------------------------------------------------+------------------+------------+------------+------------+------------+ \ No newline at end of file diff --git a/.VSCodeCounter/2022-12-13_13-57-09/details.md b/.VSCodeCounter/2022-12-13_13-57-09/details.md new file mode 100644 index 0000000..f283763 --- /dev/null +++ b/.VSCodeCounter/2022-12-13_13-57-09/details.md @@ -0,0 +1,60 @@ +# Details + +Date : 2022-12-13 13:57:09 + +Directory /home/lars/Projects/music-downloader/src + +Total : 45 files, 2886 codes, 594 comments, 854 blanks, all 4334 lines + +[Summary](results.md) / Details / [Diff Summary](diff.md) / [Diff Details](diff-details.md) + +## Files +| filename | language | code | comment | blank | total | +| :--- | :--- | ---: | ---: | ---: | ---: | +| [src/__init__.py](/src/__init__.py) | Python | 0 | 0 | 1 | 1 | +| [src/goof.py](/src/goof.py) | Python | 74 | 4 | 19 | 97 | +| [src/music_kraken/__init__.py](/src/music_kraken/__init__.py) | Python | 117 | 32 | 48 | 197 | +| [src/music_kraken/__main__.py](/src/music_kraken/__main__.py) | Python | 3 | 2 | 3 | 8 | +| [src/music_kraken/audio_source/__init__.py](/src/music_kraken/audio_source/__init__.py) | Python | 10 | 0 | 5 | 15 | +| [src/music_kraken/audio_source/fetch_audio.py](/src/music_kraken/audio_source/fetch_audio.py) | Python | 75 | 12 | 20 | 107 | +| [src/music_kraken/audio_source/fetch_source.py](/src/music_kraken/audio_source/fetch_source.py) | Python | 54 | 1 | 16 | 71 | +| [src/music_kraken/audio_source/sources/__init__.py](/src/music_kraken/audio_source/sources/__init__.py) | Python | 0 | 0 | 1 | 1 | +| [src/music_kraken/audio_source/sources/local_files.py](/src/music_kraken/audio_source/sources/local_files.py) | Python | 40 | 0 | 18 | 58 | +| [src/music_kraken/audio_source/sources/musify.py](/src/music_kraken/audio_source/sources/musify.py) | Python | 136 | 9 | 37 | 182 | +| [src/music_kraken/audio_source/sources/source.py](/src/music_kraken/audio_source/sources/source.py) | Python | 11 | 5 | 8 | 24 | +| [src/music_kraken/audio_source/sources/youtube.py](/src/music_kraken/audio_source/sources/youtube.py) | Python | 71 | 4 | 24 | 99 | +| [src/music_kraken/database/__init__.py](/src/music_kraken/database/__init__.py) | Python | 11 | 1 | 4 | 16 | +| [src/music_kraken/database/database.py](/src/music_kraken/database/database.py) | Python | 191 | 102 | 45 | 338 | +| [src/music_kraken/database/get_song.py](/src/music_kraken/database/get_song.py) | Python | 40 | 5 | 11 | 56 | +| [src/music_kraken/database/new_database.py](/src/music_kraken/database/new_database.py) | Python | 327 | 98 | 89 | 514 | +| [src/music_kraken/database/objects/__init__.py](/src/music_kraken/database/objects/__init__.py) | Python | 10 | 0 | 3 | 13 | +| [src/music_kraken/database/objects/artist.py](/src/music_kraken/database/objects/artist.py) | Python | 18 | 0 | 5 | 23 | +| [src/music_kraken/database/objects/database_object.py](/src/music_kraken/database/objects/database_object.py) | Python | 28 | 7 | 13 | 48 | +| [src/music_kraken/database/objects/song.py](/src/music_kraken/database/objects/song.py) | Python | 255 | 61 | 86 | 402 | +| [src/music_kraken/database/song.py](/src/music_kraken/database/song.py) | Python | 125 | 20 | 45 | 190 | +| [src/music_kraken/database/temp_database.py](/src/music_kraken/database/temp_database.py) | Python | 12 | 0 | 8 | 20 | +| [src/music_kraken/lyrics/__init__.py](/src/music_kraken/lyrics/__init__.py) | Python | 0 | 0 | 1 | 1 | +| [src/music_kraken/lyrics/genius.py](/src/music_kraken/lyrics/genius.py) | Python | 115 | 16 | 42 | 173 | +| [src/music_kraken/lyrics/lyrics.py](/src/music_kraken/lyrics/lyrics.py) | Python | 36 | 25 | 20 | 81 | +| [src/music_kraken/metadata/__init__.py](/src/music_kraken/metadata/__init__.py) | Python | 6 | 0 | 2 | 8 | +| [src/music_kraken/metadata/metadata_fetch.py](/src/music_kraken/metadata/metadata_fetch.py) | Python | 257 | 24 | 65 | 346 | +| [src/music_kraken/metadata/metadata_search.py](/src/music_kraken/metadata/metadata_search.py) | Python | 253 | 40 | 72 | 365 | +| [src/music_kraken/metadata/sources/__init__.py](/src/music_kraken/metadata/sources/__init__.py) | Python | 3 | 0 | 2 | 5 | +| [src/music_kraken/metadata/sources/musicbrainz.py](/src/music_kraken/metadata/sources/musicbrainz.py) | Python | 42 | 6 | 9 | 57 | +| [src/music_kraken/static_files/new_db.sql](/src/music_kraken/static_files/new_db.sql) | SQLite | 70 | 0 | 10 | 80 | +| [src/music_kraken/static_files/temp_database_structure.sql](/src/music_kraken/static_files/temp_database_structure.sql) | SQLite | 135 | 0 | 10 | 145 | +| [src/music_kraken/tagging/__init__.py](/src/music_kraken/tagging/__init__.py) | Python | 0 | 0 | 1 | 1 | +| [src/music_kraken/tagging/song.py](/src/music_kraken/tagging/song.py) | Python | 3 | 0 | 1 | 4 | +| [src/music_kraken/target/__init__.py](/src/music_kraken/target/__init__.py) | Python | 4 | 0 | 2 | 6 | +| [src/music_kraken/target/set_target.py](/src/music_kraken/target/set_target.py) | Python | 37 | 7 | 18 | 62 | +| [src/music_kraken/utils/__init__.py](/src/music_kraken/utils/__init__.py) | Python | 1 | 1 | 1 | 3 | +| [src/music_kraken/utils/functions.py](/src/music_kraken/utils/functions.py) | Python | 3 | 0 | 1 | 4 | +| [src/music_kraken/utils/object_handeling.py](/src/music_kraken/utils/object_handeling.py) | Python | 19 | 0 | 6 | 25 | +| [src/music_kraken/utils/phonetic_compares.py](/src/music_kraken/utils/phonetic_compares.py) | Python | 39 | 2 | 17 | 58 | +| [src/music_kraken/utils/shared.py](/src/music_kraken/utils/shared.py) | Python | 60 | 3 | 9 | 72 | +| [src/music_kraken_cli.py](/src/music_kraken_cli.py) | Python | 94 | 9 | 32 | 135 | +| [src/music_kraken_gtk.py](/src/music_kraken_gtk.py) | Python | 3 | 0 | 2 | 5 | +| [src/test.db](/src/test.db) | Database | 84 | 0 | 0 | 84 | +| [src/try-programming-interface.py](/src/try-programming-interface.py) | Python | 14 | 98 | 22 | 134 | + +[Summary](results.md) / Details / [Diff Summary](diff.md) / [Diff Details](diff-details.md) \ No newline at end of file diff --git a/.VSCodeCounter/2022-12-13_13-57-09/diff-details.md b/.VSCodeCounter/2022-12-13_13-57-09/diff-details.md new file mode 100644 index 0000000..d63a3e6 --- /dev/null +++ b/.VSCodeCounter/2022-12-13_13-57-09/diff-details.md @@ -0,0 +1,25 @@ +# Diff Details + +Date : 2022-12-13 13:57:09 + +Directory /home/lars/Projects/music-downloader/src + +Total : 10 files, 326 codes, 36 comments, 80 blanks, all 442 lines + +[Summary](results.md) / [Details](details.md) / [Diff Summary](diff.md) / Diff Details + +## Files +| filename | language | code | comment | blank | total | +| :--- | :--- | ---: | ---: | ---: | ---: | +| [src/goof.py](/src/goof.py) | Python | 30 | -1 | 7 | 36 | +| [src/music_kraken/database/new_database.py](/src/music_kraken/database/new_database.py) | Python | 155 | 20 | 34 | 209 | +| [src/music_kraken/database/objects/__init__.py](/src/music_kraken/database/objects/__init__.py) | Python | -1 | 0 | -1 | -2 | +| [src/music_kraken/database/objects/database_object.py](/src/music_kraken/database/objects/database_object.py) | Python | 7 | 2 | 2 | 11 | +| [src/music_kraken/database/objects/song.py](/src/music_kraken/database/objects/song.py) | Python | 76 | 9 | 26 | 111 | +| [src/music_kraken/database/temp_database.py](/src/music_kraken/database/temp_database.py) | Python | 2 | 0 | 1 | 3 | +| [src/music_kraken/metadata/sources/__init__.py](/src/music_kraken/metadata/sources/__init__.py) | Python | 3 | 0 | 2 | 5 | +| [src/music_kraken/metadata/sources/musicbrainz.py](/src/music_kraken/metadata/sources/musicbrainz.py) | Python | 42 | 6 | 9 | 57 | +| [src/music_kraken/static_files/new_db.sql](/src/music_kraken/static_files/new_db.sql) | SQLite | 4 | 0 | 0 | 4 | +| [src/test.db](/src/test.db) | Database | 8 | 0 | 0 | 8 | + +[Summary](results.md) / [Details](details.md) / [Diff Summary](diff.md) / Diff Details \ No newline at end of file diff --git a/.VSCodeCounter/2022-12-13_13-57-09/diff.csv b/.VSCodeCounter/2022-12-13_13-57-09/diff.csv new file mode 100644 index 0000000..57d6be8 --- /dev/null +++ b/.VSCodeCounter/2022-12-13_13-57-09/diff.csv @@ -0,0 +1,12 @@ +"filename", "language", "Python", "SQLite", "Database", "comment", "blank", "total" +"/home/lars/Projects/music-downloader/src/goof.py", "Python", 30, 0, 0, -1, 7, 36 +"/home/lars/Projects/music-downloader/src/music_kraken/database/new_database.py", "Python", 155, 0, 0, 20, 34, 209 +"/home/lars/Projects/music-downloader/src/music_kraken/database/objects/__init__.py", "Python", -1, 0, 0, 0, -1, -2 +"/home/lars/Projects/music-downloader/src/music_kraken/database/objects/database_object.py", "Python", 7, 0, 0, 2, 2, 11 +"/home/lars/Projects/music-downloader/src/music_kraken/database/objects/song.py", "Python", 76, 0, 0, 9, 26, 111 +"/home/lars/Projects/music-downloader/src/music_kraken/database/temp_database.py", "Python", 2, 0, 0, 0, 1, 3 +"/home/lars/Projects/music-downloader/src/music_kraken/metadata/sources/__init__.py", "Python", 3, 0, 0, 0, 2, 5 +"/home/lars/Projects/music-downloader/src/music_kraken/metadata/sources/musicbrainz.py", "Python", 42, 0, 0, 6, 9, 57 +"/home/lars/Projects/music-downloader/src/music_kraken/static_files/new_db.sql", "SQLite", 0, 4, 0, 0, 0, 4 +"/home/lars/Projects/music-downloader/src/test.db", "Database", 0, 0, 8, 0, 0, 8 +"Total", "-", 314, 4, 8, 36, 80, 442 \ No newline at end of file diff --git a/.VSCodeCounter/2022-12-13_13-57-09/diff.md b/.VSCodeCounter/2022-12-13_13-57-09/diff.md new file mode 100644 index 0000000..5cd0217 --- /dev/null +++ b/.VSCodeCounter/2022-12-13_13-57-09/diff.md @@ -0,0 +1,29 @@ +# Diff Summary + +Date : 2022-12-13 13:57:09 + +Directory /home/lars/Projects/music-downloader/src + +Total : 10 files, 326 codes, 36 comments, 80 blanks, all 442 lines + +[Summary](results.md) / [Details](details.md) / Diff Summary / [Diff Details](diff-details.md) + +## Languages +| language | files | code | comment | blank | total | +| :--- | ---: | ---: | ---: | ---: | ---: | +| Python | 8 | 314 | 36 | 80 | 430 | +| Database | 1 | 8 | 0 | 0 | 8 | +| SQLite | 1 | 4 | 0 | 0 | 4 | + +## Directories +| path | files | code | comment | blank | total | +| :--- | ---: | ---: | ---: | ---: | ---: | +| . | 10 | 326 | 36 | 80 | 442 | +| music_kraken | 8 | 288 | 37 | 73 | 398 | +| music_kraken/database | 5 | 239 | 31 | 62 | 332 | +| music_kraken/database/objects | 3 | 82 | 11 | 27 | 120 | +| music_kraken/metadata | 2 | 45 | 6 | 11 | 62 | +| music_kraken/metadata/sources | 2 | 45 | 6 | 11 | 62 | +| music_kraken/static_files | 1 | 4 | 0 | 0 | 4 | + +[Summary](results.md) / [Details](details.md) / Diff Summary / [Diff Details](diff-details.md) \ No newline at end of file diff --git a/.VSCodeCounter/2022-12-13_13-57-09/diff.txt b/.VSCodeCounter/2022-12-13_13-57-09/diff.txt new file mode 100644 index 0000000..0a5a151 --- /dev/null +++ b/.VSCodeCounter/2022-12-13_13-57-09/diff.txt @@ -0,0 +1,42 @@ +Date : 2022-12-13 13:57:09 +Directory : /home/lars/Projects/music-downloader/src +Total : 10 files, 326 codes, 36 comments, 80 blanks, all 442 lines + +Languages ++----------+------------+------------+------------+------------+------------+ +| language | files | code | comment | blank | total | ++----------+------------+------------+------------+------------+------------+ +| Python | 8 | 314 | 36 | 80 | 430 | +| Database | 1 | 8 | 0 | 0 | 8 | +| SQLite | 1 | 4 | 0 | 0 | 4 | ++----------+------------+------------+------------+------------+------------+ + +Directories ++-------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+ +| path | files | code | comment | blank | total | ++-------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+ +| . | 10 | 326 | 36 | 80 | 442 | +| music_kraken | 8 | 288 | 37 | 73 | 398 | +| music_kraken/database | 5 | 239 | 31 | 62 | 332 | +| music_kraken/database/objects | 3 | 82 | 11 | 27 | 120 | +| music_kraken/metadata | 2 | 45 | 6 | 11 | 62 | +| music_kraken/metadata/sources | 2 | 45 | 6 | 11 | 62 | +| music_kraken/static_files | 1 | 4 | 0 | 0 | 4 | ++-------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+ + +Files ++-------------------------------------------------------------------------------------------+----------+------------+------------+------------+------------+ +| filename | language | code | comment | blank | total | ++-------------------------------------------------------------------------------------------+----------+------------+------------+------------+------------+ +| /home/lars/Projects/music-downloader/src/goof.py | Python | 30 | -1 | 7 | 36 | +| /home/lars/Projects/music-downloader/src/music_kraken/database/new_database.py | Python | 155 | 20 | 34 | 209 | +| /home/lars/Projects/music-downloader/src/music_kraken/database/objects/__init__.py | Python | -1 | 0 | -1 | -2 | +| /home/lars/Projects/music-downloader/src/music_kraken/database/objects/database_object.py | Python | 7 | 2 | 2 | 11 | +| /home/lars/Projects/music-downloader/src/music_kraken/database/objects/song.py | Python | 76 | 9 | 26 | 111 | +| /home/lars/Projects/music-downloader/src/music_kraken/database/temp_database.py | Python | 2 | 0 | 1 | 3 | +| /home/lars/Projects/music-downloader/src/music_kraken/metadata/sources/__init__.py | Python | 3 | 0 | 2 | 5 | +| /home/lars/Projects/music-downloader/src/music_kraken/metadata/sources/musicbrainz.py | Python | 42 | 6 | 9 | 57 | +| /home/lars/Projects/music-downloader/src/music_kraken/static_files/new_db.sql | SQLite | 4 | 0 | 0 | 4 | +| /home/lars/Projects/music-downloader/src/test.db | Database | 8 | 0 | 0 | 8 | +| Total | | 326 | 36 | 80 | 442 | ++-------------------------------------------------------------------------------------------+----------+------------+------------+------------+------------+ \ No newline at end of file diff --git a/.VSCodeCounter/2022-12-13_13-57-09/results.csv b/.VSCodeCounter/2022-12-13_13-57-09/results.csv new file mode 100644 index 0000000..d2fa0dc --- /dev/null +++ b/.VSCodeCounter/2022-12-13_13-57-09/results.csv @@ -0,0 +1,47 @@ +"filename", "language", "Python", "SQLite", "Database", "comment", "blank", "total" +"/home/lars/Projects/music-downloader/src/__init__.py", "Python", 0, 0, 0, 0, 1, 1 +"/home/lars/Projects/music-downloader/src/goof.py", "Python", 74, 0, 0, 4, 19, 97 +"/home/lars/Projects/music-downloader/src/music_kraken/__init__.py", "Python", 117, 0, 0, 32, 48, 197 +"/home/lars/Projects/music-downloader/src/music_kraken/__main__.py", "Python", 3, 0, 0, 2, 3, 8 +"/home/lars/Projects/music-downloader/src/music_kraken/audio_source/__init__.py", "Python", 10, 0, 0, 0, 5, 15 +"/home/lars/Projects/music-downloader/src/music_kraken/audio_source/fetch_audio.py", "Python", 75, 0, 0, 12, 20, 107 +"/home/lars/Projects/music-downloader/src/music_kraken/audio_source/fetch_source.py", "Python", 54, 0, 0, 1, 16, 71 +"/home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/__init__.py", "Python", 0, 0, 0, 0, 1, 1 +"/home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/local_files.py", "Python", 40, 0, 0, 0, 18, 58 +"/home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/musify.py", "Python", 136, 0, 0, 9, 37, 182 +"/home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/source.py", "Python", 11, 0, 0, 5, 8, 24 +"/home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/youtube.py", "Python", 71, 0, 0, 4, 24, 99 +"/home/lars/Projects/music-downloader/src/music_kraken/database/__init__.py", "Python", 11, 0, 0, 1, 4, 16 +"/home/lars/Projects/music-downloader/src/music_kraken/database/database.py", "Python", 191, 0, 0, 102, 45, 338 +"/home/lars/Projects/music-downloader/src/music_kraken/database/get_song.py", "Python", 40, 0, 0, 5, 11, 56 +"/home/lars/Projects/music-downloader/src/music_kraken/database/new_database.py", "Python", 327, 0, 0, 98, 89, 514 +"/home/lars/Projects/music-downloader/src/music_kraken/database/objects/__init__.py", "Python", 10, 0, 0, 0, 3, 13 +"/home/lars/Projects/music-downloader/src/music_kraken/database/objects/artist.py", "Python", 18, 0, 0, 0, 5, 23 +"/home/lars/Projects/music-downloader/src/music_kraken/database/objects/database_object.py", "Python", 28, 0, 0, 7, 13, 48 +"/home/lars/Projects/music-downloader/src/music_kraken/database/objects/song.py", "Python", 255, 0, 0, 61, 86, 402 +"/home/lars/Projects/music-downloader/src/music_kraken/database/song.py", "Python", 125, 0, 0, 20, 45, 190 +"/home/lars/Projects/music-downloader/src/music_kraken/database/temp_database.py", "Python", 12, 0, 0, 0, 8, 20 +"/home/lars/Projects/music-downloader/src/music_kraken/lyrics/__init__.py", "Python", 0, 0, 0, 0, 1, 1 +"/home/lars/Projects/music-downloader/src/music_kraken/lyrics/genius.py", "Python", 115, 0, 0, 16, 42, 173 +"/home/lars/Projects/music-downloader/src/music_kraken/lyrics/lyrics.py", "Python", 36, 0, 0, 25, 20, 81 +"/home/lars/Projects/music-downloader/src/music_kraken/metadata/__init__.py", "Python", 6, 0, 0, 0, 2, 8 +"/home/lars/Projects/music-downloader/src/music_kraken/metadata/metadata_fetch.py", "Python", 257, 0, 0, 24, 65, 346 +"/home/lars/Projects/music-downloader/src/music_kraken/metadata/metadata_search.py", "Python", 253, 0, 0, 40, 72, 365 +"/home/lars/Projects/music-downloader/src/music_kraken/metadata/sources/__init__.py", "Python", 3, 0, 0, 0, 2, 5 +"/home/lars/Projects/music-downloader/src/music_kraken/metadata/sources/musicbrainz.py", "Python", 42, 0, 0, 6, 9, 57 +"/home/lars/Projects/music-downloader/src/music_kraken/static_files/new_db.sql", "SQLite", 0, 70, 0, 0, 10, 80 +"/home/lars/Projects/music-downloader/src/music_kraken/static_files/temp_database_structure.sql", "SQLite", 0, 135, 0, 0, 10, 145 +"/home/lars/Projects/music-downloader/src/music_kraken/tagging/__init__.py", "Python", 0, 0, 0, 0, 1, 1 +"/home/lars/Projects/music-downloader/src/music_kraken/tagging/song.py", "Python", 3, 0, 0, 0, 1, 4 +"/home/lars/Projects/music-downloader/src/music_kraken/target/__init__.py", "Python", 4, 0, 0, 0, 2, 6 +"/home/lars/Projects/music-downloader/src/music_kraken/target/set_target.py", "Python", 37, 0, 0, 7, 18, 62 +"/home/lars/Projects/music-downloader/src/music_kraken/utils/__init__.py", "Python", 1, 0, 0, 1, 1, 3 +"/home/lars/Projects/music-downloader/src/music_kraken/utils/functions.py", "Python", 3, 0, 0, 0, 1, 4 +"/home/lars/Projects/music-downloader/src/music_kraken/utils/object_handeling.py", "Python", 19, 0, 0, 0, 6, 25 +"/home/lars/Projects/music-downloader/src/music_kraken/utils/phonetic_compares.py", "Python", 39, 0, 0, 2, 17, 58 +"/home/lars/Projects/music-downloader/src/music_kraken/utils/shared.py", "Python", 60, 0, 0, 3, 9, 72 +"/home/lars/Projects/music-downloader/src/music_kraken_cli.py", "Python", 94, 0, 0, 9, 32, 135 +"/home/lars/Projects/music-downloader/src/music_kraken_gtk.py", "Python", 3, 0, 0, 0, 2, 5 +"/home/lars/Projects/music-downloader/src/test.db", "Database", 0, 0, 84, 0, 0, 84 +"/home/lars/Projects/music-downloader/src/try-programming-interface.py", "Python", 14, 0, 0, 98, 22, 134 +"Total", "-", 2597, 205, 84, 594, 854, 4334 \ No newline at end of file diff --git a/.VSCodeCounter/2022-12-13_13-57-09/results.json b/.VSCodeCounter/2022-12-13_13-57-09/results.json new file mode 100644 index 0000000..1f981a0 --- /dev/null +++ b/.VSCodeCounter/2022-12-13_13-57-09/results.json @@ -0,0 +1 @@ +{"file:///home/lars/Projects/music-downloader/src/__init__.py":{"language":"Python","code":0,"comment":0,"blank":1},"file:///home/lars/Projects/music-downloader/src/music_kraken/__init__.py":{"language":"Python","code":117,"comment":32,"blank":48},"file:///home/lars/Projects/music-downloader/src/music_kraken/audio_source/__init__.py":{"language":"Python","code":10,"comment":0,"blank":5},"file:///home/lars/Projects/music-downloader/src/music_kraken/audio_source/fetch_audio.py":{"language":"Python","code":75,"comment":12,"blank":20},"file:///home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/local_files.py":{"language":"Python","code":40,"comment":0,"blank":18},"file:///home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/musify.py":{"language":"Python","code":136,"comment":9,"blank":37},"file:///home/lars/Projects/music-downloader/src/music_kraken/audio_source/fetch_source.py":{"language":"Python","code":54,"comment":1,"blank":16},"file:///home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/__init__.py":{"language":"Python","code":0,"comment":0,"blank":1},"file:///home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/source.py":{"language":"Python","code":11,"comment":5,"blank":8},"file:///home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/youtube.py":{"language":"Python","code":71,"comment":4,"blank":24},"file:///home/lars/Projects/music-downloader/src/music_kraken/database/new_database.py":{"language":"Python","code":327,"comment":98,"blank":89},"file:///home/lars/Projects/music-downloader/src/music_kraken/database/database.py":{"language":"Python","code":191,"comment":102,"blank":45},"file:///home/lars/Projects/music-downloader/src/music_kraken/database/__init__.py":{"language":"Python","code":11,"comment":1,"blank":4},"file:///home/lars/Projects/music-downloader/src/music_kraken/database/get_song.py":{"language":"Python","code":40,"comment":5,"blank":11},"file:///home/lars/Projects/music-downloader/src/music_kraken/database/temp_database.py":{"language":"Python","code":12,"comment":0,"blank":8},"file:///home/lars/Projects/music-downloader/src/music_kraken/database/song.py":{"language":"Python","code":125,"comment":20,"blank":45},"file:///home/lars/Projects/music-downloader/src/music_kraken/database/objects/__init__.py":{"language":"Python","code":10,"comment":0,"blank":3},"file:///home/lars/Projects/music-downloader/src/music_kraken/database/objects/database_object.py":{"language":"Python","code":28,"comment":7,"blank":13},"file:///home/lars/Projects/music-downloader/src/music_kraken/database/objects/song.py":{"language":"Python","code":255,"comment":61,"blank":86},"file:///home/lars/Projects/music-downloader/src/music_kraken/database/objects/artist.py":{"language":"Python","code":18,"comment":0,"blank":5},"file:///home/lars/Projects/music-downloader/src/music_kraken/utils/__init__.py":{"language":"Python","code":1,"comment":1,"blank":1},"file:///home/lars/Projects/music-downloader/src/music_kraken/utils/object_handeling.py":{"language":"Python","code":19,"comment":0,"blank":6},"file:///home/lars/Projects/music-downloader/src/music_kraken/utils/phonetic_compares.py":{"language":"Python","code":39,"comment":2,"blank":17},"file:///home/lars/Projects/music-downloader/src/music_kraken/utils/shared.py":{"language":"Python","code":60,"comment":3,"blank":9},"file:///home/lars/Projects/music-downloader/src/music_kraken/static_files/temp_database_structure.sql":{"language":"SQLite","code":135,"comment":0,"blank":10},"file:///home/lars/Projects/music-downloader/src/music_kraken/utils/functions.py":{"language":"Python","code":3,"comment":0,"blank":1},"file:///home/lars/Projects/music-downloader/src/music_kraken/metadata/__init__.py":{"language":"Python","code":6,"comment":0,"blank":2},"file:///home/lars/Projects/music-downloader/src/music_kraken/static_files/new_db.sql":{"language":"SQLite","code":70,"comment":0,"blank":10},"file:///home/lars/Projects/music-downloader/src/music_kraken/metadata/metadata_search.py":{"language":"Python","code":253,"comment":40,"blank":72},"file:///home/lars/Projects/music-downloader/src/music_kraken/metadata/metadata_fetch.py":{"language":"Python","code":257,"comment":24,"blank":65},"file:///home/lars/Projects/music-downloader/src/music_kraken/metadata/sources/__init__.py":{"language":"Python","code":3,"comment":0,"blank":2},"file:///home/lars/Projects/music-downloader/src/music_kraken/metadata/sources/musicbrainz.py":{"language":"Python","code":42,"comment":6,"blank":9},"file:///home/lars/Projects/music-downloader/src/music_kraken/__main__.py":{"language":"Python","code":3,"comment":2,"blank":3},"file:///home/lars/Projects/music-downloader/src/music_kraken/tagging/__init__.py":{"language":"Python","code":0,"comment":0,"blank":1},"file:///home/lars/Projects/music-downloader/src/music_kraken/tagging/song.py":{"language":"Python","code":3,"comment":0,"blank":1},"file:///home/lars/Projects/music-downloader/src/music_kraken/target/__init__.py":{"language":"Python","code":4,"comment":0,"blank":2},"file:///home/lars/Projects/music-downloader/src/music_kraken/target/set_target.py":{"language":"Python","code":37,"comment":7,"blank":18},"file:///home/lars/Projects/music-downloader/src/music_kraken/lyrics/__init__.py":{"language":"Python","code":0,"comment":0,"blank":1},"file:///home/lars/Projects/music-downloader/src/music_kraken/lyrics/lyrics.py":{"language":"Python","code":36,"comment":25,"blank":20},"file:///home/lars/Projects/music-downloader/src/music_kraken/lyrics/genius.py":{"language":"Python","code":115,"comment":16,"blank":42},"file:///home/lars/Projects/music-downloader/src/goof.py":{"language":"Python","code":74,"comment":4,"blank":19},"file:///home/lars/Projects/music-downloader/src/music_kraken_cli.py":{"language":"Python","code":94,"comment":9,"blank":32},"file:///home/lars/Projects/music-downloader/src/try-programming-interface.py":{"language":"Python","code":14,"comment":98,"blank":22},"file:///home/lars/Projects/music-downloader/src/test.db":{"language":"Database","code":84,"comment":0,"blank":0},"file:///home/lars/Projects/music-downloader/src/music_kraken_gtk.py":{"language":"Python","code":3,"comment":0,"blank":2}} \ No newline at end of file diff --git a/.VSCodeCounter/2022-12-13_13-57-09/results.md b/.VSCodeCounter/2022-12-13_13-57-09/results.md new file mode 100644 index 0000000..2737eb3 --- /dev/null +++ b/.VSCodeCounter/2022-12-13_13-57-09/results.md @@ -0,0 +1,35 @@ +# Summary + +Date : 2022-12-13 13:57:09 + +Directory /home/lars/Projects/music-downloader/src + +Total : 45 files, 2886 codes, 594 comments, 854 blanks, all 4334 lines + +Summary / [Details](details.md) / [Diff Summary](diff.md) / [Diff Details](diff-details.md) + +## Languages +| language | files | code | comment | blank | total | +| :--- | ---: | ---: | ---: | ---: | ---: | +| Python | 42 | 2,597 | 594 | 834 | 4,025 | +| SQLite | 2 | 205 | 0 | 20 | 225 | +| Database | 1 | 84 | 0 | 0 | 84 | + +## Directories +| path | files | code | comment | blank | total | +| :--- | ---: | ---: | ---: | ---: | ---: | +| . | 45 | 2,886 | 594 | 854 | 4,334 | +| music_kraken | 39 | 2,617 | 483 | 778 | 3,878 | +| music_kraken/audio_source | 8 | 397 | 31 | 129 | 557 | +| music_kraken/audio_source/sources | 5 | 258 | 18 | 88 | 364 | +| music_kraken/database | 10 | 1,017 | 294 | 309 | 1,620 | +| music_kraken/database/objects | 4 | 311 | 68 | 107 | 486 | +| music_kraken/lyrics | 3 | 151 | 41 | 63 | 255 | +| music_kraken/metadata | 5 | 561 | 70 | 150 | 781 | +| music_kraken/metadata/sources | 2 | 45 | 6 | 11 | 62 | +| music_kraken/static_files | 2 | 205 | 0 | 20 | 225 | +| music_kraken/tagging | 2 | 3 | 0 | 2 | 5 | +| music_kraken/target | 2 | 41 | 7 | 20 | 68 | +| music_kraken/utils | 5 | 122 | 6 | 34 | 162 | + +Summary / [Details](details.md) / [Diff Summary](diff.md) / [Diff Details](diff-details.md) \ No newline at end of file diff --git a/.VSCodeCounter/2022-12-13_13-57-09/results.txt b/.VSCodeCounter/2022-12-13_13-57-09/results.txt new file mode 100644 index 0000000..87f8c64 --- /dev/null +++ b/.VSCodeCounter/2022-12-13_13-57-09/results.txt @@ -0,0 +1,83 @@ +Date : 2022-12-13 13:57:09 +Directory : /home/lars/Projects/music-downloader/src +Total : 45 files, 2886 codes, 594 comments, 854 blanks, all 4334 lines + +Languages ++----------+------------+------------+------------+------------+------------+ +| language | files | code | comment | blank | total | ++----------+------------+------------+------------+------------+------------+ +| Python | 42 | 2,597 | 594 | 834 | 4,025 | +| SQLite | 2 | 205 | 0 | 20 | 225 | +| Database | 1 | 84 | 0 | 0 | 84 | ++----------+------------+------------+------------+------------+------------+ + +Directories ++------------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+ +| path | files | code | comment | blank | total | ++------------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+ +| . | 45 | 2,886 | 594 | 854 | 4,334 | +| music_kraken | 39 | 2,617 | 483 | 778 | 3,878 | +| music_kraken/audio_source | 8 | 397 | 31 | 129 | 557 | +| music_kraken/audio_source/sources | 5 | 258 | 18 | 88 | 364 | +| music_kraken/database | 10 | 1,017 | 294 | 309 | 1,620 | +| music_kraken/database/objects | 4 | 311 | 68 | 107 | 486 | +| music_kraken/lyrics | 3 | 151 | 41 | 63 | 255 | +| music_kraken/metadata | 5 | 561 | 70 | 150 | 781 | +| music_kraken/metadata/sources | 2 | 45 | 6 | 11 | 62 | +| music_kraken/static_files | 2 | 205 | 0 | 20 | 225 | +| music_kraken/tagging | 2 | 3 | 0 | 2 | 5 | +| music_kraken/target | 2 | 41 | 7 | 20 | 68 | +| music_kraken/utils | 5 | 122 | 6 | 34 | 162 | ++------------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+ + +Files ++------------------------------------------------------------------------------------------------+----------+------------+------------+------------+------------+ +| filename | language | code | comment | blank | total | ++------------------------------------------------------------------------------------------------+----------+------------+------------+------------+------------+ +| /home/lars/Projects/music-downloader/src/__init__.py | Python | 0 | 0 | 1 | 1 | +| /home/lars/Projects/music-downloader/src/goof.py | Python | 74 | 4 | 19 | 97 | +| /home/lars/Projects/music-downloader/src/music_kraken/__init__.py | Python | 117 | 32 | 48 | 197 | +| /home/lars/Projects/music-downloader/src/music_kraken/__main__.py | Python | 3 | 2 | 3 | 8 | +| /home/lars/Projects/music-downloader/src/music_kraken/audio_source/__init__.py | Python | 10 | 0 | 5 | 15 | +| /home/lars/Projects/music-downloader/src/music_kraken/audio_source/fetch_audio.py | Python | 75 | 12 | 20 | 107 | +| /home/lars/Projects/music-downloader/src/music_kraken/audio_source/fetch_source.py | Python | 54 | 1 | 16 | 71 | +| /home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/__init__.py | Python | 0 | 0 | 1 | 1 | +| /home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/local_files.py | Python | 40 | 0 | 18 | 58 | +| /home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/musify.py | Python | 136 | 9 | 37 | 182 | +| /home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/source.py | Python | 11 | 5 | 8 | 24 | +| /home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/youtube.py | Python | 71 | 4 | 24 | 99 | +| /home/lars/Projects/music-downloader/src/music_kraken/database/__init__.py | Python | 11 | 1 | 4 | 16 | +| /home/lars/Projects/music-downloader/src/music_kraken/database/database.py | Python | 191 | 102 | 45 | 338 | +| /home/lars/Projects/music-downloader/src/music_kraken/database/get_song.py | Python | 40 | 5 | 11 | 56 | +| /home/lars/Projects/music-downloader/src/music_kraken/database/new_database.py | Python | 327 | 98 | 89 | 514 | +| /home/lars/Projects/music-downloader/src/music_kraken/database/objects/__init__.py | Python | 10 | 0 | 3 | 13 | +| /home/lars/Projects/music-downloader/src/music_kraken/database/objects/artist.py | Python | 18 | 0 | 5 | 23 | +| /home/lars/Projects/music-downloader/src/music_kraken/database/objects/database_object.py | Python | 28 | 7 | 13 | 48 | +| /home/lars/Projects/music-downloader/src/music_kraken/database/objects/song.py | Python | 255 | 61 | 86 | 402 | +| /home/lars/Projects/music-downloader/src/music_kraken/database/song.py | Python | 125 | 20 | 45 | 190 | +| /home/lars/Projects/music-downloader/src/music_kraken/database/temp_database.py | Python | 12 | 0 | 8 | 20 | +| /home/lars/Projects/music-downloader/src/music_kraken/lyrics/__init__.py | Python | 0 | 0 | 1 | 1 | +| /home/lars/Projects/music-downloader/src/music_kraken/lyrics/genius.py | Python | 115 | 16 | 42 | 173 | +| /home/lars/Projects/music-downloader/src/music_kraken/lyrics/lyrics.py | Python | 36 | 25 | 20 | 81 | +| /home/lars/Projects/music-downloader/src/music_kraken/metadata/__init__.py | Python | 6 | 0 | 2 | 8 | +| /home/lars/Projects/music-downloader/src/music_kraken/metadata/metadata_fetch.py | Python | 257 | 24 | 65 | 346 | +| /home/lars/Projects/music-downloader/src/music_kraken/metadata/metadata_search.py | Python | 253 | 40 | 72 | 365 | +| /home/lars/Projects/music-downloader/src/music_kraken/metadata/sources/__init__.py | Python | 3 | 0 | 2 | 5 | +| /home/lars/Projects/music-downloader/src/music_kraken/metadata/sources/musicbrainz.py | Python | 42 | 6 | 9 | 57 | +| /home/lars/Projects/music-downloader/src/music_kraken/static_files/new_db.sql | SQLite | 70 | 0 | 10 | 80 | +| /home/lars/Projects/music-downloader/src/music_kraken/static_files/temp_database_structure.sql | SQLite | 135 | 0 | 10 | 145 | +| /home/lars/Projects/music-downloader/src/music_kraken/tagging/__init__.py | Python | 0 | 0 | 1 | 1 | +| /home/lars/Projects/music-downloader/src/music_kraken/tagging/song.py | Python | 3 | 0 | 1 | 4 | +| /home/lars/Projects/music-downloader/src/music_kraken/target/__init__.py | Python | 4 | 0 | 2 | 6 | +| /home/lars/Projects/music-downloader/src/music_kraken/target/set_target.py | Python | 37 | 7 | 18 | 62 | +| /home/lars/Projects/music-downloader/src/music_kraken/utils/__init__.py | Python | 1 | 1 | 1 | 3 | +| /home/lars/Projects/music-downloader/src/music_kraken/utils/functions.py | Python | 3 | 0 | 1 | 4 | +| /home/lars/Projects/music-downloader/src/music_kraken/utils/object_handeling.py | Python | 19 | 0 | 6 | 25 | +| /home/lars/Projects/music-downloader/src/music_kraken/utils/phonetic_compares.py | Python | 39 | 2 | 17 | 58 | +| /home/lars/Projects/music-downloader/src/music_kraken/utils/shared.py | Python | 60 | 3 | 9 | 72 | +| /home/lars/Projects/music-downloader/src/music_kraken_cli.py | Python | 94 | 9 | 32 | 135 | +| /home/lars/Projects/music-downloader/src/music_kraken_gtk.py | Python | 3 | 0 | 2 | 5 | +| /home/lars/Projects/music-downloader/src/test.db | Database | 84 | 0 | 0 | 84 | +| /home/lars/Projects/music-downloader/src/try-programming-interface.py | Python | 14 | 98 | 22 | 134 | +| Total | | 2,886 | 594 | 854 | 4,334 | ++------------------------------------------------------------------------------------------------+----------+------------+------------+------------+------------+ \ No newline at end of file diff --git a/src/goof.py b/src/goof.py index 94aaf8a..14dbc4d 100644 --- a/src/goof.py +++ b/src/goof.py @@ -26,7 +26,7 @@ split_artist = Artist( ) feature_artist = Artist( - name="feature" + name="Ghost" ) album_input = Album( @@ -35,7 +35,6 @@ album_input = Album( song_input = Song( title="Vein Deep in the Solution", - album_name=album_input.title, length=666, tracksort=2, target=Target(file="~/Music/genre/artist/album/song.mp3", path="~/Music/genre/artist/album"), @@ -55,6 +54,8 @@ song_input = Song( feature_artist_list = [feature_artist] ) +print(song_input) + additional_song = Song( title="A fcking Song", album=album_input diff --git a/src/music_kraken/database/new_database.py b/src/music_kraken/database/new_database.py index 05cd37e..c8539a1 100644 --- a/src/music_kraken/database/new_database.py +++ b/src/music_kraken/database/new_database.py @@ -49,6 +49,11 @@ FROM Song INNER JOIN Album a ON Song.album_id=a.id WHERE {where}; """ +ARTIST_QUERY = """ +SELECT id as artist_id, name as artist_name +FROM Artist +WHERE {where}; +""" class Database: @@ -177,6 +182,14 @@ class Database: # add target self.push_target(target=song.target) + for main_artist in song.main_artist_list: + self.push_artist_song(artist_ref=Reference(main_artist.id), song_ref=Reference(song.id), is_feature=False) + self.push_artist(artist=main_artist) + + for feature_artist in song.feature_artist_list: + self.push_artist_song(artist_ref=Reference(feature_artist.id), song_ref=Reference(song.id), is_feature=True) + self.push_artist(artist=feature_artist) + def push_lyrics(self, lyrics: Lyrics, ): if lyrics.song_ref_id is None: logger.warning("the Lyrics don't refer to a song") @@ -308,7 +321,51 @@ class Database: url=source_row['url'] ) for source_row in source_rows] - def get_song_from_row(self, song_result, exclude_relations: set = None) -> Song: + def pull_artist_song(self, song_ref: Reference = None, artist_ref: Reference = None) -> List[tuple]: + table = "SongArtist" + wheres = [] + if song_ref is not None: + wheres.append("song_id=\"{song_ref.id}\"") + if artist_ref is not None: + wheres.append("artist_id=\"{artist_ref.id}\"") + where_str = "" + if len(wheres) > 0: + where_str = "WHERE " + " AND ".join(wheres) + + query = f"SELECT * FROM {table} {where_str};" + self.cursor.execute(query) + joins = self.cursor.fetchall() + + return [( + Reference(join["song_id"]), + Reference(join["artist_id"]), + bool(join["is_feature"]) + ) for join in joins] + + def get_artist_from_row(self, artist_row, exclude_relations: set = None) -> Artist: + if exclude_relations is None: + exclude_relations = set() + new_exclude_relations: set = set(exclude_relations) + new_exclude_relations.add(Song) + return Artist( + id_=artist_row['artist_id'], + name=artist_row['name'] + ) + + def pull_artists(self, artist_ref: Reference = None, exclude_relations: set = None) -> List[Artist]: + where = "1=1" + if artist_ref is not None: + where = f"Artist.id=\"{artist_ref.id}\"" + + query = ARTIST_QUERY.format(where=where) + self.cursor.execute(query) + + artist_rows = self.cursor.fetchall() + return [( + self.get_artist_from_row(artist_row) + ) for artist_row in artist_rows] + + def get_song_from_row(self, song_result, exclude_relations: set = set()) -> Song: if exclude_relations is None: exclude_relations = set() new_exclude_relations: set = set(exclude_relations) @@ -317,7 +374,6 @@ class Database: song_id = song_result['song_id'] # maybee fetch album - album = None song_obj = Song( id_=song_id, @@ -340,6 +396,21 @@ class Database: if len(album_obj) > 0: song_obj.album = album_obj[0] + main_artists = [] + feature_artists = [] + print(exclude_relations) + if Artist not in exclude_relations: + for song_ref, artist_ref, is_feature in self.pull_artist_song(song_ref=song_id): + print(artist_ref) + if not is_feature: + feature_artists.extend(self.pull_artists(artist_ref=artist_ref)) + else: + main_artists.extend(self.pull_artists(artist_ref=artist_ref)) + + song_obj.main_artist_list = main_artists + song_obj.feature_artist_list = feature_artists + + return song_obj def pull_songs(self, song_ref: Reference = None, album_ref: Reference = None, exclude_relations: set = set()) -> \ diff --git a/test.db b/test.db index a34f49906b967a5490fdaa9095c4644414b6f130..4fbec7aee1a2dc0a55f1acff7d651bea159596f8 100644 GIT binary patch delta 1742 zcmcJPJ!@1!6o&UBA&H=4npnid3lXB|VQ1#fCn!NIM2rxT3pS$jnS_{KaTBoHwMi+; zf<+n&8@pf@tb|xv_yeqLY%Tl+>Ld}gGK1hPZZ&h}eV_B5)9;V;`yr>B9U#(BQ zx&L{#XM$zMF$b0q3yfj`ri=oVDx*_UIaBg0MRaSc?d9Tjr@hRB(aO3AQBncS3krsE z0*d)`S`nsoxmF*m7HW-p6}{6|83r_@!mLyhjPU}fvba=6*@m!#y)!dsbE@tZL$sKq zw=v(WCXRes*x`@XG@A1U)8w53p(1Hiu>>VV0IG%e467LI;PS%xrK79}8#j~h=^Nt{ zmE{66=`omSP4b-}S#A<36TEVP3L5p`?ZSL3qv)|(t=2$0HS`JX3@4XfptrSYU9a79_PwGO$W>h^c-`pLb5P)=FnRv>up8-PYh;uNb`U@qeeBW8i>tjrRf%lSX@I3upe2={V&suyUTSRzqdS*+PFg{gksv}y@GObxiX_05Bc5Z1 ziDMg~yAj$MqZ2!+BR40jM8Ay6VQ`_0z=ScNG4UXcAW>N@bxAi?LN^qH_d7ErGww~a zRYO~cfiE7T-hSX&hR^2y!5p6lJDo-nqrcEM3;&&i@ChE(&=u9db7GNzDQ8oeHHD(gu2ce!W<2 z7p8EX7+2eWPJPnw`y0+Ky+C*Ojpk@LTmc!+9~ecxhIWxpKJTF3Vq>JrTB9*X$YMQJ T8_!ABFIdxmp*8%z*EsnTNn^+X delta 1320 zcmcJOy=qiJ6vy{w6Ep$6CT)x^M2LciozFWnpaikhKtOJ-GiS~u5>3P;V7F_NTDcD( zSlI=$U?u1S_yATmwier4#7SNt(+I;AmPsQ-L1isz1=NR(l}~3$Rrz3S|qR(IRqn;SEx~1 zw^Lne*LyQnn=F??gaF(s0m=spUb6;B+Qy?)G$UO1?dHm@lBp+yN&UElcV?~M&R@7% zxXI~oxn6COmK3}KuA7(zxy%@nhG+!mDG^ER?yuk3yhw_0=`ibFesp=hb(BzZbP$EH zpn~?`Fk5SwC#GbI+F|!)eQmX1=$Y(|0!TcUU9$OP^G99e_+#+Bsv_HH%T9%36&SfjlKu2im?6b1sZTu_#Rh~5XLak#zr zl7=t*>-}N(bu{QcjdZc8CA{aRmVo?+c7FJMbrq9xA`u9}Y=O`Uf{X+)VBjPaTB*9Z z<9j1R90`R7&GMy$L-0{?u*tC~jgj7&1KK~J-GYyi_HqCli>=q3P@#l|ryOX?lRZ-e zN$V(Oh%%8l*rt6Nbl;CxctM#Ldc9u1KI+v+^>O`kvN(8Ck8bzdN)_nrpFJ$md7fDb Y`;|=7o6JrB*44tKnx57lr`PiN2UX%`9smFU