This commit is contained in:
Hellow2 2023-02-06 15:06:38 +01:00
parent da9767612e
commit 8362e2d5eb
21 changed files with 589 additions and 390 deletions

View File

@ -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)

View File

@ -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

View File

@ -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
1 filename language Python SQLite comment blank total
2 /home/lars/Projects/music-downloader/src/database_structure.sql SQLite 0 -60 0 -7 -67
3 /home/lars/Projects/music-downloader/src/goof.py Python 14 0 0 4 18
4 /home/lars/Projects/music-downloader/src/music_kraken/__init__.py Python 23 0 16 20 59
5 /home/lars/Projects/music-downloader/src/music_kraken/__main__.py Python -1 0 -1 0 -2
6 /home/lars/Projects/music-downloader/src/music_kraken/audio_source/__init__.py Python 10 0 0 4 14
7 /home/lars/Projects/music-downloader/src/music_kraken/audio_source/fetch_audio.py Python 11 0 -9 0 2
8 /home/lars/Projects/music-downloader/src/music_kraken/audio_source/fetch_source.py Python 18 0 -27 1 -8
9 /home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/musify.py Python 6 0 0 0 6
10 /home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/youtube.py Python 6 0 -2 2 6
11 /home/lars/Projects/music-downloader/src/music_kraken/database/__init__.py Python 15 0 0 3 18
12 /home/lars/Projects/music-downloader/src/music_kraken/database/artist.py Python 11 0 0 5 16
13 /home/lars/Projects/music-downloader/src/music_kraken/database/database.py Python 3 0 0 0 3
14 /home/lars/Projects/music-downloader/src/music_kraken/database/metadata.py Python 13 0 0 5 18
15 /home/lars/Projects/music-downloader/src/music_kraken/database/song.py Python 0 0 20 -1 19
16 /home/lars/Projects/music-downloader/src/music_kraken/database/source.py Python 5 0 0 2 7
17 /home/lars/Projects/music-downloader/src/music_kraken/database/target.py Python 22 0 0 9 31
18 /home/lars/Projects/music-downloader/src/music_kraken/database/temp_database.py Python -1 0 0 2 1
19 /home/lars/Projects/music-downloader/src/music_kraken/lyrics/genius.py Python 16 0 -22 7 1
20 /home/lars/Projects/music-downloader/src/music_kraken/lyrics/lyrics.py Python -14 0 6 -6 -14
21 /home/lars/Projects/music-downloader/src/music_kraken/metadata/__init__.py Python 6 0 0 1 7
22 /home/lars/Projects/music-downloader/src/music_kraken/metadata/metadata_fetch.py Python 2 0 0 1 3
23 /home/lars/Projects/music-downloader/src/music_kraken/static_files/temp_database_structure.sql SQLite 0 61 0 7 68
24 /home/lars/Projects/music-downloader/src/music_kraken/target/__init__.py Python 4 0 0 1 5
25 /home/lars/Projects/music-downloader/src/music_kraken/utils/phonetic_compares.py Python 5 0 2 2 9
26 /home/lars/Projects/music-downloader/src/music_kraken/utils/shared.py Python 20 0 1 0 21
27 /home/lars/Projects/music-downloader/src/try-programming-interface.py Python 11 0 95 19 125
28 Total - 205 1 79 81 366

View File

@ -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)

View File

@ -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 |
+------------------------------------------------------------------------------------------------+----------+------------+------------+------------+------------+

View File

