continued the database

This commit is contained in:
Lars Noack 2022-12-07 15:51:38 +01:00
parent 7d21cb727e
commit cd89523ee0
18 changed files with 190 additions and 550 deletions

View File

@ -1,75 +0,0 @@
# Details
Date : 2022-11-14 15:47:38
Directory /home/lars/Projects/music-downloader
Total : 60 files, 2282 codes, 242 comments, 638 blanks, all 3162 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-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/.VSCodeCounter/2022-11-10_14-10-12/details.md](/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/details.md) | Markdown | 52 | 0 | 6 | 58 |
| [music-downloader/.VSCodeCounter/2022-11-10_14-10-12/diff-details.md](/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/diff-details.md) | Markdown | 30 | 0 | 6 | 36 |
| [music-downloader/.VSCodeCounter/2022-11-10_14-10-12/diff.md](/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/diff.md) | Markdown | 26 | 0 | 7 | 33 |
| [music-downloader/.VSCodeCounter/2022-11-10_14-10-12/results.json](/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/results.json) | JSON | 1 | 0 | 0 | 1 |
| [music-downloader/.VSCodeCounter/2022-11-10_14-10-12/results.md](/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/results.md) | Markdown | 31 | 0 | 7 | 38 |
| [music-downloader/.VSCodeCounter/2022-11-14_08-49-48/details.md](/music-downloader/.VSCodeCounter/2022-11-14_08-49-48/details.md) | Markdown | 64 | 0 | 6 | 70 |
| [music-downloader/.VSCodeCounter/2022-11-14_08-49-48/diff-details.md](/music-downloader/.VSCodeCounter/2022-11-14_08-49-48/diff-details.md) | Markdown | 42 | 0 | 6 | 48 |
| [music-downloader/.VSCodeCounter/2022-11-14_08-49-48/diff.md](/music-downloader/.VSCodeCounter/2022-11-14_08-49-48/diff.md) | Markdown | 26 | 0 | 7 | 33 |
| [music-downloader/.VSCodeCounter/2022-11-14_08-49-48/results.json](/music-downloader/.VSCodeCounter/2022-11-14_08-49-48/results.json) | JSON | 1 | 0 | 0 | 1 |
| [music-downloader/.VSCodeCounter/2022-11-14_08-49-48/results.md](/music-downloader/.VSCodeCounter/2022-11-14_08-49-48/results.md) | Markdown | 33 | 0 | 7 | 40 |
| [music-downloader/.VSCodeCounter/2022-11-14_12-36-23/details.md](/music-downloader/.VSCodeCounter/2022-11-14_12-36-23/details.md) | Markdown | 34 | 0 | 6 | 40 |
| [music-downloader/.VSCodeCounter/2022-11-14_12-36-23/diff-details.md](/music-downloader/.VSCodeCounter/2022-11-14_12-36-23/diff-details.md) | Markdown | 40 | 0 | 6 | 46 |
| [music-downloader/.VSCodeCounter/2022-11-14_12-36-23/diff.md](/music-downloader/.VSCodeCounter/2022-11-14_12-36-23/diff.md) | Markdown | 28 | 0 | 7 | 35 |
| [music-downloader/.VSCodeCounter/2022-11-14_12-36-23/results.json](/music-downloader/.VSCodeCounter/2022-11-14_12-36-23/results.json) | JSON | 1 | 0 | 0 | 1 |
| [music-downloader/.VSCodeCounter/2022-11-14_12-36-23/results.md](/music-downloader/.VSCodeCounter/2022-11-14_12-36-23/results.md) | Markdown | 20 | 0 | 7 | 27 |
| [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 | 52 | 0 | 6 | 58 |
| [music-downloader/notes.md](/music-downloader/notes.md) | Markdown | 13 | 0 | 2 | 15 |
| [music-downloader/requirements.txt](/music-downloader/requirements.txt) | pip requirements | 8 | 0 | 0 | 8 |
| [music-downloader/src/__init__.py](/music-downloader/src/__init__.py) | Python | 0 | 0 | 1 | 1 |
| [music-downloader/src/__main__.py](/music-downloader/src/__main__.py) | Python | 82 | 3 | 26 | 111 |
| [music-downloader/src/audio/__init__.py](/music-downloader/src/audio/__init__.py) | Python | 0 | 0 | 1 | 1 |
| [music-downloader/src/audio/song.py](/music-downloader/src/audio/song.py) | Python | 3 | 0 | 1 | 4 |
| [music-downloader/src/download.py](/music-downloader/src/download.py) | Python | 56 | 11 | 18 | 85 |
| [music-downloader/src/download_links.py](/music-downloader/src/download_links.py) | Python | 30 | 11 | 15 | 56 |
| [music-downloader/src/lyrics/__init__.py](/music-downloader/src/lyrics/__init__.py) | Python | 0 | 0 | 1 | 1 |
| [music-downloader/src/lyrics/genius.py](/music-downloader/src/lyrics/genius.py) | Python | 99 | 38 | 35 | 172 |
| [music-downloader/src/lyrics/lyrics.py](/music-downloader/src/lyrics/lyrics.py) | Python | 48 | 19 | 26 | 93 |
| [music-downloader/src/lyrics_.py](/music-downloader/src/lyrics_.py) | Python | 51 | 19 | 26 | 96 |
| [music-downloader/src/metadata/__init__.py](/music-downloader/src/metadata/__init__.py) | Python | 0 | 0 | 1 | 1 |
| [music-downloader/src/metadata/database.py](/music-downloader/src/metadata/database.py) | Python | 161 | 66 | 40 | 267 |
| [music-downloader/src/metadata/download.py](/music-downloader/src/metadata/download.py) | Python | 254 | 24 | 63 | 341 |
| [music-downloader/src/metadata/object_handeling.py](/music-downloader/src/metadata/object_handeling.py) | Python | 19 | 0 | 6 | 25 |
| [music-downloader/src/metadata/search.py](/music-downloader/src/metadata/search.py) | Python | 253 | 40 | 72 | 365 |
| [music-downloader/src/scraping/__init__.py](/music-downloader/src/scraping/__init__.py) | Python | 0 | 0 | 1 | 1 |
| [music-downloader/src/scraping/file_system.py](/music-downloader/src/scraping/file_system.py) | Python | 40 | 0 | 18 | 58 |
| [music-downloader/src/scraping/musify.py](/music-downloader/src/scraping/musify.py) | Python | 100 | 2 | 35 | 137 |
| [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 | 66 | 2 | 19 | 87 |
| [music-downloader/src/url_to_path.py](/music-downloader/src/url_to_path.py) | Python | 35 | 6 | 18 | 59 |
| [music-downloader/src/utils/__init__.py](/music-downloader/src/utils/__init__.py) | Python | 1 | 1 | 1 | 3 |
| [music-downloader/src/utils/object_handeling.py](/music-downloader/src/utils/object_handeling.py) | Python | 19 | 0 | 6 | 25 |
| [music-downloader/src/utils/phonetic_compares.py](/music-downloader/src/utils/phonetic_compares.py) | Python | 34 | 0 | 15 | 49 |
| [music-downloader/src/utils/shared.py](/music-downloader/src/utils/shared.py) | Python | 35 | 0 | 11 | 46 |
[Summary](results.md) / Details / [Diff Summary](diff.md) / [Diff Details](diff-details.md)

View File

@ -1,55 +0,0 @@
# Diff Details
Date : 2022-11-14 15:47:38
Directory /home/lars/Projects/music-downloader
Total : 40 files, 890 codes, 24 comments, 199 blanks, all 1113 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-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/.VSCodeCounter/2022-11-10_14-10-12/details.md](/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/details.md) | Markdown | 52 | 0 | 6 | 58 |
| [music-downloader/.VSCodeCounter/2022-11-10_14-10-12/diff-details.md](/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/diff-details.md) | Markdown | 30 | 0 | 6 | 36 |
| [music-downloader/.VSCodeCounter/2022-11-10_14-10-12/diff.md](/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/diff.md) | Markdown | 26 | 0 | 7 | 33 |
| [music-downloader/.VSCodeCounter/2022-11-10_14-10-12/results.json](/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/results.json) | JSON | 1 | 0 | 0 | 1 |
| [music-downloader/.VSCodeCounter/2022-11-10_14-10-12/results.md](/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/results.md) | Markdown | 31 | 0 | 7 | 38 |
| [music-downloader/.VSCodeCounter/2022-11-14_08-49-48/details.md](/music-downloader/.VSCodeCounter/2022-11-14_08-49-48/details.md) | Markdown | 64 | 0 | 6 | 70 |
| [music-downloader/.VSCodeCounter/2022-11-14_08-49-48/diff-details.md](/music-downloader/.VSCodeCounter/2022-11-14_08-49-48/diff-details.md) | Markdown | 42 | 0 | 6 | 48 |
| [music-downloader/.VSCodeCounter/2022-11-14_08-49-48/diff.md](/music-downloader/.VSCodeCounter/2022-11-14_08-49-48/diff.md) | Markdown | 26 | 0 | 7 | 33 |
| [music-downloader/.VSCodeCounter/2022-11-14_08-49-48/results.json](/music-downloader/.VSCodeCounter/2022-11-14_08-49-48/results.json) | JSON | 1 | 0 | 0 | 1 |
| [music-downloader/.VSCodeCounter/2022-11-14_08-49-48/results.md](/music-downloader/.VSCodeCounter/2022-11-14_08-49-48/results.md) | Markdown | 33 | 0 | 7 | 40 |
| [music-downloader/.VSCodeCounter/2022-11-14_12-36-23/details.md](/music-downloader/.VSCodeCounter/2022-11-14_12-36-23/details.md) | Markdown | 34 | 0 | 6 | 40 |
| [music-downloader/.VSCodeCounter/2022-11-14_12-36-23/diff-details.md](/music-downloader/.VSCodeCounter/2022-11-14_12-36-23/diff-details.md) | Markdown | 40 | 0 | 6 | 46 |
| [music-downloader/.VSCodeCounter/2022-11-14_12-36-23/diff.md](/music-downloader/.VSCodeCounter/2022-11-14_12-36-23/diff.md) | Markdown | 28 | 0 | 7 | 35 |
| [music-downloader/.VSCodeCounter/2022-11-14_12-36-23/results.json](/music-downloader/.VSCodeCounter/2022-11-14_12-36-23/results.json) | JSON | 1 | 0 | 0 | 1 |
| [music-downloader/.VSCodeCounter/2022-11-14_12-36-23/results.md](/music-downloader/.VSCodeCounter/2022-11-14_12-36-23/results.md) | Markdown | 20 | 0 | 7 | 27 |
| [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 | 52 | 0 | 6 | 58 |
| [music-downloader/notes.md](/music-downloader/notes.md) | Markdown | 13 | 0 | 2 | 15 |
| [music-downloader/requirements.txt](/music-downloader/requirements.txt) | pip requirements | 8 | 0 | 0 | 8 |
| [music-downloader/src/lyrics/lyrics.py](/music-downloader/src/lyrics/lyrics.py) | Python | 48 | 19 | 26 | 93 |
| [music-downloader/src/lyrics_.py](/music-downloader/src/lyrics_.py) | Python | 5 | 0 | 3 | 8 |
| [music-downloader/src/metadata/database.py](/music-downloader/src/metadata/database.py) | Python | 6 | 5 | 2 | 13 |
| [music-downloader/src/metadata/database_structure.sql](/music-downloader/src/metadata/database_structure.sql) | SQLite | -51 | 0 | -6 | -57 |
| [music-downloader/src/utils/shared.py](/music-downloader/src/utils/shared.py) | Python | 1 | 0 | 0 | 1 |
[Summary](results.md) / [Details](details.md) / [Diff Summary](diff.md) / Diff Details

View File

@ -1,42 +0,0 @@
"filename", "language", "SQLite", "Python", "Markdown", "pip requirements", "JSON", "XML", "comment", "blank", "total"
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/details.md", "Markdown", 0, 0, 37, 0, 0, 0, 0, 6, 43
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/diff-details.md", "Markdown", 0, 0, 25, 0, 0, 0, 0, 6, 31
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/diff.md", "Markdown", 0, 0, 22, 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, 1, 0, 0, 0, 1
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/results.md", "Markdown", 0, 0, 26, 0, 0, 0, 0, 7, 33
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/details.md", "Markdown", 0, 0, 43, 0, 0, 0, 0, 6, 49
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/diff-details.md", "Markdown", 0, 0, 25, 0, 0, 0, 0, 6, 31
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/diff.md", "Markdown", 0, 0, 21, 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, 0, 1
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/results.md", "Markdown", 0, 0, 28, 0, 0, 0, 0, 7, 35
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/details.md", "Markdown", 0, 0, 52, 0, 0, 0, 0, 6, 58
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/diff-details.md", "Markdown", 0, 0, 30, 0, 0, 0, 0, 6, 36
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/diff.md", "Markdown", 0, 0, 26, 0, 0, 0, 0, 7, 33
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/results.json", "JSON", 0, 0, 0, 0, 1, 0, 0, 0, 1
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/results.md", "Markdown", 0, 0, 31, 0, 0, 0, 0, 7, 38
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_08-49-48/details.md", "Markdown", 0, 0, 64, 0, 0, 0, 0, 6, 70
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_08-49-48/diff-details.md", "Markdown", 0, 0, 42, 0, 0, 0, 0, 6, 48
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_08-49-48/diff.md", "Markdown", 0, 0, 26, 0, 0, 0, 0, 7, 33
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_08-49-48/results.json", "JSON", 0, 0, 0, 0, 1, 0, 0, 0, 1
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_08-49-48/results.md", "Markdown", 0, 0, 33, 0, 0, 0, 0, 7, 40
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_12-36-23/details.md", "Markdown", 0, 0, 34, 0, 0, 0, 0, 6, 40
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_12-36-23/diff-details.md", "Markdown", 0, 0, 40, 0, 0, 0, 0, 6, 46
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_12-36-23/diff.md", "Markdown", 0, 0, 28, 0, 0, 0, 0, 7, 35
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_12-36-23/results.json", "JSON", 0, 0, 0, 0, 1, 0, 0, 0, 1
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_12-36-23/results.md", "Markdown", 0, 0, 20, 0, 0, 0, 0, 7, 27
"/home/lars/Projects/music-downloader/.idea/dataSources.xml", "XML", 0, 0, 0, 0, 0, 12, 0, 0, 12
"/home/lars/Projects/music-downloader/.idea/inspectionProfiles/profiles_settings.xml", "XML", 0, 0, 0, 0, 0, 6, 0, 0, 6
"/home/lars/Projects/music-downloader/.idea/misc.xml", "XML", 0, 0, 0, 0, 0, 4, 0, 0, 4
"/home/lars/Projects/music-downloader/.idea/modules.xml", "XML", 0, 0, 0, 0, 0, 9, 0, 0, 9
"/home/lars/Projects/music-downloader/.idea/music-downloader.iml", "XML", 0, 0, 0, 0, 0, 11, 0, 0, 11
"/home/lars/Projects/music-downloader/.idea/vcs.xml", "XML", 0, 0, 0, 0, 0, 6, 0, 0, 6
"/home/lars/Projects/music-downloader/README.md", "Markdown", 0, 0, 102, 0, 0, 0, 0, 36, 138
"/home/lars/Projects/music-downloader/assets/database_structure.sql", "SQLite", 52, 0, 0, 0, 0, 0, 0, 6, 58
"/home/lars/Projects/music-downloader/notes.md", "Markdown", 0, 0, 13, 0, 0, 0, 0, 2, 15
"/home/lars/Projects/music-downloader/requirements.txt", "pip requirements", 0, 0, 0, 8, 0, 0, 0, 0, 8
"/home/lars/Projects/music-downloader/src/lyrics/lyrics.py", "Python", 0, 48, 0, 0, 0, 0, 19, 26, 93
"/home/lars/Projects/music-downloader/src/lyrics_.py", "Python", 0, 5, 0, 0, 0, 0, 0, 3, 8
"/home/lars/Projects/music-downloader/src/metadata/database.py", "Python", 0, 6, 0, 0, 0, 0, 5, 2, 13
"/home/lars/Projects/music-downloader/src/metadata/database_structure.sql", "SQLite", -51, 0, 0, 0, 0, 0, 0, -6, -57
"/home/lars/Projects/music-downloader/src/utils/shared.py", "Python", 0, 1, 0, 0, 0, 0, 0, 0, 1
"Total", "-", 1, 60, 768, 8, 5, 48, 24, 199, 1113
1 filename language SQLite Python Markdown pip requirements JSON XML comment blank total
2 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/details.md Markdown 0 0 37 0 0 0 0 6 43
3 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/diff-details.md Markdown 0 0 25 0 0 0 0 6 31
4 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/diff.md Markdown 0 0 22 0 0 0 0 7 29
5 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/results.json JSON 0 0 0 0 1 0 0 0 1
6 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/results.md Markdown 0 0 26 0 0 0 0 7 33
7 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/details.md Markdown 0 0 43 0 0 0 0 6 49
8 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/diff-details.md Markdown 0 0 25 0 0 0 0 6 31
9 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/diff.md Markdown 0 0 21 0 0 0 0 7 28
10 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/results.json JSON 0 0 0 0 1 0 0 0 1
11 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/results.md Markdown 0 0 28 0 0 0 0 7 35
12 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/details.md Markdown 0 0 52 0 0 0 0 6 58
13 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/diff-details.md Markdown 0 0 30 0 0 0 0 6 36
14 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/diff.md Markdown 0 0 26 0 0 0 0 7 33
15 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/results.json JSON 0 0 0 0 1 0 0 0 1
16 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/results.md Markdown 0 0 31 0 0 0 0 7 38
17 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_08-49-48/details.md Markdown 0 0 64 0 0 0 0 6 70
18 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_08-49-48/diff-details.md Markdown 0 0 42 0 0 0 0 6 48
19 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_08-49-48/diff.md Markdown 0 0 26 0 0 0 0 7 33
20 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_08-49-48/results.json JSON 0 0 0 0 1 0 0 0 1
21 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_08-49-48/results.md Markdown 0 0 33 0 0 0 0 7 40
22 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_12-36-23/details.md Markdown 0 0 34 0 0 0 0 6 40
23 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_12-36-23/diff-details.md Markdown 0 0 40 0 0 0 0 6 46
24 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_12-36-23/diff.md Markdown 0 0 28 0 0 0 0 7 35
25 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_12-36-23/results.json JSON 0 0 0 0 1 0 0 0 1
26 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_12-36-23/results.md Markdown 0 0 20 0 0 0 0 7 27
27 /home/lars/Projects/music-downloader/.idea/dataSources.xml XML 0 0 0 0 0 12 0 0 12
28 /home/lars/Projects/music-downloader/.idea/inspectionProfiles/profiles_settings.xml XML 0 0 0 0 0 6 0 0 6
29 /home/lars/Projects/music-downloader/.idea/misc.xml XML 0 0 0 0 0 4 0 0 4
30 /home/lars/Projects/music-downloader/.idea/modules.xml XML 0 0 0 0 0 9 0 0 9
31 /home/lars/Projects/music-downloader/.idea/music-downloader.iml XML 0 0 0 0 0 11 0 0 11
32 /home/lars/Projects/music-downloader/.idea/vcs.xml XML 0 0 0 0 0 6 0 0 6
33 /home/lars/Projects/music-downloader/README.md Markdown 0 0 102 0 0 0 0 36 138
34 /home/lars/Projects/music-downloader/assets/database_structure.sql SQLite 52 0 0 0 0 0 0 6 58
35 /home/lars/Projects/music-downloader/notes.md Markdown 0 0 13 0 0 0 0 2 15
36 /home/lars/Projects/music-downloader/requirements.txt pip requirements 0 0 0 8 0 0 0 0 8
37 /home/lars/Projects/music-downloader/src/lyrics/lyrics.py Python 0 48 0 0 0 0 19 26 93
38 /home/lars/Projects/music-downloader/src/lyrics_.py Python 0 5 0 0 0 0 0 3 8
39 /home/lars/Projects/music-downloader/src/metadata/database.py Python 0 6 0 0 0 0 5 2 13
40 /home/lars/Projects/music-downloader/src/metadata/database_structure.sql SQLite -51 0 0 0 0 0 0 -6 -57
41 /home/lars/Projects/music-downloader/src/utils/shared.py Python 0 1 0 0 0 0 0 0 1
42 Total - 1 60 768 8 5 48 24 199 1113

View File

@ -1,39 +0,0 @@
# Diff Summary
Date : 2022-11-14 15:47:38
Directory /home/lars/Projects/music-downloader
Total : 40 files, 890 codes, 24 comments, 199 blanks, all 1113 lines
[Summary](results.md) / [Details](details.md) / Diff Summary / [Diff Details](diff-details.md)
## Languages
| language | files | code | comment | blank | total |
| :--- | ---: | ---: | ---: | ---: | ---: |
| Markdown | 22 | 768 | 0 | 168 | 936 |
| Python | 4 | 60 | 24 | 31 | 115 |
| XML | 6 | 48 | 0 | 0 | 48 |
| pip requirements | 1 | 8 | 0 | 0 | 8 |
| JSON | 5 | 5 | 0 | 0 | 5 |
| SQLite | 2 | 1 | 0 | 0 | 1 |
## Directories
| path | files | code | comment | blank | total |
| :--- | ---: | ---: | ---: | ---: | ---: |
| . | 40 | 890 | 24 | 199 | 1,113 |
| .VSCodeCounter | 25 | 658 | 0 | 130 | 788 |
| .VSCodeCounter/2022-11-07_11-51-29 | 5 | 111 | 0 | 26 | 137 |
| .VSCodeCounter/2022-11-08_16-41-25 | 5 | 118 | 0 | 26 | 144 |
| .VSCodeCounter/2022-11-10_14-10-12 | 5 | 140 | 0 | 26 | 166 |
| .VSCodeCounter/2022-11-14_08-49-48 | 5 | 166 | 0 | 26 | 192 |
| .VSCodeCounter/2022-11-14_12-36-23 | 5 | 123 | 0 | 26 | 149 |
| .idea | 6 | 48 | 0 | 0 | 48 |
| .idea/inspectionProfiles | 1 | 6 | 0 | 0 | 6 |
| assets | 1 | 52 | 0 | 6 | 58 |
| src | 5 | 9 | 24 | 25 | 58 |
| src/lyrics | 1 | 48 | 19 | 26 | 93 |
| src/metadata | 2 | -45 | 5 | -4 | -44 |
| src/utils | 1 | 1 | 0 | 0 | 1 |
[Summary](results.md) / [Details](details.md) / Diff Summary / [Diff Details](diff-details.md)

View File

@ -1,82 +0,0 @@
Date : 2022-11-14 15:47:38
Directory : /home/lars/Projects/music-downloader
Total : 40 files, 890 codes, 24 comments, 199 blanks, all 1113 lines
Languages
+------------------+------------+------------+------------+------------+------------+
| language | files | code | comment | blank | total |
+------------------+------------+------------+------------+------------+------------+
| Markdown | 22 | 768 | 0 | 168 | 936 |
| Python | 4 | 60 | 24 | 31 | 115 |
| XML | 6 | 48 | 0 | 0 | 48 |
| pip requirements | 1 | 8 | 0 | 0 | 8 |
| JSON | 5 | 5 | 0 | 0 | 5 |
| SQLite | 2 | 1 | 0 | 0 | 1 |
+------------------+------------+------------+------------+------------+------------+
Directories
+-----------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+
| path | files | code | comment | blank | total |
+-----------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+
| . | 40 | 890 | 24 | 199 | 1,113 |
| .VSCodeCounter | 25 | 658 | 0 | 130 | 788 |
| .VSCodeCounter/2022-11-07_11-51-29 | 5 | 111 | 0 | 26 | 137 |
| .VSCodeCounter/2022-11-08_16-41-25 | 5 | 118 | 0 | 26 | 144 |
| .VSCodeCounter/2022-11-10_14-10-12 | 5 | 140 | 0 | 26 | 166 |
| .VSCodeCounter/2022-11-14_08-49-48 | 5 | 166 | 0 | 26 | 192 |
| .VSCodeCounter/2022-11-14_12-36-23 | 5 | 123 | 0 | 26 | 149 |
| .idea | 6 | 48 | 0 | 0 | 48 |
| .idea/inspectionProfiles | 1 | 6 | 0 | 0 | 6 |
| assets | 1 | 52 | 0 | 6 | 58 |
| src | 5 | 9 | 24 | 25 | 58 |
| src/lyrics | 1 | 48 | 19 | 26 | 93 |
| src/metadata | 2 | -45 | 5 | -4 | -44 |
| src/utils | 1 | 1 | 0 | 0 | 1 |
+-----------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+
Files
+-----------------------------------------------------------------------------------------+------------------+------------+------------+------------+------------+
| filename | language | code | comment | blank | total |
+-----------------------------------------------------------------------------------------+------------------+------------+------------+------------+------------+
| /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/.VSCodeCounter/2022-11-10_14-10-12/details.md | Markdown | 52 | 0 | 6 | 58 |
| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/diff-details.md | Markdown | 30 | 0 | 6 | 36 |
| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/diff.md | Markdown | 26 | 0 | 7 | 33 |
| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/results.json | JSON | 1 | 0 | 0 | 1 |
| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/results.md | Markdown | 31 | 0 | 7 | 38 |
| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_08-49-48/details.md | Markdown | 64 | 0 | 6 | 70 |
| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_08-49-48/diff-details.md | Markdown | 42 | 0 | 6 | 48 |
| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_08-49-48/diff.md | Markdown | 26 | 0 | 7 | 33 |
| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_08-49-48/results.json | JSON | 1 | 0 | 0 | 1 |
| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_08-49-48/results.md | Markdown | 33 | 0 | 7 | 40 |
| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_12-36-23/details.md | Markdown | 34 | 0 | 6 | 40 |
| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_12-36-23/diff-details.md | Markdown | 40 | 0 | 6 | 46 |
| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_12-36-23/diff.md | Markdown | 28 | 0 | 7 | 35 |
| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_12-36-23/results.json | JSON | 1 | 0 | 0 | 1 |
| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_12-36-23/results.md | Markdown | 20 | 0 | 7 | 27 |
| /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 | 52 | 0 | 6 | 58 |
| /home/lars/Projects/music-downloader/notes.md | Markdown | 13 | 0 | 2 | 15 |
| /home/lars/Projects/music-downloader/requirements.txt | pip requirements | 8 | 0 | 0 | 8 |
| /home/lars/Projects/music-downloader/src/lyrics/lyrics.py | Python | 48 | 19 | 26 | 93 |
| /home/lars/Projects/music-downloader/src/lyrics_.py | Python | 5 | 0 | 3 | 8 |
| /home/lars/Projects/music-downloader/src/metadata/database.py | Python | 6 | 5 | 2 | 13 |
| /home/lars/Projects/music-downloader/src/metadata/database_structure.sql | SQLite | -51 | 0 | -6 | -57 |
| /home/lars/Projects/music-downloader/src/utils/shared.py | Python | 1 | 0 | 0 | 1 |
| Total | | 890 | 24 | 199 | 1,113 |
+-----------------------------------------------------------------------------------------+------------------+------------+------------+------------+------------+

View File

@ -1,62 +0,0 @@
"filename", "language", "SQLite", "Python", "Markdown", "pip requirements", "JSON", "XML", "comment", "blank", "total"
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/details.md", "Markdown", 0, 0, 37, 0, 0, 0, 0, 6, 43
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/diff-details.md", "Markdown", 0, 0, 25, 0, 0, 0, 0, 6, 31
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/diff.md", "Markdown", 0, 0, 22, 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, 1, 0, 0, 0, 1
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/results.md", "Markdown", 0, 0, 26, 0, 0, 0, 0, 7, 33
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/details.md", "Markdown", 0, 0, 43, 0, 0, 0, 0, 6, 49
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/diff-details.md", "Markdown", 0, 0, 25, 0, 0, 0, 0, 6, 31
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/diff.md", "Markdown", 0, 0, 21, 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, 0, 1
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/results.md", "Markdown", 0, 0, 28, 0, 0, 0, 0, 7, 35
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/details.md", "Markdown", 0, 0, 52, 0, 0, 0, 0, 6, 58
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/diff-details.md", "Markdown", 0, 0, 30, 0, 0, 0, 0, 6, 36
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/diff.md", "Markdown", 0, 0, 26, 0, 0, 0, 0, 7, 33
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/results.json", "JSON", 0, 0, 0, 0, 1, 0, 0, 0, 1
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/results.md", "Markdown", 0, 0, 31, 0, 0, 0, 0, 7, 38
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_08-49-48/details.md", "Markdown", 0, 0, 64, 0, 0, 0, 0, 6, 70
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_08-49-48/diff-details.md", "Markdown", 0, 0, 42, 0, 0, 0, 0, 6, 48
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_08-49-48/diff.md", "Markdown", 0, 0, 26, 0, 0, 0, 0, 7, 33
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_08-49-48/results.json", "JSON", 0, 0, 0, 0, 1, 0, 0, 0, 1
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_08-49-48/results.md", "Markdown", 0, 0, 33, 0, 0, 0, 0, 7, 40
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_12-36-23/details.md", "Markdown", 0, 0, 34, 0, 0, 0, 0, 6, 40
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_12-36-23/diff-details.md", "Markdown", 0, 0, 40, 0, 0, 0, 0, 6, 46
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_12-36-23/diff.md", "Markdown", 0, 0, 28, 0, 0, 0, 0, 7, 35
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_12-36-23/results.json", "JSON", 0, 0, 0, 0, 1, 0, 0, 0, 1
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_12-36-23/results.md", "Markdown", 0, 0, 20, 0, 0, 0, 0, 7, 27
"/home/lars/Projects/music-downloader/.idea/dataSources.xml", "XML", 0, 0, 0, 0, 0, 12, 0, 0, 12
"/home/lars/Projects/music-downloader/.idea/inspectionProfiles/profiles_settings.xml", "XML", 0, 0, 0, 0, 0, 6, 0, 0, 6
"/home/lars/Projects/music-downloader/.idea/misc.xml", "XML", 0, 0, 0, 0, 0, 4, 0, 0, 4
"/home/lars/Projects/music-downloader/.idea/modules.xml", "XML", 0, 0, 0, 0, 0, 9, 0, 0, 9
"/home/lars/Projects/music-downloader/.idea/music-downloader.iml", "XML", 0, 0, 0, 0, 0, 11, 0, 0, 11
"/home/lars/Projects/music-downloader/.idea/vcs.xml", "XML", 0, 0, 0, 0, 0, 6, 0, 0, 6
"/home/lars/Projects/music-downloader/README.md", "Markdown", 0, 0, 102, 0, 0, 0, 0, 36, 138
"/home/lars/Projects/music-downloader/assets/database_structure.sql", "SQLite", 52, 0, 0, 0, 0, 0, 0, 6, 58
"/home/lars/Projects/music-downloader/notes.md", "Markdown", 0, 0, 13, 0, 0, 0, 0, 2, 15
"/home/lars/Projects/music-downloader/requirements.txt", "pip requirements", 0, 0, 0, 8, 0, 0, 0, 0, 8
"/home/lars/Projects/music-downloader/src/__init__.py", "Python", 0, 0, 0, 0, 0, 0, 0, 1, 1
"/home/lars/Projects/music-downloader/src/__main__.py", "Python", 0, 82, 0, 0, 0, 0, 3, 26, 111
"/home/lars/Projects/music-downloader/src/audio/__init__.py", "Python", 0, 0, 0, 0, 0, 0, 0, 1, 1
"/home/lars/Projects/music-downloader/src/audio/song.py", "Python", 0, 3, 0, 0, 0, 0, 0, 1, 4
"/home/lars/Projects/music-downloader/src/download.py", "Python", 0, 56, 0, 0, 0, 0, 11, 18, 85
"/home/lars/Projects/music-downloader/src/download_links.py", "Python", 0, 30, 0, 0, 0, 0, 11, 15, 56
"/home/lars/Projects/music-downloader/src/lyrics/__init__.py", "Python", 0, 0, 0, 0, 0, 0, 0, 1, 1
"/home/lars/Projects/music-downloader/src/lyrics/genius.py", "Python", 0, 99, 0, 0, 0, 0, 38, 35, 172
"/home/lars/Projects/music-downloader/src/lyrics/lyrics.py", "Python", 0, 48, 0, 0, 0, 0, 19, 26, 93
"/home/lars/Projects/music-downloader/src/lyrics_.py", "Python", 0, 51, 0, 0, 0, 0, 19, 26, 96
"/home/lars/Projects/music-downloader/src/metadata/__init__.py", "Python", 0, 0, 0, 0, 0, 0, 0, 1, 1
"/home/lars/Projects/music-downloader/src/metadata/database.py", "Python", 0, 161, 0, 0, 0, 0, 66, 40, 267
"/home/lars/Projects/music-downloader/src/metadata/download.py", "Python", 0, 254, 0, 0, 0, 0, 24, 63, 341
"/home/lars/Projects/music-downloader/src/metadata/object_handeling.py", "Python", 0, 19, 0, 0, 0, 0, 0, 6, 25
"/home/lars/Projects/music-downloader/src/metadata/search.py", "Python", 0, 253, 0, 0, 0, 0, 40, 72, 365
"/home/lars/Projects/music-downloader/src/scraping/__init__.py", "Python", 0, 0, 0, 0, 0, 0, 0, 1, 1
"/home/lars/Projects/music-downloader/src/scraping/file_system.py", "Python", 0, 40, 0, 0, 0, 0, 0, 18, 58
"/home/lars/Projects/music-downloader/src/scraping/musify.py", "Python", 0, 100, 0, 0, 0, 0, 2, 35, 137
"/home/lars/Projects/music-downloader/src/scraping/phonetic_compares.py", "Python", 0, 15, 0, 0, 0, 0, 0, 8, 23
"/home/lars/Projects/music-downloader/src/scraping/youtube_music.py", "Python", 0, 66, 0, 0, 0, 0, 2, 19, 87
"/home/lars/Projects/music-downloader/src/url_to_path.py", "Python", 0, 35, 0, 0, 0, 0, 6, 18, 59
"/home/lars/Projects/music-downloader/src/utils/__init__.py", "Python", 0, 1, 0, 0, 0, 0, 1, 1, 3
"/home/lars/Projects/music-downloader/src/utils/object_handeling.py", "Python", 0, 19, 0, 0, 0, 0, 0, 6, 25
"/home/lars/Projects/music-downloader/src/utils/phonetic_compares.py", "Python", 0, 34, 0, 0, 0, 0, 0, 15, 49
"/home/lars/Projects/music-downloader/src/utils/shared.py", "Python", 0, 35, 0, 0, 0, 0, 0, 11, 46
"Total", "-", 52, 1401, 768, 8, 5, 48, 242, 638, 3162
1 filename language SQLite Python Markdown pip requirements JSON XML comment blank total
2 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/details.md Markdown 0 0 37 0 0 0 0 6 43
3 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/diff-details.md Markdown 0 0 25 0 0 0 0 6 31
4 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/diff.md Markdown 0 0 22 0 0 0 0 7 29
5 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/results.json JSON 0 0 0 0 1 0 0 0 1
6 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/results.md Markdown 0 0 26 0 0 0 0 7 33
7 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/details.md Markdown 0 0 43 0 0 0 0 6 49
8 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/diff-details.md Markdown 0 0 25 0 0 0 0 6 31
9 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/diff.md Markdown 0 0 21 0 0 0 0 7 28
10 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/results.json JSON 0 0 0 0 1 0 0 0 1
11 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/results.md Markdown 0 0 28 0 0 0 0 7 35
12 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/details.md Markdown 0 0 52 0 0 0 0 6 58
13 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/diff-details.md Markdown 0 0 30 0 0 0 0 6 36
14 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/diff.md Markdown 0 0 26 0 0 0 0 7 33
15 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/results.json JSON 0 0 0 0 1 0 0 0 1
16 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/results.md Markdown 0 0 31 0 0 0 0 7 38
17 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_08-49-48/details.md Markdown 0 0 64 0 0 0 0 6 70
18 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_08-49-48/diff-details.md Markdown 0 0 42 0 0 0 0 6 48
19 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_08-49-48/diff.md Markdown 0 0 26 0 0 0 0 7 33
20 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_08-49-48/results.json JSON 0 0 0 0 1 0 0 0 1
21 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_08-49-48/results.md Markdown 0 0 33 0 0 0 0 7 40
22 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_12-36-23/details.md Markdown 0 0 34 0 0 0 0 6 40
23 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_12-36-23/diff-details.md Markdown 0 0 40 0 0 0 0 6 46
24 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_12-36-23/diff.md Markdown 0 0 28 0 0 0 0 7 35
25 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_12-36-23/results.json JSON 0 0 0 0 1 0 0 0 1
26 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_12-36-23/results.md Markdown 0 0 20 0 0 0 0 7 27
27 /home/lars/Projects/music-downloader/.idea/dataSources.xml XML 0 0 0 0 0 12 0 0 12
28 /home/lars/Projects/music-downloader/.idea/inspectionProfiles/profiles_settings.xml XML 0 0 0 0 0 6 0 0 6
29 /home/lars/Projects/music-downloader/.idea/misc.xml XML 0 0 0 0 0 4 0 0 4
30 /home/lars/Projects/music-downloader/.idea/modules.xml XML 0 0 0 0 0 9 0 0 9
31 /home/lars/Projects/music-downloader/.idea/music-downloader.iml XML 0 0 0 0 0 11 0 0 11
32 /home/lars/Projects/music-downloader/.idea/vcs.xml XML 0 0 0 0 0 6 0 0 6
33 /home/lars/Projects/music-downloader/README.md Markdown 0 0 102 0 0 0 0 36 138
34 /home/lars/Projects/music-downloader/assets/database_structure.sql SQLite 52 0 0 0 0 0 0 6 58
35 /home/lars/Projects/music-downloader/notes.md Markdown 0 0 13 0 0 0 0 2 15
36 /home/lars/Projects/music-downloader/requirements.txt pip requirements 0 0 0 8 0 0 0 0 8
37 /home/lars/Projects/music-downloader/src/__init__.py Python 0 0 0 0 0 0 0 1 1
38 /home/lars/Projects/music-downloader/src/__main__.py Python 0 82 0 0 0 0 3 26 111
39 /home/lars/Projects/music-downloader/src/audio/__init__.py Python 0 0 0 0 0 0 0 1 1
40 /home/lars/Projects/music-downloader/src/audio/song.py Python 0 3 0 0 0 0 0 1 4
41 /home/lars/Projects/music-downloader/src/download.py Python 0 56 0 0 0 0 11 18 85
42 /home/lars/Projects/music-downloader/src/download_links.py Python 0 30 0 0 0 0 11 15 56
43 /home/lars/Projects/music-downloader/src/lyrics/__init__.py Python 0 0 0 0 0 0 0 1 1
44 /home/lars/Projects/music-downloader/src/lyrics/genius.py Python 0 99 0 0 0 0 38 35 172
45 /home/lars/Projects/music-downloader/src/lyrics/lyrics.py Python 0 48 0 0 0 0 19 26 93
46 /home/lars/Projects/music-downloader/src/lyrics_.py Python 0 51 0 0 0 0 19 26 96
47 /home/lars/Projects/music-downloader/src/metadata/__init__.py Python 0 0 0 0 0 0 0 1 1
48 /home/lars/Projects/music-downloader/src/metadata/database.py Python 0 161 0 0 0 0 66 40 267
49 /home/lars/Projects/music-downloader/src/metadata/download.py Python 0 254 0 0 0 0 24 63 341
50 /home/lars/Projects/music-downloader/src/metadata/object_handeling.py Python 0 19 0 0 0 0 0 6 25
51 /home/lars/Projects/music-downloader/src/metadata/search.py Python 0 253 0 0 0 0 40 72 365
52 /home/lars/Projects/music-downloader/src/scraping/__init__.py Python 0 0 0 0 0 0 0 1 1
53 /home/lars/Projects/music-downloader/src/scraping/file_system.py Python 0 40 0 0 0 0 0 18 58
54 /home/lars/Projects/music-downloader/src/scraping/musify.py Python 0 100 0 0 0 0 2 35 137
55 /home/lars/Projects/music-downloader/src/scraping/phonetic_compares.py Python 0 15 0 0 0 0 0 8 23
56 /home/lars/Projects/music-downloader/src/scraping/youtube_music.py Python 0 66 0 0 0 0 2 19 87
57 /home/lars/Projects/music-downloader/src/url_to_path.py Python 0 35 0 0 0 0 6 18 59
58 /home/lars/Projects/music-downloader/src/utils/__init__.py Python 0 1 0 0 0 0 1 1 3
59 /home/lars/Projects/music-downloader/src/utils/object_handeling.py Python 0 19 0 0 0 0 0 6 25
60 /home/lars/Projects/music-downloader/src/utils/phonetic_compares.py Python 0 34 0 0 0 0 0 15 49
61 /home/lars/Projects/music-downloader/src/utils/shared.py Python 0 35 0 0 0 0 0 11 46
62 Total - 52 1401 768 8 5 48 242 638 3162

File diff suppressed because one or more lines are too long

View File

@ -1,41 +0,0 @@
# Summary
Date : 2022-11-14 15:47:38
Directory /home/lars/Projects/music-downloader
Total : 60 files, 2282 codes, 242 comments, 638 blanks, all 3162 lines
Summary / [Details](details.md) / [Diff Summary](diff.md) / [Diff Details](diff-details.md)
## Languages
| language | files | code | comment | blank | total |
| :--- | ---: | ---: | ---: | ---: | ---: |
| Python | 25 | 1,401 | 242 | 464 | 2,107 |
| Markdown | 22 | 768 | 0 | 168 | 936 |
| SQLite | 1 | 52 | 0 | 6 | 58 |
| XML | 6 | 48 | 0 | 0 | 48 |
| pip requirements | 1 | 8 | 0 | 0 | 8 |
| JSON | 5 | 5 | 0 | 0 | 5 |
## Directories
| path | files | code | comment | blank | total |
| :--- | ---: | ---: | ---: | ---: | ---: |
| . | 60 | 2,282 | 242 | 638 | 3,162 |
| .VSCodeCounter | 25 | 658 | 0 | 130 | 788 |
| .VSCodeCounter/2022-11-07_11-51-29 | 5 | 111 | 0 | 26 | 137 |
| .VSCodeCounter/2022-11-08_16-41-25 | 5 | 118 | 0 | 26 | 144 |
| .VSCodeCounter/2022-11-10_14-10-12 | 5 | 140 | 0 | 26 | 166 |
| .VSCodeCounter/2022-11-14_08-49-48 | 5 | 166 | 0 | 26 | 192 |
| .VSCodeCounter/2022-11-14_12-36-23 | 5 | 123 | 0 | 26 | 149 |
| .idea | 6 | 48 | 0 | 0 | 48 |
| .idea/inspectionProfiles | 1 | 6 | 0 | 0 | 6 |
| assets | 1 | 52 | 0 | 6 | 58 |
| src | 25 | 1,401 | 242 | 464 | 2,107 |
| src/audio | 2 | 3 | 0 | 2 | 5 |
| src/lyrics | 3 | 147 | 57 | 62 | 266 |
| src/metadata | 5 | 687 | 130 | 182 | 999 |
| src/scraping | 5 | 221 | 4 | 81 | 306 |
| src/utils | 4 | 89 | 1 | 33 | 123 |
Summary / [Details](details.md) / [Diff Summary](diff.md) / [Diff Details](diff-details.md)

View File

@ -1,104 +0,0 @@
Date : 2022-11-14 15:47:38
Directory : /home/lars/Projects/music-downloader
Total : 60 files, 2282 codes, 242 comments, 638 blanks, all 3162 lines
Languages
+------------------+------------+------------+------------+------------+------------+
| language | files | code | comment | blank | total |
+------------------+------------+------------+------------+------------+------------+
| Python | 25 | 1,401 | 242 | 464 | 2,107 |
| Markdown | 22 | 768 | 0 | 168 | 936 |
| SQLite | 1 | 52 | 0 | 6 | 58 |
| XML | 6 | 48 | 0 | 0 | 48 |
| pip requirements | 1 | 8 | 0 | 0 | 8 |
| JSON | 5 | 5 | 0 | 0 | 5 |
+------------------+------------+------------+------------+------------+------------+
Directories
+-----------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+
| path | files | code | comment | blank | total |
+-----------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+
| . | 60 | 2,282 | 242 | 638 | 3,162 |
| .VSCodeCounter | 25 | 658 | 0 | 130 | 788 |
| .VSCodeCounter/2022-11-07_11-51-29 | 5 | 111 | 0 | 26 | 137 |
| .VSCodeCounter/2022-11-08_16-41-25 | 5 | 118 | 0 | 26 | 144 |
| .VSCodeCounter/2022-11-10_14-10-12 | 5 | 140 | 0 | 26 | 166 |
| .VSCodeCounter/2022-11-14_08-49-48 | 5 | 166 | 0 | 26 | 192 |
| .VSCodeCounter/2022-11-14_12-36-23 | 5 | 123 | 0 | 26 | 149 |
| .idea | 6 | 48 | 0 | 0 | 48 |
| .idea/inspectionProfiles | 1 | 6 | 0 | 0 | 6 |
| assets | 1 | 52 | 0 | 6 | 58 |
| src | 25 | 1,401 | 242 | 464 | 2,107 |
| src/audio | 2 | 3 | 0 | 2 | 5 |
| src/lyrics | 3 | 147 | 57 | 62 | 266 |
| src/metadata | 5 | 687 | 130 | 182 | 999 |
| src/scraping | 5 | 221 | 4 | 81 | 306 |
| src/utils | 4 | 89 | 1 | 33 | 123 |
+-----------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+
Files
+-----------------------------------------------------------------------------------------+------------------+------------+------------+------------+------------+
| filename | language | code | comment | blank | total |
+-----------------------------------------------------------------------------------------+------------------+------------+------------+------------+------------+
| /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/.VSCodeCounter/2022-11-10_14-10-12/details.md | Markdown | 52 | 0 | 6 | 58 |
| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/diff-details.md | Markdown | 30 | 0 | 6 | 36 |
| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/diff.md | Markdown | 26 | 0 | 7 | 33 |
| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/results.json | JSON | 1 | 0 | 0 | 1 |
| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/results.md | Markdown | 31 | 0 | 7 | 38 |
| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_08-49-48/details.md | Markdown | 64 | 0 | 6 | 70 |
| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_08-49-48/diff-details.md | Markdown | 42 | 0 | 6 | 48 |
| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_08-49-48/diff.md | Markdown | 26 | 0 | 7 | 33 |
| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_08-49-48/results.json | JSON | 1 | 0 | 0 | 1 |
| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_08-49-48/results.md | Markdown | 33 | 0 | 7 | 40 |
| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_12-36-23/details.md | Markdown | 34 | 0 | 6 | 40 |
| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_12-36-23/diff-details.md | Markdown | 40 | 0 | 6 | 46 |
| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_12-36-23/diff.md | Markdown | 28 | 0 | 7 | 35 |
| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_12-36-23/results.json | JSON | 1 | 0 | 0 | 1 |
| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-14_12-36-23/results.md | Markdown | 20 | 0 | 7 | 27 |
| /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 | 52 | 0 | 6 | 58 |
| /home/lars/Projects/music-downloader/notes.md | Markdown | 13 | 0 | 2 | 15 |
| /home/lars/Projects/music-downloader/requirements.txt | pip requirements | 8 | 0 | 0 | 8 |
| /home/lars/Projects/music-downloader/src/__init__.py | Python | 0 | 0 | 1 | 1 |
| /home/lars/Projects/music-downloader/src/__main__.py | Python | 82 | 3 | 26 | 111 |
| /home/lars/Projects/music-downloader/src/audio/__init__.py | Python | 0 | 0 | 1 | 1 |
| /home/lars/Projects/music-downloader/src/audio/song.py | Python | 3 | 0 | 1 | 4 |
| /home/lars/Projects/music-downloader/src/download.py | Python | 56 | 11 | 18 | 85 |
| /home/lars/Projects/music-downloader/src/download_links.py | Python | 30 | 11 | 15 | 56 |
| /home/lars/Projects/music-downloader/src/lyrics/__init__.py | Python | 0 | 0 | 1 | 1 |
| /home/lars/Projects/music-downloader/src/lyrics/genius.py | Python | 99 | 38 | 35 | 172 |
| /home/lars/Projects/music-downloader/src/lyrics/lyrics.py | Python | 48 | 19 | 26 | 93 |
| /home/lars/Projects/music-downloader/src/lyrics_.py | Python | 51 | 19 | 26 | 96 |
| /home/lars/Projects/music-downloader/src/metadata/__init__.py | Python | 0 | 0 | 1 | 1 |
| /home/lars/Projects/music-downloader/src/metadata/database.py | Python | 161 | 66 | 40 | 267 |
| /home/lars/Projects/music-downloader/src/metadata/download.py | Python | 254 | 24 | 63 | 341 |
| /home/lars/Projects/music-downloader/src/metadata/object_handeling.py | Python | 19 | 0 | 6 | 25 |
| /home/lars/Projects/music-downloader/src/metadata/search.py | Python | 253 | 40 | 72 | 365 |
| /home/lars/Projects/music-downloader/src/scraping/__init__.py | Python | 0 | 0 | 1 | 1 |
| /home/lars/Projects/music-downloader/src/scraping/file_system.py | Python | 40 | 0 | 18 | 58 |
| /home/lars/Projects/music-downloader/src/scraping/musify.py | Python | 100 | 2 | 35 | 137 |
| /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 | 66 | 2 | 19 | 87 |
| /home/lars/Projects/music-downloader/src/url_to_path.py | Python | 35 | 6 | 18 | 59 |
| /home/lars/Projects/music-downloader/src/utils/__init__.py | Python | 1 | 1 | 1 | 3 |
| /home/lars/Projects/music-downloader/src/utils/object_handeling.py | Python | 19 | 0 | 6 | 25 |
| /home/lars/Projects/music-downloader/src/utils/phonetic_compares.py | Python | 34 | 0 | 15 | 49 |
| /home/lars/Projects/music-downloader/src/utils/shared.py | Python | 35 | 0 | 11 | 46 |
| Total | | 2,282 | 242 | 638 | 3,162 |
+-----------------------------------------------------------------------------------------+------------------+------------+------------+------------+------------+

View File

@ -3,7 +3,8 @@ from music_kraken import (
Song,
Lyrics,
Target,
Source
Source,
Album
)
import music_kraken.database.new_database as db
@ -12,9 +13,13 @@ import music_kraken.database.new_database as db
cache = music_kraken.database.new_database.Database("test.db")
cache.reset()
album_input = Album(
title="One Final Action"
)
song_input = Song(
title="Vein Deep in the Solution",
release_name="One Final Action",
album_name=album_input.title,
length=666,
target=Target(file="~/Music/genre/artist/album/song.mp3", path="~/Music/genre/artist/album"),
metadata={
@ -27,15 +32,29 @@ song_input = Song(
sources=[
Source(src="youtube", url="https://youtu.be/dfnsdajlhkjhsd"),
Source(src="musify", url="https://ln.topdf.de/Music-Kraken/")
]
],
album_ref=album_input.reference
)
song_ref = song.reference
additional_song = Song(
title="A fcking Song",
album_ref=album_input.reference
)
song_ref = song_input.reference
print(song_ref)
lyrics = Lyrics(text="these are some Lyrics that don't belong to any Song", language="en")
cache.push([song, lyrics])
cache.push([album_input, song_input, lyrics, additional_song])
song_output = cache.pull_single_song(song_ref=song_ref)
print(song_output)
# getting song by song ref
song_output_list = cache.pull_songs(song_ref=song_ref)
print(len(song_output_list), song_output_list)
# song_output = song_output_list[0]
# print(song_output)
# print("album id", song_output.album_ref)
# getting song by album ref
song_output_list = cache.pull_songs(album_ref=album_input.reference)
print(len(song_output_list), song_output_list)

View File

@ -43,6 +43,7 @@ Artist = database.Artist
Source = database.Source
Target = database.Target
Lyrics = database.Lyrics
Album = database.Album
MetadataSearch = metadata.MetadataSearch
MetadataDownload = metadata.MetadataDownload

View File

@ -10,4 +10,6 @@ Target = objects.Target
Metadata = objects.Metadata
Lyrics = objects.Lyrics
Album = objects.Album
# cache = temp_database.TempDatabase()

View File

@ -11,7 +11,8 @@ from .objects import (
Metadata,
Target,
Artist,
Source
Source,
Album
)
logger = logging.getLogger("database")
@ -21,11 +22,11 @@ logger = logging.getLogger("database")
# use complicated query builder
SONG_QUERY = """
SELECT
Song.id AS song_id, Song.name AS title, Song.isrc AS isrc, Song.length AS length,
Song.id AS song_id, Song.name AS title, Song.isrc AS isrc, Song.length AS length, Song.album_id,
Target.id AS target_id, Target.file AS file, Target.path AS path
FROM Song
LEFT JOIN Target ON Song.id=Target.song_id
WHERE Song.id="{song_id}";
WHERE {where};
"""
SOURCE_QUERY = """
SELECT id, src, url, song_id
@ -74,7 +75,7 @@ class Database:
self.cursor = self.connection.cursor()
return self.connection, self.cursor
def push_one(self, db_object: Song | Lyrics | Target | Artist | Source):
def push_one(self, db_object: Song | Lyrics | Target | Artist | Source | Album):
if type(db_object) == Song:
return self.push_song(song=db_object)
@ -90,7 +91,12 @@ class Database:
if type(db_object) == Source:
return self.push_source(source=db_object)
def push(self, db_object_list: List[Song | Lyrics | Target | Artist | Source]):
if type(db_object) == Album:
return self.push_album(album=db_object)
logger.warning(f"type {type(db_object)} isn't yet supported by the db")
def push(self, db_object_list: List[Song | Lyrics | Target | Artist | Source | Album]):
"""
This function is used to Write the data of any db_object to the database
@ -103,6 +109,24 @@ class Database:
for db_object in db_object_list:
self.push_one(db_object)
def push_album(self, album: Album):
table = "Album"
query = f"INSERT OR REPLACE INTO {table} (id, title, copyright, album_status, language, year, date, country, barcode) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?);"
values = (
album.id,
album.title,
album.copyright,
album.album_status,
album.language,
album.year,
album.date,
album.country,
album.barcode
)
self.cursor.execute(query, values)
self.connection.commit()
def push_song(self, song: Song):
# ADDING THE DATA FOR THE SONG OBJECT
"""
@ -112,13 +136,15 @@ class Database:
name - title
"""
table = "Song"
query = f"INSERT OR REPLACE INTO {table} (id, name, isrc, length) VALUES (?, ?, ?, ?);"
values = (
song.id,
song.title,
song.isrc,
song.length
song.length,
song.get_album_id()
)
query = f"INSERT OR REPLACE INTO {table} (id, name, isrc, length, album_id) VALUES (?, ?, ?, ?, ?);"
self.cursor.execute(query, values)
self.connection.commit()
@ -237,28 +263,11 @@ class Database:
url=source_row['url']
) for source_row in source_rows]
def pull_single_song(self, song_ref: Reference = None) -> Song:
"""
This function is used to get one song (including its children like Sources etc)
from one song id (a reference object)
:param song_ref:
:return requested_song:
"""
if song_ref.id is None:
raise ValueError("The Song ref doesn't point anywhere. Remember to use the debugger.")
query = SONG_QUERY.format(song_id=song_ref.id)
self.cursor.execute(query)
song_rows = self.cursor.fetchall()
if len(song_rows) == 0:
logger.warning(f"No song found for the id {song_ref.id}")
return Song()
if len(song_rows) > 1:
logger.warning(f"Multiple Songs found for the id {song_ref.id}. Defaulting to the first one.")
song_result = song_rows[0]
def get_song_from_row(self, song_result) -> Song:
song_id = song_result['song_id']
return Song(
id_=song_result['song_id'],
id_=song_id,
title=song_result['title'],
isrc=song_result['isrc'],
length=song_result['length'],
@ -267,10 +276,44 @@ class Database:
file=song_result['file'],
path=song_result['path']
),
sources=self.pull_sources(song_ref=song_ref),
lyrics=self.pull_lyrics(song_ref=song_ref)
sources=self.pull_sources(song_ref=Reference(id_=song_id)),
lyrics=self.pull_lyrics(song_ref=Reference(id_=song_id)),
album_ref=Reference(song_result['album_id'])
)
def pull_songs(self, song_ref: Reference = None, album_ref: Reference = None) -> List[Song]:
"""
This function is used to get one song (including its children like Sources etc)
from one song id (a reference object)
:param song_ref:
:return requested_song:
"""
"""
if song_ref is None:
raise ValueError("The Song ref doesn't point anywhere. Remember to use the debugger.")
"""
where = "1=1"
if song_ref is not None:
where = f"Song.id=\"{song_ref.id}\""
elif album_ref is not None:
where = f"Song.album_id=\"{album_ref.id}\""
query = SONG_QUERY.format(where=where)
self.cursor.execute(query)
song_rows = self.cursor.fetchall()
"""
if len(song_rows) == 0:
logger.warning(f"No song found for the id {song_ref.id}")
return Song()
if len(song_rows) > 1:
logger.warning(f"Multiple Songs found for the id {song_ref.id}. Defaulting to the first one.")
"""
return [self.get_song_from_row(song_result=song_result) for song_result in song_rows]
def pull_albums(self, album_ref: Reference = None) -> List[Album]:
pass
if __name__ == "__main__":
cache = Database("")

