From c1fb6df3b567533c8a50590e0337617b73bfada5 Mon Sep 17 00:00:00 2001 From: Hellow2 Date: Wed, 5 Apr 2023 09:35:52 +0200 Subject: [PATCH] count --- .../2023-02-06_10-33-12/diff-details.md | 70 ------------ .VSCodeCounter/2023-02-06_10-33-12/diff.csv | 57 ---------- .VSCodeCounter/2023-02-06_10-33-12/diff.md | 46 -------- .VSCodeCounter/2023-02-06_10-33-12/diff.txt | 104 ------------------ .../2023-02-06_10-33-12/results.csv | 52 --------- .../2023-02-06_10-33-12/results.json | 1 - .../details.md | 74 ++++++++----- .../2023-04-05_09-31-17/diff-details.md | 37 +++++++ .VSCodeCounter/2023-04-05_09-31-17/diff.csv | 24 ++++ .VSCodeCounter/2023-04-05_09-31-17/diff.md | 31 ++++++ .VSCodeCounter/2023-04-05_09-31-17/diff.txt | 56 ++++++++++ .../2023-04-05_09-31-17/results.csv | 68 ++++++++++++ .../2023-04-05_09-31-17/results.json | 1 + .../results.md | 31 +++--- .../results.txt | 103 +++++++++-------- src/music_kraken/utils/shared.py | 5 +- 16 files changed, 341 insertions(+), 419 deletions(-) delete mode 100644 .VSCodeCounter/2023-02-06_10-33-12/diff-details.md delete mode 100644 .VSCodeCounter/2023-02-06_10-33-12/diff.csv delete mode 100644 .VSCodeCounter/2023-02-06_10-33-12/diff.md delete mode 100644 .VSCodeCounter/2023-02-06_10-33-12/diff.txt delete mode 100644 .VSCodeCounter/2023-02-06_10-33-12/results.csv delete mode 100644 .VSCodeCounter/2023-02-06_10-33-12/results.json rename .VSCodeCounter/{2023-02-06_10-33-12 => 2023-04-05_09-31-17}/details.md (51%) create mode 100644 .VSCodeCounter/2023-04-05_09-31-17/diff-details.md create mode 100644 .VSCodeCounter/2023-04-05_09-31-17/diff.csv create mode 100644 .VSCodeCounter/2023-04-05_09-31-17/diff.md create mode 100644 .VSCodeCounter/2023-04-05_09-31-17/diff.txt create mode 100644 .VSCodeCounter/2023-04-05_09-31-17/results.csv create mode 100644 .VSCodeCounter/2023-04-05_09-31-17/results.json rename .VSCodeCounter/{2023-02-06_10-33-12 => 2023-04-05_09-31-17}/results.md (54%) rename .VSCodeCounter/{2023-02-06_10-33-12 => 2023-04-05_09-31-17}/results.txt (52%) diff --git a/.VSCodeCounter/2023-02-06_10-33-12/diff-details.md b/.VSCodeCounter/2023-02-06_10-33-12/diff-details.md deleted file mode 100644 index 4d95c45..0000000 --- a/.VSCodeCounter/2023-02-06_10-33-12/diff-details.md +++ /dev/null @@ -1,70 +0,0 @@ -# Diff Details - -Date : 2023-02-06 10:33:12 - -Directory /home/lars/Projects/music-downloader/src - -Total : 55 files, 171 codes, 111 comments, 54 blanks, all 336 lines - -[Summary](results.md) / [Details](details.md) / [Diff Summary](diff.md) / Diff Details - -## Files -| filename | language | code | comment | blank | total | -| :--- | :--- | ---: | ---: | ---: | ---: | -| [src/create_custom_objects.py](/src/create_custom_objects.py) | Python | 80 | 3 | 18 | 101 | -| [src/goof.py](/src/goof.py) | Python | -116 | -6 | -29 | -151 | -| [src/metal_archives.py](/src/metal_archives.py) | Python | 45 | 6 | 17 | 68 | -| [src/music_kraken/__init__.py](/src/music_kraken/__init__.py) | Python | -55 | -6 | -15 | -76 | -| [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 | 6 | -1 | 1 | 6 | -| [src/music_kraken/database/database.py](/src/music_kraken/database/old_database.py) | Python | 238 | 10 | 66 | 314 | -| [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 | -402 | -110 | -107 | -619 | -| [src/music_kraken/database/objects/__init__.py](/src/music_kraken/objects/__init__.py) | Python | 5 | 0 | 2 | 7 | -| [src/music_kraken/database/objects/formatted_text.py](/src/music_kraken/objects/formatted_text.py) | Python | 48 | 57 | 16 | 121 | -| [src/music_kraken/database/objects/metadata.py](/src/music_kraken/objects/metadata.py) | Python | 6 | 16 | 11 | 33 | -| [src/music_kraken/database/objects/parents.py](/src/music_kraken/objects/parents.py) | Python | -6 | 0 | -4 | -10 | -| [src/music_kraken/database/objects/song.py](/src/music_kraken/objects/song.py) | Python | 65 | 12 | 9 | 86 | -| [src/music_kraken/database/objects/source.py](/src/music_kraken/objects/source.py) | Python | 70 | 31 | 28 | 129 | -| [src/music_kraken/database/song.py](/src/music_kraken/database/song.py) | Python | -125 | -20 | -45 | -190 | -| [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/not_used_anymore/__init__.py](/src/music_kraken/not_used_anymore/__init__.py) | Python | 0 | 0 | 3 | 3 | -| [src/music_kraken/not_used_anymore/fetch_audio.py](/src/music_kraken/not_used_anymore/fetch_audio.py) | Python | 75 | 12 | 20 | 107 | -| [src/music_kraken/not_used_anymore/fetch_source.py](/src/music_kraken/not_used_anymore/fetch_source.py) | Python | 54 | 1 | 16 | 71 | -| [src/music_kraken/not_used_anymore/metadata/__init__.py](/src/music_kraken/not_used_anymore/metadata/__init__.py) | Python | 6 | 0 | 2 | 8 | -| [src/music_kraken/not_used_anymore/metadata/metadata_fetch.py](/src/music_kraken/not_used_anymore/metadata/metadata_fetch.py) | Python | 257 | 24 | 65 | 346 | -| [src/music_kraken/not_used_anymore/metadata/metadata_search.py](/src/music_kraken/not_used_anymore/metadata/metadata_search.py) | Python | 253 | 40 | 72 | 365 | -| [src/music_kraken/not_used_anymore/metadata/sources/__init__.py](/src/music_kraken/not_used_anymore/metadata/sources/__init__.py) | Python | 3 | 0 | 2 | 5 | -| [src/music_kraken/not_used_anymore/metadata/sources/musicbrainz.py](/src/music_kraken/not_used_anymore/metadata/sources/musicbrainz.py) | Python | 42 | 6 | 12 | 60 | -| [src/music_kraken/not_used_anymore/sources/__init__.py](/src/music_kraken/not_used_anymore/sources/__init__.py) | Python | 0 | 0 | 1 | 1 | -| [src/music_kraken/not_used_anymore/sources/genius.py](/src/music_kraken/not_used_anymore/sources/genius.py) | Python | 115 | 16 | 42 | 173 | -| [src/music_kraken/not_used_anymore/sources/local_files.py](/src/music_kraken/not_used_anymore/sources/local_files.py) | Python | 40 | 0 | 18 | 58 | -| [src/music_kraken/not_used_anymore/sources/musify.py](/src/music_kraken/not_used_anymore/sources/musify.py) | Python | 136 | 9 | 37 | 182 | -| [src/music_kraken/not_used_anymore/sources/source.py](/src/music_kraken/not_used_anymore/sources/source.py) | Python | 11 | 5 | 8 | 24 | -| [src/music_kraken/not_used_anymore/sources/youtube.py](/src/music_kraken/not_used_anymore/sources/youtube.py) | Python | 71 | 4 | 24 | 99 | -| [src/music_kraken/pages/__init__.py](/src/music_kraken/pages/__init__.py) | Python | 7 | 0 | 5 | 12 | -| [src/music_kraken/pages/abstract.py](/src/music_kraken/pages/abstract.py) | Python | 70 | 68 | 27 | 165 | -| [src/music_kraken/pages/encyclopaedia_metallum.py](/src/music_kraken/pages/encyclopaedia_metallum.py) | Python | 299 | 60 | 76 | 435 | -| [src/music_kraken/pages/youtube.py](/src/music_kraken/pages/youtube.py) | Python | 25 | 16 | 6 | 47 | -| [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/song.py](/src/music_kraken/tagging/song.py) | Python | -3 | 0 | -1 | -4 | -| [src/music_kraken/utils/shared.py](/src/music_kraken/utils/shared.py) | Python | 1 | 0 | 1 | 2 | -| [src/music_kraken/utils/string_processing.py](/src/music_kraken/utils/string_processing.py) | Python | 2 | 5 | 2 | 9 | -| [src/music_kraken_cli.py](/src/music_kraken_cli.py) | Python | -3 | 0 | 0 | -3 | -| [src/test.db](/src/test.db) | Database | -1 | 0 | 1 | 0 | - -[Summary](results.md) / [Details](details.md) / [Diff Summary](diff.md) / Diff Details \ No newline at end of file diff --git a/.VSCodeCounter/2023-02-06_10-33-12/diff.csv b/.VSCodeCounter/2023-02-06_10-33-12/diff.csv deleted file mode 100644 index d73bfd9..0000000 --- a/.VSCodeCounter/2023-02-06_10-33-12/diff.csv +++ /dev/null @@ -1,57 +0,0 @@ -"filename", "language", "Python", "Database", "SQLite", "comment", "blank", "total" -"/home/lars/Projects/music-downloader/src/create_custom_objects.py", "Python", 80, 0, 0, 3, 18, 101 -"/home/lars/Projects/music-downloader/src/goof.py", "Python", -116, 0, 0, -6, -29, -151 -"/home/lars/Projects/music-downloader/src/metal_archives.py", "Python", 45, 0, 0, 6, 17, 68 -"/home/lars/Projects/music-downloader/src/music_kraken/__init__.py", "Python", -55, 0, 0, -6, -15, -76 -"/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", 6, 0, 0, -1, 1, 6 -"/home/lars/Projects/music-downloader/src/music_kraken/database/database.py", "Python", 238, 0, 0, 10, 66, 314 -"/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", -402, 0, 0, -110, -107, -619 -"/home/lars/Projects/music-downloader/src/music_kraken/database/objects/__init__.py", "Python", 5, 0, 0, 0, 2, 7 -"/home/lars/Projects/music-downloader/src/music_kraken/database/objects/formatted_text.py", "Python", 48, 0, 0, 57, 16, 121 -"/home/lars/Projects/music-downloader/src/music_kraken/database/objects/metadata.py", "Python", 6, 0, 0, 16, 11, 33 -"/home/lars/Projects/music-downloader/src/music_kraken/database/objects/parents.py", "Python", -6, 0, 0, 0, -4, -10 -"/home/lars/Projects/music-downloader/src/music_kraken/database/objects/song.py", "Python", 65, 0, 0, 12, 9, 86 -"/home/lars/Projects/music-downloader/src/music_kraken/database/objects/source.py", "Python", 70, 0, 0, 31, 28, 129 -"/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/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/not_used_anymore/__init__.py", "Python", 0, 0, 0, 0, 3, 3 -"/home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/fetch_audio.py", "Python", 75, 0, 0, 12, 20, 107 -"/home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/fetch_source.py", "Python", 54, 0, 0, 1, 16, 71 -"/home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/metadata/__init__.py", "Python", 6, 0, 0, 0, 2, 8 -"/home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/metadata/metadata_fetch.py", "Python", 257, 0, 0, 24, 65, 346 -"/home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/metadata/metadata_search.py", "Python", 253, 0, 0, 40, 72, 365 -"/home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/metadata/sources/__init__.py", "Python", 3, 0, 0, 0, 2, 5 -"/home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/metadata/sources/musicbrainz.py", "Python", 42, 0, 0, 6, 12, 60 -"/home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/sources/__init__.py", "Python", 0, 0, 0, 0, 1, 1 -"/home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/sources/genius.py", "Python", 115, 0, 0, 16, 42, 173 -"/home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/sources/local_files.py", "Python", 40, 0, 0, 0, 18, 58 -"/home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/sources/musify.py", "Python", 136, 0, 0, 9, 37, 182 -"/home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/sources/source.py", "Python", 11, 0, 0, 5, 8, 24 -"/home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/sources/youtube.py", "Python", 71, 0, 0, 4, 24, 99 -"/home/lars/Projects/music-downloader/src/music_kraken/pages/__init__.py", "Python", 7, 0, 0, 0, 5, 12 -"/home/lars/Projects/music-downloader/src/music_kraken/pages/abstract.py", "Python", 70, 0, 0, 68, 27, 165 -"/home/lars/Projects/music-downloader/src/music_kraken/pages/encyclopaedia_metallum.py", "Python", 299, 0, 0, 60, 76, 435 -"/home/lars/Projects/music-downloader/src/music_kraken/pages/youtube.py", "Python", 25, 0, 0, 16, 6, 47 -"/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/song.py", "Python", -3, 0, 0, 0, -1, -4 -"/home/lars/Projects/music-downloader/src/music_kraken/utils/shared.py", "Python", 1, 0, 0, 0, 1, 2 -"/home/lars/Projects/music-downloader/src/music_kraken/utils/string_processing.py", "Python", 2, 0, 0, 5, 2, 9 -"/home/lars/Projects/music-downloader/src/music_kraken_cli.py", "Python", -3, 0, 0, 0, 0, -3 -"/home/lars/Projects/music-downloader/src/test.db", "Database", 0, -1, 0, 0, 1, 0 -"Total", "-", 171, -1, 1, 111, 54, 336 \ No newline at end of file diff --git a/.VSCodeCounter/2023-02-06_10-33-12/diff.md b/.VSCodeCounter/2023-02-06_10-33-12/diff.md deleted file mode 100644 index 2eb076c..0000000 --- a/.VSCodeCounter/2023-02-06_10-33-12/diff.md +++ /dev/null @@ -1,46 +0,0 @@ -# Diff Summary - -Date : 2023-02-06 10:33:12 - -Directory /home/lars/Projects/music-downloader/src - -Total : 55 files, 171 codes, 111 comments, 54 blanks, all 336 lines - -[Summary](results.md) / [Details](details.md) / Diff Summary / [Diff Details](diff-details.md) - -## Languages -| language | files | code | comment | blank | total | -| :--- | ---: | ---: | ---: | ---: | ---: | -| Python | 53 | 171 | 111 | 53 | 335 | -| SQLite | 1 | 1 | 0 | 0 | 1 | -| Database | 1 | -1 | 0 | 1 | 0 | - -## Directories -| path | files | code | comment | blank | total | -| :--- | ---: | ---: | ---: | ---: | ---: | -| . | 55 | 171 | 111 | 54 | 336 | -| . (Files) | 5 | 5 | 3 | 7 | 15 | -| music_kraken | 50 | 166 | 108 | 47 | 321 | -| music_kraken (Files) | 1 | -55 | -6 | -15 | -76 | -| 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 | 11 | -135 | -10 | -34 | -179 | -| music_kraken/database (Files) | 5 | -323 | -126 | -96 | -545 | -| music_kraken/database/objects | 6 | 188 | 116 | 62 | 366 | -| 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/not_used_anymore | 14 | 1,063 | 117 | 322 | 1,502 | -| music_kraken/not_used_anymore (Files) | 3 | 129 | 13 | 39 | 181 | -| music_kraken/not_used_anymore/metadata | 5 | 561 | 70 | 153 | 784 | -| music_kraken/not_used_anymore/metadata (Files) | 3 | 516 | 64 | 139 | 719 | -| music_kraken/not_used_anymore/metadata/sources | 2 | 45 | 6 | 14 | 65 | -| music_kraken/not_used_anymore/sources | 6 | 373 | 34 | 130 | 537 | -| music_kraken/pages | 4 | 401 | 144 | 114 | 659 | -| music_kraken/static_files | 1 | 1 | 0 | 0 | 1 | -| music_kraken/tagging | 1 | -3 | 0 | -1 | -4 | -| music_kraken/utils | 2 | 3 | 5 | 3 | 11 | - -[Summary](results.md) / [Details](details.md) / Diff Summary / [Diff Details](diff-details.md) \ No newline at end of file diff --git a/.VSCodeCounter/2023-02-06_10-33-12/diff.txt b/.VSCodeCounter/2023-02-06_10-33-12/diff.txt deleted file mode 100644 index 72e11dc..0000000 --- a/.VSCodeCounter/2023-02-06_10-33-12/diff.txt +++ /dev/null @@ -1,104 +0,0 @@ -Date : 2023-02-06 10:33:12 -Directory : /home/lars/Projects/music-downloader/src -Total : 55 files, 171 codes, 111 comments, 54 blanks, all 336 lines - -Languages -+----------+------------+------------+------------+------------+------------+ -| language | files | code | comment | blank | total | -+----------+------------+------------+------------+------------+------------+ -| Python | 53 | 171 | 111 | 53 | 335 | -| SQLite | 1 | 1 | 0 | 0 | 1 | -| Database | 1 | -1 | 0 | 1 | 0 | -+----------+------------+------------+------------+------------+------------+ - -Directories -+--------------------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+ -| path | files | code | comment | blank | total | -+--------------------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+ -| . | 55 | 171 | 111 | 54 | 336 | -| . (Files) | 5 | 5 | 3 | 7 | 15 | -| music_kraken | 50 | 166 | 108 | 47 | 321 | -| music_kraken (Files) | 1 | -55 | -6 | -15 | -76 | -| 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 | 11 | -135 | -10 | -34 | -179 | -| music_kraken/database (Files) | 5 | -323 | -126 | -96 | -545 | -| music_kraken/database/objects | 6 | 188 | 116 | 62 | 366 | -| 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/not_used_anymore | 14 | 1,063 | 117 | 322 | 1,502 | -| music_kraken/not_used_anymore (Files) | 3 | 129 | 13 | 39 | 181 | -| music_kraken/not_used_anymore/metadata | 5 | 561 | 70 | 153 | 784 | -| music_kraken/not_used_anymore/metadata (Files) | 3 | 516 | 64 | 139 | 719 | -| music_kraken/not_used_anymore/metadata/sources | 2 | 45 | 6 | 14 | 65 | -| music_kraken/not_used_anymore/sources | 6 | 373 | 34 | 130 | 537 | -| music_kraken/pages | 4 | 401 | 144 | 114 | 659 | -| music_kraken/static_files | 1 | 1 | 0 | 0 | 1 | -| music_kraken/tagging | 1 | -3 | 0 | -1 | -4 | -| music_kraken/utils | 2 | 3 | 5 | 3 | 11 | -+--------------------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+ - -Files -+--------------------------------------------------------------------------------------------------------+----------+------------+------------+------------+------------+ -| filename | language | code | comment | blank | total | -+--------------------------------------------------------------------------------------------------------+----------+------------+------------+------------+------------+ -| /home/lars/Projects/music-downloader/src/create_custom_objects.py | Python | 80 | 3 | 18 | 101 | -| /home/lars/Projects/music-downloader/src/goof.py | Python | -116 | -6 | -29 | -151 | -| /home/lars/Projects/music-downloader/src/metal_archives.py | Python | 45 | 6 | 17 | 68 | -| /home/lars/Projects/music-downloader/src/music_kraken/__init__.py | Python | -55 | -6 | -15 | -76 | -| /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 | 6 | -1 | 1 | 6 | -| /home/lars/Projects/music-downloader/src/music_kraken/database/database.py | Python | 238 | 10 | 66 | 314 | -| /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 | -402 | -110 | -107 | -619 | -| /home/lars/Projects/music-downloader/src/music_kraken/database/objects/__init__.py | Python | 5 | 0 | 2 | 7 | -| /home/lars/Projects/music-downloader/src/music_kraken/database/objects/formatted_text.py | Python | 48 | 57 | 16 | 121 | -| /home/lars/Projects/music-downloader/src/music_kraken/database/objects/metadata.py | Python | 6 | 16 | 11 | 33 | -| /home/lars/Projects/music-downloader/src/music_kraken/database/objects/parents.py | Python | -6 | 0 | -4 | -10 | -| /home/lars/Projects/music-downloader/src/music_kraken/database/objects/song.py | Python | 65 | 12 | 9 | 86 | -| /home/lars/Projects/music-downloader/src/music_kraken/database/objects/source.py | Python | 70 | 31 | 28 | 129 | -| /home/lars/Projects/music-downloader/src/music_kraken/database/song.py | Python | -125 | -20 | -45 | -190 | -| /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/not_used_anymore/__init__.py | Python | 0 | 0 | 3 | 3 | -| /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/fetch_audio.py | Python | 75 | 12 | 20 | 107 | -| /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/fetch_source.py | Python | 54 | 1 | 16 | 71 | -| /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/metadata/__init__.py | Python | 6 | 0 | 2 | 8 | -| /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/metadata/metadata_fetch.py | Python | 257 | 24 | 65 | 346 | -| /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/metadata/metadata_search.py | Python | 253 | 40 | 72 | 365 | -| /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/metadata/sources/__init__.py | Python | 3 | 0 | 2 | 5 | -| /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/metadata/sources/musicbrainz.py | Python | 42 | 6 | 12 | 60 | -| /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/sources/__init__.py | Python | 0 | 0 | 1 | 1 | -| /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/sources/genius.py | Python | 115 | 16 | 42 | 173 | -| /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/sources/local_files.py | Python | 40 | 0 | 18 | 58 | -| /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/sources/musify.py | Python | 136 | 9 | 37 | 182 | -| /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/sources/source.py | Python | 11 | 5 | 8 | 24 | -| /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/sources/youtube.py | Python | 71 | 4 | 24 | 99 | -| /home/lars/Projects/music-downloader/src/music_kraken/pages/__init__.py | Python | 7 | 0 | 5 | 12 | -| /home/lars/Projects/music-downloader/src/music_kraken/pages/abstract.py | Python | 70 | 68 | 27 | 165 | -| /home/lars/Projects/music-downloader/src/music_kraken/pages/encyclopaedia_metallum.py | Python | 299 | 60 | 76 | 435 | -| /home/lars/Projects/music-downloader/src/music_kraken/pages/youtube.py | Python | 25 | 16 | 6 | 47 | -| /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/song.py | Python | -3 | 0 | -1 | -4 | -| /home/lars/Projects/music-downloader/src/music_kraken/utils/shared.py | Python | 1 | 0 | 1 | 2 | -| /home/lars/Projects/music-downloader/src/music_kraken/utils/string_processing.py | Python | 2 | 5 | 2 | 9 | -| /home/lars/Projects/music-downloader/src/music_kraken_cli.py | Python | -3 | 0 | 0 | -3 | -| /home/lars/Projects/music-downloader/src/test.db | Database | -1 | 0 | 1 | 0 | -| Total | | 171 | 111 | 54 | 336 | -+--------------------------------------------------------------------------------------------------------+----------+------------+------------+------------+------------+ \ No newline at end of file diff --git a/.VSCodeCounter/2023-02-06_10-33-12/results.csv b/.VSCodeCounter/2023-02-06_10-33-12/results.csv deleted file mode 100644 index 60f12a5..0000000 --- a/.VSCodeCounter/2023-02-06_10-33-12/results.csv +++ /dev/null @@ -1,52 +0,0 @@ -"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/create_custom_objects.py", "Python", 80, 0, 0, 3, 18, 101 -"/home/lars/Projects/music-downloader/src/metal_archives.py", "Python", 45, 0, 0, 6, 17, 68 -"/home/lars/Projects/music-downloader/src/music_kraken/__init__.py", "Python", 63, 0, 0, 26, 33, 122 -"/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/database/__init__.py", "Python", 18, 0, 0, 0, 5, 23 -"/home/lars/Projects/music-downloader/src/music_kraken/database/database.py", "Python", 429, 0, 0, 112, 111, 652 -"/home/lars/Projects/music-downloader/src/music_kraken/database/objects/__init__.py", "Python", 20, 0, 0, 0, 7, 27 -"/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/formatted_text.py", "Python", 48, 0, 0, 57, 16, 121 -"/home/lars/Projects/music-downloader/src/music_kraken/database/objects/metadata.py", "Python", 251, 0, 0, 68, 61, 380 -"/home/lars/Projects/music-downloader/src/music_kraken/database/objects/parents.py", "Python", 40, 0, 0, 8, 19, 67 -"/home/lars/Projects/music-downloader/src/music_kraken/database/objects/song.py", "Python", 323, 0, 0, 64, 85, 472 -"/home/lars/Projects/music-downloader/src/music_kraken/database/objects/source.py", "Python", 116, 0, 0, 38, 41, 195 -"/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/not_used_anymore/__init__.py", "Python", 0, 0, 0, 0, 3, 3 -"/home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/fetch_audio.py", "Python", 75, 0, 0, 12, 20, 107 -"/home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/fetch_source.py", "Python", 54, 0, 0, 1, 16, 71 -"/home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/metadata/__init__.py", "Python", 6, 0, 0, 0, 2, 8 -"/home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/metadata/metadata_fetch.py", "Python", 257, 0, 0, 24, 65, 346 -"/home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/metadata/metadata_search.py", "Python", 253, 0, 0, 40, 72, 365 -"/home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/metadata/sources/__init__.py", "Python", 3, 0, 0, 0, 2, 5 -"/home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/metadata/sources/musicbrainz.py", "Python", 42, 0, 0, 6, 12, 60 -"/home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/sources/__init__.py", "Python", 0, 0, 0, 0, 1, 1 -"/home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/sources/genius.py", "Python", 115, 0, 0, 16, 42, 173 -"/home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/sources/local_files.py", "Python", 40, 0, 0, 0, 18, 58 -"/home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/sources/musify.py", "Python", 136, 0, 0, 9, 37, 182 -"/home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/sources/source.py", "Python", 11, 0, 0, 5, 8, 24 -"/home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/sources/youtube.py", "Python", 71, 0, 0, 4, 24, 99 -"/home/lars/Projects/music-downloader/src/music_kraken/pages/__init__.py", "Python", 7, 0, 0, 0, 5, 12 -"/home/lars/Projects/music-downloader/src/music_kraken/pages/abstract.py", "Python", 70, 0, 0, 68, 27, 165 -"/home/lars/Projects/music-downloader/src/music_kraken/pages/encyclopaedia_metallum.py", "Python", 299, 0, 0, 60, 76, 435 -"/home/lars/Projects/music-downloader/src/music_kraken/pages/youtube.py", "Python", 25, 0, 0, 16, 6, 47 -"/home/lars/Projects/music-downloader/src/music_kraken/static_files/new_db.sql", "SQLite", 0, 0, 72, 0, 10, 82 -"/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/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", 62, 0, 0, 3, 10, 75 -"/home/lars/Projects/music-downloader/src/music_kraken/utils/string_processing.py", "Python", 2, 0, 0, 5, 2, 9 -"/home/lars/Projects/music-downloader/src/music_kraken_cli.py", "Python", 91, 0, 0, 9, 32, 132 -"/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, 91, 0, 0, 1, 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", "-", 3277, 91, 207, 775, 1028, 5378 \ No newline at end of file diff --git a/.VSCodeCounter/2023-02-06_10-33-12/results.json b/.VSCodeCounter/2023-02-06_10-33-12/results.json deleted file mode 100644 index d6c148e..0000000 --- a/.VSCodeCounter/2023-02-06_10-33-12/results.json +++ /dev/null @@ -1 +0,0 @@ -{"file:///home/lars/Projects/music-downloader/src/__init__.py":{"language":"Python","code":0,"comment":0,"blank":1},"file:///home/lars/Projects/music-downloader/src/metal_archives.py":{"language":"Python","code":45,"comment":6,"blank":17},"file:///home/lars/Projects/music-downloader/src/test.db":{"language":"Database","code":91,"comment":0,"blank":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/create_custom_objects.py":{"language":"Python","code":80,"comment":3,"blank":18},"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_cli.py":{"language":"Python","code":91,"comment":9,"blank":32},"file:///home/lars/Projects/music-downloader/src/try-programming-interface.py":{"language":"Python","code":14,"comment":98,"blank":22},"file:///home/lars/Projects/music-downloader/src/music_kraken/__init__.py":{"language":"Python","code":63,"comment":26,"blank":33},"file:///home/lars/Projects/music-downloader/src/music_kraken/database/__init__.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":116,"comment":38,"blank":41},"file:///home/lars/Projects/music-downloader/src/music_kraken/database/database.py":{"language":"Python","code":429,"comment":112,"blank":111},"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/song.py":{"language":"Python","code":323,"comment":64,"blank":85},"file:///home/lars/Projects/music-downloader/src/music_kraken/database/objects/__init__.py":{"language":"Python","code":20,"comment":0,"blank":7},"file:///home/lars/Projects/music-downloader/src/music_kraken/database/objects/metadata.py":{"language":"Python","code":251,"comment":68,"blank":61},"file:///home/lars/Projects/music-downloader/src/music_kraken/database/objects/formatted_text.py":{"language":"Python","code":48,"comment":57,"blank":16},"file:///home/lars/Projects/music-downloader/src/music_kraken/database/temp_database.py":{"language":"Python","code":12,"comment":0,"blank":8},"file:///home/lars/Projects/music-downloader/src/music_kraken/database/objects/parents.py":{"language":"Python","code":40,"comment":8,"blank":19},"file:///home/lars/Projects/music-downloader/src/music_kraken/pages/youtube.py":{"language":"Python","code":25,"comment":16,"blank":6},"file:///home/lars/Projects/music-downloader/src/music_kraken/pages/__init__.py":{"language":"Python","code":7,"comment":0,"blank":5},"file:///home/lars/Projects/music-downloader/src/music_kraken/pages/abstract.py":{"language":"Python","code":70,"comment":68,"blank":27},"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/string_processing.py":{"language":"Python","code":2,"comment":5,"blank":2},"file:///home/lars/Projects/music-downloader/src/music_kraken/pages/encyclopaedia_metallum.py":{"language":"Python","code":299,"comment":60,"blank":76},"file:///home/lars/Projects/music-downloader/src/music_kraken/utils/phonetic_compares.py":{"language":"Python","code":39,"comment":2,"blank":17},"file:///home/lars/Projects/music-downloader/src/music_kraken/utils/object_handeling.py":{"language":"Python","code":19,"comment":0,"blank":6},"file:///home/lars/Projects/music-downloader/src/music_kraken/utils/shared.py":{"language":"Python","code":62,"comment":3,"blank":10},"file:///home/lars/Projects/music-downloader/src/music_kraken/utils/functions.py":{"language":"Python","code":3,"comment":0,"blank":1},"file:///home/lars/Projects/music-downloader/src/music_kraken/static_files/new_db.sql":{"language":"SQLite","code":72,"comment":0,"blank":10},"file:///home/lars/Projects/music-downloader/src/music_kraken/__main__.py":{"language":"Python","code":3,"comment":2,"blank":3},"file:///home/lars/Projects/music-downloader/src/music_kraken/tagging/__init__.py":{"language":"Python","code":8,"comment":0,"blank":2},"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/id3.py":{"language":"Python","code":51,"comment":4,"blank":20},"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/not_used_anymore/__init__.py":{"language":"Python","code":0,"comment":0,"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/not_used_anymore/fetch_audio.py":{"language":"Python","code":75,"comment":12,"blank":20},"file:///home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/fetch_source.py":{"language":"Python","code":54,"comment":1,"blank":16},"file:///home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/sources/__init__.py":{"language":"Python","code":0,"comment":0,"blank":1},"file:///home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/sources/source.py":{"language":"Python","code":11,"comment":5,"blank":8},"file:///home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/sources/genius.py":{"language":"Python","code":115,"comment":16,"blank":42},"file:///home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/sources/youtube.py":{"language":"Python","code":71,"comment":4,"blank":24},"file:///home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/sources/musify.py":{"language":"Python","code":136,"comment":9,"blank":37},"file:///home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/sources/local_files.py":{"language":"Python","code":40,"comment":0,"blank":18},"file:///home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/metadata/__init__.py":{"language":"Python","code":6,"comment":0,"blank":2},"file:///home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/metadata/metadata_search.py":{"language":"Python","code":253,"comment":40,"blank":72},"file:///home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/metadata/metadata_fetch.py":{"language":"Python","code":257,"comment":24,"blank":65},"file:///home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/metadata/sources/musicbrainz.py":{"language":"Python","code":42,"comment":6,"blank":12},"file:///home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/metadata/sources/__init__.py":{"language":"Python","code":3,"comment":0,"blank":2}} \ No newline at end of file diff --git a/.VSCodeCounter/2023-02-06_10-33-12/details.md b/.VSCodeCounter/2023-04-05_09-31-17/details.md similarity index 51% rename from .VSCodeCounter/2023-02-06_10-33-12/details.md rename to .VSCodeCounter/2023-04-05_09-31-17/details.md index 360e261..f6c75fb 100644 --- a/.VSCodeCounter/2023-02-06_10-33-12/details.md +++ b/.VSCodeCounter/2023-04-05_09-31-17/details.md @@ -1,10 +1,10 @@ # Details -Date : 2023-02-06 10:33:12 +Date : 2023-04-05 09:31:17 Directory /home/lars/Projects/music-downloader/src -Total : 50 files, 3575 codes, 775 comments, 1028 blanks, all 5378 lines +Total : 66 files, 5256 codes, 1000 comments, 1543 blanks, all 7799 lines [Summary](results.md) / Details / [Diff Summary](diff.md) / [Diff Details](diff-details.md) @@ -12,20 +12,14 @@ Total : 50 files, 3575 codes, 775 comments, 1028 blanks, all 5378 lines | filename | language | code | comment | blank | total | | :--- | :--- | ---: | ---: | ---: | ---: | | [src/__init__.py](/src/__init__.py) | Python | 0 | 0 | 1 | 1 | -| [src/create_custom_objects.py](/src/create_custom_objects.py) | Python | 80 | 3 | 18 | 101 | -| [src/metal_archives.py](/src/metal_archives.py) | Python | 45 | 6 | 17 | 68 | -| [src/music_kraken/__init__.py](/src/music_kraken/__init__.py) | Python | 63 | 26 | 33 | 122 | -| [src/music_kraken/__main__.py](/src/music_kraken/__main__.py) | Python | 3 | 2 | 3 | 8 | -| [src/music_kraken/database/__init__.py](/src/music_kraken/database/__init__.py) | Python | 18 | 0 | 5 | 23 | -| [src/music_kraken/database/database.py](/src/music_kraken/database/old_database.py) | Python | 429 | 112 | 111 | 652 | -| [src/music_kraken/database/objects/__init__.py](/src/music_kraken/objects/__init__.py) | Python | 20 | 0 | 7 | 27 | -| [src/music_kraken/database/objects/artist.py](/src/music_kraken/objects/artist.py) | Python | 18 | 0 | 5 | 23 | -| [src/music_kraken/database/objects/formatted_text.py](/src/music_kraken/objects/formatted_text.py) | Python | 48 | 57 | 16 | 121 | -| [src/music_kraken/database/objects/metadata.py](/src/music_kraken/objects/metadata.py) | Python | 251 | 68 | 61 | 380 | -| [src/music_kraken/database/objects/parents.py](/src/music_kraken/objects/parents.py) | Python | 40 | 8 | 19 | 67 | -| [src/music_kraken/database/objects/song.py](/src/music_kraken/objects/song.py) | Python | 323 | 64 | 85 | 472 | -| [src/music_kraken/database/objects/source.py](/src/music_kraken/objects/source.py) | Python | 116 | 38 | 41 | 195 | -| [src/music_kraken/database/temp_database.py](/src/music_kraken/database/temp_database.py) | Python | 12 | 0 | 8 | 20 | +| [src/actual_donwload.py](/src/actual_donwload.py) | Python | 37 | 0 | 17 | 54 | +| [src/create_custom_objects.py](/src/create_custom_objects.py) | Python | 58 | 0 | 6 | 64 | +| [src/metal_archives.py](/src/metal_archives.py) | Python | 30 | 0 | 12 | 42 | +| [src/music_kraken/__init__.py](/src/music_kraken/__init__.py) | Python | 86 | 12 | 28 | 126 | +| [src/music_kraken/__main__.py](/src/music_kraken/__main__.py) | Python | 3 | 0 | 3 | 6 | +| [src/music_kraken/database/__init__.py](/src/music_kraken/database/__init__.py) | Python | 0 | 0 | 1 | 1 | +| [src/music_kraken/database/data_models.py](/src/music_kraken/database/data_models.py) | Python | 122 | 24 | 52 | 198 | +| [src/music_kraken/database/database.py](/src/music_kraken/database/database.py) | Python | 104 | 47 | 38 | 189 | | [src/music_kraken/not_used_anymore/__init__.py](/src/music_kraken/not_used_anymore/__init__.py) | Python | 0 | 0 | 3 | 3 | | [src/music_kraken/not_used_anymore/fetch_audio.py](/src/music_kraken/not_used_anymore/fetch_audio.py) | Python | 75 | 12 | 20 | 107 | | [src/music_kraken/not_used_anymore/fetch_source.py](/src/music_kraken/not_used_anymore/fetch_source.py) | Python | 54 | 1 | 16 | 71 | @@ -40,26 +34,48 @@ Total : 50 files, 3575 codes, 775 comments, 1028 blanks, all 5378 lines | [src/music_kraken/not_used_anymore/sources/musify.py](/src/music_kraken/not_used_anymore/sources/musify.py) | Python | 136 | 9 | 37 | 182 | | [src/music_kraken/not_used_anymore/sources/source.py](/src/music_kraken/not_used_anymore/sources/source.py) | Python | 11 | 5 | 8 | 24 | | [src/music_kraken/not_used_anymore/sources/youtube.py](/src/music_kraken/not_used_anymore/sources/youtube.py) | Python | 71 | 4 | 24 | 99 | -| [src/music_kraken/pages/__init__.py](/src/music_kraken/pages/__init__.py) | Python | 7 | 0 | 5 | 12 | -| [src/music_kraken/pages/abstract.py](/src/music_kraken/pages/abstract.py) | Python | 70 | 68 | 27 | 165 | -| [src/music_kraken/pages/encyclopaedia_metallum.py](/src/music_kraken/pages/encyclopaedia_metallum.py) | Python | 299 | 60 | 76 | 435 | +| [src/music_kraken/objects/__init__.py](/src/music_kraken/objects/__init__.py) | Python | 29 | 0 | 8 | 37 | +| [src/music_kraken/objects/album.py](/src/music_kraken/objects/album.py) | Python | 16 | 6 | 5 | 27 | +| [src/music_kraken/objects/cache.py](/src/music_kraken/objects/cache.py) | Python | 37 | 56 | 18 | 111 | +| [src/music_kraken/objects/collection.py](/src/music_kraken/objects/collection.py) | Python | 91 | 31 | 39 | 161 | +| [src/music_kraken/objects/formatted_text.py](/src/music_kraken/objects/formatted_text.py) | Python | 50 | 10 | 19 | 79 | +| [src/music_kraken/objects/lyrics.py](/src/music_kraken/objects/lyrics.py) | Python | 25 | 0 | 7 | 32 | +| [src/music_kraken/objects/metadata.py](/src/music_kraken/objects/metadata.py) | Python | 261 | 62 | 61 | 384 | +| [src/music_kraken/objects/option.py](/src/music_kraken/objects/option.py) | Python | 23 | 0 | 11 | 34 | +| [src/music_kraken/objects/parents.py](/src/music_kraken/objects/parents.py) | Python | 62 | 31 | 31 | 124 | +| [src/music_kraken/objects/song.py](/src/music_kraken/objects/song.py) | Python | 436 | 93 | 99 | 628 | +| [src/music_kraken/objects/source.py](/src/music_kraken/objects/source.py) | Python | 120 | 17 | 41 | 178 | +| [src/music_kraken/objects/target.py](/src/music_kraken/objects/target.py) | Python | 58 | 11 | 21 | 90 | +| [src/music_kraken/pages/__init__.py](/src/music_kraken/pages/__init__.py) | Python | 6 | 0 | 5 | 11 | +| [src/music_kraken/pages/abstract.py](/src/music_kraken/pages/abstract.py) | Python | 428 | 44 | 103 | 575 | +| [src/music_kraken/pages/download_center/__init__.py](/src/music_kraken/pages/download_center/__init__.py) | Python | 4 | 0 | 2 | 6 | +| [src/music_kraken/pages/download_center/download.py](/src/music_kraken/pages/download_center/download.py) | Python | 33 | 0 | 13 | 46 | +| [src/music_kraken/pages/download_center/multiple_options.py](/src/music_kraken/pages/download_center/multiple_options.py) | Python | 69 | 0 | 31 | 100 | +| [src/music_kraken/pages/download_center/page_attributes.py](/src/music_kraken/pages/download_center/page_attributes.py) | Python | 24 | 1 | 9 | 34 | +| [src/music_kraken/pages/download_center/search.py](/src/music_kraken/pages/download_center/search.py) | Python | 85 | 23 | 38 | 146 | +| [src/music_kraken/pages/encyclopaedia_metallum.py](/src/music_kraken/pages/encyclopaedia_metallum.py) | Python | 451 | 83 | 117 | 651 | +| [src/music_kraken/pages/musify.py](/src/music_kraken/pages/musify.py) | Python | 564 | 259 | 155 | 978 | +| [src/music_kraken/pages/support_classes/__init__.py](/src/music_kraken/pages/support_classes/__init__.py) | Python | 0 | 0 | 1 | 1 | +| [src/music_kraken/pages/support_classes/default_target.py](/src/music_kraken/pages/support_classes/default_target.py) | Python | 55 | 0 | 15 | 70 | +| [src/music_kraken/pages/support_classes/download_result.py](/src/music_kraken/pages/support_classes/download_result.py) | Python | 51 | 0 | 15 | 66 | | [src/music_kraken/pages/youtube.py](/src/music_kraken/pages/youtube.py) | Python | 25 | 16 | 6 | 47 | | [src/music_kraken/static_files/new_db.sql](/src/music_kraken/static_files/new_db.sql) | SQLite | 72 | 0 | 10 | 82 | | [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/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/tagging/__init__.py](/src/music_kraken/tagging/__init__.py) | Python | 5 | 0 | 2 | 7 | +| [src/music_kraken/tagging/id3.py](/src/music_kraken/tagging/id3.py) | Python | 60 | 4 | 24 | 88 | | [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 | 62 | 3 | 10 | 75 | -| [src/music_kraken/utils/string_processing.py](/src/music_kraken/utils/string_processing.py) | Python | 2 | 5 | 2 | 9 | -| [src/music_kraken_cli.py](/src/music_kraken_cli.py) | Python | 91 | 9 | 32 | 132 | +| [src/music_kraken/utils/shared.py](/src/music_kraken/utils/shared.py) | Python | 75 | 27 | 17 | 119 | +| [src/music_kraken/utils/string_processing.py](/src/music_kraken/utils/string_processing.py) | Python | 10 | 5 | 7 | 22 | +| [src/music_kraken_cli.py](/src/music_kraken_cli.py) | Python | 3 | 0 | 3 | 6 | | [src/music_kraken_gtk.py](/src/music_kraken_gtk.py) | Python | 3 | 0 | 2 | 5 | -| [src/test.db](/src/test.db) | Database | 91 | 0 | 1 | 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 | +| [src/musify_search.py](/src/musify_search.py) | Python | 38 | 0 | 14 | 52 | +| [src/tests/__init__.py](/src/tests/__init__.py) | Python | 0 | 0 | 1 | 1 | +| [src/tests/conftest.py](/src/tests/conftest.py) | Python | 3 | 1 | 2 | 6 | +| [src/tests/test_building_objects.py](/src/tests/test_building_objects.py) | Python | 81 | 1 | 13 | 95 | +| [src/tests/test_download.py](/src/tests/test_download.py) | Python | 30 | 1 | 12 | 43 | +| [src/tests/test_objects.py](/src/tests/test_objects.py) | Python | 173 | 15 | 51 | 239 | [Summary](results.md) / Details / [Diff Summary](diff.md) / [Diff Details](diff-details.md) \ No newline at end of file diff --git a/.VSCodeCounter/2023-04-05_09-31-17/diff-details.md b/.VSCodeCounter/2023-04-05_09-31-17/diff-details.md new file mode 100644 index 0000000..7a53575 --- /dev/null +++ b/.VSCodeCounter/2023-04-05_09-31-17/diff-details.md @@ -0,0 +1,37 @@ +# Diff Details + +Date : 2023-04-05 09:31:17 + +Directory /home/lars/Projects/music-downloader/src + +Total : 22 files, 519 codes, 79 comments, 160 blanks, all 758 lines + +[Summary](results.md) / [Details](details.md) / [Diff Summary](diff.md) / Diff Details + +## Files +| filename | language | code | comment | blank | total | +| :--- | :--- | ---: | ---: | ---: | ---: | +| [src/actual_donwload.py](/src/actual_donwload.py) | Python | 16 | 0 | 5 | 21 | +| [src/music_kraken/__init__.py](/src/music_kraken/__init__.py) | Python | 38 | 5 | 9 | 52 | +| [src/music_kraken/objects/__init__.py](/src/music_kraken/objects/__init__.py) | Python | 1 | 0 | 0 | 1 | +| [src/music_kraken/objects/collection.py](/src/music_kraken/objects/collection.py) | Python | 7 | 1 | 2 | 10 | +| [src/music_kraken/objects/metadata.py](/src/music_kraken/objects/metadata.py) | Python | 2 | 0 | 1 | 3 | +| [src/music_kraken/objects/parents.py](/src/music_kraken/objects/parents.py) | Python | -4 | 0 | 0 | -4 | +| [src/music_kraken/objects/song.py](/src/music_kraken/objects/song.py) | Python | -9 | 10 | 4 | 5 | +| [src/music_kraken/objects/target.py](/src/music_kraken/objects/target.py) | Python | 29 | 4 | 12 | 45 | +| [src/music_kraken/pages/abstract.py](/src/music_kraken/pages/abstract.py) | Python | 225 | 12 | 42 | 279 | +| [src/music_kraken/pages/download_center/download.py](/src/music_kraken/pages/download_center/download.py) | Python | 0 | 0 | 1 | 1 | +| [src/music_kraken/pages/download_center/multiple_options.py](/src/music_kraken/pages/download_center/multiple_options.py) | Python | 69 | 0 | 31 | 100 | +| [src/music_kraken/pages/download_center/search.py](/src/music_kraken/pages/download_center/search.py) | Python | -51 | 15 | -16 | -52 | +| [src/music_kraken/pages/encyclopaedia_metallum.py](/src/music_kraken/pages/encyclopaedia_metallum.py) | Python | -4 | -3 | 1 | -6 | +| [src/music_kraken/pages/musify.py](/src/music_kraken/pages/musify.py) | Python | 55 | 11 | 18 | 84 | +| [src/music_kraken/pages/support_classes/__init__.py](/src/music_kraken/pages/support_classes/__init__.py) | Python | 0 | 0 | 1 | 1 | +| [src/music_kraken/pages/support_classes/default_target.py](/src/music_kraken/pages/support_classes/default_target.py) | Python | 55 | 0 | 15 | 70 | +| [src/music_kraken/pages/support_classes/download_result.py](/src/music_kraken/pages/support_classes/download_result.py) | Python | 51 | 0 | 15 | 66 | +| [src/music_kraken/tagging/__init__.py](/src/music_kraken/tagging/__init__.py) | Python | -3 | 0 | 0 | -3 | +| [src/music_kraken/tagging/id3.py](/src/music_kraken/tagging/id3.py) | Python | 9 | 0 | 4 | 13 | +| [src/music_kraken/utils/shared.py](/src/music_kraken/utils/shared.py) | Python | 13 | 24 | 7 | 44 | +| [src/music_kraken/utils/string_processing.py](/src/music_kraken/utils/string_processing.py) | Python | 8 | 0 | 5 | 13 | +| [src/musify_search.py](/src/musify_search.py) | Python | 12 | 0 | 3 | 15 | + +[Summary](results.md) / [Details](details.md) / [Diff Summary](diff.md) / Diff Details \ No newline at end of file diff --git a/.VSCodeCounter/2023-04-05_09-31-17/diff.csv b/.VSCodeCounter/2023-04-05_09-31-17/diff.csv new file mode 100644 index 0000000..0c14433 --- /dev/null +++ b/.VSCodeCounter/2023-04-05_09-31-17/diff.csv @@ -0,0 +1,24 @@ +"filename", "language", "Python", "comment", "blank", "total" +"/home/lars/Projects/music-downloader/src/actual_donwload.py", "Python", 16, 0, 5, 21 +"/home/lars/Projects/music-downloader/src/music_kraken/__init__.py", "Python", 38, 5, 9, 52 +"/home/lars/Projects/music-downloader/src/music_kraken/objects/__init__.py", "Python", 1, 0, 0, 1 +"/home/lars/Projects/music-downloader/src/music_kraken/objects/collection.py", "Python", 7, 1, 2, 10 +"/home/lars/Projects/music-downloader/src/music_kraken/objects/metadata.py", "Python", 2, 0, 1, 3 +"/home/lars/Projects/music-downloader/src/music_kraken/objects/parents.py", "Python", -4, 0, 0, -4 +"/home/lars/Projects/music-downloader/src/music_kraken/objects/song.py", "Python", -9, 10, 4, 5 +"/home/lars/Projects/music-downloader/src/music_kraken/objects/target.py", "Python", 29, 4, 12, 45 +"/home/lars/Projects/music-downloader/src/music_kraken/pages/abstract.py", "Python", 225, 12, 42, 279 +"/home/lars/Projects/music-downloader/src/music_kraken/pages/download_center/download.py", "Python", 0, 0, 1, 1 +"/home/lars/Projects/music-downloader/src/music_kraken/pages/download_center/multiple_options.py", "Python", 69, 0, 31, 100 +"/home/lars/Projects/music-downloader/src/music_kraken/pages/download_center/search.py", "Python", -51, 15, -16, -52 +"/home/lars/Projects/music-downloader/src/music_kraken/pages/encyclopaedia_metallum.py", "Python", -4, -3, 1, -6 +"/home/lars/Projects/music-downloader/src/music_kraken/pages/musify.py", "Python", 55, 11, 18, 84 +"/home/lars/Projects/music-downloader/src/music_kraken/pages/support_classes/__init__.py", "Python", 0, 0, 1, 1 +"/home/lars/Projects/music-downloader/src/music_kraken/pages/support_classes/default_target.py", "Python", 55, 0, 15, 70 +"/home/lars/Projects/music-downloader/src/music_kraken/pages/support_classes/download_result.py", "Python", 51, 0, 15, 66 +"/home/lars/Projects/music-downloader/src/music_kraken/tagging/__init__.py", "Python", -3, 0, 0, -3 +"/home/lars/Projects/music-downloader/src/music_kraken/tagging/id3.py", "Python", 9, 0, 4, 13 +"/home/lars/Projects/music-downloader/src/music_kraken/utils/shared.py", "Python", 13, 24, 7, 44 +"/home/lars/Projects/music-downloader/src/music_kraken/utils/string_processing.py", "Python", 8, 0, 5, 13 +"/home/lars/Projects/music-downloader/src/musify_search.py", "Python", 12, 0, 3, 15 +"Total", "-", 519, 79, 160, 758 \ No newline at end of file diff --git a/.VSCodeCounter/2023-04-05_09-31-17/diff.md b/.VSCodeCounter/2023-04-05_09-31-17/diff.md new file mode 100644 index 0000000..883be25 --- /dev/null +++ b/.VSCodeCounter/2023-04-05_09-31-17/diff.md @@ -0,0 +1,31 @@ +# Diff Summary + +Date : 2023-04-05 09:31:17 + +Directory /home/lars/Projects/music-downloader/src + +Total : 22 files, 519 codes, 79 comments, 160 blanks, all 758 lines + +[Summary](results.md) / [Details](details.md) / Diff Summary / [Diff Details](diff-details.md) + +## Languages +| language | files | code | comment | blank | total | +| :--- | ---: | ---: | ---: | ---: | ---: | +| Python | 22 | 519 | 79 | 160 | 758 | + +## Directories +| path | files | code | comment | blank | total | +| :--- | ---: | ---: | ---: | ---: | ---: | +| . | 22 | 519 | 79 | 160 | 758 | +| . (Files) | 2 | 28 | 0 | 8 | 36 | +| music_kraken | 20 | 491 | 79 | 152 | 722 | +| music_kraken (Files) | 1 | 38 | 5 | 9 | 52 | +| music_kraken/objects | 6 | 26 | 15 | 19 | 60 | +| music_kraken/pages | 9 | 400 | 35 | 108 | 543 | +| music_kraken/pages (Files) | 3 | 276 | 20 | 61 | 357 | +| music_kraken/pages/download_center | 3 | 18 | 15 | 16 | 49 | +| music_kraken/pages/support_classes | 3 | 106 | 0 | 31 | 137 | +| music_kraken/tagging | 2 | 6 | 0 | 4 | 10 | +| music_kraken/utils | 2 | 21 | 24 | 12 | 57 | + +[Summary](results.md) / [Details](details.md) / Diff Summary / [Diff Details](diff-details.md) \ No newline at end of file diff --git a/.VSCodeCounter/2023-04-05_09-31-17/diff.txt b/.VSCodeCounter/2023-04-05_09-31-17/diff.txt new file mode 100644 index 0000000..6c1a0a2 --- /dev/null +++ b/.VSCodeCounter/2023-04-05_09-31-17/diff.txt @@ -0,0 +1,56 @@ +Date : 2023-04-05 09:31:17 +Directory : /home/lars/Projects/music-downloader/src +Total : 22 files, 519 codes, 79 comments, 160 blanks, all 758 lines + +Languages ++----------+------------+------------+------------+------------+------------+ +| language | files | code | comment | blank | total | ++----------+------------+------------+------------+------------+------------+ +| Python | 22 | 519 | 79 | 160 | 758 | ++----------+------------+------------+------------+------------+------------+ + +Directories ++-------------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+ +| path | files | code | comment | blank | total | ++-------------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+ +| . | 22 | 519 | 79 | 160 | 758 | +| . (Files) | 2 | 28 | 0 | 8 | 36 | +| music_kraken | 20 | 491 | 79 | 152 | 722 | +| music_kraken (Files) | 1 | 38 | 5 | 9 | 52 | +| music_kraken/objects | 6 | 26 | 15 | 19 | 60 | +| music_kraken/pages | 9 | 400 | 35 | 108 | 543 | +| music_kraken/pages (Files) | 3 | 276 | 20 | 61 | 357 | +| music_kraken/pages/download_center | 3 | 18 | 15 | 16 | 49 | +| music_kraken/pages/support_classes | 3 | 106 | 0 | 31 | 137 | +| music_kraken/tagging | 2 | 6 | 0 | 4 | 10 | +| music_kraken/utils | 2 | 21 | 24 | 12 | 57 | ++-------------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+ + +Files ++-------------------------------------------------------------------------------------------------+----------+------------+------------+------------+------------+ +| filename | language | code | comment | blank | total | ++-------------------------------------------------------------------------------------------------+----------+------------+------------+------------+------------+ +| /home/lars/Projects/music-downloader/src/actual_donwload.py | Python | 16 | 0 | 5 | 21 | +| /home/lars/Projects/music-downloader/src/music_kraken/__init__.py | Python | 38 | 5 | 9 | 52 | +| /home/lars/Projects/music-downloader/src/music_kraken/objects/__init__.py | Python | 1 | 0 | 0 | 1 | +| /home/lars/Projects/music-downloader/src/music_kraken/objects/collection.py | Python | 7 | 1 | 2 | 10 | +| /home/lars/Projects/music-downloader/src/music_kraken/objects/metadata.py | Python | 2 | 0 | 1 | 3 | +| /home/lars/Projects/music-downloader/src/music_kraken/objects/parents.py | Python | -4 | 0 | 0 | -4 | +| /home/lars/Projects/music-downloader/src/music_kraken/objects/song.py | Python | -9 | 10 | 4 | 5 | +| /home/lars/Projects/music-downloader/src/music_kraken/objects/target.py | Python | 29 | 4 | 12 | 45 | +| /home/lars/Projects/music-downloader/src/music_kraken/pages/abstract.py | Python | 225 | 12 | 42 | 279 | +| /home/lars/Projects/music-downloader/src/music_kraken/pages/download_center/download.py | Python | 0 | 0 | 1 | 1 | +| /home/lars/Projects/music-downloader/src/music_kraken/pages/download_center/multiple_options.py | Python | 69 | 0 | 31 | 100 | +| /home/lars/Projects/music-downloader/src/music_kraken/pages/download_center/search.py | Python | -51 | 15 | -16 | -52 | +| /home/lars/Projects/music-downloader/src/music_kraken/pages/encyclopaedia_metallum.py | Python | -4 | -3 | 1 | -6 | +| /home/lars/Projects/music-downloader/src/music_kraken/pages/musify.py | Python | 55 | 11 | 18 | 84 | +| /home/lars/Projects/music-downloader/src/music_kraken/pages/support_classes/__init__.py | Python | 0 | 0 | 1 | 1 | +| /home/lars/Projects/music-downloader/src/music_kraken/pages/support_classes/default_target.py | Python | 55 | 0 | 15 | 70 | +| /home/lars/Projects/music-downloader/src/music_kraken/pages/support_classes/download_result.py | Python | 51 | 0 | 15 | 66 | +| /home/lars/Projects/music-downloader/src/music_kraken/tagging/__init__.py | Python | -3 | 0 | 0 | -3 | +| /home/lars/Projects/music-downloader/src/music_kraken/tagging/id3.py | Python | 9 | 0 | 4 | 13 | +| /home/lars/Projects/music-downloader/src/music_kraken/utils/shared.py | Python | 13 | 24 | 7 | 44 | +| /home/lars/Projects/music-downloader/src/music_kraken/utils/string_processing.py | Python | 8 | 0 | 5 | 13 | +| /home/lars/Projects/music-downloader/src/musify_search.py | Python | 12 | 0 | 3 | 15 | +| Total | | 519 | 79 | 160 | 758 | ++-------------------------------------------------------------------------------------------------+----------+------------+------------+------------+------------+ \ No newline at end of file diff --git a/.VSCodeCounter/2023-04-05_09-31-17/results.csv b/.VSCodeCounter/2023-04-05_09-31-17/results.csv new file mode 100644 index 0000000..dc7322c --- /dev/null +++ b/.VSCodeCounter/2023-04-05_09-31-17/results.csv @@ -0,0 +1,68 @@ +"filename", "language", "Python", "SQLite", "comment", "blank", "total" +"/home/lars/Projects/music-downloader/src/__init__.py", "Python", 0, 0, 0, 1, 1 +"/home/lars/Projects/music-downloader/src/actual_donwload.py", "Python", 37, 0, 0, 17, 54 +"/home/lars/Projects/music-downloader/src/create_custom_objects.py", "Python", 58, 0, 0, 6, 64 +"/home/lars/Projects/music-downloader/src/metal_archives.py", "Python", 30, 0, 0, 12, 42 +"/home/lars/Projects/music-downloader/src/music_kraken/__init__.py", "Python", 86, 0, 12, 28, 126 +"/home/lars/Projects/music-downloader/src/music_kraken/__main__.py", "Python", 3, 0, 0, 3, 6 +"/home/lars/Projects/music-downloader/src/music_kraken/database/__init__.py", "Python", 0, 0, 0, 1, 1 +"/home/lars/Projects/music-downloader/src/music_kraken/database/data_models.py", "Python", 122, 0, 24, 52, 198 +"/home/lars/Projects/music-downloader/src/music_kraken/database/database.py", "Python", 104, 0, 47, 38, 189 +"/home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/__init__.py", "Python", 0, 0, 0, 3, 3 +"/home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/fetch_audio.py", "Python", 75, 0, 12, 20, 107 +"/home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/fetch_source.py", "Python", 54, 0, 1, 16, 71 +"/home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/metadata/__init__.py", "Python", 6, 0, 0, 2, 8 +"/home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/metadata/metadata_fetch.py", "Python", 257, 0, 24, 65, 346 +"/home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/metadata/metadata_search.py", "Python", 253, 0, 40, 72, 365 +"/home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/metadata/sources/__init__.py", "Python", 3, 0, 0, 2, 5 +"/home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/metadata/sources/musicbrainz.py", "Python", 42, 0, 6, 12, 60 +"/home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/sources/__init__.py", "Python", 0, 0, 0, 1, 1 +"/home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/sources/genius.py", "Python", 115, 0, 16, 42, 173 +"/home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/sources/local_files.py", "Python", 40, 0, 0, 18, 58 +"/home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/sources/musify.py", "Python", 136, 0, 9, 37, 182 +"/home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/sources/source.py", "Python", 11, 0, 5, 8, 24 +"/home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/sources/youtube.py", "Python", 71, 0, 4, 24, 99 +"/home/lars/Projects/music-downloader/src/music_kraken/objects/__init__.py", "Python", 29, 0, 0, 8, 37 +"/home/lars/Projects/music-downloader/src/music_kraken/objects/album.py", "Python", 16, 0, 6, 5, 27 +"/home/lars/Projects/music-downloader/src/music_kraken/objects/cache.py", "Python", 37, 0, 56, 18, 111 +"/home/lars/Projects/music-downloader/src/music_kraken/objects/collection.py", "Python", 91, 0, 31, 39, 161 +"/home/lars/Projects/music-downloader/src/music_kraken/objects/formatted_text.py", "Python", 50, 0, 10, 19, 79 +"/home/lars/Projects/music-downloader/src/music_kraken/objects/lyrics.py", "Python", 25, 0, 0, 7, 32 +"/home/lars/Projects/music-downloader/src/music_kraken/objects/metadata.py", "Python", 261, 0, 62, 61, 384 +"/home/lars/Projects/music-downloader/src/music_kraken/objects/option.py", "Python", 23, 0, 0, 11, 34 +"/home/lars/Projects/music-downloader/src/music_kraken/objects/parents.py", "Python", 62, 0, 31, 31, 124 +"/home/lars/Projects/music-downloader/src/music_kraken/objects/song.py", "Python", 436, 0, 93, 99, 628 +"/home/lars/Projects/music-downloader/src/music_kraken/objects/source.py", "Python", 120, 0, 17, 41, 178 +"/home/lars/Projects/music-downloader/src/music_kraken/objects/target.py", "Python", 58, 0, 11, 21, 90 +"/home/lars/Projects/music-downloader/src/music_kraken/pages/__init__.py", "Python", 6, 0, 0, 5, 11 +"/home/lars/Projects/music-downloader/src/music_kraken/pages/abstract.py", "Python", 428, 0, 44, 103, 575 +"/home/lars/Projects/music-downloader/src/music_kraken/pages/download_center/__init__.py", "Python", 4, 0, 0, 2, 6 +"/home/lars/Projects/music-downloader/src/music_kraken/pages/download_center/download.py", "Python", 33, 0, 0, 13, 46 +"/home/lars/Projects/music-downloader/src/music_kraken/pages/download_center/multiple_options.py", "Python", 69, 0, 0, 31, 100 +"/home/lars/Projects/music-downloader/src/music_kraken/pages/download_center/page_attributes.py", "Python", 24, 0, 1, 9, 34 +"/home/lars/Projects/music-downloader/src/music_kraken/pages/download_center/search.py", "Python", 85, 0, 23, 38, 146 +"/home/lars/Projects/music-downloader/src/music_kraken/pages/encyclopaedia_metallum.py", "Python", 451, 0, 83, 117, 651 +"/home/lars/Projects/music-downloader/src/music_kraken/pages/musify.py", "Python", 564, 0, 259, 155, 978 +"/home/lars/Projects/music-downloader/src/music_kraken/pages/support_classes/__init__.py", "Python", 0, 0, 0, 1, 1 +"/home/lars/Projects/music-downloader/src/music_kraken/pages/support_classes/default_target.py", "Python", 55, 0, 0, 15, 70 +"/home/lars/Projects/music-downloader/src/music_kraken/pages/support_classes/download_result.py", "Python", 51, 0, 0, 15, 66 +"/home/lars/Projects/music-downloader/src/music_kraken/pages/youtube.py", "Python", 25, 0, 16, 6, 47 +"/home/lars/Projects/music-downloader/src/music_kraken/static_files/new_db.sql", "SQLite", 0, 72, 0, 10, 82 +"/home/lars/Projects/music-downloader/src/music_kraken/static_files/temp_database_structure.sql", "SQLite", 0, 135, 0, 10, 145 +"/home/lars/Projects/music-downloader/src/music_kraken/tagging/__init__.py", "Python", 5, 0, 0, 2, 7 +"/home/lars/Projects/music-downloader/src/music_kraken/tagging/id3.py", "Python", 60, 0, 4, 24, 88 +"/home/lars/Projects/music-downloader/src/music_kraken/utils/__init__.py", "Python", 1, 0, 1, 1, 3 +"/home/lars/Projects/music-downloader/src/music_kraken/utils/functions.py", "Python", 3, 0, 0, 1, 4 +"/home/lars/Projects/music-downloader/src/music_kraken/utils/object_handeling.py", "Python", 19, 0, 0, 6, 25 +"/home/lars/Projects/music-downloader/src/music_kraken/utils/phonetic_compares.py", "Python", 39, 0, 2, 17, 58 +"/home/lars/Projects/music-downloader/src/music_kraken/utils/shared.py", "Python", 75, 0, 27, 17, 119 +"/home/lars/Projects/music-downloader/src/music_kraken/utils/string_processing.py", "Python", 10, 0, 5, 7, 22 +"/home/lars/Projects/music-downloader/src/music_kraken_cli.py", "Python", 3, 0, 0, 3, 6 +"/home/lars/Projects/music-downloader/src/music_kraken_gtk.py", "Python", 3, 0, 0, 2, 5 +"/home/lars/Projects/music-downloader/src/musify_search.py", "Python", 38, 0, 0, 14, 52 +"/home/lars/Projects/music-downloader/src/tests/__init__.py", "Python", 0, 0, 0, 1, 1 +"/home/lars/Projects/music-downloader/src/tests/conftest.py", "Python", 3, 0, 1, 2, 6 +"/home/lars/Projects/music-downloader/src/tests/test_building_objects.py", "Python", 81, 0, 1, 13, 95 +"/home/lars/Projects/music-downloader/src/tests/test_download.py", "Python", 30, 0, 1, 12, 43 +"/home/lars/Projects/music-downloader/src/tests/test_objects.py", "Python", 173, 0, 15, 51, 239 +"Total", "-", 5049, 207, 1000, 1543, 7799 \ No newline at end of file diff --git a/.VSCodeCounter/2023-04-05_09-31-17/results.json b/.VSCodeCounter/2023-04-05_09-31-17/results.json new file mode 100644 index 0000000..a679e13 --- /dev/null +++ b/.VSCodeCounter/2023-04-05_09-31-17/results.json @@ -0,0 +1 @@ +{"file:///home/lars/Projects/music-downloader/src/actual_donwload.py":{"language":"Python","code":37,"comment":0,"blank":17},"file:///home/lars/Projects/music-downloader/src/music_kraken_cli.py":{"language":"Python","code":3,"comment":0,"blank":3},"file:///home/lars/Projects/music-downloader/src/metal_archives.py":{"language":"Python","code":30,"comment":0,"blank":12},"file:///home/lars/Projects/music-downloader/src/__init__.py":{"language":"Python","code":0,"comment":0,"blank":1},"file:///home/lars/Projects/music-downloader/src/create_custom_objects.py":{"language":"Python","code":58,"comment":0,"blank":6},"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/objects/option.py":{"language":"Python","code":23,"comment":0,"blank":11},"file:///home/lars/Projects/music-downloader/src/music_kraken/pages/__init__.py":{"language":"Python","code":6,"comment":0,"blank":5},"file:///home/lars/Projects/music-downloader/src/music_kraken/objects/song.py":{"language":"Python","code":436,"comment":93,"blank":99},"file:///home/lars/Projects/music-downloader/src/music_kraken/objects/__init__.py":{"language":"Python","code":29,"comment":0,"blank":8},"file:///home/lars/Projects/music-downloader/src/music_kraken/objects/cache.py":{"language":"Python","code":37,"comment":56,"blank":18},"file:///home/lars/Projects/music-downloader/src/music_kraken/objects/album.py":{"language":"Python","code":16,"comment":6,"blank":5},"file:///home/lars/Projects/music-downloader/src/music_kraken/objects/source.py":{"language":"Python","code":120,"comment":17,"blank":41},"file:///home/lars/Projects/music-downloader/src/music_kraken/database/database.py":{"language":"Python","code":104,"comment":47,"blank":38},"file:///home/lars/Projects/music-downloader/src/music_kraken/pages/abstract.py":{"language":"Python","code":428,"comment":44,"blank":103},"file:///home/lars/Projects/music-downloader/src/music_kraken/database/__init__.py":{"language":"Python","code":0,"comment":0,"blank":1},"file:///home/lars/Projects/music-downloader/src/music_kraken/pages/youtube.py":{"language":"Python","code":25,"comment":16,"blank":6},"file:///home/lars/Projects/music-downloader/src/music_kraken/objects/metadata.py":{"language":"Python","code":261,"comment":62,"blank":61},"file:///home/lars/Projects/music-downloader/src/music_kraken/database/data_models.py":{"language":"Python","code":122,"comment":24,"blank":52},"file:///home/lars/Projects/music-downloader/src/music_kraken/objects/target.py":{"language":"Python","code":58,"comment":11,"blank":21},"file:///home/lars/Projects/music-downloader/src/music_kraken/pages/download_center/search.py":{"language":"Python","code":85,"comment":23,"blank":38},"file:///home/lars/Projects/music-downloader/src/music_kraken/pages/download_center/__init__.py":{"language":"Python","code":4,"comment":0,"blank":2},"file:///home/lars/Projects/music-downloader/src/music_kraken/pages/download_center/page_attributes.py":{"language":"Python","code":24,"comment":1,"blank":9},"file:///home/lars/Projects/music-downloader/src/music_kraken/pages/download_center/download.py":{"language":"Python","code":33,"comment":0,"blank":13},"file:///home/lars/Projects/music-downloader/src/music_kraken/pages/download_center/multiple_options.py":{"language":"Python","code":69,"comment":0,"blank":31},"file:///home/lars/Projects/music-downloader/src/music_kraken/pages/encyclopaedia_metallum.py":{"language":"Python","code":451,"comment":83,"blank":117},"file:///home/lars/Projects/music-downloader/src/music_kraken/objects/parents.py":{"language":"Python","code":62,"comment":31,"blank":31},"file:///home/lars/Projects/music-downloader/src/music_kraken/objects/collection.py":{"language":"Python","code":91,"comment":31,"blank":39},"file:///home/lars/Projects/music-downloader/src/music_kraken/__init__.py":{"language":"Python","code":86,"comment":12,"blank":28},"file:///home/lars/Projects/music-downloader/src/music_kraken/pages/musify.py":{"language":"Python","code":564,"comment":259,"blank":155},"file:///home/lars/Projects/music-downloader/src/music_kraken/objects/lyrics.py":{"language":"Python","code":25,"comment":0,"blank":7},"file:///home/lars/Projects/music-downloader/src/music_kraken/objects/formatted_text.py":{"language":"Python","code":50,"comment":10,"blank":19},"file:///home/lars/Projects/music-downloader/src/music_kraken/pages/support_classes/__init__.py":{"language":"Python","code":0,"comment":0,"blank":1},"file:///home/lars/Projects/music-downloader/src/music_kraken/utils/object_handeling.py":{"language":"Python","code":19,"comment":0,"blank":6},"file:///home/lars/Projects/music-downloader/src/music_kraken/utils/string_processing.py":{"language":"Python","code":10,"comment":5,"blank":7},"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/shared.py":{"language":"Python","code":75,"comment":27,"blank":17},"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/utils/phonetic_compares.py":{"language":"Python","code":39,"comment":2,"blank":17},"file:///home/lars/Projects/music-downloader/src/music_kraken/pages/support_classes/default_target.py":{"language":"Python","code":55,"comment":0,"blank":15},"file:///home/lars/Projects/music-downloader/src/music_kraken/pages/support_classes/download_result.py":{"language":"Python","code":51,"comment":0,"blank":15},"file:///home/lars/Projects/music-downloader/src/music_kraken/static_files/new_db.sql":{"language":"SQLite","code":72,"comment":0,"blank":10},"file:///home/lars/Projects/music-downloader/src/tests/__init__.py":{"language":"Python","code":0,"comment":0,"blank":1},"file:///home/lars/Projects/music-downloader/src/tests/conftest.py":{"language":"Python","code":3,"comment":1,"blank":2},"file:///home/lars/Projects/music-downloader/src/tests/test_objects.py":{"language":"Python","code":173,"comment":15,"blank":51},"file:///home/lars/Projects/music-downloader/src/tests/test_building_objects.py":{"language":"Python","code":81,"comment":1,"blank":13},"file:///home/lars/Projects/music-downloader/src/music_kraken/tagging/__init__.py":{"language":"Python","code":5,"comment":0,"blank":2},"file:///home/lars/Projects/music-downloader/src/music_kraken/tagging/id3.py":{"language":"Python","code":60,"comment":4,"blank":24},"file:///home/lars/Projects/music-downloader/src/music_kraken/__main__.py":{"language":"Python","code":3,"comment":0,"blank":3},"file:///home/lars/Projects/music-downloader/src/tests/test_download.py":{"language":"Python","code":30,"comment":1,"blank":12},"file:///home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/metadata/metadata_search.py":{"language":"Python","code":253,"comment":40,"blank":72},"file:///home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/metadata/__init__.py":{"language":"Python","code":6,"comment":0,"blank":2},"file:///home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/__init__.py":{"language":"Python","code":0,"comment":0,"blank":3},"file:///home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/metadata/metadata_fetch.py":{"language":"Python","code":257,"comment":24,"blank":65},"file:///home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/fetch_audio.py":{"language":"Python","code":75,"comment":12,"blank":20},"file:///home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/metadata/sources/__init__.py":{"language":"Python","code":3,"comment":0,"blank":2},"file:///home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/sources/musify.py":{"language":"Python","code":136,"comment":9,"blank":37},"file:///home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/metadata/sources/musicbrainz.py":{"language":"Python","code":42,"comment":6,"blank":12},"file:///home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/sources/youtube.py":{"language":"Python","code":71,"comment":4,"blank":24},"file:///home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/sources/local_files.py":{"language":"Python","code":40,"comment":0,"blank":18},"file:///home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/fetch_source.py":{"language":"Python","code":54,"comment":1,"blank":16},"file:///home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/sources/__init__.py":{"language":"Python","code":0,"comment":0,"blank":1},"file:///home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/sources/source.py":{"language":"Python","code":11,"comment":5,"blank":8},"file:///home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/sources/genius.py":{"language":"Python","code":115,"comment":16,"blank":42},"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/musify_search.py":{"language":"Python","code":38,"comment":0,"blank":14}} \ No newline at end of file diff --git a/.VSCodeCounter/2023-02-06_10-33-12/results.md b/.VSCodeCounter/2023-04-05_09-31-17/results.md similarity index 54% rename from .VSCodeCounter/2023-02-06_10-33-12/results.md rename to .VSCodeCounter/2023-04-05_09-31-17/results.md index 7efbe91..6b0d2b2 100644 --- a/.VSCodeCounter/2023-02-06_10-33-12/results.md +++ b/.VSCodeCounter/2023-04-05_09-31-17/results.md @@ -1,40 +1,41 @@ # Summary -Date : 2023-02-06 10:33:12 +Date : 2023-04-05 09:31:17 Directory /home/lars/Projects/music-downloader/src -Total : 50 files, 3575 codes, 775 comments, 1028 blanks, all 5378 lines +Total : 66 files, 5256 codes, 1000 comments, 1543 blanks, all 7799 lines Summary / [Details](details.md) / [Diff Summary](diff.md) / [Diff Details](diff-details.md) ## Languages | language | files | code | comment | blank | total | | :--- | ---: | ---: | ---: | ---: | ---: | -| Python | 47 | 3,277 | 775 | 1,007 | 5,059 | +| Python | 64 | 5,049 | 1,000 | 1,523 | 7,572 | | SQLite | 2 | 207 | 0 | 20 | 227 | -| Database | 1 | 91 | 0 | 1 | 92 | ## Directories | path | files | code | comment | blank | total | | :--- | ---: | ---: | ---: | ---: | ---: | -| . | 50 | 3,575 | 775 | 1,028 | 5,378 | -| . (Files) | 8 | 337 | 117 | 99 | 553 | -| music_kraken | 42 | 3,238 | 658 | 929 | 4,825 | -| music_kraken (Files) | 2 | 66 | 28 | 36 | 130 | -| music_kraken/database | 10 | 1,275 | 347 | 358 | 1,980 | -| music_kraken/database (Files) | 3 | 459 | 112 | 124 | 695 | -| music_kraken/database/objects | 7 | 816 | 235 | 234 | 1,285 | +| . | 66 | 5,256 | 1,000 | 1,543 | 7,799 | +| . (Files) | 7 | 169 | 0 | 55 | 224 | +| music_kraken | 54 | 4,800 | 982 | 1,409 | 7,191 | +| music_kraken (Files) | 2 | 89 | 12 | 31 | 132 | +| music_kraken/database | 3 | 226 | 71 | 91 | 388 | | music_kraken/not_used_anymore | 14 | 1,063 | 117 | 322 | 1,502 | | music_kraken/not_used_anymore (Files) | 3 | 129 | 13 | 39 | 181 | | music_kraken/not_used_anymore/metadata | 5 | 561 | 70 | 153 | 784 | | music_kraken/not_used_anymore/metadata (Files) | 3 | 516 | 64 | 139 | 719 | | music_kraken/not_used_anymore/metadata/sources | 2 | 45 | 6 | 14 | 65 | | music_kraken/not_used_anymore/sources | 6 | 373 | 34 | 130 | 537 | -| music_kraken/pages | 4 | 401 | 144 | 114 | 659 | +| music_kraken/objects | 12 | 1,208 | 317 | 360 | 1,885 | +| music_kraken/pages | 13 | 1,795 | 426 | 510 | 2,731 | +| music_kraken/pages (Files) | 5 | 1,474 | 402 | 386 | 2,262 | +| music_kraken/pages/download_center | 5 | 215 | 24 | 93 | 332 | +| music_kraken/pages/support_classes | 3 | 106 | 0 | 31 | 137 | | music_kraken/static_files | 2 | 207 | 0 | 20 | 227 | -| music_kraken/tagging | 2 | 59 | 4 | 22 | 85 | -| music_kraken/target | 2 | 41 | 7 | 20 | 68 | -| music_kraken/utils | 6 | 126 | 11 | 37 | 174 | +| music_kraken/tagging | 2 | 65 | 4 | 26 | 95 | +| music_kraken/utils | 6 | 147 | 35 | 49 | 231 | +| tests | 5 | 287 | 18 | 79 | 384 | Summary / [Details](details.md) / [Diff Summary](diff.md) / [Diff Details](diff-details.md) \ No newline at end of file diff --git a/.VSCodeCounter/2023-02-06_10-33-12/results.txt b/.VSCodeCounter/2023-04-05_09-31-17/results.txt similarity index 52% rename from .VSCodeCounter/2023-02-06_10-33-12/results.txt rename to .VSCodeCounter/2023-04-05_09-31-17/results.txt index 24b3620..e7657dc 100644 --- a/.VSCodeCounter/2023-02-06_10-33-12/results.txt +++ b/.VSCodeCounter/2023-04-05_09-31-17/results.txt @@ -1,38 +1,39 @@ -Date : 2023-02-06 10:33:12 +Date : 2023-04-05 09:31:17 Directory : /home/lars/Projects/music-downloader/src -Total : 50 files, 3575 codes, 775 comments, 1028 blanks, all 5378 lines +Total : 66 files, 5256 codes, 1000 comments, 1543 blanks, all 7799 lines Languages +----------+------------+------------+------------+------------+------------+ | language | files | code | comment | blank | total | +----------+------------+------------+------------+------------+------------+ -| Python | 47 | 3,277 | 775 | 1,007 | 5,059 | +| Python | 64 | 5,049 | 1,000 | 1,523 | 7,572 | | SQLite | 2 | 207 | 0 | 20 | 227 | -| Database | 1 | 91 | 0 | 1 | 92 | +----------+------------+------------+------------+------------+------------+ Directories +--------------------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+ | path | files | code | comment | blank | total | +--------------------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+ -| . | 50 | 3,575 | 775 | 1,028 | 5,378 | -| . (Files) | 8 | 337 | 117 | 99 | 553 | -| music_kraken | 42 | 3,238 | 658 | 929 | 4,825 | -| music_kraken (Files) | 2 | 66 | 28 | 36 | 130 | -| music_kraken/database | 10 | 1,275 | 347 | 358 | 1,980 | -| music_kraken/database (Files) | 3 | 459 | 112 | 124 | 695 | -| music_kraken/database/objects | 7 | 816 | 235 | 234 | 1,285 | +| . | 66 | 5,256 | 1,000 | 1,543 | 7,799 | +| . (Files) | 7 | 169 | 0 | 55 | 224 | +| music_kraken | 54 | 4,800 | 982 | 1,409 | 7,191 | +| music_kraken (Files) | 2 | 89 | 12 | 31 | 132 | +| music_kraken/database | 3 | 226 | 71 | 91 | 388 | | music_kraken/not_used_anymore | 14 | 1,063 | 117 | 322 | 1,502 | | music_kraken/not_used_anymore (Files) | 3 | 129 | 13 | 39 | 181 | | music_kraken/not_used_anymore/metadata | 5 | 561 | 70 | 153 | 784 | | music_kraken/not_used_anymore/metadata (Files) | 3 | 516 | 64 | 139 | 719 | | music_kraken/not_used_anymore/metadata/sources | 2 | 45 | 6 | 14 | 65 | | music_kraken/not_used_anymore/sources | 6 | 373 | 34 | 130 | 537 | -| music_kraken/pages | 4 | 401 | 144 | 114 | 659 | +| music_kraken/objects | 12 | 1,208 | 317 | 360 | 1,885 | +| music_kraken/pages | 13 | 1,795 | 426 | 510 | 2,731 | +| music_kraken/pages (Files) | 5 | 1,474 | 402 | 386 | 2,262 | +| music_kraken/pages/download_center | 5 | 215 | 24 | 93 | 332 | +| music_kraken/pages/support_classes | 3 | 106 | 0 | 31 | 137 | | music_kraken/static_files | 2 | 207 | 0 | 20 | 227 | -| music_kraken/tagging | 2 | 59 | 4 | 22 | 85 | -| music_kraken/target | 2 | 41 | 7 | 20 | 68 | -| music_kraken/utils | 6 | 126 | 11 | 37 | 174 | +| music_kraken/tagging | 2 | 65 | 4 | 26 | 95 | +| music_kraken/utils | 6 | 147 | 35 | 49 | 231 | +| tests | 5 | 287 | 18 | 79 | 384 | +--------------------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+ Files @@ -40,20 +41,14 @@ 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/create_custom_objects.py | Python | 80 | 3 | 18 | 101 | -| /home/lars/Projects/music-downloader/src/metal_archives.py | Python | 45 | 6 | 17 | 68 | -| /home/lars/Projects/music-downloader/src/music_kraken/__init__.py | Python | 63 | 26 | 33 | 122 | -| /home/lars/Projects/music-downloader/src/music_kraken/__main__.py | Python | 3 | 2 | 3 | 8 | -| /home/lars/Projects/music-downloader/src/music_kraken/database/__init__.py | Python | 18 | 0 | 5 | 23 | -| /home/lars/Projects/music-downloader/src/music_kraken/database/database.py | Python | 429 | 112 | 111 | 652 | -| /home/lars/Projects/music-downloader/src/music_kraken/database/objects/__init__.py | Python | 20 | 0 | 7 | 27 | -| /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/formatted_text.py | Python | 48 | 57 | 16 | 121 | -| /home/lars/Projects/music-downloader/src/music_kraken/database/objects/metadata.py | Python | 251 | 68 | 61 | 380 | -| /home/lars/Projects/music-downloader/src/music_kraken/database/objects/parents.py | Python | 40 | 8 | 19 | 67 | -| /home/lars/Projects/music-downloader/src/music_kraken/database/objects/song.py | Python | 323 | 64 | 85 | 472 | -| /home/lars/Projects/music-downloader/src/music_kraken/database/objects/source.py | Python | 116 | 38 | 41 | 195 | -| /home/lars/Projects/music-downloader/src/music_kraken/database/temp_database.py | Python | 12 | 0 | 8 | 20 | +| /home/lars/Projects/music-downloader/src/actual_donwload.py | Python | 37 | 0 | 17 | 54 | +| /home/lars/Projects/music-downloader/src/create_custom_objects.py | Python | 58 | 0 | 6 | 64 | +| /home/lars/Projects/music-downloader/src/metal_archives.py | Python | 30 | 0 | 12 | 42 | +| /home/lars/Projects/music-downloader/src/music_kraken/__init__.py | Python | 86 | 12 | 28 | 126 | +| /home/lars/Projects/music-downloader/src/music_kraken/__main__.py | Python | 3 | 0 | 3 | 6 | +| /home/lars/Projects/music-downloader/src/music_kraken/database/__init__.py | Python | 0 | 0 | 1 | 1 | +| /home/lars/Projects/music-downloader/src/music_kraken/database/data_models.py | Python | 122 | 24 | 52 | 198 | +| /home/lars/Projects/music-downloader/src/music_kraken/database/database.py | Python | 104 | 47 | 38 | 189 | | /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/__init__.py | Python | 0 | 0 | 3 | 3 | | /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/fetch_audio.py | Python | 75 | 12 | 20 | 107 | | /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/fetch_source.py | Python | 54 | 1 | 16 | 71 | @@ -68,26 +63,48 @@ Files | /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/sources/musify.py | Python | 136 | 9 | 37 | 182 | | /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/sources/source.py | Python | 11 | 5 | 8 | 24 | | /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/sources/youtube.py | Python | 71 | 4 | 24 | 99 | -| /home/lars/Projects/music-downloader/src/music_kraken/pages/__init__.py | Python | 7 | 0 | 5 | 12 | -| /home/lars/Projects/music-downloader/src/music_kraken/pages/abstract.py | Python | 70 | 68 | 27 | 165 | -| /home/lars/Projects/music-downloader/src/music_kraken/pages/encyclopaedia_metallum.py | Python | 299 | 60 | 76 | 435 | +| /home/lars/Projects/music-downloader/src/music_kraken/objects/__init__.py | Python | 29 | 0 | 8 | 37 | +| /home/lars/Projects/music-downloader/src/music_kraken/objects/album.py | Python | 16 | 6 | 5 | 27 | +| /home/lars/Projects/music-downloader/src/music_kraken/objects/cache.py | Python | 37 | 56 | 18 | 111 | +| /home/lars/Projects/music-downloader/src/music_kraken/objects/collection.py | Python | 91 | 31 | 39 | 161 | +| /home/lars/Projects/music-downloader/src/music_kraken/objects/formatted_text.py | Python | 50 | 10 | 19 | 79 | +| /home/lars/Projects/music-downloader/src/music_kraken/objects/lyrics.py | Python | 25 | 0 | 7 | 32 | +| /home/lars/Projects/music-downloader/src/music_kraken/objects/metadata.py | Python | 261 | 62 | 61 | 384 | +| /home/lars/Projects/music-downloader/src/music_kraken/objects/option.py | Python | 23 | 0 | 11 | 34 | +| /home/lars/Projects/music-downloader/src/music_kraken/objects/parents.py | Python | 62 | 31 | 31 | 124 | +| /home/lars/Projects/music-downloader/src/music_kraken/objects/song.py | Python | 436 | 93 | 99 | 628 | +| /home/lars/Projects/music-downloader/src/music_kraken/objects/source.py | Python | 120 | 17 | 41 | 178 | +| /home/lars/Projects/music-downloader/src/music_kraken/objects/target.py | Python | 58 | 11 | 21 | 90 | +| /home/lars/Projects/music-downloader/src/music_kraken/pages/__init__.py | Python | 6 | 0 | 5 | 11 | +| /home/lars/Projects/music-downloader/src/music_kraken/pages/abstract.py | Python | 428 | 44 | 103 | 575 | +| /home/lars/Projects/music-downloader/src/music_kraken/pages/download_center/__init__.py | Python | 4 | 0 | 2 | 6 | +| /home/lars/Projects/music-downloader/src/music_kraken/pages/download_center/download.py | Python | 33 | 0 | 13 | 46 | +| /home/lars/Projects/music-downloader/src/music_kraken/pages/download_center/multiple_options.py | Python | 69 | 0 | 31 | 100 | +| /home/lars/Projects/music-downloader/src/music_kraken/pages/download_center/page_attributes.py | Python | 24 | 1 | 9 | 34 | +| /home/lars/Projects/music-downloader/src/music_kraken/pages/download_center/search.py | Python | 85 | 23 | 38 | 146 | +| /home/lars/Projects/music-downloader/src/music_kraken/pages/encyclopaedia_metallum.py | Python | 451 | 83 | 117 | 651 | +| /home/lars/Projects/music-downloader/src/music_kraken/pages/musify.py | Python | 564 | 259 | 155 | 978 | +| /home/lars/Projects/music-downloader/src/music_kraken/pages/support_classes/__init__.py | Python | 0 | 0 | 1 | 1 | +| /home/lars/Projects/music-downloader/src/music_kraken/pages/support_classes/default_target.py | Python | 55 | 0 | 15 | 70 | +| /home/lars/Projects/music-downloader/src/music_kraken/pages/support_classes/download_result.py | Python | 51 | 0 | 15 | 66 | | /home/lars/Projects/music-downloader/src/music_kraken/pages/youtube.py | Python | 25 | 16 | 6 | 47 | | /home/lars/Projects/music-downloader/src/music_kraken/static_files/new_db.sql | SQLite | 72 | 0 | 10 | 82 | | /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/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/tagging/__init__.py | Python | 5 | 0 | 2 | 7 | +| /home/lars/Projects/music-downloader/src/music_kraken/tagging/id3.py | Python | 60 | 4 | 24 | 88 | | /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 | 62 | 3 | 10 | 75 | -| /home/lars/Projects/music-downloader/src/music_kraken/utils/string_processing.py | Python | 2 | 5 | 2 | 9 | -| /home/lars/Projects/music-downloader/src/music_kraken_cli.py | Python | 91 | 9 | 32 | 132 | +| /home/lars/Projects/music-downloader/src/music_kraken/utils/shared.py | Python | 75 | 27 | 17 | 119 | +| /home/lars/Projects/music-downloader/src/music_kraken/utils/string_processing.py | Python | 10 | 5 | 7 | 22 | +| /home/lars/Projects/music-downloader/src/music_kraken_cli.py | Python | 3 | 0 | 3 | 6 | | /home/lars/Projects/music-downloader/src/music_kraken_gtk.py | Python | 3 | 0 | 2 | 5 | -| /home/lars/Projects/music-downloader/src/test.db | Database | 91 | 0 | 1 | 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,575 | 775 | 1,028 | 5,378 | +| /home/lars/Projects/music-downloader/src/musify_search.py | Python | 38 | 0 | 14 | 52 | +| /home/lars/Projects/music-downloader/src/tests/__init__.py | Python | 0 | 0 | 1 | 1 | +| /home/lars/Projects/music-downloader/src/tests/conftest.py | Python | 3 | 1 | 2 | 6 | +| /home/lars/Projects/music-downloader/src/tests/test_building_objects.py | Python | 81 | 1 | 13 | 95 | +| /home/lars/Projects/music-downloader/src/tests/test_download.py | Python | 30 | 1 | 12 | 43 | +| /home/lars/Projects/music-downloader/src/tests/test_objects.py | Python | 173 | 15 | 51 | 239 | +| Total | | 5,256 | 1,000 | 1,543 | 7,799 | +--------------------------------------------------------------------------------------------------------+----------+------------+------------+------------+------------+ \ No newline at end of file diff --git a/src/music_kraken/utils/shared.py b/src/music_kraken/utils/shared.py index db14988..0655855 100644 --- a/src/music_kraken/utils/shared.py +++ b/src/music_kraken/utils/shared.py @@ -35,16 +35,17 @@ def get_random_message() -> str: return random.choice(HAPPY_MESSAGES) -LOG_FILE = "download_logs.log" TEMP_DIR = Path(tempfile.gettempdir(), "music-downloader") TEMP_DIR.mkdir(exist_ok=True) +LOG_PATH = Path(TEMP_DIR, "download_logs.log") + # configure logger default logging.basicConfig( level=logging.INFO, format=logging.BASIC_FORMAT, handlers=[ - logging.FileHandler(os.path.join(TEMP_DIR, LOG_FILE)), + logging.FileHandler(Path(TEMP_DIR, LOG_PATH)), logging.StreamHandler() ] )