From a876ebc7080c4d600bb29c1578ab144767421592 Mon Sep 17 00:00:00 2001 From: Lars Noack Date: Tue, 17 Jan 2023 18:07:06 +0100 Subject: [PATCH] dafsdjl --- .VSCodeCounter/2022-11-18_09-40-36/details.md | 40 ------ .../2022-11-18_09-40-36/diff-details.md | 88 ------------- .VSCodeCounter/2022-11-18_09-40-36/diff.csv | 75 ----------- .VSCodeCounter/2022-11-18_09-40-36/diff.md | 48 ------- .VSCodeCounter/2022-11-18_09-40-36/diff.txt | 124 ------------------ .../2022-11-18_09-40-36/results.csv | 27 ---- .../2022-11-18_09-40-36/results.json | 1 - .VSCodeCounter/2022-11-18_09-40-36/results.md | 28 ---- .../2022-11-18_09-40-36/results.txt | 56 -------- .VSCodeCounter/2023-01-17_16-43-06/details.md | 64 +++++++++ .../2023-01-17_16-43-06/diff-details.md | 31 +++++ .VSCodeCounter/2023-01-17_16-43-06/diff.csv | 18 +++ .VSCodeCounter/2023-01-17_16-43-06/diff.md | 32 +++++ .VSCodeCounter/2023-01-17_16-43-06/diff.txt | 51 +++++++ .../2023-01-17_16-43-06/results.csv | 51 +++++++ .../2023-01-17_16-43-06/results.json | 1 + .VSCodeCounter/2023-01-17_16-43-06/results.md | 40 ++++++ .../2023-01-17_16-43-06/results.txt | 92 +++++++++++++ src/music_kraken/database/new_database.py | 16 ++- src/music_kraken/database/objects/__init__.py | 2 + src/music_kraken/static_files/new_db.sql | 8 -- 21 files changed, 392 insertions(+), 501 deletions(-) delete mode 100644 .VSCodeCounter/2022-11-18_09-40-36/details.md delete mode 100644 .VSCodeCounter/2022-11-18_09-40-36/diff-details.md delete mode 100644 .VSCodeCounter/2022-11-18_09-40-36/diff.csv delete mode 100644 .VSCodeCounter/2022-11-18_09-40-36/diff.md delete mode 100644 .VSCodeCounter/2022-11-18_09-40-36/diff.txt delete mode 100644 .VSCodeCounter/2022-11-18_09-40-36/results.csv delete mode 100644 .VSCodeCounter/2022-11-18_09-40-36/results.json delete mode 100644 .VSCodeCounter/2022-11-18_09-40-36/results.md delete mode 100644 .VSCodeCounter/2022-11-18_09-40-36/results.txt create mode 100644 .VSCodeCounter/2023-01-17_16-43-06/details.md create mode 100644 .VSCodeCounter/2023-01-17_16-43-06/diff-details.md create mode 100644 .VSCodeCounter/2023-01-17_16-43-06/diff.csv create mode 100644 .VSCodeCounter/2023-01-17_16-43-06/diff.md create mode 100644 .VSCodeCounter/2023-01-17_16-43-06/diff.txt create mode 100644 .VSCodeCounter/2023-01-17_16-43-06/results.csv create mode 100644 .VSCodeCounter/2023-01-17_16-43-06/results.json create mode 100644 .VSCodeCounter/2023-01-17_16-43-06/results.md create mode 100644 .VSCodeCounter/2023-01-17_16-43-06/results.txt diff --git a/.VSCodeCounter/2022-11-18_09-40-36/details.md b/.VSCodeCounter/2022-11-18_09-40-36/details.md deleted file mode 100644 index b10ea3a..0000000 --- a/.VSCodeCounter/2022-11-18_09-40-36/details.md +++ /dev/null @@ -1,40 +0,0 @@ -# Details - -Date : 2022-11-18 09:40:36 - -Directory /home/lars/Projects/music-downloader/src/music_kraken - -Total : 25 files, 1378 codes, 462 comments, 442 blanks, all 2282 lines - -[Summary](results.md) / Details / [Diff Summary](diff.md) / [Diff Details](diff-details.md) - -## Files -| filename | language | code | comment | blank | total | -| :--- | :--- | ---: | ---: | ---: | ---: | -| [src/music_kraken/__init__.py](/src/music_kraken/__init__.py) | Python | 75 | 8 | 27 | 110 | -| [src/music_kraken/__main__.py](/src/music_kraken/__main__.py) | Python | 4 | 3 | 3 | 10 | -| [src/music_kraken/audio_source/__init__.py](/src/music_kraken/audio_source/__init__.py) | Python | 0 | 0 | 1 | 1 | -| [src/music_kraken/audio_source/fetch_audio.py](/src/music_kraken/audio_source/fetch_audio.py) | Python | 65 | 20 | 22 | 107 | -| [src/music_kraken/audio_source/fetch_source.py](/src/music_kraken/audio_source/fetch_source.py) | Python | 37 | 28 | 15 | 80 | -| [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 | 126 | 120 | 37 | 283 | -| [src/music_kraken/audio_source/sources/source.py](/src/music_kraken/audio_source/sources/source.py) | Python | 10 | 5 | 6 | 21 | -| [src/music_kraken/audio_source/sources/youtube.py](/src/music_kraken/audio_source/sources/youtube.py) | Python | 69 | 67 | 20 | 156 | -| [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 | 99 | 38 | 35 | 172 | -| [src/music_kraken/lyrics/lyrics.py](/src/music_kraken/lyrics/lyrics.py) | Python | 49 | 19 | 25 | 93 | -| [src/music_kraken/metadata/__init__.py](/src/music_kraken/metadata/__init__.py) | Python | 0 | 0 | 1 | 1 | -| [src/music_kraken/metadata/metadata_fetch.py](/src/music_kraken/metadata/metadata_fetch.py) | Python | 254 | 24 | 63 | 341 | -| [src/music_kraken/metadata/metadata_search.py](/src/music_kraken/metadata/metadata_search.py) | Python | 253 | 40 | 72 | 365 | -| [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 | 0 | 0 | 1 | 1 | -| [src/music_kraken/target/set_target.py](/src/music_kraken/target/set_target.py) | Python | 36 | 7 | 18 | 61 | -| [src/music_kraken/utils/__init__.py](/src/music_kraken/utils/__init__.py) | Python | 1 | 1 | 1 | 3 | -| [src/music_kraken/utils/database.py](/src/music_kraken/utils/database.py) | Python | 158 | 80 | 40 | 278 | -| [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 | 34 | 0 | 15 | 49 | -| [src/music_kraken/utils/shared.py](/src/music_kraken/utils/shared.py) | Python | 46 | 2 | 12 | 60 | - -[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-18_09-40-36/diff-details.md b/.VSCodeCounter/2022-11-18_09-40-36/diff-details.md deleted file mode 100644 index c6dea0a..0000000 --- a/.VSCodeCounter/2022-11-18_09-40-36/diff-details.md +++ /dev/null @@ -1,88 +0,0 @@ -# Diff Details - -Date : 2022-11-18 09:40:36 - -Directory /home/lars/Projects/music-downloader/src/music_kraken - -Total : 73 files, -1037 codes, 235 comments, -210 blanks, all -1012 lines - -[Summary](results.md) / [Details](details.md) / [Diff Summary](diff.md) / Diff Details - -## Files -| filename | language | code | comment | blank | total | -| :--- | :--- | ---: | ---: | ---: | ---: | -| [.VSCodeCounter/2022-11-08_16-41-25/details.md](/.VSCodeCounter/2022-11-08_16-41-25/details.md) | Markdown | -43 | 0 | -6 | -49 | -| [.VSCodeCounter/2022-11-08_16-41-25/diff-details.md](/.VSCodeCounter/2022-11-08_16-41-25/diff-details.md) | Markdown | -25 | 0 | -6 | -31 | -| [.VSCodeCounter/2022-11-08_16-41-25/diff.md](/.VSCodeCounter/2022-11-08_16-41-25/diff.md) | Markdown | -21 | 0 | -7 | -28 | -| [.VSCodeCounter/2022-11-08_16-41-25/results.json](/.VSCodeCounter/2022-11-08_16-41-25/results.json) | JSON | -1 | 0 | 0 | -1 | -| [.VSCodeCounter/2022-11-08_16-41-25/results.md](/.VSCodeCounter/2022-11-08_16-41-25/results.md) | Markdown | -28 | 0 | -7 | -35 | -| [.VSCodeCounter/2022-11-10_14-10-12/details.md](/.VSCodeCounter/2022-11-10_14-10-12/details.md) | Markdown | -52 | 0 | -6 | -58 | -| [.VSCodeCounter/2022-11-10_14-10-12/diff-details.md](/.VSCodeCounter/2022-11-10_14-10-12/diff-details.md) | Markdown | -30 | 0 | -6 | -36 | -| [.VSCodeCounter/2022-11-10_14-10-12/diff.md](/.VSCodeCounter/2022-11-10_14-10-12/diff.md) | Markdown | -26 | 0 | -7 | -33 | -| [.VSCodeCounter/2022-11-10_14-10-12/results.json](/.VSCodeCounter/2022-11-10_14-10-12/results.json) | JSON | -1 | 0 | 0 | -1 | -| [.VSCodeCounter/2022-11-10_14-10-12/results.md](/.VSCodeCounter/2022-11-10_14-10-12/results.md) | Markdown | -31 | 0 | -7 | -38 | -| [.VSCodeCounter/2022-11-14_08-49-48/details.md](/.VSCodeCounter/2022-11-14_08-49-48/details.md) | Markdown | -64 | 0 | -6 | -70 | -| [.VSCodeCounter/2022-11-14_08-49-48/diff-details.md](/.VSCodeCounter/2022-11-14_08-49-48/diff-details.md) | Markdown | -42 | 0 | -6 | -48 | -| [.VSCodeCounter/2022-11-14_08-49-48/diff.md](/.VSCodeCounter/2022-11-14_08-49-48/diff.md) | Markdown | -26 | 0 | -7 | -33 | -| [.VSCodeCounter/2022-11-14_08-49-48/results.json](/.VSCodeCounter/2022-11-14_08-49-48/results.json) | JSON | -1 | 0 | 0 | -1 | -| [.VSCodeCounter/2022-11-14_08-49-48/results.md](/.VSCodeCounter/2022-11-14_08-49-48/results.md) | Markdown | -33 | 0 | -7 | -40 | -| [.VSCodeCounter/2022-11-14_12-36-23/details.md](/.VSCodeCounter/2022-11-14_12-36-23/details.md) | Markdown | -34 | 0 | -6 | -40 | -| [.VSCodeCounter/2022-11-14_12-36-23/diff-details.md](/.VSCodeCounter/2022-11-14_12-36-23/diff-details.md) | Markdown | -40 | 0 | -6 | -46 | -| [.VSCodeCounter/2022-11-14_12-36-23/diff.md](/.VSCodeCounter/2022-11-14_12-36-23/diff.md) | Markdown | -28 | 0 | -7 | -35 | -| [.VSCodeCounter/2022-11-14_12-36-23/results.json](/.VSCodeCounter/2022-11-14_12-36-23/results.json) | JSON | -1 | 0 | 0 | -1 | -| [.VSCodeCounter/2022-11-14_12-36-23/results.md](/.VSCodeCounter/2022-11-14_12-36-23/results.md) | Markdown | -20 | 0 | -7 | -27 | -| [.VSCodeCounter/2022-11-14_15-47-38/details.md](/.VSCodeCounter/2022-11-14_15-47-38/details.md) | Markdown | -69 | 0 | -6 | -75 | -| [.VSCodeCounter/2022-11-14_15-47-38/diff-details.md](/.VSCodeCounter/2022-11-14_15-47-38/diff-details.md) | Markdown | -49 | 0 | -6 | -55 | -| [.VSCodeCounter/2022-11-14_15-47-38/diff.md](/.VSCodeCounter/2022-11-14_15-47-38/diff.md) | Markdown | -32 | 0 | -7 | -39 | -| [.VSCodeCounter/2022-11-14_15-47-38/results.json](/.VSCodeCounter/2022-11-14_15-47-38/results.json) | JSON | -1 | 0 | 0 | -1 | -| [.VSCodeCounter/2022-11-14_15-47-38/results.md](/.VSCodeCounter/2022-11-14_15-47-38/results.md) | Markdown | -34 | 0 | -7 | -41 | -| [.idea/dataSources.xml](/.idea/dataSources.xml) | XML | -12 | 0 | 0 | -12 | -| [.idea/inspectionProfiles/profiles_settings.xml](/.idea/inspectionProfiles/profiles_settings.xml) | XML | -6 | 0 | 0 | -6 | -| [.idea/misc.xml](/.idea/misc.xml) | XML | -4 | 0 | 0 | -4 | -| [.idea/modules.xml](/.idea/modules.xml) | XML | -9 | 0 | 0 | -9 | -| [.idea/music-downloader.iml](/.idea/music-downloader.iml) | XML | -11 | 0 | 0 | -11 | -| [.idea/vcs.xml](/.idea/vcs.xml) | XML | -6 | 0 | 0 | -6 | -| [README.md](/README.md) | Markdown | -138 | 0 | -60 | -198 | -| [assets/database_structure.sql](/assets/database_structure.sql) | SQLite | -53 | 0 | -6 | -59 | -| [build.sh](/build.sh) | Shell Script | -14 | -3 | -6 | -23 | -| [notes.md](/notes.md) | Markdown | -17 | 0 | -3 | -20 | -| [pyproject.toml](/pyproject.toml) | toml | -18 | 0 | -3 | -21 | -| [requirements.txt](/requirements.txt) | pip requirements | -8 | 0 | 0 | -8 | -| [setup.py](/setup.py) | Python | -28 | -1 | -3 | -32 | -| [src/music_kraken/__init__.py](/src/music_kraken/__init__.py) | Python | -5 | 5 | 4 | 4 | -| [src/music_kraken/__main__.py](/src/music_kraken/__main__.py) | Python | 1 | 3 | 0 | 4 | -| [src/music_kraken/audio/__init__.py](/src/music_kraken/audio/__init__.py) | Python | 0 | 0 | -1 | -1 | -| [src/music_kraken/audio/song.py](/src/music_kraken/audio/song.py) | Python | -3 | 0 | -1 | -4 | -| [src/music_kraken/audio_source/__init__.py](/src/music_kraken/audio_source/__init__.py) | Python | 0 | 0 | 1 | 1 | -| [src/music_kraken/audio_source/fetch_audio.py](/src/music_kraken/audio_source/fetch_audio.py) | Python | 65 | 20 | 22 | 107 | -| [src/music_kraken/audio_source/fetch_source.py](/src/music_kraken/audio_source/fetch_source.py) | Python | 37 | 28 | 15 | 80 | -| [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 | 126 | 120 | 37 | 283 | -| [src/music_kraken/audio_source/sources/source.py](/src/music_kraken/audio_source/sources/source.py) | Python | 10 | 5 | 6 | 21 | -| [src/music_kraken/audio_source/sources/youtube.py](/src/music_kraken/audio_source/sources/youtube.py) | Python | 69 | 67 | 20 | 156 | -| [src/music_kraken/download.py](/src/music_kraken/download.py) | Python | -56 | -11 | -18 | -85 | -| [src/music_kraken/download_links.py](/src/music_kraken/download_links.py) | Python | -30 | -11 | -15 | -56 | -| [src/music_kraken/lyrics/lyrics.py](/src/music_kraken/lyrics/lyrics.py) | Python | -1 | 0 | -1 | -2 | -| [src/music_kraken/metadata/database.py](/src/music_kraken/metadata/database.py) | Python | -161 | -66 | -40 | -267 | -| [src/music_kraken/metadata/download.py](/src/music_kraken/metadata/download.py) | Python | -254 | -24 | -63 | -341 | -| [src/music_kraken/metadata/metadata_fetch.py](/src/music_kraken/metadata/metadata_fetch.py) | Python | 254 | 24 | 63 | 341 | -| [src/music_kraken/metadata/metadata_search.py](/src/music_kraken/metadata/metadata_search.py) | Python | 253 | 40 | 72 | 365 | -| [src/music_kraken/metadata/object_handeling.py](/src/music_kraken/metadata/object_handeling.py) | Python | -19 | 0 | -6 | -25 | -| [src/music_kraken/metadata/search.py](/src/music_kraken/metadata/search.py) | Python | -253 | -40 | -72 | -365 | -| [src/music_kraken/scraping/__init__.py](/src/music_kraken/scraping/__init__.py) | Python | 0 | 0 | -1 | -1 | -| [src/music_kraken/scraping/file_system.py](/src/music_kraken/scraping/file_system.py) | Python | -40 | 0 | -18 | -58 | -| [src/music_kraken/scraping/musify.py](/src/music_kraken/scraping/musify.py) | Python | -100 | -2 | -35 | -137 | -| [src/music_kraken/scraping/phonetic_compares.py](/src/music_kraken/scraping/phonetic_compares.py) | Python | -15 | 0 | -8 | -23 | -| [src/music_kraken/scraping/youtube_music.py](/src/music_kraken/scraping/youtube_music.py) | Python | -66 | -2 | -19 | -87 | -| [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 | 0 | 0 | 1 | 1 | -| [src/music_kraken/target/set_target.py](/src/music_kraken/target/set_target.py) | Python | 36 | 7 | 18 | 61 | -| [src/music_kraken/url_to_path.py](/src/music_kraken/url_to_path.py) | Python | -35 | -6 | -18 | -59 | -| [src/music_kraken/utils/database.py](/src/music_kraken/utils/database.py) | Python | 158 | 80 | 40 | 278 | -| [src/music_kraken/utils/shared.py](/src/music_kraken/utils/shared.py) | Python | 11 | 2 | 1 | 14 | -| [src/music_kraken_cli.py](/src/music_kraken_cli.py) | Python | -3 | 0 | -2 | -5 | -| [src/try-programming-interface.py](/src/try-programming-interface.py) | Python | -3 | 0 | -2 | -5 | - -[Summary](results.md) / [Details](details.md) / [Diff Summary](diff.md) / Diff Details \ No newline at end of file diff --git a/.VSCodeCounter/2022-11-18_09-40-36/diff.csv b/.VSCodeCounter/2022-11-18_09-40-36/diff.csv deleted file mode 100644 index ea238ba..0000000 --- a/.VSCodeCounter/2022-11-18_09-40-36/diff.csv +++ /dev/null @@ -1,75 +0,0 @@ -"filename", "language", "Python", "SQLite", "Markdown", "JSON", "XML", "toml", "Shell Script", "pip requirements", "comment", "blank", "total" -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/details.md", "Markdown", 0, 0, -43, 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, 0, -25, 0, 0, 0, 0, 0, 0, -6, -31 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/diff.md", "Markdown", 0, 0, -21, 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, 0, -1, 0, 0, 0, 0, 0, 0, -1 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/results.md", "Markdown", 0, 0, -28, 0, 0, 0, 0, 0, 0, -7, -35 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/details.md", "Markdown", 0, 0, -52, 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, 0, -30, 0, 0, 0, 0, 0, 0, -6, -36 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/diff.md", "Markdown", 0, 0, -26, 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, 0, -1, 0, 0, 0, 0, 0, 0, -1 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/results.md", "Markdown", 0, 0, -31, 0, 0, 0, 0, 0, 0, -7, -38 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_08-49-48/details.md", "Markdown", 0, 0, -64, 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, 0, -42, 0, 0, 0, 0, 0, 0, -6, -48 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_08-49-48/diff.md", "Markdown", 0, 0, -26, 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, 0, -1, 0, 0, 0, 0, 0, 0, -1 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_08-49-48/results.md", "Markdown", 0, 0, -33, 0, 0, 0, 0, 0, 0, -7, -40 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_12-36-23/details.md", "Markdown", 0, 0, -34, 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, 0, -40, 0, 0, 0, 0, 0, 0, -6, -46 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_12-36-23/diff.md", "Markdown", 0, 0, -28, 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, 0, -1, 0, 0, 0, 0, 0, 0, -1 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_12-36-23/results.md", "Markdown", 0, 0, -20, 0, 0, 0, 0, 0, 0, -7, -27 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_15-47-38/details.md", "Markdown", 0, 0, -69, 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, 0, -49, 0, 0, 0, 0, 0, 0, -6, -55 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_15-47-38/diff.md", "Markdown", 0, 0, -32, 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, 0, -1, 0, 0, 0, 0, 0, 0, -1 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_15-47-38/results.md", "Markdown", 0, 0, -34, 0, 0, 0, 0, 0, 0, -7, -41 -"/home/lars/Projects/music-downloader/.idea/dataSources.xml", "XML", 0, 0, 0, 0, -12, 0, 0, 0, 0, 0, -12 -"/home/lars/Projects/music-downloader/.idea/inspectionProfiles/profiles_settings.xml", "XML", 0, 0, 0, 0, -6, 0, 0, 0, 0, 0, -6 -"/home/lars/Projects/music-downloader/.idea/misc.xml", "XML", 0, 0, 0, 0, -4, 0, 0, 0, 0, 0, -4 -"/home/lars/Projects/music-downloader/.idea/modules.xml", "XML", 0, 0, 0, 0, -9, 0, 0, 0, 0, 0, -9 -"/home/lars/Projects/music-downloader/.idea/music-downloader.iml", "XML", 0, 0, 0, 0, -11, 0, 0, 0, 0, 0, -11 -"/home/lars/Projects/music-downloader/.idea/vcs.xml", "XML", 0, 0, 0, 0, -6, 0, 0, 0, 0, 0, -6 -"/home/lars/Projects/music-downloader/README.md", "Markdown", 0, 0, -138, 0, 0, 0, 0, 0, 0, -60, -198 -"/home/lars/Projects/music-downloader/assets/database_structure.sql", "SQLite", 0, -53, 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, 0, -17, 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", -28, 0, 0, 0, 0, 0, 0, 0, -1, -3, -32 -"/home/lars/Projects/music-downloader/src/music_kraken/__init__.py", "Python", -5, 0, 0, 0, 0, 0, 0, 0, 5, 4, 4 -"/home/lars/Projects/music-downloader/src/music_kraken/__main__.py", "Python", 1, 0, 0, 0, 0, 0, 0, 0, 3, 0, 4 -"/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", -3, 0, 0, 0, 0, 0, 0, 0, 0, -1, -4 -"/home/lars/Projects/music-downloader/src/music_kraken/audio_source/__init__.py", "Python", 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1 -"/home/lars/Projects/music-downloader/src/music_kraken/audio_source/fetch_audio.py", "Python", 65, 0, 0, 0, 0, 0, 0, 0, 20, 22, 107 -"/home/lars/Projects/music-downloader/src/music_kraken/audio_source/fetch_source.py", "Python", 37, 0, 0, 0, 0, 0, 0, 0, 28, 15, 80 -"/home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/__init__.py", "Python", 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 18, 58 -"/home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/musify.py", "Python", 126, 0, 0, 0, 0, 0, 0, 0, 120, 37, 283 -"/home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/source.py", "Python", 10, 0, 0, 0, 0, 0, 0, 0, 5, 6, 21 -"/home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/youtube.py", "Python", 69, 0, 0, 0, 0, 0, 0, 0, 67, 20, 156 -"/home/lars/Projects/music-downloader/src/music_kraken/download.py", "Python", -56, 0, 0, 0, 0, 0, 0, 0, -11, -18, -85 -"/home/lars/Projects/music-downloader/src/music_kraken/download_links.py", "Python", -30, 0, 0, 0, 0, 0, 0, 0, -11, -15, -56 -"/home/lars/Projects/music-downloader/src/music_kraken/lyrics/lyrics.py", "Python", -1, 0, 0, 0, 0, 0, 0, 0, 0, -1, -2 -"/home/lars/Projects/music-downloader/src/music_kraken/metadata/database.py", "Python", -161, 0, 0, 0, 0, 0, 0, 0, -66, -40, -267 -"/home/lars/Projects/music-downloader/src/music_kraken/metadata/download.py", "Python", -254, 0, 0, 0, 0, 0, 0, 0, -24, -63, -341 -"/home/lars/Projects/music-downloader/src/music_kraken/metadata/metadata_fetch.py", "Python", 254, 0, 0, 0, 0, 0, 0, 0, 24, 63, 341 -"/home/lars/Projects/music-downloader/src/music_kraken/metadata/metadata_search.py", "Python", 253, 0, 0, 0, 0, 0, 0, 0, 40, 72, 365 -"/home/lars/Projects/music-downloader/src/music_kraken/metadata/object_handeling.py", "Python", -19, 0, 0, 0, 0, 0, 0, 0, 0, -6, -25 -"/home/lars/Projects/music-downloader/src/music_kraken/metadata/search.py", "Python", -253, 0, 0, 0, 0, 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", -40, 0, 0, 0, 0, 0, 0, 0, 0, -18, -58 -"/home/lars/Projects/music-downloader/src/music_kraken/scraping/musify.py", "Python", -100, 0, 0, 0, 0, 0, 0, 0, -2, -35, -137 -"/home/lars/Projects/music-downloader/src/music_kraken/scraping/phonetic_compares.py", "Python", -15, 0, 0, 0, 0, 0, 0, 0, 0, -8, -23 -"/home/lars/Projects/music-downloader/src/music_kraken/scraping/youtube_music.py", "Python", -66, 0, 0, 0, 0, 0, 0, 0, -2, -19, -87 -"/home/lars/Projects/music-downloader/src/music_kraken/tagging/__init__.py", "Python", 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1 -"/home/lars/Projects/music-downloader/src/music_kraken/tagging/song.py", "Python", 3, 0, 0, 0, 0, 0, 0, 0, 0, 1, 4 -"/home/lars/Projects/music-downloader/src/music_kraken/target/__init__.py", "Python", 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1 -"/home/lars/Projects/music-downloader/src/music_kraken/target/set_target.py", "Python", 36, 0, 0, 0, 0, 0, 0, 0, 7, 18, 61 -"/home/lars/Projects/music-downloader/src/music_kraken/url_to_path.py", "Python", -35, 0, 0, 0, 0, 0, 0, 0, -6, -18, -59 -"/home/lars/Projects/music-downloader/src/music_kraken/utils/database.py", "Python", 158, 0, 0, 0, 0, 0, 0, 0, 80, 40, 278 -"/home/lars/Projects/music-downloader/src/music_kraken/utils/shared.py", "Python", 11, 0, 0, 0, 0, 0, 0, 0, 2, 1, 14 -"/home/lars/Projects/music-downloader/src/music_kraken_cli.py", "Python", -3, 0, 0, 0, 0, 0, 0, 0, 0, -2, -5 -"/home/lars/Projects/music-downloader/src/try-programming-interface.py", "Python", -3, 0, 0, 0, 0, 0, 0, 0, 0, -2, -5 -"Total", "-", -9, -53, -882, -5, -48, -18, -14, -8, 235, -210, -1012 \ No newline at end of file diff --git a/.VSCodeCounter/2022-11-18_09-40-36/diff.md b/.VSCodeCounter/2022-11-18_09-40-36/diff.md deleted file mode 100644 index 56d1eb2..0000000 --- a/.VSCodeCounter/2022-11-18_09-40-36/diff.md +++ /dev/null @@ -1,48 +0,0 @@ -# Diff Summary - -Date : 2022-11-18 09:40:36 - -Directory /home/lars/Projects/music-downloader/src/music_kraken - -Total : 73 files, -1037 codes, 235 comments, -210 blanks, all -1012 lines - -[Summary](results.md) / [Details](details.md) / Diff Summary / [Diff Details](diff-details.md) - -## Languages -| language | files | code | comment | blank | total | -| :--- | ---: | ---: | ---: | ---: | ---: | -| JSON | 5 | -5 | 0 | 0 | -5 | -| pip requirements | 1 | -8 | 0 | 0 | -8 | -| Python | 36 | -9 | 238 | -2 | 227 | -| Shell Script | 1 | -14 | -3 | -6 | -23 | -| toml | 1 | -18 | 0 | -3 | -21 | -| XML | 6 | -48 | 0 | 0 | -48 | -| SQLite | 1 | -53 | 0 | -6 | -59 | -| Markdown | 22 | -882 | 0 | -193 | -1,075 | - -## Directories -| path | files | code | comment | blank | total | -| :--- | ---: | ---: | ---: | ---: | ---: | -| . | 73 | -1,037 | 235 | -210 | -1,012 | -| .. | 40 | -1,062 | -4 | -215 | -1,281 | -| ../.. | 38 | -1,056 | -4 | -211 | -1,271 | -| ../../.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 | -| audio | 2 | -3 | 0 | -2 | -5 | -| audio_source | 8 | 347 | 240 | 120 | 707 | -| audio_source/sources | 5 | 245 | 192 | 82 | 519 | -| lyrics | 1 | -1 | 0 | -1 | -2 | -| metadata | 6 | -180 | -66 | -46 | -292 | -| scraping | 5 | -221 | -4 | -81 | -306 | -| tagging | 2 | 3 | 0 | 2 | 5 | -| target | 2 | 36 | 7 | 19 | 62 | -| utils | 2 | 169 | 82 | 41 | 292 | - -[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-18_09-40-36/diff.txt b/.VSCodeCounter/2022-11-18_09-40-36/diff.txt deleted file mode 100644 index 7147afe..0000000 --- a/.VSCodeCounter/2022-11-18_09-40-36/diff.txt +++ /dev/null @@ -1,124 +0,0 @@ -Date : 2022-11-18 09:40:36 -Directory : /home/lars/Projects/music-downloader/src/music_kraken -Total : 73 files, -1037 codes, 235 comments, -210 blanks, all -1012 lines - -Languages -+------------------+------------+------------+------------+------------+------------+ -| language | files | code | comment | blank | total | -+------------------+------------+------------+------------+------------+------------+ -| JSON | 5 | -5 | 0 | 0 | -5 | -| pip requirements | 1 | -8 | 0 | 0 | -8 | -| Python | 36 | -9 | 238 | -2 | 227 | -| Shell Script | 1 | -14 | -3 | -6 | -23 | -| toml | 1 | -18 | 0 | -3 | -21 | -| XML | 6 | -48 | 0 | 0 | -48 | -| SQLite | 1 | -53 | 0 | -6 | -59 | -| Markdown | 22 | -882 | 0 | -193 | -1,075 | -+------------------+------------+------------+------------+------------+------------+ - -Directories -+-------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+ -| path | files | code | comment | blank | total | -+-------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+ -| . | 73 | -1,037 | 235 | -210 | -1,012 | -| .. | 40 | -1,062 | -4 | -215 | -1,281 | -| ../.. | 38 | -1,056 | -4 | -211 | -1,271 | -| ../../.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 | -| audio | 2 | -3 | 0 | -2 | -5 | -| audio_source | 8 | 347 | 240 | 120 | 707 | -| audio_source/sources | 5 | 245 | 192 | 82 | 519 | -| lyrics | 1 | -1 | 0 | -1 | -2 | -| metadata | 6 | -180 | -66 | -46 | -292 | -| scraping | 5 | -221 | -4 | -81 | -306 | -| tagging | 2 | 3 | 0 | 2 | 5 | -| target | 2 | 36 | 7 | 19 | 62 | -| utils | 2 | 169 | 82 | 41 | 292 | -+-------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+ - -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 | -5 | 5 | 4 | 4 | -| /home/lars/Projects/music-downloader/src/music_kraken/__main__.py | Python | 1 | 3 | 0 | 4 | -| /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/audio_source/__init__.py | Python | 0 | 0 | 1 | 1 | -| /home/lars/Projects/music-downloader/src/music_kraken/audio_source/fetch_audio.py | Python | 65 | 20 | 22 | 107 | -| /home/lars/Projects/music-downloader/src/music_kraken/audio_source/fetch_source.py | Python | 37 | 28 | 15 | 80 | -| /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 | 126 | 120 | 37 | 283 | -| /home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/source.py | Python | 10 | 5 | 6 | 21 | -| /home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/youtube.py | Python | 69 | 67 | 20 | 156 | -| /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/lyrics.py | Python | -1 | 0 | -1 | -2 | -| /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/metadata_fetch.py | Python | 254 | 24 | 63 | 341 | -| /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/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/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 | 0 | 0 | 1 | 1 | -| /home/lars/Projects/music-downloader/src/music_kraken/target/set_target.py | Python | 36 | 7 | 18 | 61 | -| /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/database.py | Python | 158 | 80 | 40 | 278 | -| /home/lars/Projects/music-downloader/src/music_kraken/utils/shared.py | Python | 11 | 2 | 1 | 14 | -| /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 | | -1,037 | 235 | -210 | -1,012 | -+-------------------------------------------------------------------------------------------+------------------+------------+------------+------------+------------+ \ No newline at end of file diff --git a/.VSCodeCounter/2022-11-18_09-40-36/results.csv b/.VSCodeCounter/2022-11-18_09-40-36/results.csv deleted file mode 100644 index 15575e4..0000000 --- a/.VSCodeCounter/2022-11-18_09-40-36/results.csv +++ /dev/null @@ -1,27 +0,0 @@ -"filename", "language", "Python", "comment", "blank", "total" -"/home/lars/Projects/music-downloader/src/music_kraken/__init__.py", "Python", 75, 8, 27, 110 -"/home/lars/Projects/music-downloader/src/music_kraken/__main__.py", "Python", 4, 3, 3, 10 -"/home/lars/Projects/music-downloader/src/music_kraken/audio_source/__init__.py", "Python", 0, 0, 1, 1 -"/home/lars/Projects/music-downloader/src/music_kraken/audio_source/fetch_audio.py", "Python", 65, 20, 22, 107 -"/home/lars/Projects/music-downloader/src/music_kraken/audio_source/fetch_source.py", "Python", 37, 28, 15, 80 -"/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", 126, 120, 37, 283 -"/home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/source.py", "Python", 10, 5, 6, 21 -"/home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/youtube.py", "Python", 69, 67, 20, 156 -"/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", 49, 19, 25, 93 -"/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/metadata_fetch.py", "Python", 254, 24, 63, 341 -"/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/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", 0, 0, 1, 1 -"/home/lars/Projects/music-downloader/src/music_kraken/target/set_target.py", "Python", 36, 7, 18, 61 -"/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/database.py", "Python", 158, 80, 40, 278 -"/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", 46, 2, 12, 60 -"Total", "-", 1378, 462, 442, 2282 \ No newline at end of file diff --git a/.VSCodeCounter/2022-11-18_09-40-36/results.json b/.VSCodeCounter/2022-11-18_09-40-36/results.json deleted file mode 100644 index a3db5d2..0000000 --- a/.VSCodeCounter/2022-11-18_09-40-36/results.json +++ /dev/null @@ -1 +0,0 @@ -{"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/__init__.py":{"language":"Python","code":75,"comment":8,"blank":27},"file:///home/lars/Projects/music-downloader/src/music_kraken/utils/database.py":{"language":"Python","code":158,"comment":80,"blank":40},"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/phonetic_compares.py":{"language":"Python","code":34,"comment":0,"blank":15},"file:///home/lars/Projects/music-downloader/src/music_kraken/utils/shared.py":{"language":"Python","code":46,"comment":2,"blank":12},"file:///home/lars/Projects/music-downloader/src/music_kraken/__main__.py":{"language":"Python","code":4,"comment":3,"blank":3},"file:///home/lars/Projects/music-downloader/src/music_kraken/target/__init__.py":{"language":"Python","code":0,"comment":0,"blank":1},"file:///home/lars/Projects/music-downloader/src/music_kraken/target/set_target.py":{"language":"Python","code":36,"comment":7,"blank":18},"file:///home/lars/Projects/music-downloader/src/music_kraken/audio_source/__init__.py":{"language":"Python","code":0,"comment":0,"blank":1},"file:///home/lars/Projects/music-downloader/src/music_kraken/audio_source/fetch_audio.py":{"language":"Python","code":65,"comment":20,"blank":22},"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/tagging/song.py":{"language":"Python","code":3,"comment":0,"blank":1},"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/audio_source/sources/local_files.py":{"language":"Python","code":40,"comment":0,"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/genius.py":{"language":"Python","code":99,"comment":38,"blank":35},"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/lyrics/lyrics.py":{"language":"Python","code":49,"comment":19,"blank":25},"file:///home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/source.py":{"language":"Python","code":10,"comment":5,"blank":6},"file:///home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/youtube.py":{"language":"Python","code":69,"comment":67,"blank":20},"file:///home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/musify.py":{"language":"Python","code":126,"comment":120,"blank":37},"file:///home/lars/Projects/music-downloader/src/music_kraken/metadata/metadata_fetch.py":{"language":"Python","code":254,"comment":24,"blank":63},"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/audio_source/fetch_source.py":{"language":"Python","code":37,"comment":28,"blank":15}} \ No newline at end of file diff --git a/.VSCodeCounter/2022-11-18_09-40-36/results.md b/.VSCodeCounter/2022-11-18_09-40-36/results.md deleted file mode 100644 index 85e9cdb..0000000 --- a/.VSCodeCounter/2022-11-18_09-40-36/results.md +++ /dev/null @@ -1,28 +0,0 @@ -# Summary - -Date : 2022-11-18 09:40:36 - -Directory /home/lars/Projects/music-downloader/src/music_kraken - -Total : 25 files, 1378 codes, 462 comments, 442 blanks, all 2282 lines - -Summary / [Details](details.md) / [Diff Summary](diff.md) / [Diff Details](diff-details.md) - -## Languages -| language | files | code | comment | blank | total | -| :--- | ---: | ---: | ---: | ---: | ---: | -| Python | 25 | 1,378 | 462 | 442 | 2,282 | - -## Directories -| path | files | code | comment | blank | total | -| :--- | ---: | ---: | ---: | ---: | ---: | -| . | 25 | 1,378 | 462 | 442 | 2,282 | -| audio_source | 8 | 347 | 240 | 120 | 707 | -| audio_source/sources | 5 | 245 | 192 | 82 | 519 | -| lyrics | 3 | 148 | 57 | 61 | 266 | -| metadata | 3 | 507 | 64 | 136 | 707 | -| tagging | 2 | 3 | 0 | 2 | 5 | -| target | 2 | 36 | 7 | 19 | 62 | -| utils | 5 | 258 | 83 | 74 | 415 | - -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-18_09-40-36/results.txt b/.VSCodeCounter/2022-11-18_09-40-36/results.txt deleted file mode 100644 index 6b97f82..0000000 --- a/.VSCodeCounter/2022-11-18_09-40-36/results.txt +++ /dev/null @@ -1,56 +0,0 @@ -Date : 2022-11-18 09:40:36 -Directory : /home/lars/Projects/music-downloader/src/music_kraken -Total : 25 files, 1378 codes, 462 comments, 442 blanks, all 2282 lines - -Languages -+----------+------------+------------+------------+------------+------------+ -| language | files | code | comment | blank | total | -+----------+------------+------------+------------+------------+------------+ -| Python | 25 | 1,378 | 462 | 442 | 2,282 | -+----------+------------+------------+------------+------------+------------+ - -Directories -+-------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+ -| path | files | code | comment | blank | total | -+-------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+ -| . | 25 | 1,378 | 462 | 442 | 2,282 | -| audio_source | 8 | 347 | 240 | 120 | 707 | -| audio_source/sources | 5 | 245 | 192 | 82 | 519 | -| lyrics | 3 | 148 | 57 | 61 | 266 | -| metadata | 3 | 507 | 64 | 136 | 707 | -| tagging | 2 | 3 | 0 | 2 | 5 | -| target | 2 | 36 | 7 | 19 | 62 | -| utils | 5 | 258 | 83 | 74 | 415 | -+-------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+ - -Files -+-------------------------------------------------------------------------------------------+----------+------------+------------+------------+------------+ -| filename | language | code | comment | blank | total | -+-------------------------------------------------------------------------------------------+----------+------------+------------+------------+------------+ -| /home/lars/Projects/music-downloader/src/music_kraken/__init__.py | Python | 75 | 8 | 27 | 110 | -| /home/lars/Projects/music-downloader/src/music_kraken/__main__.py | Python | 4 | 3 | 3 | 10 | -| /home/lars/Projects/music-downloader/src/music_kraken/audio_source/__init__.py | Python | 0 | 0 | 1 | 1 | -| /home/lars/Projects/music-downloader/src/music_kraken/audio_source/fetch_audio.py | Python | 65 | 20 | 22 | 107 | -| /home/lars/Projects/music-downloader/src/music_kraken/audio_source/fetch_source.py | Python | 37 | 28 | 15 | 80 | -| /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 | 126 | 120 | 37 | 283 | -| /home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/source.py | Python | 10 | 5 | 6 | 21 | -| /home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/youtube.py | Python | 69 | 67 | 20 | 156 | -| /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 | 49 | 19 | 25 | 93 | -| /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/metadata_fetch.py | Python | 254 | 24 | 63 | 341 | -| /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/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 | 0 | 0 | 1 | 1 | -| /home/lars/Projects/music-downloader/src/music_kraken/target/set_target.py | Python | 36 | 7 | 18 | 61 | -| /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/database.py | Python | 158 | 80 | 40 | 278 | -| /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 | 46 | 2 | 12 | 60 | -| Total | | 1,378 | 462 | 442 | 2,282 | -+-------------------------------------------------------------------------------------------+----------+------------+------------+------------+------------+ \ No newline at end of file diff --git a/.VSCodeCounter/2023-01-17_16-43-06/details.md b/.VSCodeCounter/2023-01-17_16-43-06/details.md new file mode 100644 index 0000000..03af94b --- /dev/null +++ b/.VSCodeCounter/2023-01-17_16-43-06/details.md @@ -0,0 +1,64 @@ +# Details + +Date : 2023-01-17 16:43:06 + +Directory /home/lars/Projects/music-downloader/src + +Total : 49 files, 3402 codes, 663 comments, 973 blanks, all 5038 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 | 116 | 6 | 29 | 151 | +| [src/music_kraken/__init__.py](/src/music_kraken/__init__.py) | Python | 118 | 32 | 48 | 198 | +| [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 | 12 | 1 | 4 | 17 | +| [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 | 401 | 109 | 107 | 617 | +| [src/music_kraken/database/objects/__init__.py](/src/music_kraken/database/objects/__init__.py) | Python | 14 | 0 | 4 | 18 | +| [src/music_kraken/database/objects/artist.py](/src/music_kraken/database/objects/artist.py) | Python | 18 | 0 | 5 | 23 | +| [src/music_kraken/database/objects/metadata.py](/src/music_kraken/database/objects/metadata.py) | Python | 245 | 52 | 50 | 347 | +| [src/music_kraken/database/objects/parents.py](/src/music_kraken/database/objects/parents.py) | Python | 46 | 8 | 23 | 77 | +| [src/music_kraken/database/objects/song.py](/src/music_kraken/database/objects/song.py) | Python | 258 | 52 | 76 | 386 | +| [src/music_kraken/database/objects/source.py](/src/music_kraken/database/objects/source.py) | Python | 46 | 7 | 13 | 66 | +| [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 | 71 | 0 | 10 | 81 | +| [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 | 8 | 0 | 2 | 10 | +| [src/music_kraken/tagging/id3.py](/src/music_kraken/tagging/id3.py) | Python | 51 | 4 | 20 | 75 | +| [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 | 61 | 3 | 9 | 73 | +| [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 | 92 | 0 | 0 | 92 | +| [src/try-programming-interface.py](/src/try-programming-interface.py) | Python | 14 | 98 | 22 | 134 | +| [src/try_python.py](/src/try_python.py) | Python | 13 | 1 | 6 | 20 | + +[Summary](results.md) / Details / [Diff Summary](diff.md) / [Diff Details](diff-details.md) \ No newline at end of file diff --git a/.VSCodeCounter/2023-01-17_16-43-06/diff-details.md b/.VSCodeCounter/2023-01-17_16-43-06/diff-details.md new file mode 100644 index 0000000..bd8541a --- /dev/null +++ b/.VSCodeCounter/2023-01-17_16-43-06/diff-details.md @@ -0,0 +1,31 @@ +# Diff Details + +Date : 2023-01-17 16:43:06 + +Directory /home/lars/Projects/music-downloader/src + +Total : 16 files, 516 codes, 69 comments, 119 blanks, all 704 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 | 42 | 2 | 10 | 54 | +| [src/music_kraken/__init__.py](/src/music_kraken/__init__.py) | Python | 1 | 0 | 0 | 1 | +| [src/music_kraken/database/__init__.py](/src/music_kraken/database/__init__.py) | Python | 1 | 0 | 0 | 1 | +| [src/music_kraken/database/new_database.py](/src/music_kraken/database/new_database.py) | Python | 74 | 11 | 18 | 103 | +| [src/music_kraken/database/objects/__init__.py](/src/music_kraken/database/objects/__init__.py) | Python | 4 | 0 | 1 | 5 | +| [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/metadata.py](/src/music_kraken/database/objects/metadata.py) | Python | 245 | 52 | 50 | 347 | +| [src/music_kraken/database/objects/parents.py](/src/music_kraken/database/objects/parents.py) | Python | 46 | 8 | 23 | 77 | +| [src/music_kraken/database/objects/song.py](/src/music_kraken/database/objects/song.py) | Python | 3 | -9 | -10 | -16 | +| [src/music_kraken/database/objects/source.py](/src/music_kraken/database/objects/source.py) | Python | 46 | 7 | 13 | 66 | +| [src/music_kraken/static_files/new_db.sql](/src/music_kraken/static_files/new_db.sql) | SQLite | 1 | 0 | 0 | 1 | +| [src/music_kraken/tagging/__init__.py](/src/music_kraken/tagging/__init__.py) | Python | 8 | 0 | 1 | 9 | +| [src/music_kraken/tagging/id3.py](/src/music_kraken/tagging/id3.py) | Python | 51 | 4 | 20 | 75 | +| [src/music_kraken/utils/shared.py](/src/music_kraken/utils/shared.py) | Python | 1 | 0 | 0 | 1 | +| [src/test.db](/src/test.db) | Database | 8 | 0 | 0 | 8 | +| [src/try_python.py](/src/try_python.py) | Python | 13 | 1 | 6 | 20 | + +[Summary](results.md) / [Details](details.md) / [Diff Summary](diff.md) / Diff Details \ No newline at end of file diff --git a/.VSCodeCounter/2023-01-17_16-43-06/diff.csv b/.VSCodeCounter/2023-01-17_16-43-06/diff.csv new file mode 100644 index 0000000..37b50cd --- /dev/null +++ b/.VSCodeCounter/2023-01-17_16-43-06/diff.csv @@ -0,0 +1,18 @@ +"filename", "language", "Python", "Database", "SQLite", "comment", "blank", "total" +"/home/lars/Projects/music-downloader/src/goof.py", "Python", 42, 0, 0, 2, 10, 54 +"/home/lars/Projects/music-downloader/src/music_kraken/__init__.py", "Python", 1, 0, 0, 0, 0, 1 +"/home/lars/Projects/music-downloader/src/music_kraken/database/__init__.py", "Python", 1, 0, 0, 0, 0, 1 +"/home/lars/Projects/music-downloader/src/music_kraken/database/new_database.py", "Python", 74, 0, 0, 11, 18, 103 +"/home/lars/Projects/music-downloader/src/music_kraken/database/objects/__init__.py", "Python", 4, 0, 0, 0, 1, 5 +"/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/metadata.py", "Python", 245, 0, 0, 52, 50, 347 +"/home/lars/Projects/music-downloader/src/music_kraken/database/objects/parents.py", "Python", 46, 0, 0, 8, 23, 77 +"/home/lars/Projects/music-downloader/src/music_kraken/database/objects/song.py", "Python", 3, 0, 0, -9, -10, -16 +"/home/lars/Projects/music-downloader/src/music_kraken/database/objects/source.py", "Python", 46, 0, 0, 7, 13, 66 +"/home/lars/Projects/music-downloader/src/music_kraken/static_files/new_db.sql", "SQLite", 0, 0, 1, 0, 0, 1 +"/home/lars/Projects/music-downloader/src/music_kraken/tagging/__init__.py", "Python", 8, 0, 0, 0, 1, 9 +"/home/lars/Projects/music-downloader/src/music_kraken/tagging/id3.py", "Python", 51, 0, 0, 4, 20, 75 +"/home/lars/Projects/music-downloader/src/music_kraken/utils/shared.py", "Python", 1, 0, 0, 0, 0, 1 +"/home/lars/Projects/music-downloader/src/test.db", "Database", 0, 8, 0, 0, 0, 8 +"/home/lars/Projects/music-downloader/src/try_python.py", "Python", 13, 0, 0, 1, 6, 20 +"Total", "-", 507, 8, 1, 69, 119, 704 \ No newline at end of file diff --git a/.VSCodeCounter/2023-01-17_16-43-06/diff.md b/.VSCodeCounter/2023-01-17_16-43-06/diff.md new file mode 100644 index 0000000..0be5608 --- /dev/null +++ b/.VSCodeCounter/2023-01-17_16-43-06/diff.md @@ -0,0 +1,32 @@ +# Diff Summary + +Date : 2023-01-17 16:43:06 + +Directory /home/lars/Projects/music-downloader/src + +Total : 16 files, 516 codes, 69 comments, 119 blanks, all 704 lines + +[Summary](results.md) / [Details](details.md) / Diff Summary / [Diff Details](diff-details.md) + +## Languages +| language | files | code | comment | blank | total | +| :--- | ---: | ---: | ---: | ---: | ---: | +| Python | 14 | 507 | 69 | 119 | 695 | +| Database | 1 | 8 | 0 | 0 | 8 | +| SQLite | 1 | 1 | 0 | 0 | 1 | + +## Directories +| path | files | code | comment | blank | total | +| :--- | ---: | ---: | ---: | ---: | ---: | +| . | 16 | 516 | 69 | 119 | 704 | +| . (Files) | 3 | 63 | 3 | 16 | 82 | +| music_kraken | 13 | 453 | 66 | 103 | 622 | +| music_kraken (Files) | 1 | 1 | 0 | 0 | 1 | +| music_kraken/database | 8 | 391 | 62 | 82 | 535 | +| music_kraken/database (Files) | 2 | 75 | 11 | 18 | 104 | +| music_kraken/database/objects | 6 | 316 | 51 | 64 | 431 | +| music_kraken/static_files | 1 | 1 | 0 | 0 | 1 | +| music_kraken/tagging | 2 | 59 | 4 | 21 | 84 | +| music_kraken/utils | 1 | 1 | 0 | 0 | 1 | + +[Summary](results.md) / [Details](details.md) / Diff Summary / [Diff Details](diff-details.md) \ No newline at end of file diff --git a/.VSCodeCounter/2023-01-17_16-43-06/diff.txt b/.VSCodeCounter/2023-01-17_16-43-06/diff.txt new file mode 100644 index 0000000..2a4597d --- /dev/null +++ b/.VSCodeCounter/2023-01-17_16-43-06/diff.txt @@ -0,0 +1,51 @@ +Date : 2023-01-17 16:43:06 +Directory : /home/lars/Projects/music-downloader/src +Total : 16 files, 516 codes, 69 comments, 119 blanks, all 704 lines + +Languages ++----------+------------+------------+------------+------------+------------+ +| language | files | code | comment | blank | total | ++----------+------------+------------+------------+------------+------------+ +| Python | 14 | 507 | 69 | 119 | 695 | +| Database | 1 | 8 | 0 | 0 | 8 | +| SQLite | 1 | 1 | 0 | 0 | 1 | ++----------+------------+------------+------------+------------+------------+ + +Directories ++-------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+ +| path | files | code | comment | blank | total | ++-------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+ +| . | 16 | 516 | 69 | 119 | 704 | +| . (Files) | 3 | 63 | 3 | 16 | 82 | +| music_kraken | 13 | 453 | 66 | 103 | 622 | +| music_kraken (Files) | 1 | 1 | 0 | 0 | 1 | +| music_kraken/database | 8 | 391 | 62 | 82 | 535 | +| music_kraken/database (Files) | 2 | 75 | 11 | 18 | 104 | +| music_kraken/database/objects | 6 | 316 | 51 | 64 | 431 | +| music_kraken/static_files | 1 | 1 | 0 | 0 | 1 | +| music_kraken/tagging | 2 | 59 | 4 | 21 | 84 | +| music_kraken/utils | 1 | 1 | 0 | 0 | 1 | ++-------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+ + +Files ++-------------------------------------------------------------------------------------------+----------+------------+------------+------------+------------+ +| filename | language | code | comment | blank | total | ++-------------------------------------------------------------------------------------------+----------+------------+------------+------------+------------+ +| /home/lars/Projects/music-downloader/src/goof.py | Python | 42 | 2 | 10 | 54 | +| /home/lars/Projects/music-downloader/src/music_kraken/__init__.py | Python | 1 | 0 | 0 | 1 | +| /home/lars/Projects/music-downloader/src/music_kraken/database/__init__.py | Python | 1 | 0 | 0 | 1 | +| /home/lars/Projects/music-downloader/src/music_kraken/database/new_database.py | Python | 74 | 11 | 18 | 103 | +| /home/lars/Projects/music-downloader/src/music_kraken/database/objects/__init__.py | Python | 4 | 0 | 1 | 5 | +| /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/metadata.py | Python | 245 | 52 | 50 | 347 | +| /home/lars/Projects/music-downloader/src/music_kraken/database/objects/parents.py | Python | 46 | 8 | 23 | 77 | +| /home/lars/Projects/music-downloader/src/music_kraken/database/objects/song.py | Python | 3 | -9 | -10 | -16 | +| /home/lars/Projects/music-downloader/src/music_kraken/database/objects/source.py | Python | 46 | 7 | 13 | 66 | +| /home/lars/Projects/music-downloader/src/music_kraken/static_files/new_db.sql | SQLite | 1 | 0 | 0 | 1 | +| /home/lars/Projects/music-downloader/src/music_kraken/tagging/__init__.py | Python | 8 | 0 | 1 | 9 | +| /home/lars/Projects/music-downloader/src/music_kraken/tagging/id3.py | Python | 51 | 4 | 20 | 75 | +| /home/lars/Projects/music-downloader/src/music_kraken/utils/shared.py | Python | 1 | 0 | 0 | 1 | +| /home/lars/Projects/music-downloader/src/test.db | Database | 8 | 0 | 0 | 8 | +| /home/lars/Projects/music-downloader/src/try_python.py | Python | 13 | 1 | 6 | 20 | +| Total | | 516 | 69 | 119 | 704 | ++-------------------------------------------------------------------------------------------+----------+------------+------------+------------+------------+ \ No newline at end of file diff --git a/.VSCodeCounter/2023-01-17_16-43-06/results.csv b/.VSCodeCounter/2023-01-17_16-43-06/results.csv new file mode 100644 index 0000000..807aec5 --- /dev/null +++ b/.VSCodeCounter/2023-01-17_16-43-06/results.csv @@ -0,0 +1,51 @@ +"filename", "language", "Python", "Database", "SQLite", "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", 116, 0, 0, 6, 29, 151 +"/home/lars/Projects/music-downloader/src/music_kraken/__init__.py", "Python", 118, 0, 0, 32, 48, 198 +"/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", 12, 0, 0, 1, 4, 17 +"/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", 401, 0, 0, 109, 107, 617 +"/home/lars/Projects/music-downloader/src/music_kraken/database/objects/__init__.py", "Python", 14, 0, 0, 0, 4, 18 +"/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/metadata.py", "Python", 245, 0, 0, 52, 50, 347 +"/home/lars/Projects/music-downloader/src/music_kraken/database/objects/parents.py", "Python", 46, 0, 0, 8, 23, 77 +"/home/lars/Projects/music-downloader/src/music_kraken/database/objects/song.py", "Python", 258, 0, 0, 52, 76, 386 +"/home/lars/Projects/music-downloader/src/music_kraken/database/objects/source.py", "Python", 46, 0, 0, 7, 13, 66 +"/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, 0, 71, 0, 10, 81 +"/home/lars/Projects/music-downloader/src/music_kraken/static_files/temp_database_structure.sql", "SQLite", 0, 0, 135, 0, 10, 145 +"/home/lars/Projects/music-downloader/src/music_kraken/tagging/__init__.py", "Python", 8, 0, 0, 0, 2, 10 +"/home/lars/Projects/music-downloader/src/music_kraken/tagging/id3.py", "Python", 51, 0, 0, 4, 20, 75 +"/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", 61, 0, 0, 3, 9, 73 +"/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, 92, 0, 0, 0, 92 +"/home/lars/Projects/music-downloader/src/try-programming-interface.py", "Python", 14, 0, 0, 98, 22, 134 +"/home/lars/Projects/music-downloader/src/try_python.py", "Python", 13, 0, 0, 1, 6, 20 +"Total", "-", 3104, 92, 206, 663, 973, 5038 \ No newline at end of file diff --git a/.VSCodeCounter/2023-01-17_16-43-06/results.json b/.VSCodeCounter/2023-01-17_16-43-06/results.json new file mode 100644 index 0000000..6d88ac8 --- /dev/null +++ b/.VSCodeCounter/2023-01-17_16-43-06/results.json @@ -0,0 +1 @@ +{"file:///home/lars/Projects/music-downloader/src/try_python.py":{"language":"Python","code":13,"comment":1,"blank":6},"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":118,"comment":32,"blank":48},"file:///home/lars/Projects/music-downloader/src/test.db":{"language":"Database","code":92,"comment":0,"blank":0},"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/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/database/new_database.py":{"language":"Python","code":401,"comment":109,"blank":107},"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/utils/shared.py":{"language":"Python","code":61,"comment":3,"blank":9},"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/database/__init__.py":{"language":"Python","code":12,"comment":1,"blank":4},"file:///home/lars/Projects/music-downloader/src/music_kraken/database/objects/metadata.py":{"language":"Python","code":245,"comment":52,"blank":50},"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/temp_database.py":{"language":"Python","code":12,"comment":0,"blank":8},"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/database/objects/artist.py":{"language":"Python","code":18,"comment":0,"blank":5},"file:///home/lars/Projects/music-downloader/src/music_kraken/database/objects/source.py":{"language":"Python","code":46,"comment":7,"blank":13},"file:///home/lars/Projects/music-downloader/src/music_kraken/database/objects/__init__.py":{"language":"Python","code":14,"comment":0,"blank":4},"file:///home/lars/Projects/music-downloader/src/music_kraken/database/objects/song.py":{"language":"Python","code":258,"comment":52,"blank":76},"file:///home/lars/Projects/music-downloader/src/music_kraken/database/objects/parents.py":{"language":"Python","code":46,"comment":8,"blank":23},"file:///home/lars/Projects/music-downloader/src/music_kraken/static_files/new_db.sql":{"language":"SQLite","code":71,"comment":0,"blank":10},"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/tagging/__init__.py":{"language":"Python","code":8,"comment":0,"blank":2},"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/tagging/id3.py":{"language":"Python","code":51,"comment":4,"blank":20},"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/__init__.py":{"language":"Python","code":6,"comment":0,"blank":2},"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/__main__.py":{"language":"Python","code":3,"comment":2,"blank":3},"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/metadata/sources/musicbrainz.py":{"language":"Python","code":42,"comment":6,"blank":9},"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/__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/source.py":{"language":"Python","code":11,"comment":5,"blank":8},"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/youtube.py":{"language":"Python","code":71,"comment":4,"blank":24},"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/audio_source/sources/musify.py":{"language":"Python","code":136,"comment":9,"blank":37},"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/audio_source/sources/local_files.py":{"language":"Python","code":40,"comment":0,"blank":18},"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/lyrics/lyrics.py":{"language":"Python","code":36,"comment":25,"blank":20},"file:///home/lars/Projects/music-downloader/src/music_kraken_gtk.py":{"language":"Python","code":3,"comment":0,"blank":2},"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":116,"comment":6,"blank":29},"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}} \ No newline at end of file diff --git a/.VSCodeCounter/2023-01-17_16-43-06/results.md b/.VSCodeCounter/2023-01-17_16-43-06/results.md new file mode 100644 index 0000000..0b7221e --- /dev/null +++ b/.VSCodeCounter/2023-01-17_16-43-06/results.md @@ -0,0 +1,40 @@ +# Summary + +Date : 2023-01-17 16:43:06 + +Directory /home/lars/Projects/music-downloader/src + +Total : 49 files, 3402 codes, 663 comments, 973 blanks, all 5038 lines + +Summary / [Details](details.md) / [Diff Summary](diff.md) / [Diff Details](diff-details.md) + +## Languages +| language | files | code | comment | blank | total | +| :--- | ---: | ---: | ---: | ---: | ---: | +| Python | 46 | 3,104 | 663 | 953 | 4,720 | +| SQLite | 2 | 206 | 0 | 20 | 226 | +| Database | 1 | 92 | 0 | 0 | 92 | + +## Directories +| path | files | code | comment | blank | total | +| :--- | ---: | ---: | ---: | ---: | ---: | +| . | 49 | 3,402 | 663 | 973 | 5,038 | +| . (Files) | 7 | 332 | 114 | 92 | 538 | +| music_kraken | 42 | 3,070 | 549 | 881 | 4,500 | +| music_kraken (Files) | 2 | 121 | 34 | 51 | 206 | +| music_kraken/audio_source | 8 | 397 | 31 | 129 | 557 | +| music_kraken/audio_source (Files) | 3 | 139 | 13 | 41 | 193 | +| music_kraken/audio_source/sources | 5 | 258 | 18 | 88 | 364 | +| music_kraken/database | 12 | 1,408 | 356 | 391 | 2,155 | +| music_kraken/database (Files) | 6 | 781 | 237 | 220 | 1,238 | +| music_kraken/database/objects | 6 | 627 | 119 | 171 | 917 | +| music_kraken/lyrics | 3 | 151 | 41 | 63 | 255 | +| music_kraken/metadata | 5 | 561 | 70 | 150 | 781 | +| music_kraken/metadata (Files) | 3 | 516 | 64 | 139 | 719 | +| music_kraken/metadata/sources | 2 | 45 | 6 | 11 | 62 | +| music_kraken/static_files | 2 | 206 | 0 | 20 | 226 | +| music_kraken/tagging | 3 | 62 | 4 | 23 | 89 | +| music_kraken/target | 2 | 41 | 7 | 20 | 68 | +| music_kraken/utils | 5 | 123 | 6 | 34 | 163 | + +Summary / [Details](details.md) / [Diff Summary](diff.md) / [Diff Details](diff-details.md) \ No newline at end of file diff --git a/.VSCodeCounter/2023-01-17_16-43-06/results.txt b/.VSCodeCounter/2023-01-17_16-43-06/results.txt new file mode 100644 index 0000000..380bd65 --- /dev/null +++ b/.VSCodeCounter/2023-01-17_16-43-06/results.txt @@ -0,0 +1,92 @@ +Date : 2023-01-17 16:43:06 +Directory : /home/lars/Projects/music-downloader/src +Total : 49 files, 3402 codes, 663 comments, 973 blanks, all 5038 lines + +Languages ++----------+------------+------------+------------+------------+------------+ +| language | files | code | comment | blank | total | ++----------+------------+------------+------------+------------+------------+ +| Python | 46 | 3,104 | 663 | 953 | 4,720 | +| SQLite | 2 | 206 | 0 | 20 | 226 | +| Database | 1 | 92 | 0 | 0 | 92 | ++----------+------------+------------+------------+------------+------------+ + +Directories ++------------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+ +| path | files | code | comment | blank | total | ++------------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+ +| . | 49 | 3,402 | 663 | 973 | 5,038 | +| . (Files) | 7 | 332 | 114 | 92 | 538 | +| music_kraken | 42 | 3,070 | 549 | 881 | 4,500 | +| music_kraken (Files) | 2 | 121 | 34 | 51 | 206 | +| music_kraken/audio_source | 8 | 397 | 31 | 129 | 557 | +| music_kraken/audio_source (Files) | 3 | 139 | 13 | 41 | 193 | +| music_kraken/audio_source/sources | 5 | 258 | 18 | 88 | 364 | +| music_kraken/database | 12 | 1,408 | 356 | 391 | 2,155 | +| music_kraken/database (Files) | 6 | 781 | 237 | 220 | 1,238 | +| music_kraken/database/objects | 6 | 627 | 119 | 171 | 917 | +| music_kraken/lyrics | 3 | 151 | 41 | 63 | 255 | +| music_kraken/metadata | 5 | 561 | 70 | 150 | 781 | +| music_kraken/metadata (Files) | 3 | 516 | 64 | 139 | 719 | +| music_kraken/metadata/sources | 2 | 45 | 6 | 11 | 62 | +| music_kraken/static_files | 2 | 206 | 0 | 20 | 226 | +| music_kraken/tagging | 3 | 62 | 4 | 23 | 89 | +| music_kraken/target | 2 | 41 | 7 | 20 | 68 | +| music_kraken/utils | 5 | 123 | 6 | 34 | 163 | ++------------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+ + +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 | 116 | 6 | 29 | 151 | +| /home/lars/Projects/music-downloader/src/music_kraken/__init__.py | Python | 118 | 32 | 48 | 198 | +| /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 | 12 | 1 | 4 | 17 | +| /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 | 401 | 109 | 107 | 617 | +| /home/lars/Projects/music-downloader/src/music_kraken/database/objects/__init__.py | Python | 14 | 0 | 4 | 18 | +| /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/metadata.py | Python | 245 | 52 | 50 | 347 | +| /home/lars/Projects/music-downloader/src/music_kraken/database/objects/parents.py | Python | 46 | 8 | 23 | 77 | +| /home/lars/Projects/music-downloader/src/music_kraken/database/objects/song.py | Python | 258 | 52 | 76 | 386 | +| /home/lars/Projects/music-downloader/src/music_kraken/database/objects/source.py | Python | 46 | 7 | 13 | 66 | +| /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 | 71 | 0 | 10 | 81 | +| /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 | 8 | 0 | 2 | 10 | +| /home/lars/Projects/music-downloader/src/music_kraken/tagging/id3.py | Python | 51 | 4 | 20 | 75 | +| /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 | 61 | 3 | 9 | 73 | +| /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 | 92 | 0 | 0 | 92 | +| /home/lars/Projects/music-downloader/src/try-programming-interface.py | Python | 14 | 98 | 22 | 134 | +| /home/lars/Projects/music-downloader/src/try_python.py | Python | 13 | 1 | 6 | 20 | +| Total | | 3,402 | 663 | 973 | 5,038 | ++------------------------------------------------------------------------------------------------+----------+------------+------------+------------+------------+ \ No newline at end of file diff --git a/src/music_kraken/database/new_database.py b/src/music_kraken/database/new_database.py index 9973418..eb5a46b 100644 --- a/src/music_kraken/database/new_database.py +++ b/src/music_kraken/database/new_database.py @@ -15,7 +15,8 @@ from .objects import ( Target, Artist, Album, - ID3Timestamp + ID3Timestamp, + source_types ) @@ -33,7 +34,7 @@ LEFT JOIN Target ON Song.id=Target.song_id WHERE {where}; """ SOURCE_QUERY = """ -SELECT id, src, url, song_id +SELECT id, type, src, url, song_id FROM Source WHERE {where}; """ @@ -224,9 +225,10 @@ class Database: logger.warning("the Source don't refer to a song") table = "Source" - query = f"INSERT OR REPLACE INTO {table} (id, song_id, src, url) VALUES (?, ?, ?, ?);" + query = f"INSERT OR REPLACE INTO {table} (id, type, song_id, src, url) VALUES (?, ?, ?, ?, ?);" values = ( source.id, + source.type, source.song_ref_id, source.site_str, source.url @@ -336,13 +338,14 @@ class Database: language=lyrics_row['language'] ) for lyrics_row in lyrics_rows] - def pull_sources(self, song_ref: Reference = None, source_ref: Reference = None) -> List[Source]: + def pull_sources(self, type_enum, song_ref: Reference = None, source_ref: Reference = None) -> List[Source]: """ Gets a list of sources. if source_ref is passed in the List will most likely only contain one Element if everything goes accordingly. **If neither song_ref nor source_ref are passed in it will return ALL sources** :param song_ref: :param source_ref: + :param type_str: the thing the source belongs to like eg. "song" or "album" :return: """ @@ -359,7 +362,8 @@ class Database: return [Source( id_=source_row['id'], src=source_row['src'], - url=source_row['url'] + url=source_row['url'], + type_str=type_enum.value ) for source_row in source_rows] def pull_artist_song(self, song_ref: Reference = None, artist_ref: Reference = None) -> List[tuple]: @@ -482,7 +486,7 @@ class Database: file=song_result['file'], path=song_result['path'] ), - sources=self.pull_sources(song_ref=Reference(id_=song_id)), + sources=self.pull_sources(type_enum=source_types.SONG, song_ref=Reference(id_=song_id)), lyrics=self.pull_lyrics(song_ref=Reference(id_=song_id)), ) diff --git a/src/music_kraken/database/objects/__init__.py b/src/music_kraken/database/objects/__init__.py index a14ddb3..1e2e9ea 100644 --- a/src/music_kraken/database/objects/__init__.py +++ b/src/music_kraken/database/objects/__init__.py @@ -7,6 +7,8 @@ from . import ( ID3_MAPPING = metadata.Mapping ID3Timestamp = metadata.ID3Timestamp +source_types = source.source_types + Song = song.Song Artist = song.Artist Source = source.Source diff --git a/src/music_kraken/static_files/new_db.sql b/src/music_kraken/static_files/new_db.sql index e915e14..057476d 100644 --- a/src/music_kraken/static_files/new_db.sql +++ b/src/music_kraken/static_files/new_db.sql @@ -78,11 +78,3 @@ CREATE TABLE AlbumArtist FOREIGN KEY(album_id) REFERENCES Album(id), FOREIGN KEY(artist_id) REFERENCES Artist(id) ); - -CREATE TABLE id3 -( - frame TEXT, -- 4 capital leters like TXXX - value TEXT, - song_id BIGINT, - FOREIGN KEY(song_id) REFERENCES Song(id) -);