@ -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
1 filename language Python SQLite comment blank total
2 /home/lars/Projects/music-downloader/src/__init__.py Python 0 0 0 1 1
3 /home/lars/Projects/music-downloader/src/goof.py Python 14 0 0 4 18
4 /home/lars/Projects/music-downloader/src/music_kraken/__init__.py Python 114 0 30 48 192
5 /home/lars/Projects/music-downloader/src/music_kraken/__main__.py Python 3 0 2 3 8
6 /home/lars/Projects/music-downloader/src/music_kraken/audio_source/__init__.py Python 10 0 0 5 15
7 /home/lars/Projects/music-downloader/src/music_kraken/audio_source/fetch_audio.py Python 75 0 12 20 107
8 /home/lars/Projects/music-downloader/src/music_kraken/audio_source/fetch_source.py Python 54 0 1 17 72
9 /home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/__init__.py Python 0 0 0 1 1
10 /home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/local_files.py Python 40 0 0 18 58
11 /home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/musify.py Python 136 0 9 37 182
12 /home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/source.py Python 11 0 5 8 24
13 /home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/youtube.py Python 71 0 4 24 99
14 /home/lars/Projects/music-downloader/src/music_kraken/database/__init__.py Python 15 0 0 3 18
15 /home/lars/Projects/music-downloader/src/music_kraken/database/artist.py Python 11 0 0 5 16
16 /home/lars/Projects/music-downloader/src/music_kraken/database/database.py Python 166 0 80 41 287
17 /home/lars/Projects/music-downloader/src/music_kraken/database/metadata.py Python 13 0 0 5 18
18 /home/lars/Projects/music-downloader/src/music_kraken/database/song.py Python 86 0 25 33 144
19 /home/lars/Projects/music-downloader/src/music_kraken/database/source.py Python 5 0 0 2 7
20 /home/lars/Projects/music-downloader/src/music_kraken/database/target.py Python 22 0 0 9 31
21 /home/lars/Projects/music-downloader/src/music_kraken/database/temp_database.py Python 10 0 0 7 17
22 /home/lars/Projects/music-downloader/src/music_kraken/lyrics/__init__.py Python 0 0 0 1 1
23 /home/lars/Projects/music-downloader/src/music_kraken/lyrics/genius.py Python 115 0 16 42 173
24 /home/lars/Projects/music-downloader/src/music_kraken/lyrics/lyrics.py Python 36 0 25 20 81
25 /home/lars/Projects/music-downloader/src/music_kraken/metadata/__init__.py Python 6 0 0 2 8
26 /home/lars/Projects/music-downloader/src/music_kraken/metadata/metadata_fetch.py Python 257 0 24 65 346
27 /home/lars/Projects/music-downloader/src/music_kraken/metadata/metadata_search.py Python 253 0 40 72 365
28 /home/lars/Projects/music-downloader/src/music_kraken/static_files/temp_database_structure.sql SQLite 0 61 0 7 68
29 /home/lars/Projects/music-downloader/src/music_kraken/tagging/__init__.py Python 0 0 0 1 1
30 /home/lars/Projects/music-downloader/src/music_kraken/tagging/song.py Python 3 0 0 1 4
31 /home/lars/Projects/music-downloader/src/music_kraken/target/__init__.py Python 4 0 0 2 6
32 /home/lars/Projects/music-downloader/src/music_kraken/target/set_target.py Python 37 0 7 18 62
33 /home/lars/Projects/music-downloader/src/music_kraken/utils/__init__.py Python 1 0 1 1 3
34 /home/lars/Projects/music-downloader/src/music_kraken/utils/functions.py Python 3 0 0 1 4
35 /home/lars/Projects/music-downloader/src/music_kraken/utils/object_handeling.py Python 19 0 0 6 25
36 /home/lars/Projects/music-downloader/src/music_kraken/utils/phonetic_compares.py Python 39 0 2 17 58
37 /home/lars/Projects/music-downloader/src/music_kraken/utils/shared.py Python 59 0 3 9 71
38 /home/lars/Projects/music-downloader/src/music_kraken_cli.py Python 94 0 9 32 135
39 /home/lars/Projects/music-downloader/src/music_kraken_gtk.py Python 3 0 0 2 5
40 /home/lars/Projects/music-downloader/src/try-programming-interface.py Python 14 0 98 22 134
41 Total - 1799 61 393 612 2865

File diff suppressed because one or more lines are too long

View File

@ -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)

View File

@ -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 |
+------------------------------------------------------------------------------------------------+----------+------------+------------+------------+------------+

View File

@ -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)

View File

@ -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

View File