View File

@ -10,3 +10,5 @@ Source = song.Source
Target = song.Target
Metadata = song.Metadata
Lyrics = song.Lyrics
Album = song.Album

View File

@ -12,6 +12,11 @@ class Reference:
def __str__(self):
return f"references to an object with the id: {self.id}"
def __eq__(self, __o: object) -> bool:
if type(__o) != type(self):
return False
return self.id == __o.id
class DatabaseObject:
def __init__(self, id_: str = None) -> None:

View File

@ -12,6 +12,10 @@ from .database_object import (
)
"""
All Objects dependent
"""
class SongAttribute:
def __init__(self, song_ref: Reference = None):
# the reference to the song the lyrics belong to
@ -137,7 +141,7 @@ class Song(DatabaseObject):
id_: str = None,
mb_id: str = None,
title: str = None,
release_name: str = None,
album_name: str = None,
artist_names: List[str] = [],
isrc: str = None,
length: int = None,
@ -145,7 +149,7 @@ class Song(DatabaseObject):
target: Target = None,
lyrics: List[Lyrics] = None,
metadata: dict = {},
release_ref: str = None,
album_ref: Reference = None,
artist_refs: List[Reference] = None
) -> None:
"""
@ -159,7 +163,7 @@ class Song(DatabaseObject):
# self.id_: str | None = id_
self.mb_id: str | None = mb_id
self.title: str | None = title
self.release_name: str | None = release_name
self.album_name: str | None = album_name
self.isrc: str | None = isrc
self.length_: int | None = length
self.artist_names = artist_names
@ -183,7 +187,7 @@ class Song(DatabaseObject):
for lyrics_ in self.lyrics:
lyrics_.add_song(self.reference)
self.release_ref = release_ref
self.album_ref = album_ref
self.artist_refs = artist_refs
def __str__(self) -> str:
@ -211,9 +215,66 @@ class Song(DatabaseObject):
raise TypeError(f"length of a song must be of the type int not {type(length)}")
self.length_ = length
def get_album_id(self) -> str | None:
if self.album_ref is None:
return None
return self.album_ref.id
length = property(fget=get_length, fset=set_length)
"""
All objects dependend on Album
"""
class Album(DatabaseObject):
"""
-------DB-FIELDS-------
title TEXT,
copyright TEXT,
album_status TEXT,
language TEXT,
year TEXT,
date TEXT,
country TEXT,
barcode TEXT,
song_id BIGINT,
"""
def __init__(
self,
id_: str = None,
title: str = None,
copyright_: str = None,
album_status: str = None,
language: str = None,
year: str = None,
date: str = None,
country: str = None,
barcode: str = None,
song_ref_list: List[Reference] = []
) -> None:
DatabaseObject.__init__(self, id_=id_)
self.title: str = title
self.copyright: str = copyright_
self.album_status: str = album_status
self.language: str = language
self.year: str = year
self.date: str = date
self.country: str = country
self.barcode: str = barcode
self.song_ref_list: List[Reference] = song_ref_list
def add_song(self, song_ref: Reference):
for existing_song_ref in self.song_ref_list:
if song_ref == existing_song_ref:
return
self.song_ref_list.append(song_ref)
if __name__ == "__main__":
"""
Example for creating a Song object

View File

@ -3,7 +3,9 @@ CREATE TABLE Song
id BIGINT AUTO_INCREMENT PRIMARY KEY,
name TEXT,
isrc TEXT,
length INT -- length is in milliseconds (could be wrong)
length INT, -- length is in milliseconds (could be wrong)
album_id BIGINT,
FOREIGN KEY(album_id) REFERENCES Album(id)
);
@ -28,14 +30,20 @@ CREATE TABLE Artist
CREATE TABLE Album
(
id BIGINT AUTO_INCREMENT PRIMARY KEY,
song_id BIGINT,
FOREIGN KEY(song_id) REFERENCES Song(id)
title TEXT,
copyright TEXT,
album_status TEXT,
language TEXT,
year TEXT,
date TEXT,
country TEXT,
barcode TEXT
);
CREATE TABLE Target
(
id BIGINT AUTO_INCREMENT PRIMARY KEY,
file TEXT NOT NULL,
file TEXT,
path TEXT,
song_id BIGINT UNIQUE,
FOREIGN KEY(song_id) REFERENCES Song(id)

BIN
test.db

Binary file not shown.