refactored

This commit is contained in:
Lars Noack 2022-11-18 10:16:06 +01:00
parent 2a846e5b7b
commit 98e2a9b6fb
10 changed files with 3 additions and 378 deletions

View File

@ -1,58 +0,0 @@
# Details
Date : 2022-11-10 14:10:12
Directory /home/lars/Projects/music-downloader
Total : 43 files, 2077 codes, 228 comments, 584 blanks, all 2889 lines
[Summary](results.md) / Details / [Diff Summary](diff.md) / [Diff Details](diff-details.md)
## Files
| filename | language | code | comment | blank | total |
| :--- | :--- | ---: | ---: | ---: | ---: |
| [music-downloader/.VSCodeCounter/2022-10-28_12-39-22/details.md](/music-downloader/.VSCodeCounter/2022-10-28_12-39-22/details.md) | Markdown | 31 | 0 | 6 | 37 |
| [music-downloader/.VSCodeCounter/2022-10-28_12-39-22/diff-details.md](/music-downloader/.VSCodeCounter/2022-10-28_12-39-22/diff-details.md) | Markdown | 9 | 0 | 6 | 15 |
| [music-downloader/.VSCodeCounter/2022-10-28_12-39-22/diff.md](/music-downloader/.VSCodeCounter/2022-10-28_12-39-22/diff.md) | Markdown | 12 | 0 | 7 | 19 |
| [music-downloader/.VSCodeCounter/2022-10-28_12-39-22/results.json](/music-downloader/.VSCodeCounter/2022-10-28_12-39-22/results.json) | JSON | 1 | 0 | 0 | 1 |
| [music-downloader/.VSCodeCounter/2022-10-28_12-39-22/results.md](/music-downloader/.VSCodeCounter/2022-10-28_12-39-22/results.md) | Markdown | 22 | 0 | 7 | 29 |
| [music-downloader/.VSCodeCounter/2022-11-07_11-51-29/details.md](/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/details.md) | Markdown | 37 | 0 | 6 | 43 |
| [music-downloader/.VSCodeCounter/2022-11-07_11-51-29/diff-details.md](/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/diff-details.md) | Markdown | 25 | 0 | 6 | 31 |
| [music-downloader/.VSCodeCounter/2022-11-07_11-51-29/diff.md](/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/diff.md) | Markdown | 22 | 0 | 7 | 29 |
| [music-downloader/.VSCodeCounter/2022-11-07_11-51-29/results.json](/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/results.json) | JSON | 1 | 0 | 0 | 1 |
| [music-downloader/.VSCodeCounter/2022-11-07_11-51-29/results.md](/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/results.md) | Markdown | 26 | 0 | 7 | 33 |
| [music-downloader/.VSCodeCounter/2022-11-08_16-41-25/details.md](/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/details.md) | Markdown | 43 | 0 | 6 | 49 |
| [music-downloader/.VSCodeCounter/2022-11-08_16-41-25/diff-details.md](/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/diff-details.md) | Markdown | 25 | 0 | 6 | 31 |
| [music-downloader/.VSCodeCounter/2022-11-08_16-41-25/diff.md](/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/diff.md) | Markdown | 21 | 0 | 7 | 28 |
| [music-downloader/.VSCodeCounter/2022-11-08_16-41-25/results.json](/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/results.json) | JSON | 1 | 0 | 0 | 1 |
| [music-downloader/.VSCodeCounter/2022-11-08_16-41-25/results.md](/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/results.md) | Markdown | 28 | 0 | 7 | 35 |
| [music-downloader/.idea/dataSources.xml](/music-downloader/.idea/dataSources.xml) | XML | 12 | 0 | 0 | 12 |
| [music-downloader/.idea/inspectionProfiles/profiles_settings.xml](/music-downloader/.idea/inspectionProfiles/profiles_settings.xml) | XML | 6 | 0 | 0 | 6 |
| [music-downloader/.idea/misc.xml](/music-downloader/.idea/misc.xml) | XML | 4 | 0 | 0 | 4 |
| [music-downloader/.idea/modules.xml](/music-downloader/.idea/modules.xml) | XML | 9 | 0 | 0 | 9 |
| [music-downloader/.idea/music-downloader.iml](/music-downloader/.idea/music-downloader.iml) | XML | 11 | 0 | 0 | 11 |
| [music-downloader/.idea/vcs.xml](/music-downloader/.idea/vcs.xml) | XML | 6 | 0 | 0 | 6 |
| [music-downloader/README.md](/music-downloader/README.md) | Markdown | 102 | 0 | 36 | 138 |
| [music-downloader/assets/database_structure.sql](/music-downloader/assets/database_structure.sql) | SQLite | 51 | 0 | 6 | 57 |
| [music-downloader/notes.md](/music-downloader/notes.md) | Markdown | 11 | 0 | 2 | 13 |
| [music-downloader/requirements.txt](/music-downloader/requirements.txt) | pip requirements | 7 | 0 | 0 | 7 |
| [music-downloader/src/download.py](/music-downloader/src/download.py) | Python | 57 | 11 | 19 | 87 |
| [music-downloader/src/download_links.py](/music-downloader/src/download_links.py) | Python | 41 | 3 | 15 | 59 |
| [music-downloader/src/lyrics/genius.py](/music-downloader/src/lyrics/genius.py) | Python | 108 | 39 | 38 | 185 |
| [music-downloader/src/lyrics_.py](/music-downloader/src/lyrics_.py) | Python | 44 | 19 | 22 | 85 |
| [music-downloader/src/main.py](/music-downloader/src/main.py) | Python | 104 | 3 | 31 | 138 |
| [music-downloader/src/metadata/database.py](/music-downloader/src/metadata/database.py) | Python | 155 | 61 | 38 | 254 |
| [music-downloader/src/metadata/database_structure.sql](/music-downloader/src/metadata/database_structure.sql) | SQLite | 51 | 0 | 6 | 57 |
| [music-downloader/src/metadata/download.py](/music-downloader/src/metadata/download.py) | Python | 272 | 25 | 68 | 365 |
| [music-downloader/src/metadata/metadata.py](/music-downloader/src/metadata/metadata.py) | Python | 106 | 9 | 28 | 143 |
| [music-downloader/src/metadata/object_handeling.py](/music-downloader/src/metadata/object_handeling.py) | Python | 19 | 0 | 6 | 25 |
| [music-downloader/src/metadata/options.py](/music-downloader/src/metadata/options.py) | Python | 87 | 8 | 24 | 119 |
| [music-downloader/src/metadata/search.py](/music-downloader/src/metadata/search.py) | Python | 257 | 40 | 75 | 372 |
| [music-downloader/src/scraping/musify.py](/music-downloader/src/scraping/musify.py) | Python | 103 | 2 | 37 | 142 |
| [music-downloader/src/scraping/phonetic_compares.py](/music-downloader/src/scraping/phonetic_compares.py) | Python | 15 | 0 | 8 | 23 |
| [music-downloader/src/scraping/youtube_music.py](/music-downloader/src/scraping/youtube_music.py) | Python | 67 | 2 | 18 | 87 |
| [music-downloader/src/tools/object_handeling.py](/music-downloader/src/tools/object_handeling.py) | Python | 19 | 0 | 6 | 25 |
| [music-downloader/src/tools/phonetic_compares.py](/music-downloader/src/tools/phonetic_compares.py) | Python | 22 | 0 | 10 | 32 |
| [music-downloader/src/url_to_path.py](/music-downloader/src/url_to_path.py) | Python | 27 | 6 | 13 | 46 |
[Summary](results.md) / Details / [Diff Summary](diff.md) / [Diff Details](diff-details.md)