@ -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
1 filename language Python Database SQLite comment blank total
2 /home/lars/Projects/music-downloader/src/create_custom_objects.py Python 80 0 0 3 18 101
3 /home/lars/Projects/music-downloader/src/goof.py Python -116 0 0 -6 -29 -151
4 /home/lars/Projects/music-downloader/src/metal_archives.py Python 45 0 0 6 17 68
5 /home/lars/Projects/music-downloader/src/music_kraken/__init__.py Python -55 0 0 -6 -15 -76
6 /home/lars/Projects/music-downloader/src/music_kraken/audio_source/__init__.py Python -10 0 0 0 -5 -15
7 /home/lars/Projects/music-downloader/src/music_kraken/audio_source/fetch_audio.py Python -75 0 0 -12 -20 -107
8 /home/lars/Projects/music-downloader/src/music_kraken/audio_source/fetch_source.py Python -54 0 0 -1 -16 -71
9 /home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/__init__.py Python 0 0 0 0 -1 -1
10 /home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/local_files.py Python -40 0 0 0 -18 -58
11 /home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/musify.py Python -136 0 0 -9 -37 -182
12 /home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/source.py Python -11 0 0 -5 -8 -24
13 /home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/youtube.py Python -71 0 0 -4 -24 -99
14 /home/lars/Projects/music-downloader/src/music_kraken/database/__init__.py Python 6 0 0 -1 1 6
15 /home/lars/Projects/music-downloader/src/music_kraken/database/database.py Python 238 0 0 10 66 314
16 /home/lars/Projects/music-downloader/src/music_kraken/database/get_song.py Python -40 0 0 -5 -11 -56
17 /home/lars/Projects/music-downloader/src/music_kraken/database/new_database.py Python -402 0 0 -110 -107 -619
18 /home/lars/Projects/music-downloader/src/music_kraken/database/objects/__init__.py Python 5 0 0 0 2 7
19 /home/lars/Projects/music-downloader/src/music_kraken/database/objects/formatted_text.py Python 48 0 0 57 16 121
20 /home/lars/Projects/music-downloader/src/music_kraken/database/objects/metadata.py Python 6 0 0 16 11 33
21 /home/lars/Projects/music-downloader/src/music_kraken/database/objects/parents.py Python -6 0 0 0 -4 -10
22 /home/lars/Projects/music-downloader/src/music_kraken/database/objects/song.py Python 65 0 0 12 9 86
23 /home/lars/Projects/music-downloader/src/music_kraken/database/objects/source.py Python 70 0 0 31 28 129
24 /home/lars/Projects/music-downloader/src/music_kraken/database/song.py Python -125 0 0 -20 -45 -190
25 /home/lars/Projects/music-downloader/src/music_kraken/lyrics/__init__.py Python 0 0 0 0 -1 -1
26 /home/lars/Projects/music-downloader/src/music_kraken/lyrics/genius.py Python -115 0 0 -16 -42 -173
27 /home/lars/Projects/music-downloader/src/music_kraken/lyrics/lyrics.py Python -36 0 0 -25 -20 -81
28 /home/lars/Projects/music-downloader/src/music_kraken/metadata/__init__.py Python -6 0 0 0 -2 -8
29 /home/lars/Projects/music-downloader/src/music_kraken/metadata/metadata_fetch.py Python -257 0 0 -24 -65 -346
30 /home/lars/Projects/music-downloader/src/music_kraken/metadata/metadata_search.py Python -253 0 0 -40 -72 -365
31 /home/lars/Projects/music-downloader/src/music_kraken/metadata/sources/__init__.py Python -3 0 0 0 -2 -5
32 /home/lars/Projects/music-downloader/src/music_kraken/metadata/sources/musicbrainz.py Python -42 0 0 -6 -9 -57
33 /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/__init__.py Python 0 0 0 0 3 3
34 /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/fetch_audio.py Python 75 0 0 12 20 107
35 /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/fetch_source.py Python 54 0 0 1 16 71
36 /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/metadata/__init__.py Python 6 0 0 0 2 8
37 /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/metadata/metadata_fetch.py Python 257 0 0 24 65 346
38 /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/metadata/metadata_search.py Python 253 0 0 40 72 365
39 /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/metadata/sources/__init__.py Python 3 0 0 0 2 5
40 /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/metadata/sources/musicbrainz.py Python 42 0 0 6 12 60
41 /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/sources/__init__.py Python 0 0 0 0 1 1
42 /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/sources/genius.py Python 115 0 0 16 42 173
43 /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/sources/local_files.py Python 40 0 0 0 18 58
44 /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/sources/musify.py Python 136 0 0 9 37 182
45 /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/sources/source.py Python 11 0 0 5 8 24
46 /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/sources/youtube.py Python 71 0 0 4 24 99
47 /home/lars/Projects/music-downloader/src/music_kraken/pages/__init__.py Python 7 0 0 0 5 12
48 /home/lars/Projects/music-downloader/src/music_kraken/pages/abstract.py Python 70 0 0 68 27 165
49 /home/lars/Projects/music-downloader/src/music_kraken/pages/encyclopaedia_metallum.py Python 299 0 0 60 76 435
50 /home/lars/Projects/music-downloader/src/music_kraken/pages/youtube.py Python 25 0 0 16 6 47
51 /home/lars/Projects/music-downloader/src/music_kraken/static_files/new_db.sql SQLite 0 0 1 0 0 1
52 /home/lars/Projects/music-downloader/src/music_kraken/tagging/song.py Python -3 0 0 0 -1 -4
53 /home/lars/Projects/music-downloader/src/music_kraken/utils/shared.py Python 1 0 0 0 1 2
54 /home/lars/Projects/music-downloader/src/music_kraken/utils/string_processing.py Python 2 0 0 5 2 9
55 /home/lars/Projects/music-downloader/src/music_kraken_cli.py Python -3 0 0 0 0 -3
56 /home/lars/Projects/music-downloader/src/test.db Database 0 -1 0 0 1 0
57 Total - 171 -1 1 111 54 336

