From 8362e2d5eb559cd1296ab96c3ad075b6a80093ad Mon Sep 17 00:00:00 2001 From: Hellow2 Date: Mon, 6 Feb 2023 15:06:38 +0100 Subject: [PATCH] hs --- .VSCodeCounter/2022-11-30_09-03-29/details.md | 54 --------- .../2022-11-30_09-03-29/diff-details.md | 41 ------- .VSCodeCounter/2022-11-30_09-03-29/diff.csv | 28 ----- .VSCodeCounter/2022-11-30_09-03-29/diff.md | 31 ------ .VSCodeCounter/2022-11-30_09-03-29/diff.txt | 60 ---------- .../2022-11-30_09-03-29/results.csv | 41 ------- .../2022-11-30_09-03-29/results.json | 1 - .VSCodeCounter/2022-11-30_09-03-29/results.md | 32 ------ .../2022-11-30_09-03-29/results.txt | 74 ------------- .VSCodeCounter/2023-02-06_10-33-12/details.md | 65 +++++++++++ .../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 + .VSCodeCounter/2023-02-06_10-33-12/results.md | 40 +++++++ .../2023-02-06_10-33-12/results.txt | 93 ++++++++++++++++ src/metal_archives.py | 6 +- src/music_kraken/pages/abstract.py | 33 +++--- .../pages/encyclopaedia_metallum.py | 50 +++++++-- 21 files changed, 589 insertions(+), 390 deletions(-) delete mode 100644 .VSCodeCounter/2022-11-30_09-03-29/details.md delete mode 100644 .VSCodeCounter/2022-11-30_09-03-29/diff-details.md delete mode 100644 .VSCodeCounter/2022-11-30_09-03-29/diff.csv delete mode 100644 .VSCodeCounter/2022-11-30_09-03-29/diff.md delete mode 100644 .VSCodeCounter/2022-11-30_09-03-29/diff.txt delete mode 100644 .VSCodeCounter/2022-11-30_09-03-29/results.csv delete mode 100644 .VSCodeCounter/2022-11-30_09-03-29/results.json delete mode 100644 .VSCodeCounter/2022-11-30_09-03-29/results.md delete mode 100644 .VSCodeCounter/2022-11-30_09-03-29/results.txt create mode 100644 .VSCodeCounter/2023-02-06_10-33-12/details.md create mode 100644 .VSCodeCounter/2023-02-06_10-33-12/diff-details.md create mode 100644 .VSCodeCounter/2023-02-06_10-33-12/diff.csv create mode 100644 .VSCodeCounter/2023-02-06_10-33-12/diff.md create mode 100644 .VSCodeCounter/2023-02-06_10-33-12/diff.txt create mode 100644 .VSCodeCounter/2023-02-06_10-33-12/results.csv create mode 100644 .VSCodeCounter/2023-02-06_10-33-12/results.json create mode 100644 .VSCodeCounter/2023-02-06_10-33-12/results.md create mode 100644 .VSCodeCounter/2023-02-06_10-33-12/results.txt diff --git a/.VSCodeCounter/2022-11-30_09-03-29/details.md b/.VSCodeCounter/2022-11-30_09-03-29/details.md deleted file mode 100644 index 8ea1900..0000000 --- a/.VSCodeCounter/2022-11-30_09-03-29/details.md +++ /dev/null @@ -1,54 +0,0 @@ -# Details - -Date : 2022-11-30 09:03:29 - -Directory /home/lars/Projects/music-downloader/src - -Total : 39 files, 1860 codes, 393 comments, 612 blanks, all 2865 lines - -[Summary](results.md) / Details / [Diff Summary](diff.md) / [Diff Details](diff-details.md) - -## Files -| filename | language | code | comment | blank | total | -| :--- | :--- | ---: | ---: | ---: | ---: | -| [src/__init__.py](/src/__init__.py) | Python | 0 | 0 | 1 | 1 | -| [src/goof.py](/src/goof.py) | Python | 14 | 0 | 4 | 18 | -| [src/music_kraken/__init__.py](/src/music_kraken/__init__.py) | Python | 114 | 30 | 48 | 192 | -| [src/music_kraken/__main__.py](/src/music_kraken/__main__.py) | Python | 3 | 2 | 3 | 8 | -| [src/music_kraken/audio_source/__init__.py](/src/music_kraken/not_used_anymore/__init__.py) | Python | 10 | 0 | 5 | 15 | -| [src/music_kraken/audio_source/fetch_audio.py](/src/music_kraken/not_used_anymore/fetch_audio.py) | Python | 75 | 12 | 20 | 107 | -| [src/music_kraken/audio_source/fetch_source.py](/src/music_kraken/not_used_anymore/fetch_source.py) | Python | 54 | 1 | 17 | 72 | -| [src/music_kraken/audio_source/sources/__init__.py](/src/music_kraken/not_used_anymore/sources/__init__.py) | Python | 0 | 0 | 1 | 1 | -| [src/music_kraken/audio_source/sources/local_files.py](/src/music_kraken/not_used_anymore/sources/local_files.py) | Python | 40 | 0 | 18 | 58 | -| [src/music_kraken/audio_source/sources/musify.py](/src/music_kraken/not_used_anymore/sources/musify.py) | Python | 136 | 9 | 37 | 182 | -| [src/music_kraken/audio_source/sources/source.py](/src/music_kraken/not_used_anymore/sources/source.py) | Python | 11 | 5 | 8 | 24 | -| [src/music_kraken/audio_source/sources/youtube.py](/src/music_kraken/not_used_anymore/sources/youtube.py) | Python | 71 | 4 | 24 | 99 | -| [src/music_kraken/database/__init__.py](/src/music_kraken/database/__init__.py) | Python | 15 | 0 | 3 | 18 | -| [src/music_kraken/database/artist.py](/src/music_kraken/database/artist.py) | Python | 11 | 0 | 5 | 16 | -| [src/music_kraken/database/database.py](/src/music_kraken/database/database.py) | Python | 166 | 80 | 41 | 287 | -| [src/music_kraken/database/metadata.py](/src/music_kraken/database/metadata.py) | Python | 13 | 0 | 5 | 18 | -| [src/music_kraken/database/song.py](/src/music_kraken/database/song.py) | Python | 86 | 25 | 33 | 144 | -| [src/music_kraken/database/source.py](/src/music_kraken/database/source.py) | Python | 5 | 0 | 2 | 7 | -| [src/music_kraken/database/target.py](/src/music_kraken/database/target.py) | Python | 22 | 0 | 9 | 31 | -| [src/music_kraken/database/temp_database.py](/src/music_kraken/database/temp_database.py) | Python | 10 | 0 | 7 | 17 | -| [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/not_used_anymore/sources/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/not_used_anymore/metadata/__init__.py) | Python | 6 | 0 | 2 | 8 | -| [src/music_kraken/metadata/metadata_fetch.py](/src/music_kraken/not_used_anymore/metadata/metadata_fetch.py) | Python | 257 | 24 | 65 | 346 | -| [src/music_kraken/metadata/metadata_search.py](/src/music_kraken/not_used_anymore/metadata/metadata_search.py) | Python | 253 | 40 | 72 | 365 | -| [src/music_kraken/static_files/temp_database_structure.sql](/src/music_kraken/static_files/temp_database_structure.sql) | SQLite | 61 | 0 | 7 | 68 | -| [src/music_kraken/tagging/__init__.py](/src/music_kraken/tagging/__init__.py) | Python | 0 | 0 | 1 | 1 | -| [src/music_kraken/tagging/song.py](/src/music_kraken/tagging/song.py) | Python | 3 | 0 | 1 | 4 | -| [src/music_kraken/target/__init__.py](/src/music_kraken/target/__init__.py) | Python | 4 | 0 | 2 | 6 | -| [src/music_kraken/target/set_target.py](/src/music_kraken/target/set_target.py) | Python | 37 | 7 | 18 | 62 | -| [src/music_kraken/utils/__init__.py](/src/music_kraken/utils/__init__.py) | Python | 1 | 1 | 1 | 3 | -| [src/music_kraken/utils/functions.py](/src/music_kraken/utils/functions.py) | Python | 3 | 0 | 1 | 4 | -| [src/music_kraken/utils/object_handeling.py](/src/music_kraken/utils/object_handeling.py) | Python | 19 | 0 | 6 | 25 | -| [src/music_kraken/utils/phonetic_compares.py](/src/music_kraken/utils/phonetic_compares.py) | Python | 39 | 2 | 17 | 58 | -| [src/music_kraken/utils/shared.py](/src/music_kraken/utils/shared.py) | Python | 59 | 3 | 9 | 71 | -| [src/music_kraken_cli.py](/src/music_kraken_cli.py) | Python | 94 | 9 | 32 | 135 | -| [src/music_kraken_gtk.py](/src/music_kraken_gtk.py) | Python | 3 | 0 | 2 | 5 | -| [src/try-programming-interface.py](/src/try-programming-interface.py) | Python | 14 | 98 | 22 | 134 | - -[Summary](results.md) / Details / [Diff Summary](diff.md) / [Diff Details](diff-details.md) \ No newline at end of file diff --git a/.VSCodeCounter/2022-11-30_09-03-29/diff-details.md b/.VSCodeCounter/2022-11-30_09-03-29/diff-details.md deleted file mode 100644 index c7ce0a5..0000000 --- a/.VSCodeCounter/2022-11-30_09-03-29/diff-details.md +++ /dev/null @@ -1,41 +0,0 @@ -# Diff Details - -Date : 2022-11-30 09:03:29 - -Directory /home/lars/Projects/music-downloader/src - -Total : 26 files, 206 codes, 79 comments, 81 blanks, all 366 lines - -[Summary](results.md) / [Details](details.md) / [Diff Summary](diff.md) / Diff Details - -## Files -| filename | language | code | comment | blank | total | -| :--- | :--- | ---: | ---: | ---: | ---: | -| [src/database_structure.sql](/src/database_structure.sql) | SQLite | -60 | 0 | -7 | -67 | -| [src/goof.py](/src/goof.py) | Python | 14 | 0 | 4 | 18 | -| [src/music_kraken/__init__.py](/src/music_kraken/__init__.py) | Python | 23 | 16 | 20 | 59 | -| [src/music_kraken/__main__.py](/src/music_kraken/__main__.py) | Python | -1 | -1 | 0 | -2 | -| [src/music_kraken/audio_source/__init__.py](/src/music_kraken/not_used_anymore/__init__.py) | Python | 10 | 0 | 4 | 14 | -| [src/music_kraken/audio_source/fetch_audio.py](/src/music_kraken/not_used_anymore/fetch_audio.py) | Python | 11 | -9 | 0 | 2 | -| [src/music_kraken/audio_source/fetch_source.py](/src/music_kraken/not_used_anymore/fetch_source.py) | Python | 18 | -27 | 1 | -8 | -| [src/music_kraken/audio_source/sources/musify.py](/src/music_kraken/not_used_anymore/sources/musify.py) | Python | 6 | 0 | 0 | 6 | -| [src/music_kraken/audio_source/sources/youtube.py](/src/music_kraken/not_used_anymore/sources/youtube.py) | Python | 6 | -2 | 2 | 6 | -| [src/music_kraken/database/__init__.py](/src/music_kraken/database/__init__.py) | Python | 15 | 0 | 3 | 18 | -| [src/music_kraken/database/artist.py](/src/music_kraken/database/artist.py) | Python | 11 | 0 | 5 | 16 | -| [src/music_kraken/database/database.py](/src/music_kraken/database/database.py) | Python | 3 | 0 | 0 | 3 | -| [src/music_kraken/database/metadata.py](/src/music_kraken/database/metadata.py) | Python | 13 | 0 | 5 | 18 | -| [src/music_kraken/database/song.py](/src/music_kraken/database/song.py) | Python | 0 | 20 | -1 | 19 | -| [src/music_kraken/database/source.py](/src/music_kraken/database/source.py) | Python | 5 | 0 | 2 | 7 | -| [src/music_kraken/database/target.py](/src/music_kraken/database/target.py) | Python | 22 | 0 | 9 | 31 | -| [src/music_kraken/database/temp_database.py](/src/music_kraken/database/temp_database.py) | Python | -1 | 0 | 2 | 1 | -| [src/music_kraken/lyrics/genius.py](/src/music_kraken/not_used_anymore/sources/genius.py) | Python | 16 | -22 | 7 | 1 | -| [src/music_kraken/lyrics/lyrics.py](/src/music_kraken/lyrics/lyrics.py) | Python | -14 | 6 | -6 | -14 | -| [src/music_kraken/metadata/__init__.py](/src/music_kraken/not_used_anymore/metadata/__init__.py) | Python | 6 | 0 | 1 | 7 | -| [src/music_kraken/metadata/metadata_fetch.py](/src/music_kraken/not_used_anymore/metadata/metadata_fetch.py) | Python | 2 | 0 | 1 | 3 | -| [src/music_kraken/static_files/temp_database_structure.sql](/src/music_kraken/static_files/temp_database_structure.sql) | SQLite | 61 | 0 | 7 | 68 | -| [src/music_kraken/target/__init__.py](/src/music_kraken/target/__init__.py) | Python | 4 | 0 | 1 | 5 | -| [src/music_kraken/utils/phonetic_compares.py](/src/music_kraken/utils/phonetic_compares.py) | Python | 5 | 2 | 2 | 9 | -| [src/music_kraken/utils/shared.py](/src/music_kraken/utils/shared.py) | Python | 20 | 1 | 0 | 21 | -| [src/try-programming-interface.py](/src/try-programming-interface.py) | Python | 11 | 95 | 19 | 125 | - -[Summary](results.md) / [Details](details.md) / [Diff Summary](diff.md) / Diff Details \ No newline at end of file diff --git a/.VSCodeCounter/2022-11-30_09-03-29/diff.csv b/.VSCodeCounter/2022-11-30_09-03-29/diff.csv deleted file mode 100644 index 40cbb04..0000000 --- a/.VSCodeCounter/2022-11-30_09-03-29/diff.csv +++ /dev/null @@ -1,28 +0,0 @@ -"filename", "language", "Python", "SQLite", "comment", "blank", "total" -"/home/lars/Projects/music-downloader/src/database_structure.sql", "SQLite", 0, -60, 0, -7, -67 -"/home/lars/Projects/music-downloader/src/goof.py", "Python", 14, 0, 0, 4, 18 -"/home/lars/Projects/music-downloader/src/music_kraken/__init__.py", "Python", 23, 0, 16, 20, 59 -"/home/lars/Projects/music-downloader/src/music_kraken/__main__.py", "Python", -1, 0, -1, 0, -2 -"/home/lars/Projects/music-downloader/src/music_kraken/audio_source/__init__.py", "Python", 10, 0, 0, 4, 14 -"/home/lars/Projects/music-downloader/src/music_kraken/audio_source/fetch_audio.py", "Python", 11, 0, -9, 0, 2 -"/home/lars/Projects/music-downloader/src/music_kraken/audio_source/fetch_source.py", "Python", 18, 0, -27, 1, -8 -"/home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/musify.py", "Python", 6, 0, 0, 0, 6 -"/home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/youtube.py", "Python", 6, 0, -2, 2, 6 -"/home/lars/Projects/music-downloader/src/music_kraken/database/__init__.py", "Python", 15, 0, 0, 3, 18 -"/home/lars/Projects/music-downloader/src/music_kraken/database/artist.py", "Python", 11, 0, 0, 5, 16 -"/home/lars/Projects/music-downloader/src/music_kraken/database/database.py", "Python", 3, 0, 0, 0, 3 -"/home/lars/Projects/music-downloader/src/music_kraken/database/metadata.py", "Python", 13, 0, 0, 5, 18 -"/home/lars/Projects/music-downloader/src/music_kraken/database/song.py", "Python", 0, 0, 20, -1, 19 -"/home/lars/Projects/music-downloader/src/music_kraken/database/source.py", "Python", 5, 0, 0, 2, 7 -"/home/lars/Projects/music-downloader/src/music_kraken/database/target.py", "Python", 22, 0, 0, 9, 31 -"/home/lars/Projects/music-downloader/src/music_kraken/database/temp_database.py", "Python", -1, 0, 0, 2, 1 -"/home/lars/Projects/music-downloader/src/music_kraken/lyrics/genius.py", "Python", 16, 0, -22, 7, 1 -"/home/lars/Projects/music-downloader/src/music_kraken/lyrics/lyrics.py", "Python", -14, 0, 6, -6, -14 -"/home/lars/Projects/music-downloader/src/music_kraken/metadata/__init__.py", "Python", 6, 0, 0, 1, 7 -"/home/lars/Projects/music-downloader/src/music_kraken/metadata/metadata_fetch.py", "Python", 2, 0, 0, 1, 3 -"/home/lars/Projects/music-downloader/src/music_kraken/static_files/temp_database_structure.sql", "SQLite", 0, 61, 0, 7, 68 -"/home/lars/Projects/music-downloader/src/music_kraken/target/__init__.py", "Python", 4, 0, 0, 1, 5 -"/home/lars/Projects/music-downloader/src/music_kraken/utils/phonetic_compares.py", "Python", 5, 0, 2, 2, 9 -"/home/lars/Projects/music-downloader/src/music_kraken/utils/shared.py", "Python", 20, 0, 1, 0, 21 -"/home/lars/Projects/music-downloader/src/try-programming-interface.py", "Python", 11, 0, 95, 19, 125 -"Total", "-", 205, 1, 79, 81, 366 \ No newline at end of file diff --git a/.VSCodeCounter/2022-11-30_09-03-29/diff.md b/.VSCodeCounter/2022-11-30_09-03-29/diff.md deleted file mode 100644 index f56561d..0000000 --- a/.VSCodeCounter/2022-11-30_09-03-29/diff.md +++ /dev/null @@ -1,31 +0,0 @@ -# Diff Summary - -Date : 2022-11-30 09:03:29 - -Directory /home/lars/Projects/music-downloader/src - -Total : 26 files, 206 codes, 79 comments, 81 blanks, all 366 lines - -[Summary](results.md) / [Details](details.md) / Diff Summary / [Diff Details](diff-details.md) - -## Languages -| language | files | code | comment | blank | total | -| :--- | ---: | ---: | ---: | ---: | ---: | -| Python | 24 | 205 | 79 | 81 | 365 | -| SQLite | 2 | 1 | 0 | 0 | 1 | - -## Directories -| path | files | code | comment | blank | total | -| :--- | ---: | ---: | ---: | ---: | ---: | -| . | 26 | 206 | 79 | 81 | 366 | -| music_kraken | 23 | 241 | -16 | 65 | 290 | -| music_kraken/audio_source | 5 | 51 | -38 | 7 | 20 | -| music_kraken/audio_source/sources | 2 | 12 | -2 | 2 | 12 | -| music_kraken/database | 8 | 68 | 20 | 25 | 113 | -| music_kraken/lyrics | 2 | 2 | -16 | 1 | -13 | -| music_kraken/metadata | 2 | 8 | 0 | 2 | 10 | -| music_kraken/static_files | 1 | 61 | 0 | 7 | 68 | -| music_kraken/target | 1 | 4 | 0 | 1 | 5 | -| music_kraken/utils | 2 | 25 | 3 | 2 | 30 | - -[Summary](results.md) / [Details](details.md) / Diff Summary / [Diff Details](diff-details.md) \ No newline at end of file diff --git a/.VSCodeCounter/2022-11-30_09-03-29/diff.txt b/.VSCodeCounter/2022-11-30_09-03-29/diff.txt deleted file mode 100644 index 47b347c..0000000 --- a/.VSCodeCounter/2022-11-30_09-03-29/diff.txt +++ /dev/null @@ -1,60 +0,0 @@ -Date : 2022-11-30 09:03:29 -Directory : /home/lars/Projects/music-downloader/src -Total : 26 files, 206 codes, 79 comments, 81 blanks, all 366 lines - -Languages -+----------+------------+------------+------------+------------+------------+ -| language | files | code | comment | blank | total | -+----------+------------+------------+------------+------------+------------+ -| Python | 24 | 205 | 79 | 81 | 365 | -| SQLite | 2 | 1 | 0 | 0 | 1 | -+----------+------------+------------+------------+------------+------------+ - -Directories -+------------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+ -| path | files | code | comment | blank | total | -+------------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+ -| . | 26 | 206 | 79 | 81 | 366 | -| music_kraken | 23 | 241 | -16 | 65 | 290 | -| music_kraken/audio_source | 5 | 51 | -38 | 7 | 20 | -| music_kraken/audio_source/sources | 2 | 12 | -2 | 2 | 12 | -| music_kraken/database | 8 | 68 | 20 | 25 | 113 | -| music_kraken/lyrics | 2 | 2 | -16 | 1 | -13 | -| music_kraken/metadata | 2 | 8 | 0 | 2 | 10 | -| music_kraken/static_files | 1 | 61 | 0 | 7 | 68 | -| music_kraken/target | 1 | 4 | 0 | 1 | 5 | -| music_kraken/utils | 2 | 25 | 3 | 2 | 30 | -+------------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+ - -Files -+------------------------------------------------------------------------------------------------+----------+------------+------------+------------+------------+ -| filename | language | code | comment | blank | total | -+------------------------------------------------------------------------------------------------+----------+------------+------------+------------+------------+ -| /home/lars/Projects/music-downloader/src/database_structure.sql | SQLite | -60 | 0 | -7 | -67 | -| /home/lars/Projects/music-downloader/src/goof.py | Python | 14 | 0 | 4 | 18 | -| /home/lars/Projects/music-downloader/src/music_kraken/__init__.py | Python | 23 | 16 | 20 | 59 | -| /home/lars/Projects/music-downloader/src/music_kraken/__main__.py | Python | -1 | -1 | 0 | -2 | -| /home/lars/Projects/music-downloader/src/music_kraken/audio_source/__init__.py | Python | 10 | 0 | 4 | 14 | -| /home/lars/Projects/music-downloader/src/music_kraken/audio_source/fetch_audio.py | Python | 11 | -9 | 0 | 2 | -| /home/lars/Projects/music-downloader/src/music_kraken/audio_source/fetch_source.py | Python | 18 | -27 | 1 | -8 | -| /home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/musify.py | Python | 6 | 0 | 0 | 6 | -| /home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/youtube.py | Python | 6 | -2 | 2 | 6 | -| /home/lars/Projects/music-downloader/src/music_kraken/database/__init__.py | Python | 15 | 0 | 3 | 18 | -| /home/lars/Projects/music-downloader/src/music_kraken/database/artist.py | Python | 11 | 0 | 5 | 16 | -| /home/lars/Projects/music-downloader/src/music_kraken/database/database.py | Python | 3 | 0 | 0 | 3 | -| /home/lars/Projects/music-downloader/src/music_kraken/database/metadata.py | Python | 13 | 0 | 5 | 18 | -| /home/lars/Projects/music-downloader/src/music_kraken/database/song.py | Python | 0 | 20 | -1 | 19 | -| /home/lars/Projects/music-downloader/src/music_kraken/database/source.py | Python | 5 | 0 | 2 | 7 | -| /home/lars/Projects/music-downloader/src/music_kraken/database/target.py | Python | 22 | 0 | 9 | 31 | -| /home/lars/Projects/music-downloader/src/music_kraken/database/temp_database.py | Python | -1 | 0 | 2 | 1 | -| /home/lars/Projects/music-downloader/src/music_kraken/lyrics/genius.py | Python | 16 | -22 | 7 | 1 | -| /home/lars/Projects/music-downloader/src/music_kraken/lyrics/lyrics.py | Python | -14 | 6 | -6 | -14 | -| /home/lars/Projects/music-downloader/src/music_kraken/metadata/__init__.py | Python | 6 | 0 | 1 | 7 | -| /home/lars/Projects/music-downloader/src/music_kraken/metadata/metadata_fetch.py | Python | 2 | 0 | 1 | 3 | -| /home/lars/Projects/music-downloader/src/music_kraken/static_files/temp_database_structure.sql | SQLite | 61 | 0 | 7 | 68 | -| /home/lars/Projects/music-downloader/src/music_kraken/target/__init__.py | Python | 4 | 0 | 1 | 5 | -| /home/lars/Projects/music-downloader/src/music_kraken/utils/phonetic_compares.py | Python | 5 | 2 | 2 | 9 | -| /home/lars/Projects/music-downloader/src/music_kraken/utils/shared.py | Python | 20 | 1 | 0 | 21 | -| /home/lars/Projects/music-downloader/src/try-programming-interface.py | Python | 11 | 95 | 19 | 125 | -| Total | | 206 | 79 | 81 | 366 | -+------------------------------------------------------------------------------------------------+----------+------------+------------+------------+------------+ \ No newline at end of file diff --git a/.VSCodeCounter/2022-11-30_09-03-29/results.csv b/.VSCodeCounter/2022-11-30_09-03-29/results.csv deleted file mode 100644 index a4e7de2..0000000 --- a/.VSCodeCounter/2022-11-30_09-03-29/results.csv +++ /dev/null @@ -1,41 +0,0 @@ -"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/goof.py", "Python", 14, 0, 0, 4, 18 -"/home/lars/Projects/music-downloader/src/music_kraken/__init__.py", "Python", 114, 0, 30, 48, 192 -"/home/lars/Projects/music-downloader/src/music_kraken/__main__.py", "Python", 3, 0, 2, 3, 8 -"/home/lars/Projects/music-downloader/src/music_kraken/audio_source/__init__.py", "Python", 10, 0, 0, 5, 15 -"/home/lars/Projects/music-downloader/src/music_kraken/audio_source/fetch_audio.py", "Python", 75, 0, 12, 20, 107 -"/home/lars/Projects/music-downloader/src/music_kraken/audio_source/fetch_source.py", "Python", 54, 0, 1, 17, 72 -"/home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/__init__.py", "Python", 0, 0, 0, 1, 1 -"/home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/local_files.py", "Python", 40, 0, 0, 18, 58 -"/home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/musify.py", "Python", 136, 0, 9, 37, 182 -"/home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/source.py", "Python", 11, 0, 5, 8, 24 -"/home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/youtube.py", "Python", 71, 0, 4, 24, 99 -"/home/lars/Projects/music-downloader/src/music_kraken/database/__init__.py", "Python", 15, 0, 0, 3, 18 -"/home/lars/Projects/music-downloader/src/music_kraken/database/artist.py", "Python", 11, 0, 0, 5, 16 -"/home/lars/Projects/music-downloader/src/music_kraken/database/database.py", "Python", 166, 0, 80, 41, 287 -"/home/lars/Projects/music-downloader/src/music_kraken/database/metadata.py", "Python", 13, 0, 0, 5, 18 -"/home/lars/Projects/music-downloader/src/music_kraken/database/song.py", "Python", 86, 0, 25, 33, 144 -"/home/lars/Projects/music-downloader/src/music_kraken/database/source.py", "Python", 5, 0, 0, 2, 7 -"/home/lars/Projects/music-downloader/src/music_kraken/database/target.py", "Python", 22, 0, 0, 9, 31 -"/home/lars/Projects/music-downloader/src/music_kraken/database/temp_database.py", "Python", 10, 0, 0, 7, 17 -"/home/lars/Projects/music-downloader/src/music_kraken/lyrics/__init__.py", "Python", 0, 0, 0, 1, 1 -"/home/lars/Projects/music-downloader/src/music_kraken/lyrics/genius.py", "Python", 115, 0, 16, 42, 173 -"/home/lars/Projects/music-downloader/src/music_kraken/lyrics/lyrics.py", "Python", 36, 0, 25, 20, 81 -"/home/lars/Projects/music-downloader/src/music_kraken/metadata/__init__.py", "Python", 6, 0, 0, 2, 8 -"/home/lars/Projects/music-downloader/src/music_kraken/metadata/metadata_fetch.py", "Python", 257, 0, 24, 65, 346 -"/home/lars/Projects/music-downloader/src/music_kraken/metadata/metadata_search.py", "Python", 253, 0, 40, 72, 365 -"/home/lars/Projects/music-downloader/src/music_kraken/static_files/temp_database_structure.sql", "SQLite", 0, 61, 0, 7, 68 -"/home/lars/Projects/music-downloader/src/music_kraken/tagging/__init__.py", "Python", 0, 0, 0, 1, 1 -"/home/lars/Projects/music-downloader/src/music_kraken/tagging/song.py", "Python", 3, 0, 0, 1, 4 -"/home/lars/Projects/music-downloader/src/music_kraken/target/__init__.py", "Python", 4, 0, 0, 2, 6 -"/home/lars/Projects/music-downloader/src/music_kraken/target/set_target.py", "Python", 37, 0, 7, 18, 62 -"/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", 59, 0, 3, 9, 71 -"/home/lars/Projects/music-downloader/src/music_kraken_cli.py", "Python", 94, 0, 9, 32, 135 -"/home/lars/Projects/music-downloader/src/music_kraken_gtk.py", "Python", 3, 0, 0, 2, 5 -"/home/lars/Projects/music-downloader/src/try-programming-interface.py", "Python", 14, 0, 98, 22, 134 -"Total", "-", 1799, 61, 393, 612, 2865 \ No newline at end of file diff --git a/.VSCodeCounter/2022-11-30_09-03-29/results.json b/.VSCodeCounter/2022-11-30_09-03-29/results.json deleted file mode 100644 index 02526c7..0000000 --- a/.VSCodeCounter/2022-11-30_09-03-29/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/try-programming-interface.py":{"language":"Python","code":14,"comment":98,"blank":22},"file:///home/lars/Projects/music-downloader/src/music_kraken/lyrics/__init__.py":{"language":"Python","code":0,"comment":0,"blank":1},"file:///home/lars/Projects/music-downloader/src/music_kraken/static_files/temp_database_structure.sql":{"language":"SQLite","code":61,"comment":0,"blank":7},"file:///home/lars/Projects/music-downloader/src/music_kraken/__init__.py":{"language":"Python","code":114,"comment":30,"blank":48},"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/lyrics/genius.py":{"language":"Python","code":115,"comment":16,"blank":42},"file:///home/lars/Projects/music-downloader/src/music_kraken/utils/object_handeling.py":{"language":"Python","code":19,"comment":0,"blank":6},"file:///home/lars/Projects/music-downloader/src/music_kraken/database/song.py":{"language":"Python","code":86,"comment":25,"blank":33},"file:///home/lars/Projects/music-downloader/src/music_kraken/database/source.py":{"language":"Python","code":5,"comment":0,"blank":2},"file:///home/lars/Projects/music-downloader/src/music_kraken/database/metadata.py":{"language":"Python","code":13,"comment":0,"blank":5},"file:///home/lars/Projects/music-downloader/src/music_kraken/database/target.py":{"language":"Python","code":22,"comment":0,"blank":9},"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/database/__init__.py":{"language":"Python","code":15,"comment":0,"blank":3},"file:///home/lars/Projects/music-downloader/src/music_kraken/database/artist.py":{"language":"Python","code":11,"comment":0,"blank":5},"file:///home/lars/Projects/music-downloader/src/music_kraken/database/database.py":{"language":"Python","code":166,"comment":80,"blank":41},"file:///home/lars/Projects/music-downloader/src/music_kraken/utils/shared.py":{"language":"Python","code":59,"comment":3,"blank":9},"file:///home/lars/Projects/music-downloader/src/music_kraken/tagging/__init__.py":{"language":"Python","code":0,"comment":0,"blank":1},"file:///home/lars/Projects/music-downloader/src/music_kraken/utils/functions.py":{"language":"Python","code":3,"comment":0,"blank":1},"file:///home/lars/Projects/music-downloader/src/music_kraken/database/temp_database.py":{"language":"Python","code":10,"comment":0,"blank":7},"file:///home/lars/Projects/music-downloader/src/music_kraken/tagging/song.py":{"language":"Python","code":3,"comment":0,"blank":1},"file:///home/lars/Projects/music-downloader/src/music_kraken/metadata/__init__.py":{"language":"Python","code":6,"comment":0,"blank":2},"file:///home/lars/Projects/music-downloader/src/music_kraken/__main__.py":{"language":"Python","code":3,"comment":2,"blank":3},"file:///home/lars/Projects/music-downloader/src/music_kraken/target/__init__.py":{"language":"Python","code":4,"comment":0,"blank":2},"file:///home/lars/Projects/music-downloader/src/music_kraken/lyrics/lyrics.py":{"language":"Python","code":36,"comment":25,"blank":20},"file:///home/lars/Projects/music-downloader/src/music_kraken/audio_source/__init__.py":{"language":"Python","code":10,"comment":0,"blank":5},"file:///home/lars/Projects/music-downloader/src/music_kraken/audio_source/fetch_source.py":{"language":"Python","code":54,"comment":1,"blank":17},"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/metadata/metadata_search.py":{"language":"Python","code":253,"comment":40,"blank":72},"file:///home/lars/Projects/music-downloader/src/music_kraken/audio_source/fetch_audio.py":{"language":"Python","code":75,"comment":12,"blank":20},"file:///home/lars/Projects/music-downloader/src/music_kraken_gtk.py":{"language":"Python","code":3,"comment":0,"blank":2},"file:///home/lars/Projects/music-downloader/src/goof.py":{"language":"Python","code":14,"comment":0,"blank":4},"file:///home/lars/Projects/music-downloader/src/music_kraken_cli.py":{"language":"Python","code":94,"comment":9,"blank":32},"file:///home/lars/Projects/music-downloader/src/music_kraken/metadata/metadata_fetch.py":{"language":"Python","code":257,"comment":24,"blank":65},"file:///home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/__init__.py":{"language":"Python","code":0,"comment":0,"blank":1},"file:///home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/youtube.py":{"language":"Python","code":71,"comment":4,"blank":24},"file:///home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/musify.py":{"language":"Python","code":136,"comment":9,"blank":37},"file:///home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/source.py":{"language":"Python","code":11,"comment":5,"blank":8},"file:///home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/local_files.py":{"language":"Python","code":40,"comment":0,"blank":18}} \ No newline at end of file diff --git a/.VSCodeCounter/2022-11-30_09-03-29/results.md b/.VSCodeCounter/2022-11-30_09-03-29/results.md deleted file mode 100644 index 56a6f77..0000000 --- a/.VSCodeCounter/2022-11-30_09-03-29/results.md +++ /dev/null @@ -1,32 +0,0 @@ -# Summary - -Date : 2022-11-30 09:03:29 - -Directory /home/lars/Projects/music-downloader/src - -Total : 39 files, 1860 codes, 393 comments, 612 blanks, all 2865 lines - -Summary / [Details](details.md) / [Diff Summary](diff.md) / [Diff Details](diff-details.md) - -## Languages -| language | files | code | comment | blank | total | -| :--- | ---: | ---: | ---: | ---: | ---: | -| Python | 38 | 1,799 | 393 | 605 | 2,797 | -| SQLite | 1 | 61 | 0 | 7 | 68 | - -## Directories -| path | files | code | comment | blank | total | -| :--- | ---: | ---: | ---: | ---: | ---: | -| . | 39 | 1,860 | 393 | 612 | 2,865 | -| music_kraken | 34 | 1,735 | 286 | 551 | 2,572 | -| music_kraken/audio_source | 8 | 397 | 31 | 130 | 558 | -| music_kraken/audio_source/sources | 5 | 258 | 18 | 88 | 364 | -| music_kraken/database | 8 | 328 | 105 | 105 | 538 | -| music_kraken/lyrics | 3 | 151 | 41 | 63 | 255 | -| music_kraken/metadata | 3 | 516 | 64 | 139 | 719 | -| music_kraken/static_files | 1 | 61 | 0 | 7 | 68 | -| music_kraken/tagging | 2 | 3 | 0 | 2 | 5 | -| music_kraken/target | 2 | 41 | 7 | 20 | 68 | -| music_kraken/utils | 5 | 121 | 6 | 34 | 161 | - -Summary / [Details](details.md) / [Diff Summary](diff.md) / [Diff Details](diff-details.md) \ No newline at end of file diff --git a/.VSCodeCounter/2022-11-30_09-03-29/results.txt b/.VSCodeCounter/2022-11-30_09-03-29/results.txt deleted file mode 100644 index 5bd0cdb..0000000 --- a/.VSCodeCounter/2022-11-30_09-03-29/results.txt +++ /dev/null @@ -1,74 +0,0 @@ -Date : 2022-11-30 09:03:29 -Directory : /home/lars/Projects/music-downloader/src -Total : 39 files, 1860 codes, 393 comments, 612 blanks, all 2865 lines - -Languages -+----------+------------+------------+------------+------------+------------+ -| language | files | code | comment | blank | total | -+----------+------------+------------+------------+------------+------------+ -| Python | 38 | 1,799 | 393 | 605 | 2,797 | -| SQLite | 1 | 61 | 0 | 7 | 68 | -+----------+------------+------------+------------+------------+------------+ - -Directories -+------------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+ -| path | files | code | comment | blank | total | -+------------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+ -| . | 39 | 1,860 | 393 | 612 | 2,865 | -| music_kraken | 34 | 1,735 | 286 | 551 | 2,572 | -| music_kraken/audio_source | 8 | 397 | 31 | 130 | 558 | -| music_kraken/audio_source/sources | 5 | 258 | 18 | 88 | 364 | -| music_kraken/database | 8 | 328 | 105 | 105 | 538 | -| music_kraken/lyrics | 3 | 151 | 41 | 63 | 255 | -| music_kraken/metadata | 3 | 516 | 64 | 139 | 719 | -| music_kraken/static_files | 1 | 61 | 0 | 7 | 68 | -| music_kraken/tagging | 2 | 3 | 0 | 2 | 5 | -| music_kraken/target | 2 | 41 | 7 | 20 | 68 | -| music_kraken/utils | 5 | 121 | 6 | 34 | 161 | -+------------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+ - -Files -+------------------------------------------------------------------------------------------------+----------+------------+------------+------------+------------+ -| filename | language | code | comment | blank | total | -+------------------------------------------------------------------------------------------------+----------+------------+------------+------------+------------+ -| /home/lars/Projects/music-downloader/src/__init__.py | Python | 0 | 0 | 1 | 1 | -| /home/lars/Projects/music-downloader/src/goof.py | Python | 14 | 0 | 4 | 18 | -| /home/lars/Projects/music-downloader/src/music_kraken/__init__.py | Python | 114 | 30 | 48 | 192 | -| /home/lars/Projects/music-downloader/src/music_kraken/__main__.py | Python | 3 | 2 | 3 | 8 | -| /home/lars/Projects/music-downloader/src/music_kraken/audio_source/__init__.py | Python | 10 | 0 | 5 | 15 | -| /home/lars/Projects/music-downloader/src/music_kraken/audio_source/fetch_audio.py | Python | 75 | 12 | 20 | 107 | -| /home/lars/Projects/music-downloader/src/music_kraken/audio_source/fetch_source.py | Python | 54 | 1 | 17 | 72 | -| /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 | 15 | 0 | 3 | 18 | -| /home/lars/Projects/music-downloader/src/music_kraken/database/artist.py | Python | 11 | 0 | 5 | 16 | -| /home/lars/Projects/music-downloader/src/music_kraken/database/database.py | Python | 166 | 80 | 41 | 287 | -| /home/lars/Projects/music-downloader/src/music_kraken/database/metadata.py | Python | 13 | 0 | 5 | 18 | -| /home/lars/Projects/music-downloader/src/music_kraken/database/song.py | Python | 86 | 25 | 33 | 144 | -| /home/lars/Projects/music-downloader/src/music_kraken/database/source.py | Python | 5 | 0 | 2 | 7 | -| /home/lars/Projects/music-downloader/src/music_kraken/database/target.py | Python | 22 | 0 | 9 | 31 | -| /home/lars/Projects/music-downloader/src/music_kraken/database/temp_database.py | Python | 10 | 0 | 7 | 17 | -| /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/static_files/temp_database_structure.sql | SQLite | 61 | 0 | 7 | 68 | -| /home/lars/Projects/music-downloader/src/music_kraken/tagging/__init__.py | Python | 0 | 0 | 1 | 1 | -| /home/lars/Projects/music-downloader/src/music_kraken/tagging/song.py | Python | 3 | 0 | 1 | 4 | -| /home/lars/Projects/music-downloader/src/music_kraken/target/__init__.py | Python | 4 | 0 | 2 | 6 | -| /home/lars/Projects/music-downloader/src/music_kraken/target/set_target.py | Python | 37 | 7 | 18 | 62 | -| /home/lars/Projects/music-downloader/src/music_kraken/utils/__init__.py | Python | 1 | 1 | 1 | 3 | -| /home/lars/Projects/music-downloader/src/music_kraken/utils/functions.py | Python | 3 | 0 | 1 | 4 | -| /home/lars/Projects/music-downloader/src/music_kraken/utils/object_handeling.py | Python | 19 | 0 | 6 | 25 | -| /home/lars/Projects/music-downloader/src/music_kraken/utils/phonetic_compares.py | Python | 39 | 2 | 17 | 58 | -| /home/lars/Projects/music-downloader/src/music_kraken/utils/shared.py | Python | 59 | 3 | 9 | 71 | -| /home/lars/Projects/music-downloader/src/music_kraken_cli.py | Python | 94 | 9 | 32 | 135 | -| /home/lars/Projects/music-downloader/src/music_kraken_gtk.py | Python | 3 | 0 | 2 | 5 | -| /home/lars/Projects/music-downloader/src/try-programming-interface.py | Python | 14 | 98 | 22 | 134 | -| Total | | 1,860 | 393 | 612 | 2,865 | -+------------------------------------------------------------------------------------------------+----------+------------+------------+------------+------------+ \ No newline at end of file diff --git a/.VSCodeCounter/2023-02-06_10-33-12/details.md b/.VSCodeCounter/2023-02-06_10-33-12/details.md new file mode 100644 index 0000000..9252dcf --- /dev/null +++ b/.VSCodeCounter/2023-02-06_10-33-12/details.md @@ -0,0 +1,65 @@ +# Details + +Date : 2023-02-06 10:33:12 + +Directory /home/lars/Projects/music-downloader/src + +Total : 50 files, 3575 codes, 775 comments, 1028 blanks, all 5378 lines + +[Summary](results.md) / Details / [Diff Summary](diff.md) / [Diff Details](diff-details.md) + +## Files +| filename | language | code | comment | blank | total | +| :--- | :--- | ---: | ---: | ---: | ---: | +| [src/__init__.py](/src/__init__.py) | Python | 0 | 0 | 1 | 1 | +| [src/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/database.py) | Python | 429 | 112 | 111 | 652 | +| [src/music_kraken/database/objects/__init__.py](/src/music_kraken/database/objects/__init__.py) | Python | 20 | 0 | 7 | 27 | +| [src/music_kraken/database/objects/artist.py](/src/music_kraken/database/objects/artist.py) | Python | 18 | 0 | 5 | 23 | +| [src/music_kraken/database/objects/formatted_text.py](/src/music_kraken/database/objects/formatted_text.py) | Python | 48 | 57 | 16 | 121 | +| [src/music_kraken/database/objects/metadata.py](/src/music_kraken/database/objects/metadata.py) | Python | 251 | 68 | 61 | 380 | +| [src/music_kraken/database/objects/parents.py](/src/music_kraken/database/objects/parents.py) | Python | 40 | 8 | 19 | 67 | +| [src/music_kraken/database/objects/song.py](/src/music_kraken/database/objects/song.py) | Python | 323 | 64 | 85 | 472 | +| [src/music_kraken/database/objects/source.py](/src/music_kraken/database/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/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 | 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/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_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 | + +[Summary](results.md) / Details / [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/diff-details.md b/.VSCodeCounter/2023-02-06_10-33-12/diff-details.md new file mode 100644 index 0000000..ec8d8db --- /dev/null +++ b/.VSCodeCounter/2023-02-06_10-33-12/diff-details.md @@ -0,0 +1,70 @@ +# 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/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/database/objects/__init__.py) | Python | 5 | 0 | 2 | 7 | +| [src/music_kraken/database/objects/formatted_text.py](/src/music_kraken/database/objects/formatted_text.py) | Python | 48 | 57 | 16 | 121 | +| [src/music_kraken/database/objects/metadata.py](/src/music_kraken/database/objects/metadata.py) | Python | 6 | 16 | 11 | 33 | +| [src/music_kraken/database/objects/parents.py](/src/music_kraken/database/objects/parents.py) | Python | -6 | 0 | -4 | -10 | +| [src/music_kraken/database/objects/song.py](/src/music_kraken/database/objects/song.py) | Python | 65 | 12 | 9 | 86 | +| [src/music_kraken/database/objects/source.py](/src/music_kraken/database/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 new file mode 100644 index 0000000..d73bfd9 --- /dev/null +++ b/.VSCodeCounter/2023-02-06_10-33-12/diff.csv @@ -0,0 +1,57 @@ +"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 new file mode 100644 index 0000000..2eb076c --- /dev/null +++ b/.VSCodeCounter/2023-02-06_10-33-12/diff.md @@ -0,0 +1,46 @@ +# 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 new file mode 100644 index 0000000..72e11dc --- /dev/null +++ b/.VSCodeCounter/2023-02-06_10-33-12/diff.txt @@ -0,0 +1,104 @@ +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 new file mode 100644 index 0000000..60f12a5 --- /dev/null +++ b/.VSCodeCounter/2023-02-06_10-33-12/results.csv @@ -0,0 +1,52 @@ +"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 new file mode 100644 index 0000000..d6c148e --- /dev/null +++ b/.VSCodeCounter/2023-02-06_10-33-12/results.json @@ -0,0 +1 @@ +{"file:///home/lars/Projects/music-downloader/src/__init__.py":{"language":"Python","code":0,"comment":0,"blank":1},"file:///home/lars/Projects/music-downloader/src/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/results.md b/.VSCodeCounter/2023-02-06_10-33-12/results.md new file mode 100644 index 0000000..7efbe91 --- /dev/null +++ b/.VSCodeCounter/2023-02-06_10-33-12/results.md @@ -0,0 +1,40 @@ +# Summary + +Date : 2023-02-06 10:33:12 + +Directory /home/lars/Projects/music-downloader/src + +Total : 50 files, 3575 codes, 775 comments, 1028 blanks, all 5378 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 | +| 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 | +| 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 | 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 | + +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-02-06_10-33-12/results.txt new file mode 100644 index 0000000..24b3620 --- /dev/null +++ b/.VSCodeCounter/2023-02-06_10-33-12/results.txt @@ -0,0 +1,93 @@ +Date : 2023-02-06 10:33:12 +Directory : /home/lars/Projects/music-downloader/src +Total : 50 files, 3575 codes, 775 comments, 1028 blanks, all 5378 lines + +Languages ++----------+------------+------------+------------+------------+------------+ +| language | files | code | comment | blank | total | ++----------+------------+------------+------------+------------+------------+ +| Python | 47 | 3,277 | 775 | 1,007 | 5,059 | +| 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 | +| 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 | 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 | ++--------------------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+ + +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/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 | 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/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_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 | ++--------------------------------------------------------------------------------------------------------+----------+------------+------------+------------+------------+ \ No newline at end of file diff --git a/src/metal_archives.py b/src/metal_archives.py index eeb282b..2a8188f 100644 --- a/src/metal_archives.py +++ b/src/metal_archives.py @@ -60,8 +60,10 @@ artist = song.main_artist_list[0] # print_artist(artist) -artist = EncyclopaediaMetallum.fetch_artist_details(artist) +# artist = EncyclopaediaMetallum.fetch_artist_details(artist, flat=False) -print_artist(artist) +album = EncyclopaediaMetallum.fetch_album_details(song.album, flat=False) + +# print_artist(artist) # print(only_smile) diff --git a/src/music_kraken/pages/abstract.py b/src/music_kraken/pages/abstract.py index 6f7c556..59cd428 100644 --- a/src/music_kraken/pages/abstract.py +++ b/src/music_kraken/pages/abstract.py @@ -84,17 +84,17 @@ class Page: :return possible_music_objects: """ - raise NotImplementedError() + return [] @classmethod - def fetch_details(cls, music_object: MusicObject, simple: bool = False) -> MusicObject: + def fetch_details(cls, music_object: MusicObject, flat: bool = False) -> MusicObject: """ when a music object with laccing data is passed in, it returns the SAME object **(no copy)** with more detailed data. If you for example put in an album, it fetches the tracklist :param music_object: - :param simple: + :param flat: if it is true it fetches only the most important information (only one level) if an Artist is passed in, it fetches only the discography of the artist, and not the tracklist of every album of the artist. @@ -102,22 +102,23 @@ class Page: """ if type(music_object) == Song: - return cls.fetch_song_details(music_object, simple=simple) + return cls.fetch_song_details(music_object, flat=flat) if type(music_object) == Album: - return cls.fetch_album_details(music_object, simple=simple) + return cls.fetch_album_details(music_object, flat=flat) if type(music_object) == Artist: - return cls.fetch_artist_details(music_object, simple=simple) + return cls.fetch_artist_details(music_object, flat=flat) raise NotImplementedError(f"MusicObject {type(music_object)} has not been implemented yet") - def fetch_song_details(cls, song: Song, simple: bool = False) -> Song: + @classmethod + def fetch_song_details(cls, song: Song, flat: bool = False) -> Song: """ for a general description check cls.fetch_details :param song: song without much data - :param simple: + :param flat: when True it only fetches the artist and the album, and the attributes of those, who can be gotten with one api request when False it fetches everything including, but not limited to: @@ -127,14 +128,15 @@ class Page: :return detailed_song: it modifies the input song """ - raise NotImplementedError() + return song - def fetch_album_details(cls, album: Album, simple: bool = False) -> Album: + @classmethod + def fetch_album_details(cls, album: Album, flat: bool = False) -> Album: """ for a general description check cls.fetch_details :param album: album without much data - :param simple: + :param flat: when True it only fetches the artist and the tracklist, and the attributes of those, which can be gotten with one api request when False it fetches everything including, but not limited to: @@ -145,14 +147,15 @@ class Page: :return detailed_artist: it modifies the input artist """ - raise NotImplementedError() + return album - def fetch_artist_details(cls, artist: Artist, simple: bool = False) -> Artist: + @classmethod + def fetch_artist_details(cls, artist: Artist, flat: bool = False) -> Artist: """ for a general description check cls.fetch_details :param artist: artist without much data - :param simple: + :param flat: when True it only fetches the discographie, meaning every album, but not every tracklist when False it fetches everything including, but not limited to: - the whole discography @@ -161,4 +164,4 @@ class Page: :return detailed_artist: it modifies the input artist """ - raise NotImplementedError() + return artist diff --git a/src/music_kraken/pages/encyclopaedia_metallum.py b/src/music_kraken/pages/encyclopaedia_metallum.py index d118aa8..5308f34 100644 --- a/src/music_kraken/pages/encyclopaedia_metallum.py +++ b/src/music_kraken/pages/encyclopaedia_metallum.py @@ -202,7 +202,7 @@ class EncyclopaediaMetallum(Page): ) @classmethod - def fetch_artist_discography(cls, artist: Artist, ma_artist_id: str) -> Artist: + def fetch_artist_discography(cls, artist: Artist, ma_artist_id: str, flat: bool = False) -> Artist: """ TODO I'd guess this funktion has quite some possibility for optimizations @@ -275,6 +275,10 @@ class EncyclopaediaMetallum(Page): artist.main_albums = new_discography + if not flat: + for album in artist.main_albums: + cls.fetch_album_details(album, flat=flat) + return artist @classmethod @@ -376,12 +380,6 @@ class EncyclopaediaMetallum(Page): # print(data) # print(band_stat_soup) - print("country", country) - print("formed in", formed_in_year) - print("genre", genre) - print("lyrical themes", lyrical_themes) - print("label", label_name, label_url) - return artist @classmethod @@ -398,7 +396,7 @@ class EncyclopaediaMetallum(Page): return artist @classmethod - def fetch_artist_details(cls, artist: Artist) -> Artist: + def fetch_artist_details(cls, artist: Artist, flat: bool = False) -> Artist: source_list = artist.get_sources_from_page(cls.SOURCE_TYPE) if len(source_list) == 0: return artist @@ -406,8 +404,6 @@ class EncyclopaediaMetallum(Page): # taking the fist source, cuz I only need one and multiple sources don't make that much sense source = source_list[0] artist_id = source.url.split("/")[-1] - print(source) - print("id", artist_id) """ TODO @@ -423,7 +419,7 @@ class EncyclopaediaMetallum(Page): artist = cls.fetch_artist_attributes(artist, source.url) # DISCOGRAPHY - artist = cls.fetch_artist_discography(artist, artist_id) + artist = cls.fetch_artist_discography(artist, artist_id, flat=flat) # EXTERNAL SOURCES artist = cls.fetch_artist_sources(artist, artist_id) @@ -432,3 +428,35 @@ class EncyclopaediaMetallum(Page): artist = cls.fetch_band_notes(artist, artist_id) return artist + + @classmethod + def fetch_album_details(cls, album: Album, flat: bool = False) -> Album: + source_list = album.get_sources_from_page(cls.SOURCE_TYPE) + if len(source_list) == 0: + return album + + source = source_list[0] + album_id = source.url.split("/")[-1] + + print(source) + # Song: + source_list = song.get_sources_from_page(cls.SOURCE_TYPE) + if len(source_list) == 0: + return song + + return song