View File

@ -1,36 +0,0 @@
# Diff Details
Date : 2022-11-10 14:10:12
Directory /home/lars/Projects/music-downloader
Total : 21 files, 310 codes, 62 comments, 98 blanks, all 470 lines
[Summary](results.md) / [Details](details.md) / [Diff Summary](diff.md) / Diff Details
## Files
| filename | language | code | comment | blank | total |
| :--- | :--- | ---: | ---: | ---: | ---: |
| [music-downloader/.VSCodeCounter/2022-11-08_16-41-25/details.md](/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/details.md) | Markdown | 43 | 0 | 6 | 49 |
| [music-downloader/.VSCodeCounter/2022-11-08_16-41-25/diff-details.md](/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/diff-details.md) | Markdown | 25 | 0 | 6 | 31 |
| [music-downloader/.VSCodeCounter/2022-11-08_16-41-25/diff.md](/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/diff.md) | Markdown | 21 | 0 | 7 | 28 |
| [music-downloader/.VSCodeCounter/2022-11-08_16-41-25/results.json](/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/results.json) | JSON | 1 | 0 | 0 | 1 |
| [music-downloader/.VSCodeCounter/2022-11-08_16-41-25/results.md](/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/results.md) | Markdown | 28 | 0 | 7 | 35 |
| [music-downloader/.idea/modules.xml](/music-downloader/.idea/modules.xml) | XML | 1 | 0 | 0 | 1 |
| [music-downloader/.idea/music-downloader.iml](/music-downloader/.idea/music-downloader.iml) | XML | 1 | 0 | 0 | 1 |
| [music-downloader/README.md](/music-downloader/README.md) | Markdown | 3 | 0 | 0 | 3 |
| [music-downloader/notes.md](/music-downloader/notes.md) | Markdown | 11 | 0 | 2 | 13 |
| [music-downloader/requirements.txt](/music-downloader/requirements.txt) | pip requirements | -1 | 0 | 0 | -1 |
| [music-downloader/src/lyrics/genius.py](/music-downloader/src/lyrics/genius.py) | Python | 108 | 39 | 38 | 185 |
| [music-downloader/src/lyrics_.py](/music-downloader/src/lyrics_.py) | Python | 44 | 19 | 22 | 85 |
| [music-downloader/src/main.py](/music-downloader/src/main.py) | Python | 6 | 3 | 1 | 10 |
| [music-downloader/src/metadata/database.py](/music-downloader/src/metadata/database.py) | Python | 2 | 0 | 0 | 2 |
| [music-downloader/src/metadata/download.py](/music-downloader/src/metadata/download.py) | Python | 2 | 1 | 1 | 4 |
| [music-downloader/src/metadata/search.py](/music-downloader/src/metadata/search.py) | Python | 0 | 1 | 0 | 1 |
| [music-downloader/src/scraping/musify.py](/music-downloader/src/scraping/musify.py) | Python | -9 | 0 | -3 | -12 |
| [music-downloader/src/scraping/youtube_music.py](/music-downloader/src/scraping/youtube_music.py) | Python | 1 | 0 | 1 | 2 |
| [music-downloader/src/test.py](/music-downloader/src/test.py) | Python | -18 | -1 | -6 | -25 |
| [music-downloader/src/tools/object_handeling.py](/music-downloader/src/tools/object_handeling.py) | Python | 19 | 0 | 6 | 25 |
| [music-downloader/src/tools/phonetic_compares.py](/music-downloader/src/tools/phonetic_compares.py) | Python | 22 | 0 | 10 | 32 |
[Summary](results.md) / [Details](details.md) / [Diff Summary](diff.md) / Diff Details