View File

@ -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)

View File

@ -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 |
+--------------------------------------------------------------------------------------------------------+----------+------------+------------+------------+------------+

View File

@ -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
1 filename language Python Database SQLite comment blank total
2 /home/lars/Projects/music-downloader/src/__init__.py Python 0 0 0 0 1 1
3 /home/lars/Projects/music-downloader/src/create_custom_objects.py Python 80 0 0 3 18 101
4 /home/lars/Projects/music-downloader/src/metal_archives.py Python 45 0 0 6 17 68
5 /home/lars/Projects/music-downloader/src/music_kraken/__init__.py Python 63 0 0 26 33 122
6 /home/lars/Projects/music-downloader/src/music_kraken/__main__.py Python 3 0 0 2 3 8
7 /home/lars/Projects/music-downloader/src/music_kraken/database/__init__.py Python 18 0 0 0 5 23
8 /home/lars/Projects/music-downloader/src/music_kraken/database/database.py Python 429 0 0 112 111 652
9 /home/lars/Projects/music-downloader/src/music_kraken/database/objects/__init__.py Python 20 0 0 0 7 27
10 /home/lars/Projects/music-downloader/src/music_kraken/database/objects/artist.py Python 18 0 0 0 5 23
11 /home/lars/Projects/music-downloader/src/music_kraken/database/objects/formatted_text.py Python 48 0 0 57 16 121
12 /home/lars/Projects/music-downloader/src/music_kraken/database/objects/metadata.py Python 251 0 0 68 61 380
13 /home/lars/Projects/music-downloader/src/music_kraken/database/objects/parents.py Python 40 0 0 8 19 67
14 /home/lars/Projects/music-downloader/src/music_kraken/database/objects/song.py Python 323 0 0 64 85 472
15 /home/lars/Projects/music-downloader/src/music_kraken/database/objects/source.py Python 116 0 0 38 41 195
16 /home/lars/Projects/music-downloader/src/music_kraken/database/temp_database.py Python 12 0 0 0 8 20
17 /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/__init__.py Python 0 0 0 0 3 3
18 /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/fetch_audio.py Python 75 0 0 12 20 107
19 /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/fetch_source.py Python 54 0 0 1 16 71
20 /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/metadata/__init__.py Python 6 0 0 0 2 8
21 /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/metadata/metadata_fetch.py Python 257 0 0 24 65 346
22 /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/metadata/metadata_search.py Python 253 0 0 40 72 365
23 /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/metadata/sources/__init__.py Python 3 0 0 0 2 5
24 /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/metadata/sources/musicbrainz.py Python 42 0 0 6 12 60
25 /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/sources/__init__.py Python 0 0 0 0 1 1
26 /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/sources/genius.py Python 115 0 0 16 42 173
27 /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/sources/local_files.py Python 40 0 0 0 18 58
28 /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/sources/musify.py Python 136 0 0 9 37 182
29 /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/sources/source.py Python 11 0 0 5 8 24
30 /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/sources/youtube.py Python 71 0 0 4 24 99
31 /home/lars/Projects/music-downloader/src/music_kraken/pages/__init__.py Python 7 0 0 0 5 12
32 /home/lars/Projects/music-downloader/src/music_kraken/pages/abstract.py Python 70 0 0 68 27 165
33 /home/lars/Projects/music-downloader/src/music_kraken/pages/encyclopaedia_metallum.py Python 299 0 0 60 76 435
34 /home/lars/Projects/music-downloader/src/music_kraken/pages/youtube.py Python 25 0 0 16 6 47
35 /home/lars/Projects/music-downloader/src/music_kraken/static_files/new_db.sql SQLite 0 0 72 0 10 82
36 /home/lars/Projects/music-downloader/src/music_kraken/static_files/temp_database_structure.sql SQLite 0 0 135 0 10 145
37 /home/lars/Projects/music-downloader/src/music_kraken/tagging/__init__.py Python 8 0 0 0 2 10
38 /home/lars/Projects/music-downloader/src/music_kraken/tagging/id3.py Python 51 0 0 4 20 75
39 /home/lars/Projects/music-downloader/src/music_kraken/target/__init__.py Python 4 0 0 0 2 6
40 /home/lars/Projects/music-downloader/src/music_kraken/target/set_target.py Python 37 0 0 7 18 62
41 /home/lars/Projects/music-downloader/src/music_kraken/utils/__init__.py Python 1 0 0 1 1 3
42 /home/lars/Projects/music-downloader/src/music_kraken/utils/functions.py Python 3 0 0 0 1 4
43 /home/lars/Projects/music-downloader/src/music_kraken/utils/object_handeling.py Python 19 0 0 0 6 25
44 /home/lars/Projects/music-downloader/src/music_kraken/utils/phonetic_compares.py Python 39 0 0 2 17 58
45 /home/lars/Projects/music-downloader/src/music_kraken/utils/shared.py Python 62 0 0 3 10 75
46 /home/lars/Projects/music-downloader/src/music_kraken/utils/string_processing.py Python 2 0 0 5 2 9
47 /home/lars/Projects/music-downloader/src/music_kraken_cli.py Python 91 0 0 9 32 132
48 /home/lars/Projects/music-downloader/src/music_kraken_gtk.py Python 3 0 0 0 2 5
49 /home/lars/Projects/music-downloader/src/test.db Database 0 91 0 0 1 92
50 /home/lars/Projects/music-downloader/src/try-programming-interface.py Python 14 0 0 98 22 134
51 /home/lars/Projects/music-downloader/src/try_python.py Python 13 0 0 1 6 20
52 Total - 3277 91 207 775 1028 5378

