documented the underlying Data Model.

This commit is contained in:
Hellow2 2023-02-27 14:21:19 +01:00
parent 5f4912bda5
commit 4178994d48
19 changed files with 580 additions and 356 deletions

View File

@ -1,58 +0,0 @@
# Details
Date : 2022-12-07 13:25:59
Directory /home/lars/Projects/music-downloader/src
Total : 43 files, 2560 codes, 558 comments, 774 blanks, all 3892 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 | 44 | 5 | 12 | 61 |
| [src/music_kraken/__init__.py](/src/music_kraken/__init__.py) | Python | 117 | 32 | 48 | 197 |
| [src/music_kraken/__main__.py](/src/music_kraken/__main__.py) | Python | 3 | 2 | 3 | 8 |
| [src/music_kraken/audio_source/__init__.py](/src/music_kraken/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 | 16 | 71 |
| [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 | 11 | 1 | 4 | 16 |
| [src/music_kraken/database/database.py](/src/music_kraken/database/old_database.py) | Python | 191 | 102 | 45 | 338 |
| [src/music_kraken/database/get_song.py](/src/music_kraken/database/get_song.py) | Python | 40 | 5 | 11 | 56 |
| [src/music_kraken/database/new_database.py](/src/music_kraken/database/old_database.py) | Python | 172 | 78 | 55 | 305 |
| [src/music_kraken/database/objects/__init__.py](/src/music_kraken/objects/__init__.py) | Python | 11 | 0 | 4 | 15 |
| [src/music_kraken/database/objects/artist.py](/src/music_kraken/objects/artist.py) | Python | 18 | 0 | 5 | 23 |
| [src/music_kraken/database/objects/database_object.py](/src/music_kraken/objects/database_object.py) | Python | 21 | 5 | 11 | 37 |
| [src/music_kraken/database/objects/song.py](/src/music_kraken/objects/song.py) | Python | 179 | 52 | 60 | 291 |
| [src/music_kraken/database/song.py](/src/music_kraken/database/song.py) | Python | 125 | 20 | 45 | 190 |
| [src/music_kraken/database/temp_database.py](/src/music_kraken/database/temp_database.py) | Python | 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/new_db.sql](/src/music_kraken/static_files/new_db.sql) | SQLite | 66 | 0 | 10 | 76 |
| [src/music_kraken/static_files/temp_database_structure.sql](/src/music_kraken/static_files/temp_database_structure.sql) | SQLite | 135 | 0 | 10 | 145 |
| [src/music_kraken/tagging/__init__.py](/src/music_kraken/tagging/__init__.py) | Python | 0 | 0 | 1 | 1 |
| [src/music_kraken/tagging/song.py](/src/music_kraken/tagging/song.py) | Python | 3 | 0 | 1 | 4 |
| [src/music_kraken/target/__init__.py](/src/music_kraken/target/__init__.py) | Python | 4 | 0 | 2 | 6 |
| [src/music_kraken/target/set_target.py](/src/music_kraken/target/set_target.py) | Python | 37 | 7 | 18 | 62 |
| [src/music_kraken/utils/__init__.py](/src/music_kraken/utils/__init__.py) | Python | 1 | 1 | 1 | 3 |
| [src/music_kraken/utils/functions.py](/src/music_kraken/utils/functions.py) | Python | 3 | 0 | 1 | 4 |
| [src/music_kraken/utils/object_handeling.py](/src/music_kraken/utils/object_handeling.py) | Python | 19 | 0 | 6 | 25 |
| [src/music_kraken/utils/phonetic_compares.py](/src/music_kraken/utils/phonetic_compares.py) | Python | 39 | 2 | 17 | 58 |
| [src/music_kraken/utils/shared.py](/src/music_kraken/utils/shared.py) | Python | 60 | 3 | 9 | 72 |
| [src/music_kraken_cli.py](/src/music_kraken_cli.py) | Python | 94 | 9 | 32 | 135 |
| [src/music_kraken_gtk.py](/src/music_kraken_gtk.py) | Python | 3 | 0 | 2 | 5 |
| [src/test.db](/src/test.db) | Database | 76 | 0 | 0 | 76 |
| [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,35 +0,0 @@
# Diff Details
Date : 2022-12-07 13:25:59
Directory /home/lars/Projects/music-downloader/src
Total : 20 files, 700 codes, 165 comments, 162 blanks, all 1027 lines
[Summary](results.md) / [Details](details.md) / [Diff Summary](diff.md) / Diff Details
## Files
| filename | language | code | comment | blank | total |
| :--- | :--- | ---: | ---: | ---: | ---: |
| [src/goof.py](/src/goof.py) | Python | 30 | 5 | 8 | 43 |
| [src/music_kraken/__init__.py](/src/music_kraken/__init__.py) | Python | 3 | 2 | 0 | 5 |
| [src/music_kraken/audio_source/fetch_source.py](/src/music_kraken/not_used_anymore/fetch_source.py) | Python | 0 | 0 | -1 | -1 |
| [src/music_kraken/database/__init__.py](/src/music_kraken/database/__init__.py) | Python | -4 | 1 | 1 | -2 |
| [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/old_database.py) | Python | 25 | 22 | 4 | 51 |
| [src/music_kraken/database/get_song.py](/src/music_kraken/database/get_song.py) | Python | 40 | 5 | 11 | 56 |
| [src/music_kraken/database/metadata.py](/src/music_kraken/database/metadata.py) | Python | -13 | 0 | -5 | -18 |
| [src/music_kraken/database/new_database.py](/src/music_kraken/database/old_database.py) | Python | 172 | 78 | 55 | 305 |
| [src/music_kraken/database/objects/__init__.py](/src/music_kraken/objects/__init__.py) | Python | 11 | 0 | 4 | 15 |
| [src/music_kraken/database/objects/artist.py](/src/music_kraken/objects/artist.py) | Python | 18 | 0 | 5 | 23 |
| [src/music_kraken/database/objects/database_object.py](/src/music_kraken/objects/database_object.py) | Python | 21 | 5 | 11 | 37 |
| [src/music_kraken/database/objects/song.py](/src/music_kraken/objects/song.py) | Python | 179 | 52 | 60 | 291 |
| [src/music_kraken/database/song.py](/src/music_kraken/database/song.py) | Python | 39 | -5 | 12 | 46 |
| [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/static_files/new_db.sql](/src/music_kraken/static_files/new_db.sql) | SQLite | 66 | 0 | 10 | 76 |
| [src/music_kraken/static_files/temp_database_structure.sql](/src/music_kraken/static_files/temp_database_structure.sql) | SQLite | 74 | 0 | 3 | 77 |
| [src/music_kraken/utils/shared.py](/src/music_kraken/utils/shared.py) | Python | 1 | 0 | 0 | 1 |
| [src/test.db](/src/test.db) | Database | 76 | 0 | 0 | 76 |
[Summary](results.md) / [Details](details.md) / [Diff Summary](diff.md) / Diff Details

View File

@ -1,22 +0,0 @@
"filename", "language", "Python", "Database", "SQLite", "comment", "blank", "total"
"/home/lars/Projects/music-downloader/src/goof.py", "Python", 30, 0, 0, 5, 8, 43
"/home/lars/Projects/music-downloader/src/music_kraken/__init__.py", "Python", 3, 0, 0, 2, 0, 5
"/home/lars/Projects/music-downloader/src/music_kraken/audio_source/fetch_source.py", "Python", 0, 0, 0, 0, -1, -1
"/home/lars/Projects/music-downloader/src/music_kraken/database/__init__.py", "Python", -4, 0, 0, 1, 1, -2
"/home/lars/Projects/music-downloader/src/music_kraken/database/artist.py", "Python", -11, 0, 0, 0, -5, -16
"/home/lars/Projects/music-downloader/src/music_kraken/database/database.py", "Python", 25, 0, 0, 22, 4, 51
"/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/metadata.py", "Python", -13, 0, 0, 0, -5, -18
"/home/lars/Projects/music-downloader/src/music_kraken/database/new_database.py", "Python", 172, 0, 0, 78, 55, 305
"/home/lars/Projects/music-downloader/src/music_kraken/database/objects/__init__.py", "Python", 11, 0, 0, 0, 4, 15
"/home/lars/Projects/music-downloader/src/music_kraken/database/objects/artist.py", "Python", 18, 0, 0, 0, 5, 23
"/home/lars/Projects/music-downloader/src/music_kraken/database/objects/database_object.py", "Python", 21, 0, 0, 5, 11, 37
"/home/lars/Projects/music-downloader/src/music_kraken/database/objects/song.py", "Python", 179, 0, 0, 52, 60, 291
"/home/lars/Projects/music-downloader/src/music_kraken/database/song.py", "Python", 39, 0, 0, -5, 12, 46
"/home/lars/Projects/music-downloader/src/music_kraken/database/source.py", "Python", -5, 0, 0, 0, -2, -7
"/home/lars/Projects/music-downloader/src/music_kraken/database/target.py", "Python", -22, 0, 0, 0, -9, -31
"/home/lars/Projects/music-downloader/src/music_kraken/static_files/new_db.sql", "SQLite", 0, 0, 66, 0, 10, 76
"/home/lars/Projects/music-downloader/src/music_kraken/static_files/temp_database_structure.sql", "SQLite", 0, 0, 74, 0, 3, 77
"/home/lars/Projects/music-downloader/src/music_kraken/utils/shared.py", "Python", 1, 0, 0, 0, 0, 1
"/home/lars/Projects/music-downloader/src/test.db", "Database", 0, 76, 0, 0, 0, 76
"Total", "-", 484, 76, 140, 165, 162, 1027
1 filename language Python Database SQLite comment blank total
2 /home/lars/Projects/music-downloader/src/goof.py Python 30 0 0 5 8 43
3 /home/lars/Projects/music-downloader/src/music_kraken/__init__.py Python 3 0 0 2 0 5
4 /home/lars/Projects/music-downloader/src/music_kraken/audio_source/fetch_source.py Python 0 0 0 0 -1 -1
5 /home/lars/Projects/music-downloader/src/music_kraken/database/__init__.py Python -4 0 0 1 1 -2
6 /home/lars/Projects/music-downloader/src/music_kraken/database/artist.py Python -11 0 0 0 -5 -16
7 /home/lars/Projects/music-downloader/src/music_kraken/database/database.py Python 25 0 0 22 4 51
8 /home/lars/Projects/music-downloader/src/music_kraken/database/get_song.py Python 40 0 0 5 11 56
9 /home/lars/Projects/music-downloader/src/music_kraken/database/metadata.py Python -13 0 0 0 -5 -18
10 /home/lars/Projects/music-downloader/src/music_kraken/database/new_database.py Python 172 0 0 78 55 305
11 /home/lars/Projects/music-downloader/src/music_kraken/database/objects/__init__.py Python 11 0 0 0 4 15
12 /home/lars/Projects/music-downloader/src/music_kraken/database/objects/artist.py Python 18 0 0 0 5 23
13 /home/lars/Projects/music-downloader/src/music_kraken/database/objects/database_object.py Python 21 0 0 5 11 37
14 /home/lars/Projects/music-downloader/src/music_kraken/database/objects/song.py Python 179 0 0 52 60 291
15 /home/lars/Projects/music-downloader/src/music_kraken/database/song.py Python 39 0 0 -5 12 46
16 /home/lars/Projects/music-downloader/src/music_kraken/database/source.py Python -5 0 0 0 -2 -7
17 /home/lars/Projects/music-downloader/src/music_kraken/database/target.py Python -22 0 0 0 -9 -31
18 /home/lars/Projects/music-downloader/src/music_kraken/static_files/new_db.sql SQLite 0 0 66 0 10 76
19 /home/lars/Projects/music-downloader/src/music_kraken/static_files/temp_database_structure.sql SQLite 0 0 74 0 3 77
20 /home/lars/Projects/music-downloader/src/music_kraken/utils/shared.py Python 1 0 0 0 0 1
21 /home/lars/Projects/music-downloader/src/test.db Database 0 76 0 0 0 76
22 Total - 484 76 140 165 162 1027

View File

@ -1,29 +0,0 @@
# Diff Summary
Date : 2022-12-07 13:25:59
Directory /home/lars/Projects/music-downloader/src
Total : 20 files, 700 codes, 165 comments, 162 blanks, all 1027 lines
[Summary](results.md) / [Details](details.md) / Diff Summary / [Diff Details](diff-details.md)
## Languages
| language | files | code | comment | blank | total |
| :--- | ---: | ---: | ---: | ---: | ---: |
| Python | 17 | 484 | 165 | 149 | 798 |
| SQLite | 2 | 140 | 0 | 13 | 153 |
| Database | 1 | 76 | 0 | 0 | 76 |
## Directories
| path | files | code | comment | blank | total |
| :--- | ---: | ---: | ---: | ---: | ---: |
| . | 20 | 700 | 165 | 162 | 1,027 |
| music_kraken | 18 | 594 | 160 | 154 | 908 |
| music_kraken/audio_source | 1 | 0 | 0 | -1 | -1 |
| music_kraken/database | 13 | 450 | 158 | 142 | 750 |
| music_kraken/database/objects | 4 | 229 | 57 | 80 | 366 |
| music_kraken/static_files | 2 | 140 | 0 | 13 | 153 |
| music_kraken/utils | 1 | 1 | 0 | 0 | 1 |
[Summary](results.md) / [Details](details.md) / Diff Summary / [Diff Details](diff-details.md)

View File

@ -1,52 +0,0 @@
Date : 2022-12-07 13:25:59
Directory : /home/lars/Projects/music-downloader/src
Total : 20 files, 700 codes, 165 comments, 162 blanks, all 1027 lines
Languages
+----------+------------+------------+------------+------------+------------+
| language | files | code | comment | blank | total |
+----------+------------+------------+------------+------------+------------+
| Python | 17 | 484 | 165 | 149 | 798 |
| SQLite | 2 | 140 | 0 | 13 | 153 |
| Database | 1 | 76 | 0 | 0 | 76 |
+----------+------------+------------+------------+------------+------------+
Directories
+------------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+
| path | files | code | comment | blank | total |
+------------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+
| . | 20 | 700 | 165 | 162 | 1,027 |
| music_kraken | 18 | 594 | 160 | 154 | 908 |
| music_kraken/audio_source | 1 | 0 | 0 | -1 | -1 |
| music_kraken/database | 13 | 450 | 158 | 142 | 750 |
| music_kraken/database/objects | 4 | 229 | 57 | 80 | 366 |
| music_kraken/static_files | 2 | 140 | 0 | 13 | 153 |
| music_kraken/utils | 1 | 1 | 0 | 0 | 1 |
+------------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+
Files
+------------------------------------------------------------------------------------------------+----------+------------+------------+------------+------------+
| filename | language | code | comment | blank | total |
+------------------------------------------------------------------------------------------------+----------+------------+------------+------------+------------+
| /home/lars/Projects/music-downloader/src/goof.py | Python | 30 | 5 | 8 | 43 |
| /home/lars/Projects/music-downloader/src/music_kraken/__init__.py | Python | 3 | 2 | 0 | 5 |
| /home/lars/Projects/music-downloader/src/music_kraken/audio_source/fetch_source.py | Python | 0 | 0 | -1 | -1 |
| /home/lars/Projects/music-downloader/src/music_kraken/database/__init__.py | Python | -4 | 1 | 1 | -2 |
| /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 | 25 | 22 | 4 | 51 |
| /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/metadata.py | Python | -13 | 0 | -5 | -18 |
| /home/lars/Projects/music-downloader/src/music_kraken/database/new_database.py | Python | 172 | 78 | 55 | 305 |
| /home/lars/Projects/music-downloader/src/music_kraken/database/objects/__init__.py | Python | 11 | 0 | 4 | 15 |
| /home/lars/Projects/music-downloader/src/music_kraken/database/objects/artist.py | Python | 18 | 0 | 5 | 23 |
| /home/lars/Projects/music-downloader/src/music_kraken/database/objects/database_object.py | Python | 21 | 5 | 11 | 37 |
| /home/lars/Projects/music-downloader/src/music_kraken/database/objects/song.py | Python | 179 | 52 | 60 | 291 |
| /home/lars/Projects/music-downloader/src/music_kraken/database/song.py | Python | 39 | -5 | 12 | 46 |
| /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/static_files/new_db.sql | SQLite | 66 | 0 | 10 | 76 |
| /home/lars/Projects/music-downloader/src/music_kraken/static_files/temp_database_structure.sql | SQLite | 74 | 0 | 3 | 77 |
| /home/lars/Projects/music-downloader/src/music_kraken/utils/shared.py | Python | 1 | 0 | 0 | 1 |
| /home/lars/Projects/music-downloader/src/test.db | Database | 76 | 0 | 0 | 76 |
| Total | | 700 | 165 | 162 | 1,027 |
+------------------------------------------------------------------------------------------------+----------+------------+------------+------------+------------+

View File

@ -1,45 +0,0 @@
"filename", "language", "Python", "Database", "SQLite", "comment", "blank", "total"
"/home/lars/Projects/music-downloader/src/__init__.py", "Python", 0, 0, 0, 0, 1, 1
"/home/lars/Projects/music-downloader/src/goof.py", "Python", 44, 0, 0, 5, 12, 61
"/home/lars/Projects/music-downloader/src/music_kraken/__init__.py", "Python", 117, 0, 0, 32, 48, 197
"/home/lars/Projects/music-downloader/src/music_kraken/__main__.py", "Python", 3, 0, 0, 2, 3, 8
"/home/lars/Projects/music-downloader/src/music_kraken/audio_source/__init__.py", "Python", 10, 0, 0, 0, 5, 15
"/home/lars/Projects/music-downloader/src/music_kraken/audio_source/fetch_audio.py", "Python", 75, 0, 0, 12, 20, 107
"/home/lars/Projects/music-downloader/src/music_kraken/audio_source/fetch_source.py", "Python", 54, 0, 0, 1, 16, 71
"/home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/__init__.py", "Python", 0, 0, 0, 0, 1, 1
"/home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/local_files.py", "Python", 40, 0, 0, 0, 18, 58
"/home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/musify.py", "Python", 136, 0, 0, 9, 37, 182
"/home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/source.py", "Python", 11, 0, 0, 5, 8, 24
"/home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/youtube.py", "Python", 71, 0, 0, 4, 24, 99
"/home/lars/Projects/music-downloader/src/music_kraken/database/__init__.py", "Python", 11, 0, 0, 1, 4, 16
"/home/lars/Projects/music-downloader/src/music_kraken/database/database.py", "Python", 191, 0, 0, 102, 45, 338
"/home/lars/Projects/music-downloader/src/music_kraken/database/get_song.py", "Python", 40, 0, 0, 5, 11, 56
"/home/lars/Projects/music-downloader/src/music_kraken/database/new_database.py", "Python", 172, 0, 0, 78, 55, 305
"/home/lars/Projects/music-downloader/src/music_kraken/database/objects/__init__.py", "Python", 11, 0, 0, 0, 4, 15
"/home/lars/Projects/music-downloader/src/music_kraken/database/objects/artist.py", "Python", 18, 0, 0, 0, 5, 23
"/home/lars/Projects/music-downloader/src/music_kraken/database/objects/database_object.py", "Python", 21, 0, 0, 5, 11, 37
"/home/lars/Projects/music-downloader/src/music_kraken/database/objects/song.py", "Python", 179, 0, 0, 52, 60, 291
"/home/lars/Projects/music-downloader/src/music_kraken/database/song.py", "Python", 125, 0, 0, 20, 45, 190
"/home/lars/Projects/music-downloader/src/music_kraken/database/temp_database.py", "Python", 10, 0, 0, 0, 7, 17
"/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/static_files/new_db.sql", "SQLite", 0, 0, 66, 0, 10, 76
"/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", 0, 0, 0, 0, 1, 1
"/home/lars/Projects/music-downloader/src/music_kraken/tagging/song.py", "Python", 3, 0, 0, 0, 1, 4
"/home/lars/Projects/music-downloader/src/music_kraken/target/__init__.py", "Python", 4, 0, 0, 0, 2, 6
"/home/lars/Projects/music-downloader/src/music_kraken/target/set_target.py", "Python", 37, 0, 0, 7, 18, 62
"/home/lars/Projects/music-downloader/src/music_kraken/utils/__init__.py", "Python", 1, 0, 0, 1, 1, 3
"/home/lars/Projects/music-downloader/src/music_kraken/utils/functions.py", "Python", 3, 0, 0, 0, 1, 4
"/home/lars/Projects/music-downloader/src/music_kraken/utils/object_handeling.py", "Python", 19, 0, 0, 0, 6, 25
"/home/lars/Projects/music-downloader/src/music_kraken/utils/phonetic_compares.py", "Python", 39, 0, 0, 2, 17, 58
"/home/lars/Projects/music-downloader/src/music_kraken/utils/shared.py", "Python", 60, 0, 0, 3, 9, 72
"/home/lars/Projects/music-downloader/src/music_kraken_cli.py", "Python", 94, 0, 0, 9, 32, 135
"/home/lars/Projects/music-downloader/src/music_kraken_gtk.py", "Python", 3, 0, 0, 0, 2, 5
"/home/lars/Projects/music-downloader/src/test.db", "Database", 0, 76, 0, 0, 0, 76
"/home/lars/Projects/music-downloader/src/try-programming-interface.py", "Python", 14, 0, 0, 98, 22, 134
"Total", "-", 2283, 76, 201, 558, 774, 3892
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/goof.py Python 44 0 0 5 12 61
4 /home/lars/Projects/music-downloader/src/music_kraken/__init__.py Python 117 0 0 32 48 197
5 /home/lars/Projects/music-downloader/src/music_kraken/__main__.py Python 3 0 0 2 3 8
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 11 0 0 1 4 16
15 /home/lars/Projects/music-downloader/src/music_kraken/database/database.py Python 191 0 0 102 45 338
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 172 0 0 78 55 305
18 /home/lars/Projects/music-downloader/src/music_kraken/database/objects/__init__.py Python 11 0 0 0 4 15
19 /home/lars/Projects/music-downloader/src/music_kraken/database/objects/artist.py Python 18 0 0 0 5 23
20 /home/lars/Projects/music-downloader/src/music_kraken/database/objects/database_object.py Python 21 0 0 5 11 37
21 /home/lars/Projects/music-downloader/src/music_kraken/database/objects/song.py Python 179 0 0 52 60 291
22 /home/lars/Projects/music-downloader/src/music_kraken/database/song.py Python 125 0 0 20 45 190
23 /home/lars/Projects/music-downloader/src/music_kraken/database/temp_database.py Python 10 0 0 0 7 17
24 /home/lars/Projects/music-downloader/src/music_kraken/lyrics/__init__.py Python 0 0 0 0 1 1
25 /home/lars/Projects/music-downloader/src/music_kraken/lyrics/genius.py Python 115 0 0 16 42 173
26 /home/lars/Projects/music-downloader/src/music_kraken/lyrics/lyrics.py Python 36 0 0 25 20 81
27 /home/lars/Projects/music-downloader/src/music_kraken/metadata/__init__.py Python 6 0 0 0 2 8
28 /home/lars/Projects/music-downloader/src/music_kraken/metadata/metadata_fetch.py Python 257 0 0 24 65 346
29 /home/lars/Projects/music-downloader/src/music_kraken/metadata/metadata_search.py Python 253 0 0 40 72 365
30 /home/lars/Projects/music-downloader/src/music_kraken/static_files/new_db.sql SQLite 0 0 66 0 10 76
31 /home/lars/Projects/music-downloader/src/music_kraken/static_files/temp_database_structure.sql SQLite 0 0 135 0 10 145
32 /home/lars/Projects/music-downloader/src/music_kraken/tagging/__init__.py Python 0 0 0 0 1 1
33 /home/lars/Projects/music-downloader/src/music_kraken/tagging/song.py Python 3 0 0 0 1 4
34 /home/lars/Projects/music-downloader/src/music_kraken/target/__init__.py Python 4 0 0 0 2 6
35 /home/lars/Projects/music-downloader/src/music_kraken/target/set_target.py Python 37 0 0 7 18 62
36 /home/lars/Projects/music-downloader/src/music_kraken/utils/__init__.py Python 1 0 0 1 1 3
37 /home/lars/Projects/music-downloader/src/music_kraken/utils/functions.py Python 3 0 0 0 1 4
38 /home/lars/Projects/music-downloader/src/music_kraken/utils/object_handeling.py Python 19 0 0 0 6 25
39 /home/lars/Projects/music-downloader/src/music_kraken/utils/phonetic_compares.py Python 39 0 0 2 17 58
40 /home/lars/Projects/music-downloader/src/music_kraken/utils/shared.py Python 60 0 0 3 9 72
41 /home/lars/Projects/music-downloader/src/music_kraken_cli.py Python 94 0 0 9 32 135
42 /home/lars/Projects/music-downloader/src/music_kraken_gtk.py Python 3 0 0 0 2 5
43 /home/lars/Projects/music-downloader/src/test.db Database 0 76 0 0 0 76
44 /home/lars/Projects/music-downloader/src/try-programming-interface.py Python 14 0 0 98 22 134
45 Total - 2283 76 201 558 774 3892

File diff suppressed because one or more lines are too long

View File

@ -1,34 +0,0 @@
# Summary
Date : 2022-12-07 13:25:59
Directory /home/lars/Projects/music-downloader/src
Total : 43 files, 2560 codes, 558 comments, 774 blanks, all 3892 lines
Summary / [Details](details.md) / [Diff Summary](diff.md) / [Diff Details](diff-details.md)
## Languages
| language | files | code | comment | blank | total |
| :--- | ---: | ---: | ---: | ---: | ---: |
| Python | 40 | 2,283 | 558 | 754 | 3,595 |
| SQLite | 2 | 201 | 0 | 20 | 221 |
| Database | 1 | 76 | 0 | 0 | 76 |
## Directories
| path | files | code | comment | blank | total |
| :--- | ---: | ---: | ---: | ---: | ---: |
| . | 43 | 2,560 | 558 | 774 | 3,892 |
| music_kraken | 37 | 2,329 | 446 | 705 | 3,480 |
| music_kraken/audio_source | 8 | 397 | 31 | 129 | 557 |
| music_kraken/audio_source/sources | 5 | 258 | 18 | 88 | 364 |
| music_kraken/database | 10 | 778 | 263 | 247 | 1,288 |
| music_kraken/database/objects | 4 | 229 | 57 | 80 | 366 |
| music_kraken/lyrics | 3 | 151 | 41 | 63 | 255 |
| music_kraken/metadata | 3 | 516 | 64 | 139 | 719 |
| music_kraken/static_files | 2 | 201 | 0 | 20 | 221 |
| music_kraken/tagging | 2 | 3 | 0 | 2 | 5 |
| music_kraken/target | 2 | 41 | 7 | 20 | 68 |
| music_kraken/utils | 5 | 122 | 6 | 34 | 162 |
Summary / [Details](details.md) / [Diff Summary](diff.md) / [Diff Details](diff-details.md)

View File

@ -1,80 +0,0 @@
Date : 2022-12-07 13:25:59
Directory : /home/lars/Projects/music-downloader/src
Total : 43 files, 2560 codes, 558 comments, 774 blanks, all 3892 lines
Languages
+----------+------------+------------+------------+------------+------------+
| language | files | code | comment | blank | total |
+----------+------------+------------+------------+------------+------------+
| Python | 40 | 2,283 | 558 | 754 | 3,595 |
| SQLite | 2 | 201 | 0 | 20 | 221 |
| Database | 1 | 76 | 0 | 0 | 76 |
+----------+------------+------------+------------+------------+------------+
Directories
+------------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+
| path | files | code | comment | blank | total |
+------------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+
| . | 43 | 2,560 | 558 | 774 | 3,892 |
| music_kraken | 37 | 2,329 | 446 | 705 | 3,480 |
| music_kraken/audio_source | 8 | 397 | 31 | 129 | 557 |
| music_kraken/audio_source/sources | 5 | 258 | 18 | 88 | 364 |
| music_kraken/database | 10 | 778 | 263 | 247 | 1,288 |
| music_kraken/database/objects | 4 | 229 | 57 | 80 | 366 |
| music_kraken/lyrics | 3 | 151 | 41 | 63 | 255 |
| music_kraken/metadata | 3 | 516 | 64 | 139 | 719 |
| music_kraken/static_files | 2 | 201 | 0 | 20 | 221 |
| music_kraken/tagging | 2 | 3 | 0 | 2 | 5 |
| music_kraken/target | 2 | 41 | 7 | 20 | 68 |
| music_kraken/utils | 5 | 122 | 6 | 34 | 162 |
+------------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+
Files
+------------------------------------------------------------------------------------------------+----------+------------+------------+------------+------------+
| filename | language | code | comment | blank | total |
+------------------------------------------------------------------------------------------------+----------+------------+------------+------------+------------+
| /home/lars/Projects/music-downloader/src/__init__.py | Python | 0 | 0 | 1 | 1 |
| /home/lars/Projects/music-downloader/src/goof.py | Python | 44 | 5 | 12 | 61 |
| /home/lars/Projects/music-downloader/src/music_kraken/__init__.py | Python | 117 | 32 | 48 | 197 |
| /home/lars/Projects/music-downloader/src/music_kraken/__main__.py | Python | 3 | 2 | 3 | 8 |
| /home/lars/Projects/music-downloader/src/music_kraken/audio_source/__init__.py | Python | 10 | 0 | 5 | 15 |
| /home/lars/Projects/music-downloader/src/music_kraken/audio_source/fetch_audio.py | Python | 75 | 12 | 20 | 107 |
| /home/lars/Projects/music-downloader/src/music_kraken/audio_source/fetch_source.py | Python | 54 | 1 | 16 | 71 |
| /home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/__init__.py | Python | 0 | 0 | 1 | 1 |
| /home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/local_files.py | Python | 40 | 0 | 18 | 58 |
| /home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/musify.py | Python | 136 | 9 | 37 | 182 |
| /home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/source.py | Python | 11 | 5 | 8 | 24 |
| /home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/youtube.py | Python | 71 | 4 | 24 | 99 |
| /home/lars/Projects/music-downloader/src/music_kraken/database/__init__.py | Python | 11 | 1 | 4 | 16 |
| /home/lars/Projects/music-downloader/src/music_kraken/database/database.py | Python | 191 | 102 | 45 | 338 |
| /home/lars/Projects/music-downloader/src/music_kraken/database/get_song.py | Python | 40 | 5 | 11 | 56 |
| /home/lars/Projects/music-downloader/src/music_kraken/database/new_database.py | Python | 172 | 78 | 55 | 305 |
| /home/lars/Projects/music-downloader/src/music_kraken/database/objects/__init__.py | Python | 11 | 0 | 4 | 15 |
| /home/lars/Projects/music-downloader/src/music_kraken/database/objects/artist.py | Python | 18 | 0 | 5 | 23 |
| /home/lars/Projects/music-downloader/src/music_kraken/database/objects/database_object.py | Python | 21 | 5 | 11 | 37 |
| /home/lars/Projects/music-downloader/src/music_kraken/database/objects/song.py | Python | 179 | 52 | 60 | 291 |
| /home/lars/Projects/music-downloader/src/music_kraken/database/song.py | Python | 125 | 20 | 45 | 190 |
| /home/lars/Projects/music-downloader/src/music_kraken/database/temp_database.py | Python | 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/new_db.sql | SQLite | 66 | 0 | 10 | 76 |
| /home/lars/Projects/music-downloader/src/music_kraken/static_files/temp_database_structure.sql | SQLite | 135 | 0 | 10 | 145 |
| /home/lars/Projects/music-downloader/src/music_kraken/tagging/__init__.py | Python | 0 | 0 | 1 | 1 |
| /home/lars/Projects/music-downloader/src/music_kraken/tagging/song.py | Python | 3 | 0 | 1 | 4 |
| /home/lars/Projects/music-downloader/src/music_kraken/target/__init__.py | Python | 4 | 0 | 2 | 6 |
| /home/lars/Projects/music-downloader/src/music_kraken/target/set_target.py | Python | 37 | 7 | 18 | 62 |
| /home/lars/Projects/music-downloader/src/music_kraken/utils/__init__.py | Python | 1 | 1 | 1 | 3 |
| /home/lars/Projects/music-downloader/src/music_kraken/utils/functions.py | Python | 3 | 0 | 1 | 4 |
| /home/lars/Projects/music-downloader/src/music_kraken/utils/object_handeling.py | Python | 19 | 0 | 6 | 25 |
| /home/lars/Projects/music-downloader/src/music_kraken/utils/phonetic_compares.py | Python | 39 | 2 | 17 | 58 |
| /home/lars/Projects/music-downloader/src/music_kraken/utils/shared.py | Python | 60 | 3 | 9 | 72 |
| /home/lars/Projects/music-downloader/src/music_kraken_cli.py | Python | 94 | 9 | 32 | 135 |
| /home/lars/Projects/music-downloader/src/music_kraken_gtk.py | Python | 3 | 0 | 2 | 5 |
| /home/lars/Projects/music-downloader/src/test.db | Database | 76 | 0 | 0 | 76 |
| /home/lars/Projects/music-downloader/src/try-programming-interface.py | Python | 14 | 98 | 22 | 134 |
| Total | | 2,560 | 558 | 774 | 3,892 |
+------------------------------------------------------------------------------------------------+----------+------------+------------+------------+------------+

View File

@ -0,0 +1,78 @@
# Details
Date : 2023-02-27 12:22:06
Directory /home/lars/Projects/music-downloader/src
Total : 63 files, 4095 codes, 1060 comments, 1216 blanks, all 6371 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 | 48 | 4 | 15 | 67 |
| [src/music_kraken/__init__.py](/src/music_kraken/__init__.py) | Python | 57 | 8 | 25 | 90 |
| [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/data_models.py](/src/music_kraken/database/data_models.py) | Python | 116 | 23 | 49 | 188 |
| [src/music_kraken/database/database.py](/src/music_kraken/database/database.py) | Python | 84 | 48 | 26 | 158 |
| [src/music_kraken/database/object_cache.py](/src/music_kraken/database/object_cache.py) | Python | 35 | 56 | 16 | 107 |
| [src/music_kraken/database/old_database.py](/src/music_kraken/database/old_database.py) | Python | 432 | 154 | 115 | 701 |
| [src/music_kraken/database/read.py](/src/music_kraken/database/read.py) | Python | 0 | 0 | 1 | 1 |
| [src/music_kraken/database/temp_database.py](/src/music_kraken/database/temp_database.py) | Python | 12 | 0 | 8 | 20 |
| [src/music_kraken/database/write.py](/src/music_kraken/database/write.py) | Python | 168 | 62 | 55 | 285 |
| [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/objects/__init__.py](/src/music_kraken/objects/__init__.py) | Python | 23 | 0 | 7 | 30 |
| [src/music_kraken/objects/album.py](/src/music_kraken/objects/album.py) | Python | 15 | 6 | 5 | 26 |
| [src/music_kraken/objects/artist.py](/src/music_kraken/objects/artist.py) | Python | 18 | 0 | 5 | 23 |
| [src/music_kraken/objects/collection.py](/src/music_kraken/objects/collection.py) | Python | 52 | 15 | 24 | 91 |
| [src/music_kraken/objects/formatted_text.py](/src/music_kraken/objects/formatted_text.py) | Python | 53 | 57 | 20 | 130 |
| [src/music_kraken/objects/lyrics.py](/src/music_kraken/objects/lyrics.py) | Python | 21 | 0 | 7 | 28 |
| [src/music_kraken/objects/metadata.py](/src/music_kraken/objects/metadata.py) | Python | 262 | 68 | 63 | 393 |
| [src/music_kraken/objects/parents.py](/src/music_kraken/objects/parents.py) | Python | 22 | 15 | 12 | 49 |
| [src/music_kraken/objects/song.py](/src/music_kraken/objects/song.py) | Python | 332 | 81 | 89 | 502 |
| [src/music_kraken/objects/source.py](/src/music_kraken/objects/source.py) | Python | 116 | 38 | 41 | 195 |
| [src/music_kraken/objects/target.py](/src/music_kraken/objects/target.py) | Python | 22 | 7 | 7 | 36 |
| [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 | 73 | 68 | 27 | 168 |
| [src/music_kraken/pages/encyclopaedia_metallum.py](/src/music_kraken/pages/encyclopaedia_metallum.py) | Python | 341 | 66 | 91 | 498 |
| [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 | 3 | 0 | 3 | 6 |
| [src/music_kraken_gtk.py](/src/music_kraken_gtk.py) | Python | 3 | 0 | 2 | 5 |
| [src/test.db](/src/test.db) | Database | 91 | 0 | 1 | 92 |
| [src/tests/__init__.py](/src/tests/__init__.py) | Python | 0 | 0 | 1 | 1 |
| [src/tests/conftest.py](/src/tests/conftest.py) | Python | 3 | 1 | 2 | 6 |
| [src/tests/example_data_objects.py](/src/tests/example_data_objects.py) | Python | 36 | 5 | 6 | 47 |
| [src/try-programming-interface.py](/src/try-programming-interface.py) | Python | 14 | 98 | 22 | 134 |
| [src/try.py](/src/try.py) | Python | 1 | 0 | 3 | 4 |
| [src/try_python.py](/src/try_python.py) | Python | 13 | 20 | 9 | 42 |
[Summary](results.md) / Details / [Diff Summary](diff.md) / [Diff Details](diff-details.md)

View File

@ -0,0 +1,49 @@
# Diff Details
Date : 2023-02-27 12:22:06
Directory /home/lars/Projects/music-downloader/src
Total : 34 files, 520 codes, 285 comments, 188 blanks, all 993 lines
[Summary](results.md) / [Details](details.md) / [Diff Summary](diff.md) / Diff Details
## Files
| filename | language | code | comment | blank | total |
| :--- | :--- | ---: | ---: | ---: | ---: |
| [src/metal_archives.py](/src/metal_archives.py) | Python | 3 | -2 | -2 | -1 |
| [src/music_kraken/__init__.py](/src/music_kraken/__init__.py) | Python | -6 | -18 | -8 | -32 |
| [src/music_kraken/database/data_models.py](/src/music_kraken/database/data_models.py) | Python | 116 | 23 | 49 | 188 |
| [src/music_kraken/database/database.py](/src/music_kraken/database/database.py) | Python | -345 | -64 | -85 | -494 |
| [src/music_kraken/database/object_cache.py](/src/music_kraken/database/object_cache.py) | Python | 35 | 56 | 16 | 107 |
| [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/old_database.py](/src/music_kraken/database/old_database.py) | Python | 432 | 154 | 115 | 701 |
| [src/music_kraken/database/read.py](/src/music_kraken/database/read.py) | Python | 0 | 0 | 1 | 1 |
| [src/music_kraken/database/write.py](/src/music_kraken/database/write.py) | Python | 168 | 62 | 55 | 285 |
| [src/music_kraken/objects/__init__.py](/src/music_kraken/objects/__init__.py) | Python | 23 | 0 | 7 | 30 |
| [src/music_kraken/objects/album.py](/src/music_kraken/objects/album.py) | Python | 15 | 6 | 5 | 26 |
| [src/music_kraken/objects/artist.py](/src/music_kraken/objects/artist.py) | Python | 18 | 0 | 5 | 23 |
| [src/music_kraken/objects/collection.py](/src/music_kraken/objects/collection.py) | Python | 52 | 15 | 24 | 91 |
| [src/music_kraken/objects/formatted_text.py](/src/music_kraken/objects/formatted_text.py) | Python | 53 | 57 | 20 | 130 |
| [src/music_kraken/objects/lyrics.py](/src/music_kraken/objects/lyrics.py) | Python | 21 | 0 | 7 | 28 |
| [src/music_kraken/objects/metadata.py](/src/music_kraken/objects/metadata.py) | Python | 262 | 68 | 63 | 393 |
| [src/music_kraken/objects/parents.py](/src/music_kraken/objects/parents.py) | Python | 22 | 15 | 12 | 49 |
| [src/music_kraken/objects/song.py](/src/music_kraken/objects/song.py) | Python | 332 | 81 | 89 | 502 |
| [src/music_kraken/objects/source.py](/src/music_kraken/objects/source.py) | Python | 116 | 38 | 41 | 195 |
| [src/music_kraken/objects/target.py](/src/music_kraken/objects/target.py) | Python | 22 | 7 | 7 | 36 |
| [src/music_kraken/pages/abstract.py](/src/music_kraken/pages/abstract.py) | Python | 3 | 0 | 0 | 3 |
| [src/music_kraken/pages/encyclopaedia_metallum.py](/src/music_kraken/pages/encyclopaedia_metallum.py) | Python | 42 | 6 | 15 | 63 |
| [src/music_kraken_cli.py](/src/music_kraken_cli.py) | Python | -88 | -9 | -29 | -126 |
| [src/tests/__init__.py](/src/tests/__init__.py) | Python | 0 | 0 | 1 | 1 |
| [src/tests/conftest.py](/src/tests/conftest.py) | Python | 3 | 1 | 2 | 6 |
| [src/tests/example_data_objects.py](/src/tests/example_data_objects.py) | Python | 36 | 5 | 6 | 47 |
| [src/try.py](/src/try.py) | Python | 1 | 0 | 3 | 4 |
| [src/try_python.py](/src/try_python.py) | Python | 0 | 19 | 3 | 22 |
[Summary](results.md) / [Details](details.md) / [Diff Summary](diff.md) / Diff Details

View File

@ -0,0 +1,36 @@
"filename", "language", "Python", "comment", "blank", "total"
"/home/lars/Projects/music-downloader/src/metal_archives.py", "Python", 3, -2, -2, -1
"/home/lars/Projects/music-downloader/src/music_kraken/__init__.py", "Python", -6, -18, -8, -32
"/home/lars/Projects/music-downloader/src/music_kraken/database/data_models.py", "Python", 116, 23, 49, 188
"/home/lars/Projects/music-downloader/src/music_kraken/database/database.py", "Python", -345, -64, -85, -494
"/home/lars/Projects/music-downloader/src/music_kraken/database/object_cache.py", "Python", 35, 56, 16, 107
"/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/old_database.py", "Python", 432, 154, 115, 701
"/home/lars/Projects/music-downloader/src/music_kraken/database/read.py", "Python", 0, 0, 1, 1
"/home/lars/Projects/music-downloader/src/music_kraken/database/write.py", "Python", 168, 62, 55, 285
"/home/lars/Projects/music-downloader/src/music_kraken/objects/__init__.py", "Python", 23, 0, 7, 30
"/home/lars/Projects/music-downloader/src/music_kraken/objects/album.py", "Python", 15, 6, 5, 26
"/home/lars/Projects/music-downloader/src/music_kraken/objects/artist.py", "Python", 18, 0, 5, 23
"/home/lars/Projects/music-downloader/src/music_kraken/objects/collection.py", "Python", 52, 15, 24, 91
"/home/lars/Projects/music-downloader/src/music_kraken/objects/formatted_text.py", "Python", 53, 57, 20, 130
"/home/lars/Projects/music-downloader/src/music_kraken/objects/lyrics.py", "Python", 21, 0, 7, 28
"/home/lars/Projects/music-downloader/src/music_kraken/objects/metadata.py", "Python", 262, 68, 63, 393
"/home/lars/Projects/music-downloader/src/music_kraken/objects/parents.py", "Python", 22, 15, 12, 49
"/home/lars/Projects/music-downloader/src/music_kraken/objects/song.py", "Python", 332, 81, 89, 502
"/home/lars/Projects/music-downloader/src/music_kraken/objects/source.py", "Python", 116, 38, 41, 195
"/home/lars/Projects/music-downloader/src/music_kraken/objects/target.py", "Python", 22, 7, 7, 36
"/home/lars/Projects/music-downloader/src/music_kraken/pages/abstract.py", "Python", 3, 0, 0, 3
"/home/lars/Projects/music-downloader/src/music_kraken/pages/encyclopaedia_metallum.py", "Python", 42, 6, 15, 63
"/home/lars/Projects/music-downloader/src/music_kraken_cli.py", "Python", -88, -9, -29, -126
"/home/lars/Projects/music-downloader/src/tests/__init__.py", "Python", 0, 0, 1, 1
"/home/lars/Projects/music-downloader/src/tests/conftest.py", "Python", 3, 1, 2, 6
"/home/lars/Projects/music-downloader/src/tests/example_data_objects.py", "Python", 36, 5, 6, 47
"/home/lars/Projects/music-downloader/src/try.py", "Python", 1, 0, 3, 4
"/home/lars/Projects/music-downloader/src/try_python.py", "Python", 0, 19, 3, 22
"Total", "-", 520, 285, 188, 993
1 filename language Python comment blank total
2 /home/lars/Projects/music-downloader/src/metal_archives.py Python 3 -2 -2 -1
3 /home/lars/Projects/music-downloader/src/music_kraken/__init__.py Python -6 -18 -8 -32
4 /home/lars/Projects/music-downloader/src/music_kraken/database/data_models.py Python 116 23 49 188
5 /home/lars/Projects/music-downloader/src/music_kraken/database/database.py Python -345 -64 -85 -494
6 /home/lars/Projects/music-downloader/src/music_kraken/database/object_cache.py Python 35 56 16 107
7 /home/lars/Projects/music-downloader/src/music_kraken/database/objects/__init__.py Python -20 0 -7 -27
8 /home/lars/Projects/music-downloader/src/music_kraken/database/objects/artist.py Python -18 0 -5 -23
9 /home/lars/Projects/music-downloader/src/music_kraken/database/objects/formatted_text.py Python -48 -57 -16 -121
10 /home/lars/Projects/music-downloader/src/music_kraken/database/objects/metadata.py Python -251 -68 -61 -380
11 /home/lars/Projects/music-downloader/src/music_kraken/database/objects/parents.py Python -40 -8 -19 -67
12 /home/lars/Projects/music-downloader/src/music_kraken/database/objects/song.py Python -323 -64 -85 -472
13 /home/lars/Projects/music-downloader/src/music_kraken/database/objects/source.py Python -116 -38 -41 -195
14 /home/lars/Projects/music-downloader/src/music_kraken/database/old_database.py Python 432 154 115 701
15 /home/lars/Projects/music-downloader/src/music_kraken/database/read.py Python 0 0 1 1
16 /home/lars/Projects/music-downloader/src/music_kraken/database/write.py Python 168 62 55 285
17 /home/lars/Projects/music-downloader/src/music_kraken/objects/__init__.py Python 23 0 7 30
18 /home/lars/Projects/music-downloader/src/music_kraken/objects/album.py Python 15 6 5 26
19 /home/lars/Projects/music-downloader/src/music_kraken/objects/artist.py Python 18 0 5 23
20 /home/lars/Projects/music-downloader/src/music_kraken/objects/collection.py Python 52 15 24 91
21 /home/lars/Projects/music-downloader/src/music_kraken/objects/formatted_text.py Python 53 57 20 130
22 /home/lars/Projects/music-downloader/src/music_kraken/objects/lyrics.py Python 21 0 7 28
23 /home/lars/Projects/music-downloader/src/music_kraken/objects/metadata.py Python 262 68 63 393
24 /home/lars/Projects/music-downloader/src/music_kraken/objects/parents.py Python 22 15 12 49
25 /home/lars/Projects/music-downloader/src/music_kraken/objects/song.py Python 332 81 89 502
26 /home/lars/Projects/music-downloader/src/music_kraken/objects/source.py Python 116 38 41 195
27 /home/lars/Projects/music-downloader/src/music_kraken/objects/target.py Python 22 7 7 36
28 /home/lars/Projects/music-downloader/src/music_kraken/pages/abstract.py Python 3 0 0 3
29 /home/lars/Projects/music-downloader/src/music_kraken/pages/encyclopaedia_metallum.py Python 42 6 15 63
30 /home/lars/Projects/music-downloader/src/music_kraken_cli.py Python -88 -9 -29 -126
31 /home/lars/Projects/music-downloader/src/tests/__init__.py Python 0 0 1 1
32 /home/lars/Projects/music-downloader/src/tests/conftest.py Python 3 1 2 6
33 /home/lars/Projects/music-downloader/src/tests/example_data_objects.py Python 36 5 6 47
34 /home/lars/Projects/music-downloader/src/try.py Python 1 0 3 4
35 /home/lars/Projects/music-downloader/src/try_python.py Python 0 19 3 22
36 Total - 520 285 188 993

View File

@ -0,0 +1,30 @@
# Diff Summary
Date : 2023-02-27 12:22:06
Directory /home/lars/Projects/music-downloader/src
Total : 34 files, 520 codes, 285 comments, 188 blanks, all 993 lines
[Summary](results.md) / [Details](details.md) / Diff Summary / [Diff Details](diff-details.md)
## Languages
| language | files | code | comment | blank | total |
| :--- | ---: | ---: | ---: | ---: | ---: |
| Python | 34 | 520 | 285 | 188 | 993 |
## Directories
| path | files | code | comment | blank | total |
| :--- | ---: | ---: | ---: | ---: | ---: |
| . | 34 | 520 | 285 | 188 | 993 |
| . (Files) | 4 | -84 | 8 | -25 | -101 |
| music_kraken | 27 | 565 | 271 | 204 | 1,040 |
| music_kraken (Files) | 1 | -6 | -18 | -8 | -32 |
| music_kraken/database | 13 | -410 | -4 | -83 | -497 |
| music_kraken/database (Files) | 6 | 406 | 231 | 151 | 788 |
| music_kraken/database/objects | 7 | -816 | -235 | -234 | -1,285 |
| music_kraken/objects | 11 | 936 | 287 | 280 | 1,503 |
| music_kraken/pages | 2 | 45 | 6 | 15 | 66 |
| tests | 3 | 39 | 6 | 9 | 54 |
[Summary](results.md) / [Details](details.md) / Diff Summary / [Diff Details](diff-details.md)

View File

@ -0,0 +1,67 @@
Date : 2023-02-27 12:22:06
Directory : /home/lars/Projects/music-downloader/src
Total : 34 files, 520 codes, 285 comments, 188 blanks, all 993 lines
Languages
+----------+------------+------------+------------+------------+------------+
| language | files | code | comment | blank | total |
+----------+------------+------------+------------+------------+------------+
| Python | 34 | 520 | 285 | 188 | 993 |
+----------+------------+------------+------------+------------+------------+
Directories
+------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+
| path | files | code | comment | blank | total |
+------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+
| . | 34 | 520 | 285 | 188 | 993 |
| . (Files) | 4 | -84 | 8 | -25 | -101 |
| music_kraken | 27 | 565 | 271 | 204 | 1,040 |
| music_kraken (Files) | 1 | -6 | -18 | -8 | -32 |
| music_kraken/database | 13 | -410 | -4 | -83 | -497 |
| music_kraken/database (Files) | 6 | 406 | 231 | 151 | 788 |
| music_kraken/database/objects | 7 | -816 | -235 | -234 | -1,285 |
| music_kraken/objects | 11 | 936 | 287 | 280 | 1,503 |
| music_kraken/pages | 2 | 45 | 6 | 15 | 66 |
| tests | 3 | 39 | 6 | 9 | 54 |
+------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+
Files
+------------------------------------------------------------------------------------------+----------+------------+------------+------------+------------+
| filename | language | code | comment | blank | total |
+------------------------------------------------------------------------------------------+----------+------------+------------+------------+------------+
| /home/lars/Projects/music-downloader/src/metal_archives.py | Python | 3 | -2 | -2 | -1 |
| /home/lars/Projects/music-downloader/src/music_kraken/__init__.py | Python | -6 | -18 | -8 | -32 |
| /home/lars/Projects/music-downloader/src/music_kraken/database/data_models.py | Python | 116 | 23 | 49 | 188 |
| /home/lars/Projects/music-downloader/src/music_kraken/database/database.py | Python | -345 | -64 | -85 | -494 |
| /home/lars/Projects/music-downloader/src/music_kraken/database/object_cache.py | Python | 35 | 56 | 16 | 107 |
| /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/old_database.py | Python | 432 | 154 | 115 | 701 |
| /home/lars/Projects/music-downloader/src/music_kraken/database/read.py | Python | 0 | 0 | 1 | 1 |
| /home/lars/Projects/music-downloader/src/music_kraken/database/write.py | Python | 168 | 62 | 55 | 285 |
| /home/lars/Projects/music-downloader/src/music_kraken/objects/__init__.py | Python | 23 | 0 | 7 | 30 |
| /home/lars/Projects/music-downloader/src/music_kraken/objects/album.py | Python | 15 | 6 | 5 | 26 |
| /home/lars/Projects/music-downloader/src/music_kraken/objects/artist.py | Python | 18 | 0 | 5 | 23 |
| /home/lars/Projects/music-downloader/src/music_kraken/objects/collection.py | Python | 52 | 15 | 24 | 91 |
| /home/lars/Projects/music-downloader/src/music_kraken/objects/formatted_text.py | Python | 53 | 57 | 20 | 130 |
| /home/lars/Projects/music-downloader/src/music_kraken/objects/lyrics.py | Python | 21 | 0 | 7 | 28 |
| /home/lars/Projects/music-downloader/src/music_kraken/objects/metadata.py | Python | 262 | 68 | 63 | 393 |
| /home/lars/Projects/music-downloader/src/music_kraken/objects/parents.py | Python | 22 | 15 | 12 | 49 |
| /home/lars/Projects/music-downloader/src/music_kraken/objects/song.py | Python | 332 | 81 | 89 | 502 |
| /home/lars/Projects/music-downloader/src/music_kraken/objects/source.py | Python | 116 | 38 | 41 | 195 |
| /home/lars/Projects/music-downloader/src/music_kraken/objects/target.py | Python | 22 | 7 | 7 | 36 |
| /home/lars/Projects/music-downloader/src/music_kraken/pages/abstract.py | Python | 3 | 0 | 0 | 3 |
| /home/lars/Projects/music-downloader/src/music_kraken/pages/encyclopaedia_metallum.py | Python | 42 | 6 | 15 | 63 |
| /home/lars/Projects/music-downloader/src/music_kraken_cli.py | Python | -88 | -9 | -29 | -126 |
| /home/lars/Projects/music-downloader/src/tests/__init__.py | Python | 0 | 0 | 1 | 1 |
| /home/lars/Projects/music-downloader/src/tests/conftest.py | Python | 3 | 1 | 2 | 6 |
| /home/lars/Projects/music-downloader/src/tests/example_data_objects.py | Python | 36 | 5 | 6 | 47 |
| /home/lars/Projects/music-downloader/src/try.py | Python | 1 | 0 | 3 | 4 |
| /home/lars/Projects/music-downloader/src/try_python.py | Python | 0 | 19 | 3 | 22 |
| Total | | 520 | 285 | 188 | 993 |
+------------------------------------------------------------------------------------------+----------+------------+------------+------------+------------+

View File

@ -0,0 +1,65 @@
"filename", "language", "Python", "SQLite", "Database", "comment", "blank", "total"
"/home/lars/Projects/music-downloader/src/__init__.py", "Python", 0, 0, 0, 0, 1, 1
"/home/lars/Projects/music-downloader/src/create_custom_objects.py", "Python", 80, 0, 0, 3, 18, 101
"/home/lars/Projects/music-downloader/src/metal_archives.py", "Python", 48, 0, 0, 4, 15, 67
"/home/lars/Projects/music-downloader/src/music_kraken/__init__.py", "Python", 57, 0, 0, 8, 25, 90
"/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/data_models.py", "Python", 116, 0, 0, 23, 49, 188
"/home/lars/Projects/music-downloader/src/music_kraken/database/database.py", "Python", 84, 0, 0, 48, 26, 158
"/home/lars/Projects/music-downloader/src/music_kraken/database/object_cache.py", "Python", 35, 0, 0, 56, 16, 107
"/home/lars/Projects/music-downloader/src/music_kraken/database/old_database.py", "Python", 432, 0, 0, 154, 115, 701
"/home/lars/Projects/music-downloader/src/music_kraken/database/read.py", "Python", 0, 0, 0, 0, 1, 1
"/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/database/write.py", "Python", 168, 0, 0, 62, 55, 285
"/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/objects/__init__.py", "Python", 23, 0, 0, 0, 7, 30
"/home/lars/Projects/music-downloader/src/music_kraken/objects/album.py", "Python", 15, 0, 0, 6, 5, 26
"/home/lars/Projects/music-downloader/src/music_kraken/objects/artist.py", "Python", 18, 0, 0, 0, 5, 23
"/home/lars/Projects/music-downloader/src/music_kraken/objects/collection.py", "Python", 52, 0, 0, 15, 24, 91
"/home/lars/Projects/music-downloader/src/music_kraken/objects/formatted_text.py", "Python", 53, 0, 0, 57, 20, 130
"/home/lars/Projects/music-downloader/src/music_kraken/objects/lyrics.py", "Python", 21, 0, 0, 0, 7, 28
"/home/lars/Projects/music-downloader/src/music_kraken/objects/metadata.py", "Python", 262, 0, 0, 68, 63, 393
"/home/lars/Projects/music-downloader/src/music_kraken/objects/parents.py", "Python", 22, 0, 0, 15, 12, 49
"/home/lars/Projects/music-downloader/src/music_kraken/objects/song.py", "Python", 332, 0, 0, 81, 89, 502
"/home/lars/Projects/music-downloader/src/music_kraken/objects/source.py", "Python", 116, 0, 0, 38, 41, 195
"/home/lars/Projects/music-downloader/src/music_kraken/objects/target.py", "Python", 22, 0, 0, 7, 7, 36
"/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", 73, 0, 0, 68, 27, 168
"/home/lars/Projects/music-downloader/src/music_kraken/pages/encyclopaedia_metallum.py", "Python", 341, 0, 0, 66, 91, 498
"/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, 72, 0, 0, 10, 82
"/home/lars/Projects/music-downloader/src/music_kraken/static_files/temp_database_structure.sql", "SQLite", 0, 135, 0, 0, 10, 145
"/home/lars/Projects/music-downloader/src/music_kraken/tagging/__init__.py", "Python", 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", 3, 0, 0, 0, 3, 6
"/home/lars/Projects/music-downloader/src/music_kraken_gtk.py", "Python", 3, 0, 0, 0, 2, 5
"/home/lars/Projects/music-downloader/src/test.db", "Database", 0, 0, 91, 0, 1, 92
"/home/lars/Projects/music-downloader/src/tests/__init__.py", "Python", 0, 0, 0, 0, 1, 1
"/home/lars/Projects/music-downloader/src/tests/conftest.py", "Python", 3, 0, 0, 1, 2, 6
"/home/lars/Projects/music-downloader/src/tests/example_data_objects.py", "Python", 36, 0, 0, 5, 6, 47
"/home/lars/Projects/music-downloader/src/try-programming-interface.py", "Python", 14, 0, 0, 98, 22, 134
"/home/lars/Projects/music-downloader/src/try.py", "Python", 1, 0, 0, 0, 3, 4
"/home/lars/Projects/music-downloader/src/try_python.py", "Python", 13, 0, 0, 20, 9, 42
"Total", "-", 3797, 207, 91, 1060, 1216, 6371
1 filename language Python SQLite Database 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 48 0 0 4 15 67
5 /home/lars/Projects/music-downloader/src/music_kraken/__init__.py Python 57 0 0 8 25 90
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/data_models.py Python 116 0 0 23 49 188
9 /home/lars/Projects/music-downloader/src/music_kraken/database/database.py Python 84 0 0 48 26 158
10 /home/lars/Projects/music-downloader/src/music_kraken/database/object_cache.py Python 35 0 0 56 16 107
11 /home/lars/Projects/music-downloader/src/music_kraken/database/old_database.py Python 432 0 0 154 115 701
12 /home/lars/Projects/music-downloader/src/music_kraken/database/read.py Python 0 0 0 0 1 1
13 /home/lars/Projects/music-downloader/src/music_kraken/database/temp_database.py Python 12 0 0 0 8 20
14 /home/lars/Projects/music-downloader/src/music_kraken/database/write.py Python 168 0 0 62 55 285
15 /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/__init__.py Python 0 0 0 0 3 3
16 /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/fetch_audio.py Python 75 0 0 12 20 107
17 /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/fetch_source.py Python 54 0 0 1 16 71
18 /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/metadata/__init__.py Python 6 0 0 0 2 8
19 /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/metadata/metadata_fetch.py Python 257 0 0 24 65 346
20 /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/metadata/metadata_search.py Python 253 0 0 40 72 365
21 /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/metadata/sources/__init__.py Python 3 0 0 0 2 5
22 /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/metadata/sources/musicbrainz.py Python 42 0 0 6 12 60
23 /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/sources/__init__.py Python 0 0 0 0 1 1
24 /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/sources/genius.py Python 115 0 0 16 42 173
25 /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/sources/local_files.py Python 40 0 0 0 18 58
26 /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/sources/musify.py Python 136 0 0 9 37 182
27 /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/sources/source.py Python 11 0 0 5 8 24
28 /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/sources/youtube.py Python 71 0 0 4 24 99
29 /home/lars/Projects/music-downloader/src/music_kraken/objects/__init__.py Python 23 0 0 0 7 30
30 /home/lars/Projects/music-downloader/src/music_kraken/objects/album.py Python 15 0 0 6 5 26
31 /home/lars/Projects/music-downloader/src/music_kraken/objects/artist.py Python 18 0 0 0 5 23
32 /home/lars/Projects/music-downloader/src/music_kraken/objects/collection.py Python 52 0 0 15 24 91
33 /home/lars/Projects/music-downloader/src/music_kraken/objects/formatted_text.py Python 53 0 0 57 20 130
34 /home/lars/Projects/music-downloader/src/music_kraken/objects/lyrics.py Python 21 0 0 0 7 28
35 /home/lars/Projects/music-downloader/src/music_kraken/objects/metadata.py Python 262 0 0 68 63 393
36 /home/lars/Projects/music-downloader/src/music_kraken/objects/parents.py Python 22 0 0 15 12 49
37 /home/lars/Projects/music-downloader/src/music_kraken/objects/song.py Python 332 0 0 81 89 502
38 /home/lars/Projects/music-downloader/src/music_kraken/objects/source.py Python 116 0 0 38 41 195
39 /home/lars/Projects/music-downloader/src/music_kraken/objects/target.py Python 22 0 0 7 7 36
40 /home/lars/Projects/music-downloader/src/music_kraken/pages/__init__.py Python 7 0 0 0 5 12
41 /home/lars/Projects/music-downloader/src/music_kraken/pages/abstract.py Python 73 0 0 68 27 168
42 /home/lars/Projects/music-downloader/src/music_kraken/pages/encyclopaedia_metallum.py Python 341 0 0 66 91 498
43 /home/lars/Projects/music-downloader/src/music_kraken/pages/youtube.py Python 25 0 0 16 6 47
44 /home/lars/Projects/music-downloader/src/music_kraken/static_files/new_db.sql SQLite 0 72 0 0 10 82
45 /home/lars/Projects/music-downloader/src/music_kraken/static_files/temp_database_structure.sql SQLite 0 135 0 0 10 145
46 /home/lars/Projects/music-downloader/src/music_kraken/tagging/__init__.py Python 8 0 0 0 2 10
47 /home/lars/Projects/music-downloader/src/music_kraken/tagging/id3.py Python 51 0 0 4 20 75
48 /home/lars/Projects/music-downloader/src/music_kraken/target/__init__.py Python 4 0 0 0 2 6
49 /home/lars/Projects/music-downloader/src/music_kraken/target/set_target.py Python 37 0 0 7 18 62
50 /home/lars/Projects/music-downloader/src/music_kraken/utils/__init__.py Python 1 0 0 1 1 3
51 /home/lars/Projects/music-downloader/src/music_kraken/utils/functions.py Python 3 0 0 0 1 4
52 /home/lars/Projects/music-downloader/src/music_kraken/utils/object_handeling.py Python 19 0 0 0 6 25
53 /home/lars/Projects/music-downloader/src/music_kraken/utils/phonetic_compares.py Python 39 0 0 2 17 58
54 /home/lars/Projects/music-downloader/src/music_kraken/utils/shared.py Python 62 0 0 3 10 75
55 /home/lars/Projects/music-downloader/src/music_kraken/utils/string_processing.py Python 2 0 0 5 2 9
56 /home/lars/Projects/music-downloader/src/music_kraken_cli.py Python 3 0 0 0 3 6
57 /home/lars/Projects/music-downloader/src/music_kraken_gtk.py Python 3 0 0 0 2 5
58 /home/lars/Projects/music-downloader/src/test.db Database 0 0 91 0 1 92
59 /home/lars/Projects/music-downloader/src/tests/__init__.py Python 0 0 0 0 1 1
60 /home/lars/Projects/music-downloader/src/tests/conftest.py Python 3 0 0 1 2 6
61 /home/lars/Projects/music-downloader/src/tests/example_data_objects.py Python 36 0 0 5 6 47
62 /home/lars/Projects/music-downloader/src/try-programming-interface.py Python 14 0 0 98 22 134
63 /home/lars/Projects/music-downloader/src/try.py Python 1 0 0 0 3 4
64 /home/lars/Projects/music-downloader/src/try_python.py Python 13 0 0 20 9 42
65 Total - 3797 207 91 1060 1216 6371

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,40 @@
# Summary
Date : 2023-02-27 12:22:06
Directory /home/lars/Projects/music-downloader/src
Total : 63 files, 4095 codes, 1060 comments, 1216 blanks, all 6371 lines
Summary / [Details](details.md) / [Diff Summary](diff.md) / [Diff Details](diff-details.md)
## Languages
| language | files | code | comment | blank | total |
| :--- | ---: | ---: | ---: | ---: | ---: |
| Python | 60 | 3,797 | 1,060 | 1,195 | 6,052 |
| SQLite | 2 | 207 | 0 | 20 | 227 |
| Database | 1 | 91 | 0 | 1 | 92 |
## Directories
| path | files | code | comment | blank | total |
| :--- | ---: | ---: | ---: | ---: | ---: |
| . | 63 | 4,095 | 1,060 | 1,216 | 6,371 |
| . (Files) | 9 | 253 | 125 | 74 | 452 |
| music_kraken | 51 | 3,803 | 929 | 1,133 | 5,865 |
| music_kraken (Files) | 2 | 60 | 10 | 28 | 98 |
| music_kraken/database | 8 | 865 | 343 | 275 | 1,483 |
| 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/objects | 11 | 936 | 287 | 280 | 1,503 |
| music_kraken/pages | 4 | 446 | 150 | 129 | 725 |
| 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 |
| tests | 3 | 39 | 6 | 9 | 54 |
Summary / [Details](details.md) / [Diff Summary](diff.md) / [Diff Details](diff-details.md)

View File

@ -0,0 +1,106 @@
Date : 2023-02-27 12:22:06
Directory : /home/lars/Projects/music-downloader/src
Total : 63 files, 4095 codes, 1060 comments, 1216 blanks, all 6371 lines
Languages
+----------+------------+------------+------------+------------+------------+
| language | files | code | comment | blank | total |
+----------+------------+------------+------------+------------+------------+
| Python | 60 | 3,797 | 1,060 | 1,195 | 6,052 |
| SQLite | 2 | 207 | 0 | 20 | 227 |
| Database | 1 | 91 | 0 | 1 | 92 |
+----------+------------+------------+------------+------------+------------+
Directories
+--------------------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+
| path | files | code | comment | blank | total |
+--------------------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+
| . | 63 | 4,095 | 1,060 | 1,216 | 6,371 |
| . (Files) | 9 | 253 | 125 | 74 | 452 |
| music_kraken | 51 | 3,803 | 929 | 1,133 | 5,865 |
| music_kraken (Files) | 2 | 60 | 10 | 28 | 98 |
| music_kraken/database | 8 | 865 | 343 | 275 | 1,483 |
| 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/objects | 11 | 936 | 287 | 280 | 1,503 |
| music_kraken/pages | 4 | 446 | 150 | 129 | 725 |
| 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 |
| tests | 3 | 39 | 6 | 9 | 54 |
+--------------------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+
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 | 48 | 4 | 15 | 67 |
| /home/lars/Projects/music-downloader/src/music_kraken/__init__.py | Python | 57 | 8 | 25 | 90 |
| /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/data_models.py | Python | 116 | 23 | 49 | 188 |
| /home/lars/Projects/music-downloader/src/music_kraken/database/database.py | Python | 84 | 48 | 26 | 158 |
| /home/lars/Projects/music-downloader/src/music_kraken/database/object_cache.py | Python | 35 | 56 | 16 | 107 |
| /home/lars/Projects/music-downloader/src/music_kraken/database/old_database.py | Python | 432 | 154 | 115 | 701 |
| /home/lars/Projects/music-downloader/src/music_kraken/database/read.py | Python | 0 | 0 | 1 | 1 |
| /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/database/write.py | Python | 168 | 62 | 55 | 285 |
| /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/objects/__init__.py | Python | 23 | 0 | 7 | 30 |
| /home/lars/Projects/music-downloader/src/music_kraken/objects/album.py | Python | 15 | 6 | 5 | 26 |
| /home/lars/Projects/music-downloader/src/music_kraken/objects/artist.py | Python | 18 | 0 | 5 | 23 |
| /home/lars/Projects/music-downloader/src/music_kraken/objects/collection.py | Python | 52 | 15 | 24 | 91 |
| /home/lars/Projects/music-downloader/src/music_kraken/objects/formatted_text.py | Python | 53 | 57 | 20 | 130 |
| /home/lars/Projects/music-downloader/src/music_kraken/objects/lyrics.py | Python | 21 | 0 | 7 | 28 |
| /home/lars/Projects/music-downloader/src/music_kraken/objects/metadata.py | Python | 262 | 68 | 63 | 393 |
| /home/lars/Projects/music-downloader/src/music_kraken/objects/parents.py | Python | 22 | 15 | 12 | 49 |
| /home/lars/Projects/music-downloader/src/music_kraken/objects/song.py | Python | 332 | 81 | 89 | 502 |
| /home/lars/Projects/music-downloader/src/music_kraken/objects/source.py | Python | 116 | 38 | 41 | 195 |
| /home/lars/Projects/music-downloader/src/music_kraken/objects/target.py | Python | 22 | 7 | 7 | 36 |
| /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 | 73 | 68 | 27 | 168 |
| /home/lars/Projects/music-downloader/src/music_kraken/pages/encyclopaedia_metallum.py | Python | 341 | 66 | 91 | 498 |
| /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 | 3 | 0 | 3 | 6 |
| /home/lars/Projects/music-downloader/src/music_kraken_gtk.py | Python | 3 | 0 | 2 | 5 |
| /home/lars/Projects/music-downloader/src/test.db | Database | 91 | 0 | 1 | 92 |
| /home/lars/Projects/music-downloader/src/tests/__init__.py | Python | 0 | 0 | 1 | 1 |
| /home/lars/Projects/music-downloader/src/tests/conftest.py | Python | 3 | 1 | 2 | 6 |
| /home/lars/Projects/music-downloader/src/tests/example_data_objects.py | Python | 36 | 5 | 6 | 47 |
| /home/lars/Projects/music-downloader/src/try-programming-interface.py | Python | 14 | 98 | 22 | 134 |
| /home/lars/Projects/music-downloader/src/try.py | Python | 1 | 0 | 3 | 4 |
| /home/lars/Projects/music-downloader/src/try_python.py | Python | 13 | 20 | 9 | 42 |
| Total | | 4,095 | 1,060 | 1,216 | 6,371 |
+--------------------------------------------------------------------------------------------------------+----------+------------+------------+------------+------------+

108
README.md
View File

@ -95,6 +95,114 @@ obj -> pg: add more detailed data from according page.
obj -> pg: if available download audio to target.
```
## Data Structure
The Data Structure, that the whole programm is built on looks as follows:
```mermaid
---
title: Music Data
---
erDiagram
Song {
}
Album {
}
Artist {
}
Label {
}
Source {
}
Target {
}
Lyrics {
}
Song ||--o{ Lyrics : contains
Song ||--o{ Target : points
Song }o--o{ Album : tracklist
Album }o--o{ Artist : discography
Label }o--o{ Album : released
Label }o--o{ Artist : contracted
Source }o--|| Song : from
Source }o--|| Lyrics : from
Source }o--|| Album : from
Source }o--|| Artist : from
Source }o--|| Label : from
```
Ok now this **WILL** look intimidating, thus I break it down quickly.
*That is also the reason I didn't add all Attributes here.*
The most important Entities are:
- Song
- Album
- Artist
- Label
All of them *(and Lyrics)* can have multiple Sources, and every Source can only Point to one of those Element.
The `Target` Entity represents the location on the hard drive a Song has. One Song can have multiple download Locations.
The `Lyrics` Entity simply represents the Lyrics of each Song. One Song can have multiple Lyrics, e.g. Translations.
Here is the simplified Diagramm without only the main Entities.
```mermaid
---
title: simplified Music Data
---
erDiagram
Song {
}
Album {
}
Artist {
}
Label {
}
Song }o--o{ Album : tracklist
Album }o--o{ Artist : discography
Label }o--o{ Album : released
Label }o--o{ Artist : contracted
```
Looks way more managebal, doesn't it?
The reason every relation here is a `n:m` *(many to many)* relation is not, that it makes sense in the aspekt of modeling reality, but to be able to put data from many Sources in the same Data Model.
Every Service models Data a bit different, and projecting a one to many relationship to a many to many relationship without data loss is easy. The other way around it is basically impossible
## DataClasses
```python