View File

@ -1,23 +0,0 @@
"filename", "language", "Markdown", "Python", "XML", "pip requirements", "JSON", "comment", "blank", "total"
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/details.md", "Markdown", 43, 0, 0, 0, 0, 0, 6, 49
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/diff-details.md", "Markdown", 25, 0, 0, 0, 0, 0, 6, 31
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/diff.md", "Markdown", 21, 0, 0, 0, 0, 0, 7, 28
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/results.json", "JSON", 0, 0, 0, 0, 1, 0, 0, 1
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/results.md", "Markdown", 28, 0, 0, 0, 0, 0, 7, 35
"/home/lars/Projects/music-downloader/.idea/modules.xml", "XML", 0, 0, 1, 0, 0, 0, 0, 1
"/home/lars/Projects/music-downloader/.idea/music-downloader.iml", "XML", 0, 0, 1, 0, 0, 0, 0, 1
"/home/lars/Projects/music-downloader/README.md", "Markdown", 3, 0, 0, 0, 0, 0, 0, 3
"/home/lars/Projects/music-downloader/notes.md", "Markdown", 11, 0, 0, 0, 0, 0, 2, 13
"/home/lars/Projects/music-downloader/requirements.txt", "pip requirements", 0, 0, 0, -1, 0, 0, 0, -1
"/home/lars/Projects/music-downloader/src/lyrics/genius.py", "Python", 0, 108, 0, 0, 0, 39, 38, 185
"/home/lars/Projects/music-downloader/src/lyrics_.py", "Python", 0, 44, 0, 0, 0, 19, 22, 85
"/home/lars/Projects/music-downloader/src/main.py", "Python", 0, 6, 0, 0, 0, 3, 1, 10
"/home/lars/Projects/music-downloader/src/metadata/database.py", "Python", 0, 2, 0, 0, 0, 0, 0, 2
"/home/lars/Projects/music-downloader/src/metadata/download.py", "Python", 0, 2, 0, 0, 0, 1, 1, 4
"/home/lars/Projects/music-downloader/src/metadata/search.py", "Python", 0, 0, 0, 0, 0, 1, 0, 1
"/home/lars/Projects/music-downloader/src/scraping/musify.py", "Python", 0, -9, 0, 0, 0, 0, -3, -12
"/home/lars/Projects/music-downloader/src/scraping/youtube_music.py", "Python", 0, 1, 0, 0, 0, 0, 1, 2
"/home/lars/Projects/music-downloader/src/test.py", "Python", 0, -18, 0, 0, 0, -1, -6, -25
"/home/lars/Projects/music-downloader/src/tools/object_handeling.py", "Python", 0, 19, 0, 0, 0, 0, 6, 25
"/home/lars/Projects/music-downloader/src/tools/phonetic_compares.py", "Python", 0, 22, 0, 0, 0, 0, 10, 32
"Total", "-", 131, 177, 2, -1, 1, 62, 98, 470
1 filename language Markdown Python XML pip requirements JSON comment blank total
2 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/details.md Markdown 43 0 0 0 0 0 6 49
3 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/diff-details.md Markdown 25 0 0 0 0 0 6 31
4 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/diff.md Markdown 21 0 0 0 0 0 7 28
5 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/results.json JSON 0 0 0 0 1 0 0 1
6 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/results.md Markdown 28 0 0 0 0 0 7 35
7 /home/lars/Projects/music-downloader/.idea/modules.xml XML 0 0 1 0 0 0 0 1
8 /home/lars/Projects/music-downloader/.idea/music-downloader.iml XML 0 0 1 0 0 0 0 1
9 /home/lars/Projects/music-downloader/README.md Markdown 3 0 0 0 0 0 0 3
10 /home/lars/Projects/music-downloader/notes.md Markdown 11 0 0 0 0 0 2 13
11 /home/lars/Projects/music-downloader/requirements.txt pip requirements 0 0 0 -1 0 0 0 -1
12 /home/lars/Projects/music-downloader/src/lyrics/genius.py Python 0 108 0 0 0 39 38 185
13 /home/lars/Projects/music-downloader/src/lyrics_.py Python 0 44 0 0 0 19 22 85
14 /home/lars/Projects/music-downloader/src/main.py Python 0 6 0 0 0 3 1 10
15 /home/lars/Projects/music-downloader/src/metadata/database.py Python 0 2 0 0 0 0 0 2
16 /home/lars/Projects/music-downloader/src/metadata/download.py Python 0 2 0 0 0 1 1 4
17 /home/lars/Projects/music-downloader/src/metadata/search.py Python 0 0 0 0 0 1 0 1
18 /home/lars/Projects/music-downloader/src/scraping/musify.py Python 0 -9 0 0 0 0 -3 -12
19 /home/lars/Projects/music-downloader/src/scraping/youtube_music.py Python 0 1 0 0 0 0 1 2
20 /home/lars/Projects/music-downloader/src/test.py Python 0 -18 0 0 0 -1 -6 -25
21 /home/lars/Projects/music-downloader/src/tools/object_handeling.py Python 0 19 0 0 0 0 6 25
22 /home/lars/Projects/music-downloader/src/tools/phonetic_compares.py Python 0 22 0 0 0 0 10 32
23 Total - 131 177 2 -1 1 62 98 470