File diff suppressed because one or more lines are too long

View File

@ -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)

View File

@ -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 |
+--------------------------------------------------------------------------------------------------------+----------+------------+------------+------------+------------+

View File

@ -60,8 +60,10 @@ artist = song.main_artist_list[0]
# print_artist(artist) # 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) # print(only_smile)

View File

@ -84,17 +84,17 @@ class Page:
:return possible_music_objects: :return possible_music_objects:
""" """
raise NotImplementedError() return []
@classmethod @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 when a music object with laccing data is passed in, it returns
the SAME object **(no copy)** with more detailed data. the SAME object **(no copy)** with more detailed data.
If you for example put in an album, it fetches the tracklist If you for example put in an album, it fetches the tracklist
:param music_object: :param music_object:
:param simple: :param flat:
if it is true it fetches only the most important information (only one level) 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 if an Artist is passed in, it fetches only the discography of the artist, and not the
tracklist of every album of the artist. tracklist of every album of the artist.
@ -102,22 +102,23 @@ class Page:
""" """
if type(music_object) == Song: 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: 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: 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") 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 for a general description check cls.fetch_details
:param song: song without much data :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, when True it only fetches the artist and the album, and the attributes of those,
who can be gotten with one api request who can be gotten with one api request
when False it fetches everything including, but not limited to: when False it fetches everything including, but not limited to:
@ -127,14 +128,15 @@ class Page:
:return detailed_song: it modifies the input song :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 for a general description check cls.fetch_details
:param album: album without much data :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, when True it only fetches the artist and the tracklist, and the attributes of those,
which can be gotten with one api request which can be gotten with one api request
when False it fetches everything including, but not limited to: when False it fetches everything including, but not limited to:
@ -145,14 +147,15 @@ class Page:
:return detailed_artist: it modifies the input artist :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 for a general description check cls.fetch_details
:param artist: artist without much data :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 True it only fetches the discographie, meaning every album, but not every tracklist
when False it fetches everything including, but not limited to: when False it fetches everything including, but not limited to:
- the whole discography - the whole discography
@ -161,4 +164,4 @@ class Page:
:return detailed_artist: it modifies the input artist :return detailed_artist: it modifies the input artist
""" """
raise NotImplementedError() return artist

