started implementing sponsorblock

This commit is contained in:
Hellow2 2023-06-14 12:38:36 +02:00
parent 01f882e0a1
commit 1e49089de9
20 changed files with 632 additions and 371 deletions

View File

@ -1,78 +0,0 @@
# Details
Date : 2023-02-28 10:10:37
Directory /home/lars/Projects/music-downloader/src
Total : 63 files, 4150 codes, 1060 comments, 1228 blanks, all 6438 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 | 123 | 23 | 52 | 198 |
| [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 | 210 | 62 | 63 | 335 |
| [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 | 24 | 0 | 7 | 31 |
| [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 | 337 | 81 | 90 | 508 |
| [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

@ -1,19 +0,0 @@
# Diff Details
Date : 2023-02-28 10:10:37
Directory /home/lars/Projects/music-downloader/src
Total : 4 files, 55 codes, 0 comments, 12 blanks, all 67 lines
[Summary](results.md) / [Details](details.md) / [Diff Summary](diff.md) / Diff Details
## Files
| filename | language | code | comment | blank | total |
| :--- | :--- | ---: | ---: | ---: | ---: |
| [src/music_kraken/database/data_models.py](/src/music_kraken/database/data_models.py) | Python | 7 | 0 | 3 | 10 |
| [src/music_kraken/database/write.py](/src/music_kraken/database/write.py) | Python | 42 | 0 | 8 | 50 |
| [src/music_kraken/objects/__init__.py](/src/music_kraken/objects/__init__.py) | Python | 1 | 0 | 0 | 1 |
| [src/music_kraken/objects/song.py](/src/music_kraken/objects/song.py) | Python | 5 | 0 | 1 | 6 |
[Summary](results.md) / [Details](details.md) / [Diff Summary](diff.md) / Diff Details

View File

@ -1,6 +0,0 @@
"filename", "language", "Python", "comment", "blank", "total"
"/home/lars/Projects/music-downloader/src/music_kraken/database/data_models.py", "Python", 7, 0, 3, 10
"/home/lars/Projects/music-downloader/src/music_kraken/database/write.py", "Python", 42, 0, 8, 50
"/home/lars/Projects/music-downloader/src/music_kraken/objects/__init__.py", "Python", 1, 0, 0, 1
"/home/lars/Projects/music-downloader/src/music_kraken/objects/song.py", "Python", 5, 0, 1, 6
"Total", "-", 55, 0, 12, 67
1 filename language Python comment blank total
2 /home/lars/Projects/music-downloader/src/music_kraken/database/data_models.py Python 7 0 3 10
3 /home/lars/Projects/music-downloader/src/music_kraken/database/write.py Python 42 0 8 50
4 /home/lars/Projects/music-downloader/src/music_kraken/objects/__init__.py Python 1 0 0 1
5 /home/lars/Projects/music-downloader/src/music_kraken/objects/song.py Python 5 0 1 6
6 Total - 55 0 12 67

View File

@ -1,24 +0,0 @@
# Diff Summary
Date : 2023-02-28 10:10:37
Directory /home/lars/Projects/music-downloader/src
Total : 4 files, 55 codes, 0 comments, 12 blanks, all 67 lines
[Summary](results.md) / [Details](details.md) / Diff Summary / [Diff Details](diff-details.md)
## Languages
| language | files | code | comment | blank | total |
| :--- | ---: | ---: | ---: | ---: | ---: |
| Python | 4 | 55 | 0 | 12 | 67 |
## Directories
| path | files | code | comment | blank | total |
| :--- | ---: | ---: | ---: | ---: | ---: |
| . | 4 | 55 | 0 | 12 | 67 |
| music_kraken | 4 | 55 | 0 | 12 | 67 |
| music_kraken/database | 2 | 49 | 0 | 11 | 60 |
| music_kraken/objects | 2 | 6 | 0 | 1 | 7 |
[Summary](results.md) / [Details](details.md) / Diff Summary / [Diff Details](diff-details.md)

View File

@ -1,31 +0,0 @@
Date : 2023-02-28 10:10:37
Directory : /home/lars/Projects/music-downloader/src
Total : 4 files, 55 codes, 0 comments, 12 blanks, all 67 lines
Languages
+----------+------------+------------+------------+------------+------------+
| language | files | code | comment | blank | total |
+----------+------------+------------+------------+------------+------------+
| Python | 4 | 55 | 0 | 12 | 67 |
+----------+------------+------------+------------+------------+------------+
Directories
+-------------------------------------------------------------------------------+------------+------------+------------+------------+------------+
| path | files | code | comment | blank | total |
+-------------------------------------------------------------------------------+------------+------------+------------+------------+------------+
| . | 4 | 55 | 0 | 12 | 67 |
| music_kraken | 4 | 55 | 0 | 12 | 67 |
| music_kraken/database | 2 | 49 | 0 | 11 | 60 |
| music_kraken/objects | 2 | 6 | 0 | 1 | 7 |
+-------------------------------------------------------------------------------+------------+------------+------------+------------+------------+
Files
+-------------------------------------------------------------------------------+----------+------------+------------+------------+------------+
| filename | language | code | comment | blank | total |
+-------------------------------------------------------------------------------+----------+------------+------------+------------+------------+
| /home/lars/Projects/music-downloader/src/music_kraken/database/data_models.py | Python | 7 | 0 | 3 | 10 |
| /home/lars/Projects/music-downloader/src/music_kraken/database/write.py | Python | 42 | 0 | 8 | 50 |
| /home/lars/Projects/music-downloader/src/music_kraken/objects/__init__.py | Python | 1 | 0 | 0 | 1 |
| /home/lars/Projects/music-downloader/src/music_kraken/objects/song.py | Python | 5 | 0 | 1 | 6 |
| Total | | 55 | 0 | 12 | 67 |
+-------------------------------------------------------------------------------+----------+------------+------------+------------+------------+

View File

@ -1,65 +0,0 @@
"filename", "language", "Python", "Database", "SQLite", "comment", "blank", "total"
"/home/lars/Projects/music-downloader/src/__init__.py", "Python", 0, 0, 0, 0, 1, 1
"/home/lars/Projects/music-downloader/src/create_custom_objects.py", "Python", 80, 0, 0, 3, 18, 101
"/home/lars/Projects/music-downloader/src/metal_archives.py", "Python", 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", 123, 0, 0, 23, 52, 198
"/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", 210, 0, 0, 62, 63, 335
"/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", 24, 0, 0, 0, 7, 31
"/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", 337, 0, 0, 81, 90, 508
"/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, 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", 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, 91, 0, 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", "-", 3852, 91, 207, 1060, 1228, 6438
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 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 123 0 0 23 52 198
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 210 0 0 62 63 335
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 24 0 0 0 7 31
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 337 0 0 81 90 508
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 0 72 0 10 82
45 /home/lars/Projects/music-downloader/src/music_kraken/static_files/temp_database_structure.sql SQLite 0 0 135 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 91 0 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 - 3852 91 207 1060 1228 6438

File diff suppressed because one or more lines are too long

View File

@ -1,40 +0,0 @@
# Summary
Date : 2023-02-28 10:10:37
Directory /home/lars/Projects/music-downloader/src
Total : 63 files, 4150 codes, 1060 comments, 1228 blanks, all 6438 lines
Summary / [Details](details.md) / [Diff Summary](diff.md) / [Diff Details](diff-details.md)
## Languages
| language | files | code | comment | blank | total |
| :--- | ---: | ---: | ---: | ---: | ---: |
| Python | 60 | 3,852 | 1,060 | 1,207 | 6,119 |
| SQLite | 2 | 207 | 0 | 20 | 227 |
| Database | 1 | 91 | 0 | 1 | 92 |
## Directories
| path | files | code | comment | blank | total |
| :--- | ---: | ---: | ---: | ---: | ---: |
| . | 63 | 4,150 | 1,060 | 1,228 | 6,438 |
| . (Files) | 9 | 253 | 125 | 74 | 452 |
| music_kraken | 51 | 3,858 | 929 | 1,145 | 5,932 |
| music_kraken (Files) | 2 | 60 | 10 | 28 | 98 |
| music_kraken/database | 8 | 914 | 343 | 286 | 1,543 |
| 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 | 942 | 287 | 281 | 1,510 |
| 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

@ -1,106 +0,0 @@
Date : 2023-02-28 10:10:37
Directory : /home/lars/Projects/music-downloader/src
Total : 63 files, 4150 codes, 1060 comments, 1228 blanks, all 6438 lines
Languages
+----------+------------+------------+------------+------------+------------+
| language | files | code | comment | blank | total |
+----------+------------+------------+------------+------------+------------+
| Python | 60 | 3,852 | 1,060 | 1,207 | 6,119 |
| SQLite | 2 | 207 | 0 | 20 | 227 |
| Database | 1 | 91 | 0 | 1 | 92 |
+----------+------------+------------+------------+------------+------------+
Directories
+--------------------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+
| path | files | code | comment | blank | total |
+--------------------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+
| . | 63 | 4,150 | 1,060 | 1,228 | 6,438 |
| . (Files) | 9 | 253 | 125 | 74 | 452 |
| music_kraken | 51 | 3,858 | 929 | 1,145 | 5,932 |
| music_kraken (Files) | 2 | 60 | 10 | 28 | 98 |
| music_kraken/database | 8 | 914 | 343 | 286 | 1,543 |
| 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 | 942 | 287 | 281 | 1,510 |
| 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 | 123 | 23 | 52 | 198 |
| /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 | 210 | 62 | 63 | 335 |
| /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 | 24 | 0 | 7 | 31 |
| /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 | 337 | 81 | 90 | 508 |
| /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,150 | 1,060 | 1,228 | 6,438 |
+--------------------------------------------------------------------------------------------------------+----------+------------+------------+------------+------------+

View File

@ -0,0 +1,98 @@
# Details
Date : 2023-06-14 07:47:51
Directory /home/lars/Projects/music-downloader/src
Total : 83 files, 5827 codes, 1152 comments, 1825 blanks, all 8804 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/actual_donwload.py](/src/actual_donwload.py) | Python | 16 | 0 | 6 | 22 |
| [src/create_custom_objects.py](/src/create_custom_objects.py) | Python | 58 | 0 | 6 | 64 |
| [src/metal_archives.py](/src/metal_archives.py) | Python | 30 | 0 | 12 | 42 |
| [src/music_kraken/__init__.py](/src/music_kraken/__init__.py) | Python | 112 | 6 | 33 | 151 |
| [src/music_kraken/__main__.py](/src/music_kraken/__main__.py) | Python | 98 | 3 | 23 | 124 |
| [src/music_kraken/audio/__init__.py](/src/music_kraken/audio/__init__.py) | Python | 7 | 0 | 3 | 10 |
| [src/music_kraken/audio/codec.py](/src/music_kraken/audio/codec.py) | Python | 25 | 0 | 8 | 33 |
| [src/music_kraken/audio/metadata.py](/src/music_kraken/audio/metadata.py) | Python | 60 | 4 | 24 | 88 |
| [src/music_kraken/cli/__init__.py](/src/music_kraken/cli/__init__.py) | Python | 2 | 0 | 0 | 2 |
| [src/music_kraken/cli/download/__init__.py](/src/music_kraken/cli/download/__init__.py) | Python | 0 | 0 | 1 | 1 |
| [src/music_kraken/cli/download/shell.py](/src/music_kraken/cli/download/shell.py) | Python | 199 | 86 | 78 | 363 |
| [src/music_kraken/cli/options/__init__.py](/src/music_kraken/cli/options/__init__.py) | Python | 3 | 0 | 1 | 4 |
| [src/music_kraken/cli/options/invidious/__init__.py](/src/music_kraken/cli/options/invidious/__init__.py) | Python | 0 | 0 | 1 | 1 |
| [src/music_kraken/cli/options/invidious/shell.py](/src/music_kraken/cli/options/invidious/shell.py) | Python | 66 | 7 | 28 | 101 |
| [src/music_kraken/connection/__init__.py](/src/music_kraken/connection/__init__.py) | Python | 1 | 0 | 1 | 2 |
| [src/music_kraken/connection/connection.py](/src/music_kraken/connection/connection.py) | Python | 168 | 1 | 30 | 199 |
| [src/music_kraken/connection/rotating.py](/src/music_kraken/connection/rotating.py) | Python | 27 | 3 | 14 | 44 |
| [src/music_kraken/database/__init__.py](/src/music_kraken/database/__init__.py) | Python | 0 | 0 | 1 | 1 |
| [src/music_kraken/database/data_models.py](/src/music_kraken/database/data_models.py) | Python | 122 | 24 | 52 | 198 |
| [src/music_kraken/database/database.py](/src/music_kraken/database/database.py) | Python | 104 | 47 | 38 | 189 |
| [src/music_kraken/download/__init__.py](/src/music_kraken/download/__init__.py) | Python | 1 | 0 | 1 | 2 |
| [src/music_kraken/download/multiple_options.py](/src/music_kraken/download/multiple_options.py) | Python | 69 | 0 | 31 | 100 |
| [src/music_kraken/download/page_attributes.py](/src/music_kraken/download/page_attributes.py) | Python | 67 | 1 | 29 | 97 |
| [src/music_kraken/download/results.py](/src/music_kraken/download/results.py) | Python | 62 | 7 | 26 | 95 |
| [src/music_kraken/download/search.py](/src/music_kraken/download/search.py) | Python | 124 | 24 | 56 | 204 |
| [src/music_kraken/objects/__init__.py](/src/music_kraken/objects/__init__.py) | Python | 14 | 0 | 5 | 19 |
| [src/music_kraken/objects/cache.py](/src/music_kraken/objects/cache.py) | Python | 37 | 56 | 18 | 111 |
| [src/music_kraken/objects/collection.py](/src/music_kraken/objects/collection.py) | Python | 91 | 31 | 39 | 161 |
| [src/music_kraken/objects/formatted_text.py](/src/music_kraken/objects/formatted_text.py) | Python | 50 | 10 | 19 | 79 |
| [src/music_kraken/objects/lyrics.py](/src/music_kraken/objects/lyrics.py) | Python | 25 | 0 | 7 | 32 |
| [src/music_kraken/objects/metadata.py](/src/music_kraken/objects/metadata.py) | Python | 272 | 62 | 63 | 397 |
| [src/music_kraken/objects/option.py](/src/music_kraken/objects/option.py) | Python | 28 | 0 | 13 | 41 |
| [src/music_kraken/objects/parents.py](/src/music_kraken/objects/parents.py) | Python | 71 | 35 | 35 | 141 |
| [src/music_kraken/objects/song.py](/src/music_kraken/objects/song.py) | Python | 480 | 113 | 120 | 713 |
| [src/music_kraken/objects/source.py](/src/music_kraken/objects/source.py) | Python | 93 | 16 | 33 | 142 |
| [src/music_kraken/objects/target.py](/src/music_kraken/objects/target.py) | Python | 65 | 15 | 24 | 104 |
| [src/music_kraken/pages/__init__.py](/src/music_kraken/pages/__init__.py) | Python | 4 | 0 | 2 | 6 |
| [src/music_kraken/pages/abstract.py](/src/music_kraken/pages/abstract.py) | Python | 234 | 46 | 93 | 373 |
| [src/music_kraken/pages/encyclopaedia_metallum.py](/src/music_kraken/pages/encyclopaedia_metallum.py) | Python | 432 | 90 | 127 | 649 |
| [src/music_kraken/pages/musify.py](/src/music_kraken/pages/musify.py) | Python | 576 | 275 | 166 | 1,017 |
| [src/music_kraken/pages/preset.py](/src/music_kraken/pages/preset.py) | Python | 47 | 1 | 17 | 65 |
| [src/music_kraken/pages/youtube.py](/src/music_kraken/pages/youtube.py) | Python | 254 | 45 | 79 | 378 |
| [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/utils/__init__.py](/src/music_kraken/utils/__init__.py) | Python | 2 | 1 | 2 | 5 |
| [src/music_kraken/utils/config/__init__.py](/src/music_kraken/utils/config/__init__.py) | Python | 7 | 0 | 4 | 11 |
| [src/music_kraken/utils/config/audio.py](/src/music_kraken/utils/config/audio.py) | Python | 152 | 15 | 28 | 195 |
| [src/music_kraken/utils/config/base_classes.py](/src/music_kraken/utils/config/base_classes.py) | Python | 136 | 35 | 61 | 232 |
| [src/music_kraken/utils/config/config.py](/src/music_kraken/utils/config/config.py) | Python | 92 | 16 | 30 | 138 |
| [src/music_kraken/utils/config/connection.py](/src/music_kraken/utils/config/connection.py) | Python | 80 | 2 | 15 | 97 |
| [src/music_kraken/utils/config/logging.py](/src/music_kraken/utils/config/logging.py) | Python | 104 | 4 | 17 | 125 |
| [src/music_kraken/utils/config/misc.py](/src/music_kraken/utils/config/misc.py) | Python | 40 | 0 | 9 | 49 |
| [src/music_kraken/utils/config/paths.py](/src/music_kraken/utils/config/paths.py) | Python | 40 | 0 | 13 | 53 |
| [src/music_kraken/utils/enums/__init__.py](/src/music_kraken/utils/enums/__init__.py) | Python | 0 | 0 | 1 | 1 |
| [src/music_kraken/utils/enums/album.py](/src/music_kraken/utils/enums/album.py) | Python | 16 | 6 | 5 | 27 |
| [src/music_kraken/utils/enums/source.py](/src/music_kraken/utils/enums/source.py) | Python | 40 | 1 | 8 | 49 |
| [src/music_kraken/utils/exception/__init__.py](/src/music_kraken/utils/exception/__init__.py) | Python | 1 | 0 | 1 | 2 |
| [src/music_kraken/utils/exception/config.py](/src/music_kraken/utils/exception/config.py) | Python | 14 | 8 | 7 | 29 |
| [src/music_kraken/utils/exception/download.py](/src/music_kraken/utils/exception/download.py) | Python | 8 | 0 | 4 | 12 |
| [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/path_manager/__init__.py](/src/music_kraken/utils/path_manager/__init__.py) | Python | 2 | 0 | 2 | 4 |
| [src/music_kraken/utils/path_manager/config_directory.py](/src/music_kraken/utils/path_manager/config_directory.py) | Python | 4 | 0 | 4 | 8 |
| [src/music_kraken/utils/path_manager/locations.py](/src/music_kraken/utils/path_manager/locations.py) | Python | 16 | 0 | 9 | 25 |
| [src/music_kraken/utils/path_manager/music_directory.py](/src/music_kraken/utils/path_manager/music_directory.py) | Python | 36 | 9 | 14 | 59 |
| [src/music_kraken/utils/phonetic_compares.py](/src/music_kraken/utils/phonetic_compares.py) | Python | 39 | 2 | 17 | 58 |
| [src/music_kraken/utils/regex.py](/src/music_kraken/utils/regex.py) | Python | 1 | 0 | 2 | 3 |
| [src/music_kraken/utils/shared.py](/src/music_kraken/utils/shared.py) | Python | 66 | 22 | 22 | 110 |
| [src/music_kraken/utils/string_processing.py](/src/music_kraken/utils/string_processing.py) | Python | 16 | 5 | 11 | 32 |
| [src/music_kraken/utils/support_classes/__init__.py](/src/music_kraken/utils/support_classes/__init__.py) | Python | 4 | 0 | 1 | 5 |
| [src/music_kraken/utils/support_classes/default_target.py](/src/music_kraken/utils/support_classes/default_target.py) | Python | 56 | 0 | 15 | 71 |
| [src/music_kraken/utils/support_classes/download_result.py](/src/music_kraken/utils/support_classes/download_result.py) | Python | 69 | 0 | 21 | 90 |
| [src/music_kraken/utils/support_classes/query.py](/src/music_kraken/utils/support_classes/query.py) | Python | 24 | 0 | 9 | 33 |
| [src/music_kraken/utils/support_classes/thread_classes.py](/src/music_kraken/utils/support_classes/thread_classes.py) | Python | 8 | 0 | 4 | 12 |
| [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/musify_search.py](/src/musify_search.py) | Python | 38 | 0 | 14 | 52 |
| [src/tests/__init__.py](/src/tests/__init__.py) | Python | 0 | 0 | 1 | 1 |
| [src/tests/conftest.py](/src/tests/conftest.py) | Python | 3 | 1 | 2 | 6 |
| [src/tests/test_building_objects.py](/src/tests/test_building_objects.py) | Python | 81 | 1 | 13 | 95 |
| [src/tests/test_download.py](/src/tests/test_download.py) | Python | 30 | 1 | 12 | 43 |
| [src/tests/test_objects.py](/src/tests/test_objects.py) | Python | 173 | 15 | 51 | 239 |
[Summary](results.md) / Details / [Diff Summary](diff.md) / [Diff Details](diff-details.md)

View File

@ -0,0 +1,59 @@
# Diff Details
Date : 2023-06-14 07:47:51
Directory /home/lars/Projects/music-downloader/src
Total : 44 files, -709 codes, -5 comments, -155 blanks, all -869 lines
[Summary](results.md) / [Details](details.md) / [Diff Summary](diff.md) / Diff Details
## Files
| filename | language | code | comment | blank | total |
| :--- | :--- | ---: | ---: | ---: | ---: |
| [src/actual_donwload.py](/src/actual_donwload.py) | Python | -27 | -2 | -12 | -41 |
| [src/music_kraken/__init__.py](/src/music_kraken/__init__.py) | Python | -77 | -15 | -27 | -119 |
| [src/music_kraken/__main__.py](/src/music_kraken/__main__.py) | Python | 10 | 0 | 2 | 12 |
| [src/music_kraken/cli/__init__.py](/src/music_kraken/cli/__init__.py) | Python | 2 | 0 | 0 | 2 |
| [src/music_kraken/cli/download/__init__.py](/src/music_kraken/cli/download/__init__.py) | Python | 0 | 0 | 1 | 1 |
| [src/music_kraken/cli/download/shell.py](/src/music_kraken/cli/download/shell.py) | Python | 199 | 86 | 78 | 363 |
| [src/music_kraken/cli/options/__init__.py](/src/music_kraken/cli/options/__init__.py) | Python | 3 | 0 | 1 | 4 |
| [src/music_kraken/cli/options/invidious/__init__.py](/src/music_kraken/cli/options/invidious/__init__.py) | Python | 0 | 0 | 1 | 1 |
| [src/music_kraken/cli/options/invidious/shell.py](/src/music_kraken/cli/options/invidious/shell.py) | Python | 66 | 7 | 28 | 101 |
| [src/music_kraken/connection/connection.py](/src/music_kraken/connection/connection.py) | Python | 6 | 0 | 0 | 6 |
| [src/music_kraken/download/__init__.py](/src/music_kraken/download/__init__.py) | Python | -1 | 0 | 0 | -1 |
| [src/music_kraken/download/download.py](/src/music_kraken/download/download.py) | Python | -35 | 0 | -14 | -49 |
| [src/music_kraken/download/page_attributes.py](/src/music_kraken/download/page_attributes.py) | Python | 46 | 0 | 19 | 65 |
| [src/music_kraken/download/results.py](/src/music_kraken/download/results.py) | Python | 62 | 7 | 26 | 95 |
| [src/music_kraken/download/search.py](/src/music_kraken/download/search.py) | Python | -6 | 0 | 0 | -6 |
| [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/metadata.py](/src/music_kraken/objects/metadata.py) | Python | 11 | 0 | 2 | 13 |
| [src/music_kraken/objects/parents.py](/src/music_kraken/objects/parents.py) | Python | 6 | 2 | 2 | 10 |
| [src/music_kraken/objects/song.py](/src/music_kraken/objects/song.py) | Python | 7 | 0 | 5 | 12 |
| [src/music_kraken/objects/source.py](/src/music_kraken/objects/source.py) | Python | 3 | 0 | 1 | 4 |
| [src/music_kraken/objects/target.py](/src/music_kraken/objects/target.py) | Python | 2 | 0 | 1 | 3 |
| [src/music_kraken/pages/__init__.py](/src/music_kraken/pages/__init__.py) | Python | 1 | 0 | 1 | 2 |
| [src/music_kraken/pages/abstract.py](/src/music_kraken/pages/abstract.py) | Python | -123 | 12 | -10 | -121 |
| [src/music_kraken/pages/musify.py](/src/music_kraken/pages/musify.py) | Python | -53 | -14 | -21 | -88 |
| [src/music_kraken/pages/preset.py](/src/music_kraken/pages/preset.py) | Python | 4 | 0 | 1 | 5 |
| [src/music_kraken/pages/youtube.py](/src/music_kraken/pages/youtube.py) | Python | 229 | 29 | 73 | 331 |
| [src/music_kraken/utils/config/connection.py](/src/music_kraken/utils/config/connection.py) | Python | -1 | 0 | 0 | -1 |
| [src/music_kraken/utils/exception/download.py](/src/music_kraken/utils/exception/download.py) | Python | 8 | 0 | 4 | 12 |
| [src/music_kraken/utils/shared.py](/src/music_kraken/utils/shared.py) | Python | 3 | 0 | 1 | 4 |
| [src/music_kraken/utils/support_classes/__init__.py](/src/music_kraken/utils/support_classes/__init__.py) | Python | 1 | 0 | 0 | 1 |
| [src/music_kraken/utils/support_classes/thread_classes.py](/src/music_kraken/utils/support_classes/thread_classes.py) | Python | 8 | 0 | 4 | 12 |
[Summary](results.md) / [Details](details.md) / [Diff Summary](diff.md) / Diff Details

View File

@ -0,0 +1,46 @@
"filename", "language", "Python", "comment", "blank", "total"
"/home/lars/Projects/music-downloader/src/actual_donwload.py", "Python", -27, -2, -12, -41
"/home/lars/Projects/music-downloader/src/music_kraken/__init__.py", "Python", -77, -15, -27, -119
"/home/lars/Projects/music-downloader/src/music_kraken/__main__.py", "Python", 10, 0, 2, 12
"/home/lars/Projects/music-downloader/src/music_kraken/cli/__init__.py", "Python", 2, 0, 0, 2
"/home/lars/Projects/music-downloader/src/music_kraken/cli/download/__init__.py", "Python", 0, 0, 1, 1
"/home/lars/Projects/music-downloader/src/music_kraken/cli/download/shell.py", "Python", 199, 86, 78, 363
"/home/lars/Projects/music-downloader/src/music_kraken/cli/options/__init__.py", "Python", 3, 0, 1, 4
"/home/lars/Projects/music-downloader/src/music_kraken/cli/options/invidious/__init__.py", "Python", 0, 0, 1, 1
"/home/lars/Projects/music-downloader/src/music_kraken/cli/options/invidious/shell.py", "Python", 66, 7, 28, 101
"/home/lars/Projects/music-downloader/src/music_kraken/connection/connection.py", "Python", 6, 0, 0, 6
"/home/lars/Projects/music-downloader/src/music_kraken/download/__init__.py", "Python", -1, 0, 0, -1
"/home/lars/Projects/music-downloader/src/music_kraken/download/download.py", "Python", -35, 0, -14, -49
"/home/lars/Projects/music-downloader/src/music_kraken/download/page_attributes.py", "Python", 46, 0, 19, 65
"/home/lars/Projects/music-downloader/src/music_kraken/download/results.py", "Python", 62, 7, 26, 95
"/home/lars/Projects/music-downloader/src/music_kraken/download/search.py", "Python", -6, 0, 0, -6
"/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/metadata.py", "Python", 11, 0, 2, 13
"/home/lars/Projects/music-downloader/src/music_kraken/objects/parents.py", "Python", 6, 2, 2, 10
"/home/lars/Projects/music-downloader/src/music_kraken/objects/song.py", "Python", 7, 0, 5, 12
"/home/lars/Projects/music-downloader/src/music_kraken/objects/source.py", "Python", 3, 0, 1, 4
"/home/lars/Projects/music-downloader/src/music_kraken/objects/target.py", "Python", 2, 0, 1, 3
"/home/lars/Projects/music-downloader/src/music_kraken/pages/__init__.py", "Python", 1, 0, 1, 2
"/home/lars/Projects/music-downloader/src/music_kraken/pages/abstract.py", "Python", -123, 12, -10, -121
"/home/lars/Projects/music-downloader/src/music_kraken/pages/musify.py", "Python", -53, -14, -21, -88
"/home/lars/Projects/music-downloader/src/music_kraken/pages/preset.py", "Python", 4, 0, 1, 5
"/home/lars/Projects/music-downloader/src/music_kraken/pages/youtube.py", "Python", 229, 29, 73, 331
"/home/lars/Projects/music-downloader/src/music_kraken/utils/config/connection.py", "Python", -1, 0, 0, -1
"/home/lars/Projects/music-downloader/src/music_kraken/utils/exception/download.py", "Python", 8, 0, 4, 12
"/home/lars/Projects/music-downloader/src/music_kraken/utils/shared.py", "Python", 3, 0, 1, 4
"/home/lars/Projects/music-downloader/src/music_kraken/utils/support_classes/__init__.py", "Python", 1, 0, 0, 1
"/home/lars/Projects/music-downloader/src/music_kraken/utils/support_classes/thread_classes.py", "Python", 8, 0, 4, 12
"Total", "-", -709, -5, -155, -869
1 filename language Python comment blank total
2 /home/lars/Projects/music-downloader/src/actual_donwload.py Python -27 -2 -12 -41
3 /home/lars/Projects/music-downloader/src/music_kraken/__init__.py Python -77 -15 -27 -119
4 /home/lars/Projects/music-downloader/src/music_kraken/__main__.py Python 10 0 2 12
5 /home/lars/Projects/music-downloader/src/music_kraken/cli/__init__.py Python 2 0 0 2
6 /home/lars/Projects/music-downloader/src/music_kraken/cli/download/__init__.py Python 0 0 1 1
7 /home/lars/Projects/music-downloader/src/music_kraken/cli/download/shell.py Python 199 86 78 363
8 /home/lars/Projects/music-downloader/src/music_kraken/cli/options/__init__.py Python 3 0 1 4
9 /home/lars/Projects/music-downloader/src/music_kraken/cli/options/invidious/__init__.py Python 0 0 1 1
10 /home/lars/Projects/music-downloader/src/music_kraken/cli/options/invidious/shell.py Python 66 7 28 101
11 /home/lars/Projects/music-downloader/src/music_kraken/connection/connection.py Python 6 0 0 6
12 /home/lars/Projects/music-downloader/src/music_kraken/download/__init__.py Python -1 0 0 -1
13 /home/lars/Projects/music-downloader/src/music_kraken/download/download.py Python -35 0 -14 -49
14 /home/lars/Projects/music-downloader/src/music_kraken/download/page_attributes.py Python 46 0 19 65
15 /home/lars/Projects/music-downloader/src/music_kraken/download/results.py Python 62 7 26 95
16 /home/lars/Projects/music-downloader/src/music_kraken/download/search.py Python -6 0 0 -6
17 /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/__init__.py Python 0 0 -3 -3
18 /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/fetch_audio.py Python -75 -12 -20 -107
19 /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/fetch_source.py Python -54 -1 -16 -71
20 /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/metadata/__init__.py Python -6 0 -2 -8
21 /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/metadata/metadata_fetch.py Python -257 -24 -65 -346
22 /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/metadata/metadata_search.py Python -253 -40 -72 -365
23 /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/metadata/sources/__init__.py Python -3 0 -2 -5
24 /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/metadata/sources/musicbrainz.py Python -42 -6 -12 -60
25 /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/sources/__init__.py Python 0 0 -1 -1
26 /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/sources/genius.py Python -115 -16 -42 -173
27 /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/sources/local_files.py Python -40 0 -18 -58
28 /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/sources/musify.py Python -136 -9 -37 -182
29 /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/sources/source.py Python -11 -5 -8 -24
30 /home/lars/Projects/music-downloader/src/music_kraken/not_used_anymore/sources/youtube.py Python -71 -4 -24 -99
31 /home/lars/Projects/music-downloader/src/music_kraken/objects/metadata.py Python 11 0 2 13
32 /home/lars/Projects/music-downloader/src/music_kraken/objects/parents.py Python 6 2 2 10
33 /home/lars/Projects/music-downloader/src/music_kraken/objects/song.py Python 7 0 5 12
34 /home/lars/Projects/music-downloader/src/music_kraken/objects/source.py Python 3 0 1 4
35 /home/lars/Projects/music-downloader/src/music_kraken/objects/target.py Python 2 0 1 3
36 /home/lars/Projects/music-downloader/src/music_kraken/pages/__init__.py Python 1 0 1 2
37 /home/lars/Projects/music-downloader/src/music_kraken/pages/abstract.py Python -123 12 -10 -121
38 /home/lars/Projects/music-downloader/src/music_kraken/pages/musify.py Python -53 -14 -21 -88
39 /home/lars/Projects/music-downloader/src/music_kraken/pages/preset.py Python 4 0 1 5
40 /home/lars/Projects/music-downloader/src/music_kraken/pages/youtube.py Python 229 29 73 331
41 /home/lars/Projects/music-downloader/src/music_kraken/utils/config/connection.py Python -1 0 0 -1
42 /home/lars/Projects/music-downloader/src/music_kraken/utils/exception/download.py Python 8 0 4 12
43 /home/lars/Projects/music-downloader/src/music_kraken/utils/shared.py Python 3 0 1 4
44 /home/lars/Projects/music-downloader/src/music_kraken/utils/support_classes/__init__.py Python 1 0 0 1
45 /home/lars/Projects/music-downloader/src/music_kraken/utils/support_classes/thread_classes.py Python 8 0 4 12
46 Total - -709 -5 -155 -869

View File

@ -0,0 +1,45 @@
# Diff Summary
Date : 2023-06-14 07:47:51
Directory /home/lars/Projects/music-downloader/src
Total : 44 files, -709 codes, -5 comments, -155 blanks, all -869 lines
[Summary](results.md) / [Details](details.md) / Diff Summary / [Diff Details](diff-details.md)
## Languages
| language | files | code | comment | blank | total |
| :--- | ---: | ---: | ---: | ---: | ---: |
| Python | 44 | -709 | -5 | -155 | -869 |
## Directories
| path | files | code | comment | blank | total |
| :--- | ---: | ---: | ---: | ---: | ---: |
| . | 44 | -709 | -5 | -155 | -869 |
| . (Files) | 1 | -27 | -2 | -12 | -41 |
| music_kraken | 43 | -682 | -3 | -143 | -828 |
| music_kraken (Files) | 2 | -67 | -15 | -25 | -107 |
| music_kraken/cli | 6 | 270 | 93 | 109 | 472 |
| music_kraken/cli (Files) | 1 | 2 | 0 | 0 | 2 |
| music_kraken/cli/download | 2 | 199 | 86 | 79 | 364 |
| music_kraken/cli/options | 3 | 69 | 7 | 30 | 106 |
| music_kraken/cli/options (Files) | 1 | 3 | 0 | 1 | 4 |
| music_kraken/cli/options/invidious | 2 | 66 | 7 | 29 | 102 |
| music_kraken/connection | 1 | 6 | 0 | 0 | 6 |
| music_kraken/download | 5 | 66 | 7 | 31 | 104 |
| 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 | 5 | 29 | 2 | 11 | 42 |
| music_kraken/pages | 5 | 58 | 27 | 44 | 129 |
| music_kraken/utils | 5 | 19 | 0 | 9 | 28 |
| music_kraken/utils (Files) | 1 | 3 | 0 | 1 | 4 |
| music_kraken/utils/config | 1 | -1 | 0 | 0 | -1 |
| music_kraken/utils/exception | 1 | 8 | 0 | 4 | 12 |
| music_kraken/utils/support_classes | 2 | 9 | 0 | 4 | 13 |
[Summary](results.md) / [Details](details.md) / Diff Summary / [Diff Details](diff-details.md)

View File

@ -0,0 +1,92 @@
Date : 2023-06-14 07:47:51
Directory : /home/lars/Projects/music-downloader/src
Total : 44 files, -709 codes, -5 comments, -155 blanks, all -869 lines
Languages
+----------+------------+------------+------------+------------+------------+
| language | files | code | comment | blank | total |
+----------+------------+------------+------------+------------+------------+
| Python | 44 | -709 | -5 | -155 | -869 |
+----------+------------+------------+------------+------------+------------+
Directories
+--------------------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+
| path | files | code | comment | blank | total |
+--------------------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+
| . | 44 | -709 | -5 | -155 | -869 |
| . (Files) | 1 | -27 | -2 | -12 | -41 |
| music_kraken | 43 | -682 | -3 | -143 | -828 |
| music_kraken (Files) | 2 | -67 | -15 | -25 | -107 |
| music_kraken/cli | 6 | 270 | 93 | 109 | 472 |
| music_kraken/cli (Files) | 1 | 2 | 0 | 0 | 2 |
| music_kraken/cli/download | 2 | 199 | 86 | 79 | 364 |
| music_kraken/cli/options | 3 | 69 | 7 | 30 | 106 |
| music_kraken/cli/options (Files) | 1 | 3 | 0 | 1 | 4 |
| music_kraken/cli/options/invidious | 2 | 66 | 7 | 29 | 102 |
| music_kraken/connection | 1 | 6 | 0 | 0 | 6 |
| music_kraken/download | 5 | 66 | 7 | 31 | 104 |
| 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 | 5 | 29 | 2 | 11 | 42 |
| music_kraken/pages | 5 | 58 | 27 | 44 | 129 |
| music_kraken/utils | 5 | 19 | 0 | 9 | 28 |
| music_kraken/utils (Files) | 1 | 3 | 0 | 1 | 4 |
| music_kraken/utils/config | 1 | -1 | 0 | 0 | -1 |
| music_kraken/utils/exception | 1 | 8 | 0 | 4 | 12 |
| music_kraken/utils/support_classes | 2 | 9 | 0 | 4 | 13 |
+--------------------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+
Files
+--------------------------------------------------------------------------------------------------------+----------+------------+------------+------------+------------+
| filename | language | code | comment | blank | total |
+--------------------------------------------------------------------------------------------------------+----------+------------+------------+------------+------------+
| /home/lars/Projects/music-downloader/src/actual_donwload.py | Python | -27 | -2 | -12 | -41 |
| /home/lars/Projects/music-downloader/src/music_kraken/__init__.py | Python | -77 | -15 | -27 | -119 |
| /home/lars/Projects/music-downloader/src/music_kraken/__main__.py | Python | 10 | 0 | 2 | 12 |
| /home/lars/Projects/music-downloader/src/music_kraken/cli/__init__.py | Python | 2 | 0 | 0 | 2 |
| /home/lars/Projects/music-downloader/src/music_kraken/cli/download/__init__.py | Python | 0 | 0 | 1 | 1 |
| /home/lars/Projects/music-downloader/src/music_kraken/cli/download/shell.py | Python | 199 | 86 | 78 | 363 |
| /home/lars/Projects/music-downloader/src/music_kraken/cli/options/__init__.py | Python | 3 | 0 | 1 | 4 |
| /home/lars/Projects/music-downloader/src/music_kraken/cli/options/invidious/__init__.py | Python | 0 | 0 | 1 | 1 |
| /home/lars/Projects/music-downloader/src/music_kraken/cli/options/invidious/shell.py | Python | 66 | 7 | 28 | 101 |
| /home/lars/Projects/music-downloader/src/music_kraken/connection/connection.py | Python | 6 | 0 | 0 | 6 |
| /home/lars/Projects/music-downloader/src/music_kraken/download/__init__.py | Python | -1 | 0 | 0 | -1 |
| /home/lars/Projects/music-downloader/src/music_kraken/download/download.py | Python | -35 | 0 | -14 | -49 |
| /home/lars/Projects/music-downloader/src/music_kraken/download/page_attributes.py | Python | 46 | 0 | 19 | 65 |
| /home/lars/Projects/music-downloader/src/music_kraken/download/results.py | Python | 62 | 7 | 26 | 95 |
| /home/lars/Projects/music-downloader/src/music_kraken/download/search.py | Python | -6 | 0 | 0 | -6 |
| /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/metadata.py | Python | 11 | 0 | 2 | 13 |
| /home/lars/Projects/music-downloader/src/music_kraken/objects/parents.py | Python | 6 | 2 | 2 | 10 |
| /home/lars/Projects/music-downloader/src/music_kraken/objects/song.py | Python | 7 | 0 | 5 | 12 |
| /home/lars/Projects/music-downloader/src/music_kraken/objects/source.py | Python | 3 | 0 | 1 | 4 |
| /home/lars/Projects/music-downloader/src/music_kraken/objects/target.py | Python | 2 | 0 | 1 | 3 |
| /home/lars/Projects/music-downloader/src/music_kraken/pages/__init__.py | Python | 1 | 0 | 1 | 2 |
| /home/lars/Projects/music-downloader/src/music_kraken/pages/abstract.py | Python | -123 | 12 | -10 | -121 |
| /home/lars/Projects/music-downloader/src/music_kraken/pages/musify.py | Python | -53 | -14 | -21 | -88 |
| /home/lars/Projects/music-downloader/src/music_kraken/pages/preset.py | Python | 4 | 0 | 1 | 5 |
| /home/lars/Projects/music-downloader/src/music_kraken/pages/youtube.py | Python | 229 | 29 | 73 | 331 |
| /home/lars/Projects/music-downloader/src/music_kraken/utils/config/connection.py | Python | -1 | 0 | 0 | -1 |
| /home/lars/Projects/music-downloader/src/music_kraken/utils/exception/download.py | Python | 8 | 0 | 4 | 12 |
| /home/lars/Projects/music-downloader/src/music_kraken/utils/shared.py | Python | 3 | 0 | 1 | 4 |
| /home/lars/Projects/music-downloader/src/music_kraken/utils/support_classes/__init__.py | Python | 1 | 0 | 0 | 1 |
| /home/lars/Projects/music-downloader/src/music_kraken/utils/support_classes/thread_classes.py | Python | 8 | 0 | 4 | 12 |
| Total | | -709 | -5 | -155 | -869 |
+--------------------------------------------------------------------------------------------------------+----------+------------+------------+------------+------------+

View File

@ -0,0 +1,85 @@
"filename", "language", "Python", "SQLite", "comment", "blank", "total"
"/home/lars/Projects/music-downloader/src/__init__.py", "Python", 0, 0, 0, 1, 1
"/home/lars/Projects/music-downloader/src/actual_donwload.py", "Python", 16, 0, 0, 6, 22
"/home/lars/Projects/music-downloader/src/create_custom_objects.py", "Python", 58, 0, 0, 6, 64
"/home/lars/Projects/music-downloader/src/metal_archives.py", "Python", 30, 0, 0, 12, 42
"/home/lars/Projects/music-downloader/src/music_kraken/__init__.py", "Python", 112, 0, 6, 33, 151
"/home/lars/Projects/music-downloader/src/music_kraken/__main__.py", "Python", 98, 0, 3, 23, 124
"/home/lars/Projects/music-downloader/src/music_kraken/audio/__init__.py", "Python", 7, 0, 0, 3, 10
"/home/lars/Projects/music-downloader/src/music_kraken/audio/codec.py", "Python", 25, 0, 0, 8, 33
"/home/lars/Projects/music-downloader/src/music_kraken/audio/metadata.py", "Python", 60, 0, 4, 24, 88
"/home/lars/Projects/music-downloader/src/music_kraken/cli/__init__.py", "Python", 2, 0, 0, 0, 2
"/home/lars/Projects/music-downloader/src/music_kraken/cli/download/__init__.py", "Python", 0, 0, 0, 1, 1
"/home/lars/Projects/music-downloader/src/music_kraken/cli/download/shell.py", "Python", 199, 0, 86, 78, 363
"/home/lars/Projects/music-downloader/src/music_kraken/cli/options/__init__.py", "Python", 3, 0, 0, 1, 4
"/home/lars/Projects/music-downloader/src/music_kraken/cli/options/invidious/__init__.py", "Python", 0, 0, 0, 1, 1
"/home/lars/Projects/music-downloader/src/music_kraken/cli/options/invidious/shell.py", "Python", 66, 0, 7, 28, 101
"/home/lars/Projects/music-downloader/src/music_kraken/connection/__init__.py", "Python", 1, 0, 0, 1, 2
"/home/lars/Projects/music-downloader/src/music_kraken/connection/connection.py", "Python", 168, 0, 1, 30, 199
"/home/lars/Projects/music-downloader/src/music_kraken/connection/rotating.py", "Python", 27, 0, 3, 14, 44
"/home/lars/Projects/music-downloader/src/music_kraken/database/__init__.py", "Python", 0, 0, 0, 1, 1
"/home/lars/Projects/music-downloader/src/music_kraken/database/data_models.py", "Python", 122, 0, 24, 52, 198
"/home/lars/Projects/music-downloader/src/music_kraken/database/database.py", "Python", 104, 0, 47, 38, 189
"/home/lars/Projects/music-downloader/src/music_kraken/download/__init__.py", "Python", 1, 0, 0, 1, 2
"/home/lars/Projects/music-downloader/src/music_kraken/download/multiple_options.py", "Python", 69, 0, 0, 31, 100
"/home/lars/Projects/music-downloader/src/music_kraken/download/page_attributes.py", "Python", 67, 0, 1, 29, 97
"/home/lars/Projects/music-downloader/src/music_kraken/download/results.py", "Python", 62, 0, 7, 26, 95
"/home/lars/Projects/music-downloader/src/music_kraken/download/search.py", "Python", 124, 0, 24, 56, 204
"/home/lars/Projects/music-downloader/src/music_kraken/objects/__init__.py", "Python", 14, 0, 0, 5, 19
"/home/lars/Projects/music-downloader/src/music_kraken/objects/cache.py", "Python", 37, 0, 56, 18, 111
"/home/lars/Projects/music-downloader/src/music_kraken/objects/collection.py", "Python", 91, 0, 31, 39, 161
"/home/lars/Projects/music-downloader/src/music_kraken/objects/formatted_text.py", "Python", 50, 0, 10, 19, 79
"/home/lars/Projects/music-downloader/src/music_kraken/objects/lyrics.py", "Python", 25, 0, 0, 7, 32
"/home/lars/Projects/music-downloader/src/music_kraken/objects/metadata.py", "Python", 272, 0, 62, 63, 397
"/home/lars/Projects/music-downloader/src/music_kraken/objects/option.py", "Python", 28, 0, 0, 13, 41
"/home/lars/Projects/music-downloader/src/music_kraken/objects/parents.py", "Python", 71, 0, 35, 35, 141
"/home/lars/Projects/music-downloader/src/music_kraken/objects/song.py", "Python", 480, 0, 113, 120, 713
"/home/lars/Projects/music-downloader/src/music_kraken/objects/source.py", "Python", 93, 0, 16, 33, 142
"/home/lars/Projects/music-downloader/src/music_kraken/objects/target.py", "Python", 65, 0, 15, 24, 104
"/home/lars/Projects/music-downloader/src/music_kraken/pages/__init__.py", "Python", 4, 0, 0, 2, 6
"/home/lars/Projects/music-downloader/src/music_kraken/pages/abstract.py", "Python", 234, 0, 46, 93, 373
"/home/lars/Projects/music-downloader/src/music_kraken/pages/encyclopaedia_metallum.py", "Python", 432, 0, 90, 127, 649
"/home/lars/Projects/music-downloader/src/music_kraken/pages/musify.py", "Python", 576, 0, 275, 166, 1017
"/home/lars/Projects/music-downloader/src/music_kraken/pages/preset.py", "Python", 47, 0, 1, 17, 65
"/home/lars/Projects/music-downloader/src/music_kraken/pages/youtube.py", "Python", 254, 0, 45, 79, 378
"/home/lars/Projects/music-downloader/src/music_kraken/static_files/new_db.sql", "SQLite", 0, 72, 0, 10, 82
"/home/lars/Projects/music-downloader/src/music_kraken/static_files/temp_database_structure.sql", "SQLite", 0, 135, 0, 10, 145
"/home/lars/Projects/music-downloader/src/music_kraken/utils/__init__.py", "Python", 2, 0, 1, 2, 5
"/home/lars/Projects/music-downloader/src/music_kraken/utils/config/__init__.py", "Python", 7, 0, 0, 4, 11
"/home/lars/Projects/music-downloader/src/music_kraken/utils/config/audio.py", "Python", 152, 0, 15, 28, 195
"/home/lars/Projects/music-downloader/src/music_kraken/utils/config/base_classes.py", "Python", 136, 0, 35, 61, 232
"/home/lars/Projects/music-downloader/src/music_kraken/utils/config/config.py", "Python", 92, 0, 16, 30, 138
"/home/lars/Projects/music-downloader/src/music_kraken/utils/config/connection.py", "Python", 80, 0, 2, 15, 97
"/home/lars/Projects/music-downloader/src/music_kraken/utils/config/logging.py", "Python", 104, 0, 4, 17, 125
"/home/lars/Projects/music-downloader/src/music_kraken/utils/config/misc.py", "Python", 40, 0, 0, 9, 49
"/home/lars/Projects/music-downloader/src/music_kraken/utils/config/paths.py", "Python", 40, 0, 0, 13, 53
"/home/lars/Projects/music-downloader/src/music_kraken/utils/enums/__init__.py", "Python", 0, 0, 0, 1, 1
"/home/lars/Projects/music-downloader/src/music_kraken/utils/enums/album.py", "Python", 16, 0, 6, 5, 27
"/home/lars/Projects/music-downloader/src/music_kraken/utils/enums/source.py", "Python", 40, 0, 1, 8, 49
"/home/lars/Projects/music-downloader/src/music_kraken/utils/exception/__init__.py", "Python", 1, 0, 0, 1, 2
"/home/lars/Projects/music-downloader/src/music_kraken/utils/exception/config.py", "Python", 14, 0, 8, 7, 29
"/home/lars/Projects/music-downloader/src/music_kraken/utils/exception/download.py", "Python", 8, 0, 0, 4, 12
"/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/path_manager/__init__.py", "Python", 2, 0, 0, 2, 4
"/home/lars/Projects/music-downloader/src/music_kraken/utils/path_manager/config_directory.py", "Python", 4, 0, 0, 4, 8
"/home/lars/Projects/music-downloader/src/music_kraken/utils/path_manager/locations.py", "Python", 16, 0, 0, 9, 25
"/home/lars/Projects/music-downloader/src/music_kraken/utils/path_manager/music_directory.py", "Python", 36, 0, 9, 14, 59
"/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/regex.py", "Python", 1, 0, 0, 2, 3
"/home/lars/Projects/music-downloader/src/music_kraken/utils/shared.py", "Python", 66, 0, 22, 22, 110
"/home/lars/Projects/music-downloader/src/music_kraken/utils/string_processing.py", "Python", 16, 0, 5, 11, 32
"/home/lars/Projects/music-downloader/src/music_kraken/utils/support_classes/__init__.py", "Python", 4, 0, 0, 1, 5
"/home/lars/Projects/music-downloader/src/music_kraken/utils/support_classes/default_target.py", "Python", 56, 0, 0, 15, 71
"/home/lars/Projects/music-downloader/src/music_kraken/utils/support_classes/download_result.py", "Python", 69, 0, 0, 21, 90
"/home/lars/Projects/music-downloader/src/music_kraken/utils/support_classes/query.py", "Python", 24, 0, 0, 9, 33
"/home/lars/Projects/music-downloader/src/music_kraken/utils/support_classes/thread_classes.py", "Python", 8, 0, 0, 4, 12
"/home/lars/Projects/music-downloader/src/music_kraken_cli.py", "Python", 3, 0, 0, 3, 6
"/home/lars/Projects/music-downloader/src/music_kraken_gtk.py", "Python", 3, 0, 0, 2, 5
"/home/lars/Projects/music-downloader/src/musify_search.py", "Python", 38, 0, 0, 14, 52
"/home/lars/Projects/music-downloader/src/tests/__init__.py", "Python", 0, 0, 0, 1, 1
"/home/lars/Projects/music-downloader/src/tests/conftest.py", "Python", 3, 0, 1, 2, 6
"/home/lars/Projects/music-downloader/src/tests/test_building_objects.py", "Python", 81, 0, 1, 13, 95
"/home/lars/Projects/music-downloader/src/tests/test_download.py", "Python", 30, 0, 1, 12, 43
"/home/lars/Projects/music-downloader/src/tests/test_objects.py", "Python", 173, 0, 15, 51, 239
"Total", "-", 5620, 207, 1152, 1825, 8804
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/actual_donwload.py Python 16 0 0 6 22
4 /home/lars/Projects/music-downloader/src/create_custom_objects.py Python 58 0 0 6 64
5 /home/lars/Projects/music-downloader/src/metal_archives.py Python 30 0 0 12 42
6 /home/lars/Projects/music-downloader/src/music_kraken/__init__.py Python 112 0 6 33 151
7 /home/lars/Projects/music-downloader/src/music_kraken/__main__.py Python 98 0 3 23 124
8 /home/lars/Projects/music-downloader/src/music_kraken/audio/__init__.py Python 7 0 0 3 10
9 /home/lars/Projects/music-downloader/src/music_kraken/audio/codec.py Python 25 0 0 8 33
10 /home/lars/Projects/music-downloader/src/music_kraken/audio/metadata.py Python 60 0 4 24 88
11 /home/lars/Projects/music-downloader/src/music_kraken/cli/__init__.py Python 2 0 0 0 2
12 /home/lars/Projects/music-downloader/src/music_kraken/cli/download/__init__.py Python 0 0 0 1 1
13 /home/lars/Projects/music-downloader/src/music_kraken/cli/download/shell.py Python 199 0 86 78 363
14 /home/lars/Projects/music-downloader/src/music_kraken/cli/options/__init__.py Python 3 0 0 1 4
15 /home/lars/Projects/music-downloader/src/music_kraken/cli/options/invidious/__init__.py Python 0 0 0 1 1
16 /home/lars/Projects/music-downloader/src/music_kraken/cli/options/invidious/shell.py Python 66 0 7 28 101
17 /home/lars/Projects/music-downloader/src/music_kraken/connection/__init__.py Python 1 0 0 1 2
18 /home/lars/Projects/music-downloader/src/music_kraken/connection/connection.py Python 168 0 1 30 199
19 /home/lars/Projects/music-downloader/src/music_kraken/connection/rotating.py Python 27 0 3 14 44
20 /home/lars/Projects/music-downloader/src/music_kraken/database/__init__.py Python 0 0 0 1 1
21 /home/lars/Projects/music-downloader/src/music_kraken/database/data_models.py Python 122 0 24 52 198
22 /home/lars/Projects/music-downloader/src/music_kraken/database/database.py Python 104 0 47 38 189
23 /home/lars/Projects/music-downloader/src/music_kraken/download/__init__.py Python 1 0 0 1 2
24 /home/lars/Projects/music-downloader/src/music_kraken/download/multiple_options.py Python 69 0 0 31 100
25 /home/lars/Projects/music-downloader/src/music_kraken/download/page_attributes.py Python 67 0 1 29 97
26 /home/lars/Projects/music-downloader/src/music_kraken/download/results.py Python 62 0 7 26 95
27 /home/lars/Projects/music-downloader/src/music_kraken/download/search.py Python 124 0 24 56 204
28 /home/lars/Projects/music-downloader/src/music_kraken/objects/__init__.py Python 14 0 0 5 19
29 /home/lars/Projects/music-downloader/src/music_kraken/objects/cache.py Python 37 0 56 18 111
30 /home/lars/Projects/music-downloader/src/music_kraken/objects/collection.py Python 91 0 31 39 161
31 /home/lars/Projects/music-downloader/src/music_kraken/objects/formatted_text.py Python 50 0 10 19 79
32 /home/lars/Projects/music-downloader/src/music_kraken/objects/lyrics.py Python 25 0 0 7 32
33 /home/lars/Projects/music-downloader/src/music_kraken/objects/metadata.py Python 272 0 62 63 397
34 /home/lars/Projects/music-downloader/src/music_kraken/objects/option.py Python 28 0 0 13 41
35 /home/lars/Projects/music-downloader/src/music_kraken/objects/parents.py Python 71 0 35 35 141
36 /home/lars/Projects/music-downloader/src/music_kraken/objects/song.py Python 480 0 113 120 713
37 /home/lars/Projects/music-downloader/src/music_kraken/objects/source.py Python 93 0 16 33 142
38 /home/lars/Projects/music-downloader/src/music_kraken/objects/target.py Python 65 0 15 24 104
39 /home/lars/Projects/music-downloader/src/music_kraken/pages/__init__.py Python 4 0 0 2 6
40 /home/lars/Projects/music-downloader/src/music_kraken/pages/abstract.py Python 234 0 46 93 373
41 /home/lars/Projects/music-downloader/src/music_kraken/pages/encyclopaedia_metallum.py Python 432 0 90 127 649
42 /home/lars/Projects/music-downloader/src/music_kraken/pages/musify.py Python 576 0 275 166 1017
43 /home/lars/Projects/music-downloader/src/music_kraken/pages/preset.py Python 47 0 1 17 65
44 /home/lars/Projects/music-downloader/src/music_kraken/pages/youtube.py Python 254 0 45 79 378
45 /home/lars/Projects/music-downloader/src/music_kraken/static_files/new_db.sql SQLite 0 72 0 10 82
46 /home/lars/Projects/music-downloader/src/music_kraken/static_files/temp_database_structure.sql SQLite 0 135 0 10 145
47 /home/lars/Projects/music-downloader/src/music_kraken/utils/__init__.py Python 2 0 1 2 5
48 /home/lars/Projects/music-downloader/src/music_kraken/utils/config/__init__.py Python 7 0 0 4 11
49 /home/lars/Projects/music-downloader/src/music_kraken/utils/config/audio.py Python 152 0 15 28 195
50 /home/lars/Projects/music-downloader/src/music_kraken/utils/config/base_classes.py Python 136 0 35 61 232
51 /home/lars/Projects/music-downloader/src/music_kraken/utils/config/config.py Python 92 0 16 30 138
52 /home/lars/Projects/music-downloader/src/music_kraken/utils/config/connection.py Python 80 0 2 15 97
53 /home/lars/Projects/music-downloader/src/music_kraken/utils/config/logging.py Python 104 0 4 17 125
54 /home/lars/Projects/music-downloader/src/music_kraken/utils/config/misc.py Python 40 0 0 9 49
55 /home/lars/Projects/music-downloader/src/music_kraken/utils/config/paths.py Python 40 0 0 13 53
56 /home/lars/Projects/music-downloader/src/music_kraken/utils/enums/__init__.py Python 0 0 0 1 1
57 /home/lars/Projects/music-downloader/src/music_kraken/utils/enums/album.py Python 16 0 6 5 27
58 /home/lars/Projects/music-downloader/src/music_kraken/utils/enums/source.py Python 40 0 1 8 49
59 /home/lars/Projects/music-downloader/src/music_kraken/utils/exception/__init__.py Python 1 0 0 1 2
60 /home/lars/Projects/music-downloader/src/music_kraken/utils/exception/config.py Python 14 0 8 7 29
61 /home/lars/Projects/music-downloader/src/music_kraken/utils/exception/download.py Python 8 0 0 4 12
62 /home/lars/Projects/music-downloader/src/music_kraken/utils/functions.py Python 3 0 0 1 4
63 /home/lars/Projects/music-downloader/src/music_kraken/utils/object_handeling.py Python 19 0 0 6 25
64 /home/lars/Projects/music-downloader/src/music_kraken/utils/path_manager/__init__.py Python 2 0 0 2 4
65 /home/lars/Projects/music-downloader/src/music_kraken/utils/path_manager/config_directory.py Python 4 0 0 4 8
66 /home/lars/Projects/music-downloader/src/music_kraken/utils/path_manager/locations.py Python 16 0 0 9 25
67 /home/lars/Projects/music-downloader/src/music_kraken/utils/path_manager/music_directory.py Python 36 0 9 14 59
68 /home/lars/Projects/music-downloader/src/music_kraken/utils/phonetic_compares.py Python 39 0 2 17 58
69 /home/lars/Projects/music-downloader/src/music_kraken/utils/regex.py Python 1 0 0 2 3
70 /home/lars/Projects/music-downloader/src/music_kraken/utils/shared.py Python 66 0 22 22 110
71 /home/lars/Projects/music-downloader/src/music_kraken/utils/string_processing.py Python 16 0 5 11 32
72 /home/lars/Projects/music-downloader/src/music_kraken/utils/support_classes/__init__.py Python 4 0 0 1 5
73 /home/lars/Projects/music-downloader/src/music_kraken/utils/support_classes/default_target.py Python 56 0 0 15 71
74 /home/lars/Projects/music-downloader/src/music_kraken/utils/support_classes/download_result.py Python 69 0 0 21 90
75 /home/lars/Projects/music-downloader/src/music_kraken/utils/support_classes/query.py Python 24 0 0 9 33
76 /home/lars/Projects/music-downloader/src/music_kraken/utils/support_classes/thread_classes.py Python 8 0 0 4 12
77 /home/lars/Projects/music-downloader/src/music_kraken_cli.py Python 3 0 0 3 6
78 /home/lars/Projects/music-downloader/src/music_kraken_gtk.py Python 3 0 0 2 5
79 /home/lars/Projects/music-downloader/src/musify_search.py Python 38 0 0 14 52
80 /home/lars/Projects/music-downloader/src/tests/__init__.py Python 0 0 0 1 1
81 /home/lars/Projects/music-downloader/src/tests/conftest.py Python 3 0 1 2 6
82 /home/lars/Projects/music-downloader/src/tests/test_building_objects.py Python 81 0 1 13 95
83 /home/lars/Projects/music-downloader/src/tests/test_download.py Python 30 0 1 12 43
84 /home/lars/Projects/music-downloader/src/tests/test_objects.py Python 173 0 15 51 239
85 Total - 5620 207 1152 1825 8804

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,46 @@
# Summary
Date : 2023-06-14 07:47:51
Directory /home/lars/Projects/music-downloader/src
Total : 83 files, 5827 codes, 1152 comments, 1825 blanks, all 8804 lines
Summary / [Details](details.md) / [Diff Summary](diff.md) / [Diff Details](diff-details.md)
## Languages
| language | files | code | comment | blank | total |
| :--- | ---: | ---: | ---: | ---: | ---: |
| Python | 81 | 5,620 | 1,152 | 1,805 | 8,577 |
| SQLite | 2 | 207 | 0 | 20 | 227 |
## Directories
| path | files | code | comment | blank | total |
| :--- | ---: | ---: | ---: | ---: | ---: |
| . | 83 | 5,827 | 1,152 | 1,825 | 8,804 |
| . (Files) | 7 | 148 | 0 | 44 | 192 |
| music_kraken | 71 | 5,392 | 1,134 | 1,702 | 8,228 |
| music_kraken (Files) | 2 | 210 | 9 | 56 | 275 |
| music_kraken/audio | 3 | 92 | 4 | 35 | 131 |
| music_kraken/cli | 6 | 270 | 93 | 109 | 472 |
| music_kraken/cli (Files) | 1 | 2 | 0 | 0 | 2 |
| music_kraken/cli/download | 2 | 199 | 86 | 79 | 364 |
| music_kraken/cli/options | 3 | 69 | 7 | 30 | 106 |
| music_kraken/cli/options (Files) | 1 | 3 | 0 | 1 | 4 |
| music_kraken/cli/options/invidious | 2 | 66 | 7 | 29 | 102 |
| music_kraken/connection | 3 | 196 | 4 | 45 | 245 |
| music_kraken/database | 3 | 226 | 71 | 91 | 388 |
| music_kraken/download | 5 | 323 | 32 | 143 | 498 |
| music_kraken/objects | 11 | 1,226 | 338 | 376 | 1,940 |
| music_kraken/pages | 6 | 1,547 | 457 | 484 | 2,488 |
| music_kraken/static_files | 2 | 207 | 0 | 20 | 227 |
| music_kraken/utils | 30 | 1,095 | 126 | 343 | 1,564 |
| music_kraken/utils (Files) | 7 | 146 | 30 | 61 | 237 |
| music_kraken/utils/config | 8 | 651 | 72 | 177 | 900 |
| music_kraken/utils/enums | 3 | 56 | 7 | 14 | 77 |
| music_kraken/utils/exception | 3 | 23 | 8 | 12 | 43 |
| music_kraken/utils/path_manager | 4 | 58 | 9 | 29 | 96 |
| music_kraken/utils/support_classes | 5 | 161 | 0 | 50 | 211 |
| tests | 5 | 287 | 18 | 79 | 384 |
Summary / [Details](details.md) / [Diff Summary](diff.md) / [Diff Details](diff-details.md)

View File

@ -0,0 +1,132 @@
Date : 2023-06-14 07:47:51
Directory : /home/lars/Projects/music-downloader/src
Total : 83 files, 5827 codes, 1152 comments, 1825 blanks, all 8804 lines
Languages
+----------+------------+------------+------------+------------+------------+
| language | files | code | comment | blank | total |
+----------+------------+------------+------------+------------+------------+
| Python | 81 | 5,620 | 1,152 | 1,805 | 8,577 |
| SQLite | 2 | 207 | 0 | 20 | 227 |
+----------+------------+------------+------------+------------+------------+
Directories
+------------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+
| path | files | code | comment | blank | total |
+------------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+
| . | 83 | 5,827 | 1,152 | 1,825 | 8,804 |
| . (Files) | 7 | 148 | 0 | 44 | 192 |
| music_kraken | 71 | 5,392 | 1,134 | 1,702 | 8,228 |
| music_kraken (Files) | 2 | 210 | 9 | 56 | 275 |
| music_kraken/audio | 3 | 92 | 4 | 35 | 131 |
| music_kraken/cli | 6 | 270 | 93 | 109 | 472 |
| music_kraken/cli (Files) | 1 | 2 | 0 | 0 | 2 |
| music_kraken/cli/download | 2 | 199 | 86 | 79 | 364 |
| music_kraken/cli/options | 3 | 69 | 7 | 30 | 106 |
| music_kraken/cli/options (Files) | 1 | 3 | 0 | 1 | 4 |
| music_kraken/cli/options/invidious | 2 | 66 | 7 | 29 | 102 |
| music_kraken/connection | 3 | 196 | 4 | 45 | 245 |
| music_kraken/database | 3 | 226 | 71 | 91 | 388 |
| music_kraken/download | 5 | 323 | 32 | 143 | 498 |
| music_kraken/objects | 11 | 1,226 | 338 | 376 | 1,940 |
| music_kraken/pages | 6 | 1,547 | 457 | 484 | 2,488 |
| music_kraken/static_files | 2 | 207 | 0 | 20 | 227 |
| music_kraken/utils | 30 | 1,095 | 126 | 343 | 1,564 |
| music_kraken/utils (Files) | 7 | 146 | 30 | 61 | 237 |
| music_kraken/utils/config | 8 | 651 | 72 | 177 | 900 |
| music_kraken/utils/enums | 3 | 56 | 7 | 14 | 77 |
| music_kraken/utils/exception | 3 | 23 | 8 | 12 | 43 |
| music_kraken/utils/path_manager | 4 | 58 | 9 | 29 | 96 |
| music_kraken/utils/support_classes | 5 | 161 | 0 | 50 | 211 |
| tests | 5 | 287 | 18 | 79 | 384 |
+------------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+
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/actual_donwload.py | Python | 16 | 0 | 6 | 22 |
| /home/lars/Projects/music-downloader/src/create_custom_objects.py | Python | 58 | 0 | 6 | 64 |
| /home/lars/Projects/music-downloader/src/metal_archives.py | Python | 30 | 0 | 12 | 42 |
| /home/lars/Projects/music-downloader/src/music_kraken/__init__.py | Python | 112 | 6 | 33 | 151 |
| /home/lars/Projects/music-downloader/src/music_kraken/__main__.py | Python | 98 | 3 | 23 | 124 |
| /home/lars/Projects/music-downloader/src/music_kraken/audio/__init__.py | Python | 7 | 0 | 3 | 10 |
| /home/lars/Projects/music-downloader/src/music_kraken/audio/codec.py | Python | 25 | 0 | 8 | 33 |
| /home/lars/Projects/music-downloader/src/music_kraken/audio/metadata.py | Python | 60 | 4 | 24 | 88 |
| /home/lars/Projects/music-downloader/src/music_kraken/cli/__init__.py | Python | 2 | 0 | 0 | 2 |
| /home/lars/Projects/music-downloader/src/music_kraken/cli/download/__init__.py | Python | 0 | 0 | 1 | 1 |
| /home/lars/Projects/music-downloader/src/music_kraken/cli/download/shell.py | Python | 199 | 86 | 78 | 363 |
| /home/lars/Projects/music-downloader/src/music_kraken/cli/options/__init__.py | Python | 3 | 0 | 1 | 4 |
| /home/lars/Projects/music-downloader/src/music_kraken/cli/options/invidious/__init__.py | Python | 0 | 0 | 1 | 1 |
| /home/lars/Projects/music-downloader/src/music_kraken/cli/options/invidious/shell.py | Python | 66 | 7 | 28 | 101 |
| /home/lars/Projects/music-downloader/src/music_kraken/connection/__init__.py | Python | 1 | 0 | 1 | 2 |
| /home/lars/Projects/music-downloader/src/music_kraken/connection/connection.py | Python | 168 | 1 | 30 | 199 |
| /home/lars/Projects/music-downloader/src/music_kraken/connection/rotating.py | Python | 27 | 3 | 14 | 44 |
| /home/lars/Projects/music-downloader/src/music_kraken/database/__init__.py | Python | 0 | 0 | 1 | 1 |
| /home/lars/Projects/music-downloader/src/music_kraken/database/data_models.py | Python | 122 | 24 | 52 | 198 |
| /home/lars/Projects/music-downloader/src/music_kraken/database/database.py | Python | 104 | 47 | 38 | 189 |
| /home/lars/Projects/music-downloader/src/music_kraken/download/__init__.py | Python | 1 | 0 | 1 | 2 |
| /home/lars/Projects/music-downloader/src/music_kraken/download/multiple_options.py | Python | 69 | 0 | 31 | 100 |
| /home/lars/Projects/music-downloader/src/music_kraken/download/page_attributes.py | Python | 67 | 1 | 29 | 97 |
| /home/lars/Projects/music-downloader/src/music_kraken/download/results.py | Python | 62 | 7 | 26 | 95 |
| /home/lars/Projects/music-downloader/src/music_kraken/download/search.py | Python | 124 | 24 | 56 | 204 |
| /home/lars/Projects/music-downloader/src/music_kraken/objects/__init__.py | Python | 14 | 0 | 5 | 19 |
| /home/lars/Projects/music-downloader/src/music_kraken/objects/cache.py | Python | 37 | 56 | 18 | 111 |
| /home/lars/Projects/music-downloader/src/music_kraken/objects/collection.py | Python | 91 | 31 | 39 | 161 |
| /home/lars/Projects/music-downloader/src/music_kraken/objects/formatted_text.py | Python | 50 | 10 | 19 | 79 |
| /home/lars/Projects/music-downloader/src/music_kraken/objects/lyrics.py | Python | 25 | 0 | 7 | 32 |
| /home/lars/Projects/music-downloader/src/music_kraken/objects/metadata.py | Python | 272 | 62 | 63 | 397 |
| /home/lars/Projects/music-downloader/src/music_kraken/objects/option.py | Python | 28 | 0 | 13 | 41 |
| /home/lars/Projects/music-downloader/src/music_kraken/objects/parents.py | Python | 71 | 35 | 35 | 141 |
| /home/lars/Projects/music-downloader/src/music_kraken/objects/song.py | Python | 480 | 113 | 120 | 713 |
| /home/lars/Projects/music-downloader/src/music_kraken/objects/source.py | Python | 93 | 16 | 33 | 142 |
| /home/lars/Projects/music-downloader/src/music_kraken/objects/target.py | Python | 65 | 15 | 24 | 104 |
| /home/lars/Projects/music-downloader/src/music_kraken/pages/__init__.py | Python | 4 | 0 | 2 | 6 |
| /home/lars/Projects/music-downloader/src/music_kraken/pages/abstract.py | Python | 234 | 46 | 93 | 373 |
| /home/lars/Projects/music-downloader/src/music_kraken/pages/encyclopaedia_metallum.py | Python | 432 | 90 | 127 | 649 |
| /home/lars/Projects/music-downloader/src/music_kraken/pages/musify.py | Python | 576 | 275 | 166 | 1,017 |
| /home/lars/Projects/music-downloader/src/music_kraken/pages/preset.py | Python | 47 | 1 | 17 | 65 |
| /home/lars/Projects/music-downloader/src/music_kraken/pages/youtube.py | Python | 254 | 45 | 79 | 378 |
| /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/utils/__init__.py | Python | 2 | 1 | 2 | 5 |
| /home/lars/Projects/music-downloader/src/music_kraken/utils/config/__init__.py | Python | 7 | 0 | 4 | 11 |
| /home/lars/Projects/music-downloader/src/music_kraken/utils/config/audio.py | Python | 152 | 15 | 28 | 195 |
| /home/lars/Projects/music-downloader/src/music_kraken/utils/config/base_classes.py | Python | 136 | 35 | 61 | 232 |
| /home/lars/Projects/music-downloader/src/music_kraken/utils/config/config.py | Python | 92 | 16 | 30 | 138 |
| /home/lars/Projects/music-downloader/src/music_kraken/utils/config/connection.py | Python | 80 | 2 | 15 | 97 |
| /home/lars/Projects/music-downloader/src/music_kraken/utils/config/logging.py | Python | 104 | 4 | 17 | 125 |
| /home/lars/Projects/music-downloader/src/music_kraken/utils/config/misc.py | Python | 40 | 0 | 9 | 49 |
| /home/lars/Projects/music-downloader/src/music_kraken/utils/config/paths.py | Python | 40 | 0 | 13 | 53 |
| /home/lars/Projects/music-downloader/src/music_kraken/utils/enums/__init__.py | Python | 0 | 0 | 1 | 1 |
| /home/lars/Projects/music-downloader/src/music_kraken/utils/enums/album.py | Python | 16 | 6 | 5 | 27 |
| /home/lars/Projects/music-downloader/src/music_kraken/utils/enums/source.py | Python | 40 | 1 | 8 | 49 |
| /home/lars/Projects/music-downloader/src/music_kraken/utils/exception/__init__.py | Python | 1 | 0 | 1 | 2 |
| /home/lars/Projects/music-downloader/src/music_kraken/utils/exception/config.py | Python | 14 | 8 | 7 | 29 |
| /home/lars/Projects/music-downloader/src/music_kraken/utils/exception/download.py | Python | 8 | 0 | 4 | 12 |
| /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/path_manager/__init__.py | Python | 2 | 0 | 2 | 4 |
| /home/lars/Projects/music-downloader/src/music_kraken/utils/path_manager/config_directory.py | Python | 4 | 0 | 4 | 8 |
| /home/lars/Projects/music-downloader/src/music_kraken/utils/path_manager/locations.py | Python | 16 | 0 | 9 | 25 |
| /home/lars/Projects/music-downloader/src/music_kraken/utils/path_manager/music_directory.py | Python | 36 | 9 | 14 | 59 |
| /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/regex.py | Python | 1 | 0 | 2 | 3 |
| /home/lars/Projects/music-downloader/src/music_kraken/utils/shared.py | Python | 66 | 22 | 22 | 110 |
| /home/lars/Projects/music-downloader/src/music_kraken/utils/string_processing.py | Python | 16 | 5 | 11 | 32 |
| /home/lars/Projects/music-downloader/src/music_kraken/utils/support_classes/__init__.py | Python | 4 | 0 | 1 | 5 |
| /home/lars/Projects/music-downloader/src/music_kraken/utils/support_classes/default_target.py | Python | 56 | 0 | 15 | 71 |
| /home/lars/Projects/music-downloader/src/music_kraken/utils/support_classes/download_result.py | Python | 69 | 0 | 21 | 90 |
| /home/lars/Projects/music-downloader/src/music_kraken/utils/support_classes/query.py | Python | 24 | 0 | 9 | 33 |
| /home/lars/Projects/music-downloader/src/music_kraken/utils/support_classes/thread_classes.py | Python | 8 | 0 | 4 | 12 |
| /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/musify_search.py | Python | 38 | 0 | 14 | 52 |
| /home/lars/Projects/music-downloader/src/tests/__init__.py | Python | 0 | 0 | 1 | 1 |
| /home/lars/Projects/music-downloader/src/tests/conftest.py | Python | 3 | 1 | 2 | 6 |
| /home/lars/Projects/music-downloader/src/tests/test_building_objects.py | Python | 81 | 1 | 13 | 95 |
| /home/lars/Projects/music-downloader/src/tests/test_download.py | Python | 30 | 1 | 12 | 43 |
| /home/lars/Projects/music-downloader/src/tests/test_objects.py | Python | 173 | 15 | 51 | 239 |
| Total | | 5,827 | 1,152 | 1,825 | 8,804 |
+------------------------------------------------------------------------------------------------+----------+------------+------------+------------+------------+

View File

@ -1,9 +1,29 @@
from typing import List, Tuple
import ffmpeg import ffmpeg
from ..utils.shared import BITRATE, AUDIO_FORMAT, CODEX_LOGGER as LOGGER from ..utils.shared import BITRATE, AUDIO_FORMAT, CODEX_LOGGER as LOGGER
from ..objects import Target from ..objects import Target
def remove_intervals(target: Target, interval_list: List[Tuple[float, float]]):
if not target.exists:
LOGGER.warning(f"Target doesn't exist: {target.file_path}")
return
# https://stackoverflow.com/questions/50594412/cut-multiple-parts-of-a-video-with-ffmpeg
aselect_list: List[str] = []
start = 0
for end, next_start in interval_list:
aselect_list.append(f"between(t,{start},{end})")
start = next_start
aselect_list.append(f"gte(t,{next_start})")
select = f"aselect='{'+'.join(aselect_list)}',asetpts=N/SR/TB"
def correct_codec(target: Target, bitrate_kb: int = BITRATE, audio_format: str = AUDIO_FORMAT): def correct_codec(target: Target, bitrate_kb: int = BITRATE, audio_format: str = AUDIO_FORMAT):
if not target.exists: if not target.exists:
LOGGER.warning(f"Target doesn't exist: {target.file_path}") LOGGER.warning(f"Target doesn't exist: {target.file_path}")

View File

@ -81,13 +81,20 @@ class ConnectionSection(Section):
description="Downloads the videos using the given instances." description="Downloads the videos using the given instances."
) )
self.SPONSOR_BLOCK = BoolAttribute(
name="use_sponsor_block",
value="true",
description="Use sponsor block to remove adds or simmilar from the youtube videos."
)
self.attribute_list = [ self.attribute_list = [
self.USE_TOR, self.USE_TOR,
self.TOR_PORT, self.TOR_PORT,
self.CHUNK_SIZE, self.CHUNK_SIZE,
self.SHOW_DOWNLOAD_ERRORS_THRESHOLD, self.SHOW_DOWNLOAD_ERRORS_THRESHOLD,
self.INVIDIOUS_INSTANCE, self.INVIDIOUS_INSTANCE,
self.INVIDIOUS_PROXY_VIDEOS self.INVIDIOUS_PROXY_VIDEOS,
self.SPONSOR_BLOCK
] ]
super().__init__() super().__init__()