View File

@ -1,33 +0,0 @@
# Diff Summary
Date : 2022-11-10 14:10:12
Directory /home/lars/Projects/music-downloader
Total : 21 files, 310 codes, 62 comments, 98 blanks, all 470 lines
[Summary](results.md) / [Details](details.md) / Diff Summary / [Diff Details](diff-details.md)
## Languages
| language | files | code | comment | blank | total |
| :--- | ---: | ---: | ---: | ---: | ---: |
| Python | 11 | 177 | 62 | 70 | 309 |
| Markdown | 6 | 131 | 0 | 28 | 159 |
| XML | 2 | 2 | 0 | 0 | 2 |
| JSON | 1 | 1 | 0 | 0 | 1 |
| pip requirements | 1 | -1 | 0 | 0 | -1 |
## Directories
| path | files | code | comment | blank | total |
| :--- | ---: | ---: | ---: | ---: | ---: |
| . | 21 | 310 | 62 | 98 | 470 |
| .VSCodeCounter | 5 | 118 | 0 | 26 | 144 |
| .VSCodeCounter/2022-11-08_16-41-25 | 5 | 118 | 0 | 26 | 144 |
| .idea | 2 | 2 | 0 | 0 | 2 |
| src | 11 | 177 | 62 | 70 | 309 |
| src/lyrics | 1 | 108 | 39 | 38 | 185 |
| src/metadata | 3 | 4 | 2 | 1 | 7 |
| src/scraping | 2 | -8 | 0 | -2 | -10 |
| src/tools | 2 | 41 | 0 | 16 | 57 |
[Summary](results.md) / [Details](details.md) / Diff Summary / [Diff Details](diff-details.md)

View File

@ -1,57 +0,0 @@
Date : 2022-11-10 14:10:12
Directory : /home/lars/Projects/music-downloader
Total : 21 files, 310 codes, 62 comments, 98 blanks, all 470 lines
Languages
+------------------+------------+------------+------------+------------+------------+
| language | files | code | comment | blank | total |
+------------------+------------+------------+------------+------------+------------+
| Python | 11 | 177 | 62 | 70 | 309 |
| Markdown | 6 | 131 | 0 | 28 | 159 |
| XML | 2 | 2 | 0 | 0 | 2 |
| JSON | 1 | 1 | 0 | 0 | 1 |
| pip requirements | 1 | -1 | 0 | 0 | -1 |
+------------------+------------+------------+------------+------------+------------+
Directories
+-----------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+
| path | files | code | comment | blank | total |
+-----------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+
| . | 21 | 310 | 62 | 98 | 470 |
| .VSCodeCounter | 5 | 118 | 0 | 26 | 144 |
| .VSCodeCounter/2022-11-08_16-41-25 | 5 | 118 | 0 | 26 | 144 |
| .idea | 2 | 2 | 0 | 0 | 2 |
| src | 11 | 177 | 62 | 70 | 309 |
| src/lyrics | 1 | 108 | 39 | 38 | 185 |
| src/metadata | 3 | 4 | 2 | 1 | 7 |
| src/scraping | 2 | -8 | 0 | -2 | -10 |
| src/tools | 2 | 41 | 0 | 16 | 57 |
+-----------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+
Files
+-----------------------------------------------------------------------------------------+------------------+------------+------------+------------+------------+
| filename | language | code | comment | blank | total |
+-----------------------------------------------------------------------------------------+------------------+------------+------------+------------+------------+
| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/details.md | Markdown | 43 | 0 | 6 | 49 |
| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/diff-details.md | Markdown | 25 | 0 | 6 | 31 |
| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/diff.md | Markdown | 21 | 0 | 7 | 28 |
| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/results.json | JSON | 1 | 0 | 0 | 1 |
| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/results.md | Markdown | 28 | 0 | 7 | 35 |
| /home/lars/Projects/music-downloader/.idea/modules.xml | XML | 1 | 0 | 0 | 1 |
| /home/lars/Projects/music-downloader/.idea/music-downloader.iml | XML | 1 | 0 | 0 | 1 |
| /home/lars/Projects/music-downloader/README.md | Markdown | 3 | 0 | 0 | 3 |
| /home/lars/Projects/music-downloader/notes.md | Markdown | 11 | 0 | 2 | 13 |
| /home/lars/Projects/music-downloader/requirements.txt | pip requirements | -1 | 0 | 0 | -1 |
| /home/lars/Projects/music-downloader/src/lyrics/genius.py | Python | 108 | 39 | 38 | 185 |
| /home/lars/Projects/music-downloader/src/lyrics_.py | Python | 44 | 19 | 22 | 85 |
| /home/lars/Projects/music-downloader/src/main.py | Python | 6 | 3 | 1 | 10 |
| /home/lars/Projects/music-downloader/src/metadata/database.py | Python | 2 | 0 | 0 | 2 |
| /home/lars/Projects/music-downloader/src/metadata/download.py | Python | 2 | 1 | 1 | 4 |
| /home/lars/Projects/music-downloader/src/metadata/search.py | Python | 0 | 1 | 0 | 1 |
| /home/lars/Projects/music-downloader/src/scraping/musify.py | Python | -9 | 0 | -3 | -12 |
| /home/lars/Projects/music-downloader/src/scraping/youtube_music.py | Python | 1 | 0 | 1 | 2 |
| /home/lars/Projects/music-downloader/src/test.py | Python | -18 | -1 | -6 | -25 |
| /home/lars/Projects/music-downloader/src/tools/object_handeling.py | Python | 19 | 0 | 6 | 25 |
| /home/lars/Projects/music-downloader/src/tools/phonetic_compares.py | Python | 22 | 0 | 10 | 32 |
| Total | | 310 | 62 | 98 | 470 |
+-----------------------------------------------------------------------------------------+------------------+------------+------------+------------+------------+