View File

@ -202,7 +202,7 @@ class EncyclopaediaMetallum(Page):
) )
@classmethod @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 TODO
I'd guess this funktion has quite some possibility for optimizations I'd guess this funktion has quite some possibility for optimizations
@ -275,6 +275,10 @@ class EncyclopaediaMetallum(Page):
artist.main_albums = new_discography artist.main_albums = new_discography
if not flat:
for album in artist.main_albums:
cls.fetch_album_details(album, flat=flat)
return artist return artist
@classmethod @classmethod
@ -376,12 +380,6 @@ class EncyclopaediaMetallum(Page):
# print(data) # print(data)
# print(band_stat_soup) # 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 return artist
@classmethod @classmethod
@ -398,7 +396,7 @@ class EncyclopaediaMetallum(Page):
return artist return artist
@classmethod @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) source_list = artist.get_sources_from_page(cls.SOURCE_TYPE)
if len(source_list) == 0: if len(source_list) == 0:
return artist 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 # taking the fist source, cuz I only need one and multiple sources don't make that much sense
source = source_list[0] source = source_list[0]
artist_id = source.url.split("/")[-1] artist_id = source.url.split("/")[-1]
print(source)
print("id", artist_id)
""" """
TODO TODO
@ -423,7 +419,7 @@ class EncyclopaediaMetallum(Page):
artist = cls.fetch_artist_attributes(artist, source.url) artist = cls.fetch_artist_attributes(artist, source.url)
# DISCOGRAPHY # DISCOGRAPHY
artist = cls.fetch_artist_discography(artist, artist_id) artist = cls.fetch_artist_discography(artist, artist_id, flat=flat)
# EXTERNAL SOURCES # EXTERNAL SOURCES
artist = cls.fetch_artist_sources(artist, artist_id) artist = cls.fetch_artist_sources(artist, artist_id)
@ -432,3 +428,35 @@ class EncyclopaediaMetallum(Page):
artist = cls.fetch_band_notes(artist, artist_id) artist = cls.fetch_band_notes(artist, artist_id)
return artist 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)
# <table class="display table_lyrics
r = cls.API_SESSION.get(source.url)
if r.status_code != 200:
LOGGER.warning(f"code {r.status_code} at {source.url}")
return album
soup = BeautifulSoup(r.text, 'html.parser')
tracklist_soup = soup.find("table", {"class": "table_lyrics"})
print(tracklist_soup.prettify)
return album
@classmethod
def fetch_song_details(cls, song: Song, flat: bool = False) -> Song:
source_list = song.get_sources_from_page(cls.SOURCE_TYPE)
if len(source_list) == 0:
return song
return song