View File

@ -1,45 +0,0 @@
"filename", "language", "Python", "Markdown", "SQLite", "XML", "pip requirements", "JSON", "comment", "blank", "total"
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-10-28_12-39-22/details.md", "Markdown", 0, 31, 0, 0, 0, 0, 0, 6, 37
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-10-28_12-39-22/diff-details.md", "Markdown", 0, 9, 0, 0, 0, 0, 0, 6, 15
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-10-28_12-39-22/diff.md", "Markdown", 0, 12, 0, 0, 0, 0, 0, 7, 19
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-10-28_12-39-22/results.json", "JSON", 0, 0, 0, 0, 0, 1, 0, 0, 1
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-10-28_12-39-22/results.md", "Markdown", 0, 22, 0, 0, 0, 0, 0, 7, 29
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/details.md", "Markdown", 0, 37, 0, 0, 0, 0, 0, 6, 43
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/diff-details.md", "Markdown", 0, 25, 0, 0, 0, 0, 0, 6, 31
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/diff.md", "Markdown", 0, 22, 0, 0, 0, 0, 0, 7, 29
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/results.json", "JSON", 0, 0, 0, 0, 0, 1, 0, 0, 1
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/results.md", "Markdown", 0, 26, 0, 0, 0, 0, 0, 7, 33
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/details.md", "Markdown", 0, 43, 0, 0, 0, 0, 0, 6, 49
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/diff-details.md", "Markdown", 0, 25, 0, 0, 0, 0, 0, 6, 31
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/diff.md", "Markdown", 0, 21, 0, 0, 0, 0, 0, 7, 28
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/results.json", "JSON", 0, 0, 0, 0, 0, 1, 0, 0, 1
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/results.md", "Markdown", 0, 28, 0, 0, 0, 0, 0, 7, 35
"/home/lars/Projects/music-downloader/.idea/dataSources.xml", "XML", 0, 0, 0, 12, 0, 0, 0, 0, 12
"/home/lars/Projects/music-downloader/.idea/inspectionProfiles/profiles_settings.xml", "XML", 0, 0, 0, 6, 0, 0, 0, 0, 6
"/home/lars/Projects/music-downloader/.idea/misc.xml", "XML", 0, 0, 0, 4, 0, 0, 0, 0, 4
"/home/lars/Projects/music-downloader/.idea/modules.xml", "XML", 0, 0, 0, 9, 0, 0, 0, 0, 9
"/home/lars/Projects/music-downloader/.idea/music-downloader.iml", "XML", 0, 0, 0, 11, 0, 0, 0, 0, 11
"/home/lars/Projects/music-downloader/.idea/vcs.xml", "XML", 0, 0, 0, 6, 0, 0, 0, 0, 6
"/home/lars/Projects/music-downloader/README.md", "Markdown", 0, 102, 0, 0, 0, 0, 0, 36, 138
"/home/lars/Projects/music-downloader/assets/database_structure.sql", "SQLite", 0, 0, 51, 0, 0, 0, 0, 6, 57
"/home/lars/Projects/music-downloader/notes.md", "Markdown", 0, 11, 0, 0, 0, 0, 0, 2, 13
"/home/lars/Projects/music-downloader/requirements.txt", "pip requirements", 0, 0, 0, 0, 7, 0, 0, 0, 7
"/home/lars/Projects/music-downloader/src/download.py", "Python", 57, 0, 0, 0, 0, 0, 11, 19, 87
"/home/lars/Projects/music-downloader/src/download_links.py", "Python", 41, 0, 0, 0, 0, 0, 3, 15, 59
"/home/lars/Projects/music-downloader/src/lyrics/genius.py", "Python", 108, 0, 0, 0, 0, 0, 39, 38, 185
"/home/lars/Projects/music-downloader/src/lyrics_.py", "Python", 44, 0, 0, 0, 0, 0, 19, 22, 85
"/home/lars/Projects/music-downloader/src/main.py", "Python", 104, 0, 0, 0, 0, 0, 3, 31, 138
"/home/lars/Projects/music-downloader/src/metadata/database.py", "Python", 155, 0, 0, 0, 0, 0, 61, 38, 254
"/home/lars/Projects/music-downloader/src/metadata/database_structure.sql", "SQLite", 0, 0, 51, 0, 0, 0, 0, 6, 57
"/home/lars/Projects/music-downloader/src/metadata/download.py", "Python", 272, 0, 0, 0, 0, 0, 25, 68, 365
"/home/lars/Projects/music-downloader/src/metadata/metadata.py", "Python", 106, 0, 0, 0, 0, 0, 9, 28, 143
"/home/lars/Projects/music-downloader/src/metadata/object_handeling.py", "Python", 19, 0, 0, 0, 0, 0, 0, 6, 25
"/home/lars/Projects/music-downloader/src/metadata/options.py", "Python", 87, 0, 0, 0, 0, 0, 8, 24, 119
"/home/lars/Projects/music-downloader/src/metadata/search.py", "Python", 257, 0, 0, 0, 0, 0, 40, 75, 372
"/home/lars/Projects/music-downloader/src/scraping/musify.py", "Python", 103, 0, 0, 0, 0, 0, 2, 37, 142
"/home/lars/Projects/music-downloader/src/scraping/phonetic_compares.py", "Python", 15, 0, 0, 0, 0, 0, 0, 8, 23
"/home/lars/Projects/music-downloader/src/scraping/youtube_music.py", "Python", 67, 0, 0, 0, 0, 0, 2, 18, 87
"/home/lars/Projects/music-downloader/src/tools/object_handeling.py", "Python", 19, 0, 0, 0, 0, 0, 0, 6, 25
"/home/lars/Projects/music-downloader/src/tools/phonetic_compares.py", "Python", 22, 0, 0, 0, 0, 0, 0, 10, 32
"/home/lars/Projects/music-downloader/src/url_to_path.py", "Python", 27, 0, 0, 0, 0, 0, 6, 13, 46
"Total", "-", 1503, 414, 102, 48, 7, 3, 228, 584, 2889
1 filename language Python Markdown SQLite XML pip requirements JSON comment blank total
2 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-10-28_12-39-22/details.md Markdown 0 31 0 0 0 0 0 6 37
3 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-10-28_12-39-22/diff-details.md Markdown 0 9 0 0 0 0 0 6 15
4 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-10-28_12-39-22/diff.md Markdown 0 12 0 0 0 0 0 7 19
5 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-10-28_12-39-22/results.json JSON 0 0 0 0 0 1 0 0 1
6 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-10-28_12-39-22/results.md Markdown 0 22 0 0 0 0 0 7 29
7 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/details.md Markdown 0 37 0 0 0 0 0 6 43
8 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/diff-details.md Markdown 0 25 0 0 0 0 0 6 31
9 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/diff.md Markdown 0 22 0 0 0 0 0 7 29
10 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/results.json JSON 0 0 0 0 0 1 0 0 1
11 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/results.md Markdown 0 26 0 0 0 0 0 7 33
12 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/details.md Markdown 0 43 0 0 0 0 0 6 49
13 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/diff-details.md Markdown 0 25 0 0 0 0 0 6 31
14 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/diff.md Markdown 0 21 0 0 0 0 0 7 28
15 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/results.json JSON 0 0 0 0 0 1 0 0 1
16 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/results.md Markdown 0 28 0 0 0 0 0 7 35
17 /home/lars/Projects/music-downloader/.idea/dataSources.xml XML 0 0 0 12 0 0 0 0 12
18 /home/lars/Projects/music-downloader/.idea/inspectionProfiles/profiles_settings.xml XML 0 0 0 6 0 0 0 0 6
19 /home/lars/Projects/music-downloader/.idea/misc.xml XML 0 0 0 4 0 0 0 0 4
20 /home/lars/Projects/music-downloader/.idea/modules.xml XML 0 0 0 9 0 0 0 0 9
21 /home/lars/Projects/music-downloader/.idea/music-downloader.iml XML 0 0 0 11 0 0 0 0 11
22 /home/lars/Projects/music-downloader/.idea/vcs.xml XML 0 0 0 6 0 0 0 0 6
23 /home/lars/Projects/music-downloader/README.md Markdown 0 102 0 0 0 0 0 36 138
24 /home/lars/Projects/music-downloader/assets/database_structure.sql SQLite 0 0 51 0 0 0 0 6 57
25 /home/lars/Projects/music-downloader/notes.md Markdown 0 11 0 0 0 0 0 2 13
26 /home/lars/Projects/music-downloader/requirements.txt pip requirements 0 0 0 0 7 0 0 0 7
27 /home/lars/Projects/music-downloader/src/download.py Python 57 0 0 0 0 0 11 19 87
28 /home/lars/Projects/music-downloader/src/download_links.py Python 41 0 0 0 0 0 3 15 59
29 /home/lars/Projects/music-downloader/src/lyrics/genius.py Python 108 0 0 0 0 0 39 38 185
30 /home/lars/Projects/music-downloader/src/lyrics_.py Python 44 0 0 0 0 0 19 22 85
31 /home/lars/Projects/music-downloader/src/main.py Python 104 0 0 0 0 0 3 31 138
32 /home/lars/Projects/music-downloader/src/metadata/database.py Python 155 0 0 0 0 0 61 38 254
33 /home/lars/Projects/music-downloader/src/metadata/database_structure.sql SQLite 0 0 51 0 0 0 0 6 57
34 /home/lars/Projects/music-downloader/src/metadata/download.py Python 272 0 0 0 0 0 25 68 365
35 /home/lars/Projects/music-downloader/src/metadata/metadata.py Python 106 0 0 0 0 0 9 28 143
36 /home/lars/Projects/music-downloader/src/metadata/object_handeling.py Python 19 0 0 0 0 0 0 6 25
37 /home/lars/Projects/music-downloader/src/metadata/options.py Python 87 0 0 0 0 0 8 24 119
38 /home/lars/Projects/music-downloader/src/metadata/search.py Python 257 0 0 0 0 0 40 75 372
39 /home/lars/Projects/music-downloader/src/scraping/musify.py Python 103 0 0 0 0 0 2 37 142
40 /home/lars/Projects/music-downloader/src/scraping/phonetic_compares.py Python 15 0 0 0 0 0 0 8 23
41 /home/lars/Projects/music-downloader/src/scraping/youtube_music.py Python 67 0 0 0 0 0 2 18 87
42 /home/lars/Projects/music-downloader/src/tools/object_handeling.py Python 19 0 0 0 0 0 0 6 25
43 /home/lars/Projects/music-downloader/src/tools/phonetic_compares.py Python 22 0 0 0 0 0 0 10 32
44 /home/lars/Projects/music-downloader/src/url_to_path.py Python 27 0 0 0 0 0 6 13 46
45 Total - 1503 414 102 48 7 3 228 584 2889

File diff suppressed because one or more lines are too long

View File

@ -1,38 +0,0 @@
# Summary
Date : 2022-11-10 14:10:12
Directory /home/lars/Projects/music-downloader
Total : 43 files, 2077 codes, 228 comments, 584 blanks, all 2889 lines
Summary / [Details](details.md) / [Diff Summary](diff.md) / [Diff Details](diff-details.md)
## Languages
| language | files | code | comment | blank | total |
| :--- | ---: | ---: | ---: | ---: | ---: |
| Python | 17 | 1,503 | 228 | 456 | 2,187 |
| Markdown | 14 | 414 | 0 | 116 | 530 |
| SQLite | 2 | 102 | 0 | 12 | 114 |
| XML | 6 | 48 | 0 | 0 | 48 |
| pip requirements | 1 | 7 | 0 | 0 | 7 |
| JSON | 3 | 3 | 0 | 0 | 3 |
## Directories
| path | files | code | comment | blank | total |
| :--- | ---: | ---: | ---: | ---: | ---: |
| . | 43 | 2,077 | 228 | 584 | 2,889 |
| .VSCodeCounter | 15 | 304 | 0 | 78 | 382 |
| .VSCodeCounter/2022-10-28_12-39-22 | 5 | 75 | 0 | 26 | 101 |
| .VSCodeCounter/2022-11-07_11-51-29 | 5 | 111 | 0 | 26 | 137 |
| .VSCodeCounter/2022-11-08_16-41-25 | 5 | 118 | 0 | 26 | 144 |
| .idea | 6 | 48 | 0 | 0 | 48 |
| .idea/inspectionProfiles | 1 | 6 | 0 | 0 | 6 |
| assets | 1 | 51 | 0 | 6 | 57 |
| src | 18 | 1,554 | 228 | 462 | 2,244 |
| src/lyrics | 1 | 108 | 39 | 38 | 185 |
| src/metadata | 7 | 947 | 143 | 245 | 1,335 |
| src/scraping | 3 | 185 | 4 | 63 | 252 |
| src/tools | 2 | 41 | 0 | 16 | 57 |
Summary / [Details](details.md) / [Diff Summary](diff.md) / [Diff Details](diff-details.md)

View File

@ -1,84 +0,0 @@
Date : 2022-11-10 14:10:12
Directory : /home/lars/Projects/music-downloader
Total : 43 files, 2077 codes, 228 comments, 584 blanks, all 2889 lines
Languages
+------------------+------------+------------+------------+------------+------------+
| language | files | code | comment | blank | total |
+------------------+------------+------------+------------+------------+------------+
| Python | 17 | 1,503 | 228 | 456 | 2,187 |
| Markdown | 14 | 414 | 0 | 116 | 530 |
| SQLite | 2 | 102 | 0 | 12 | 114 |
| XML | 6 | 48 | 0 | 0 | 48 |
| pip requirements | 1 | 7 | 0 | 0 | 7 |
| JSON | 3 | 3 | 0 | 0 | 3 |
+------------------+------------+------------+------------+------------+------------+
Directories
+-----------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+
| path | files | code | comment | blank | total |
+-----------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+
| . | 43 | 2,077 | 228 | 584 | 2,889 |
| .VSCodeCounter | 15 | 304 | 0 | 78 | 382 |
| .VSCodeCounter/2022-10-28_12-39-22 | 5 | 75 | 0 | 26 | 101 |
| .VSCodeCounter/2022-11-07_11-51-29 | 5 | 111 | 0 | 26 | 137 |
| .VSCodeCounter/2022-11-08_16-41-25 | 5 | 118 | 0 | 26 | 144 |
| .idea | 6 | 48 | 0 | 0 | 48 |
| .idea/inspectionProfiles | 1 | 6 | 0 | 0 | 6 |
| assets | 1 | 51 | 0 | 6 | 57 |
| src | 18 | 1,554 | 228 | 462 | 2,244 |
| src/lyrics | 1 | 108 | 39 | 38 | 185 |
| src/metadata | 7 | 947 | 143 | 245 | 1,335 |
| src/scraping | 3 | 185 | 4 | 63 | 252 |
| src/tools | 2 | 41 | 0 | 16 | 57 |
+-----------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+
Files
+-----------------------------------------------------------------------------------------+------------------+------------+------------+------------+------------+
| filename | language | code | comment | blank | total |
+-----------------------------------------------------------------------------------------+------------------+------------+------------+------------+------------+
| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-10-28_12-39-22/details.md | Markdown | 31 | 0 | 6 | 37 |
| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-10-28_12-39-22/diff-details.md | Markdown | 9 | 0 | 6 | 15 |
| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-10-28_12-39-22/diff.md | Markdown | 12 | 0 | 7 | 19 |
| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-10-28_12-39-22/results.json | JSON | 1 | 0 | 0 | 1 |
| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-10-28_12-39-22/results.md | Markdown | 22 | 0 | 7 | 29 |
| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/details.md | Markdown | 37 | 0 | 6 | 43 |
| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/diff-details.md | Markdown | 25 | 0 | 6 | 31 |
| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/diff.md | Markdown | 22 | 0 | 7 | 29 |
| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/results.json | JSON | 1 | 0 | 0 | 1 |
| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/results.md | Markdown | 26 | 0 | 7 | 33 |
| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/details.md | Markdown | 43 | 0 | 6 | 49 |
| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/diff-details.md | Markdown | 25 | 0 | 6 | 31 |
| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/diff.md | Markdown | 21 | 0 | 7 | 28 |
| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/results.json | JSON | 1 | 0 | 0 | 1 |
| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/results.md | Markdown | 28 | 0 | 7 | 35 |
| /home/lars/Projects/music-downloader/.idea/dataSources.xml | XML | 12 | 0 | 0 | 12 |
| /home/lars/Projects/music-downloader/.idea/inspectionProfiles/profiles_settings.xml | XML | 6 | 0 | 0 | 6 |
| /home/lars/Projects/music-downloader/.idea/misc.xml | XML | 4 | 0 | 0 | 4 |
| /home/lars/Projects/music-downloader/.idea/modules.xml | XML | 9 | 0 | 0 | 9 |
| /home/lars/Projects/music-downloader/.idea/music-downloader.iml | XML | 11 | 0 | 0 | 11 |
| /home/lars/Projects/music-downloader/.idea/vcs.xml | XML | 6 | 0 | 0 | 6 |
| /home/lars/Projects/music-downloader/README.md | Markdown | 102 | 0 | 36 | 138 |
| /home/lars/Projects/music-downloader/assets/database_structure.sql | SQLite | 51 | 0 | 6 | 57 |
| /home/lars/Projects/music-downloader/notes.md | Markdown | 11 | 0 | 2 | 13 |
| /home/lars/Projects/music-downloader/requirements.txt | pip requirements | 7 | 0 | 0 | 7 |
| /home/lars/Projects/music-downloader/src/download.py | Python | 57 | 11 | 19 | 87 |
| /home/lars/Projects/music-downloader/src/download_links.py | Python | 41 | 3 | 15 | 59 |
| /home/lars/Projects/music-downloader/src/lyrics/genius.py | Python | 108 | 39 | 38 | 185 |
| /home/lars/Projects/music-downloader/src/lyrics_.py | Python | 44 | 19 | 22 | 85 |
| /home/lars/Projects/music-downloader/src/main.py | Python | 104 | 3 | 31 | 138 |
| /home/lars/Projects/music-downloader/src/metadata/database.py | Python | 155 | 61 | 38 | 254 |
| /home/lars/Projects/music-downloader/src/metadata/database_structure.sql | SQLite | 51 | 0 | 6 | 57 |
| /home/lars/Projects/music-downloader/src/metadata/download.py | Python | 272 | 25 | 68 | 365 |
| /home/lars/Projects/music-downloader/src/metadata/metadata.py | Python | 106 | 9 | 28 | 143 |
| /home/lars/Projects/music-downloader/src/metadata/object_handeling.py | Python | 19 | 0 | 6 | 25 |
| /home/lars/Projects/music-downloader/src/metadata/options.py | Python | 87 | 8 | 24 | 119 |
| /home/lars/Projects/music-downloader/src/metadata/search.py | Python | 257 | 40 | 75 | 372 |
| /home/lars/Projects/music-downloader/src/scraping/musify.py | Python | 103 | 2 | 37 | 142 |
| /home/lars/Projects/music-downloader/src/scraping/phonetic_compares.py | Python | 15 | 0 | 8 | 23 |
| /home/lars/Projects/music-downloader/src/scraping/youtube_music.py | Python | 67 | 2 | 18 | 87 |
| /home/lars/Projects/music-downloader/src/tools/object_handeling.py | Python | 19 | 0 | 6 | 25 |
| /home/lars/Projects/music-downloader/src/tools/phonetic_compares.py | Python | 22 | 0 | 10 | 32 |
| /home/lars/Projects/music-downloader/src/url_to_path.py | Python | 27 | 6 | 13 | 46 |
| Total | | 2,077 | 228 | 584 | 2,889 |
+-----------------------------------------------------------------------------------------+------------------+------------+------------+------------+------------+

View File

@ -146,8 +146,8 @@ SELECT DISTINCT
), ),
'source', json_group_array( 'source', json_group_array(
( (
SELECT json_object( SELECT DISTINCT json_object(
'src_', src_.src, 'src', src_.src,
'url', src_.url, 'url', src_.url,
'valid', src_.valid 'valid', src_.valid
) )
@ -185,7 +185,7 @@ LEFT JOIN release_ id ON track.release_id = release_.id
LEFT JOIN release_group id ON release_.id = release_group.id LEFT JOIN release_group id ON release_.id = release_group.id
LEFT JOIN artist_track track_id ON track.id = artist_track.track_id LEFT JOIN artist_track track_id ON track.id = artist_track.track_id
LEFT JOIN artist id ON artist_track.artist_id = artist.id LEFT JOIN artist id ON artist_track.artist_id = artist.id
LEFT JOIN source src_ ON track.id = src_.track_id LEFT OUTER JOIN source src_ ON track.id = src_.track_id
WHERE WHERE
{where_arg} {where_arg}
GROUP BY track.id; GROUP BY track.id;