fdsafafdaf

This commit is contained in:
Lars Noack 2022-11-07 15:04:08 +01:00
parent 7ba880ec1d
commit 8801ce1887
13 changed files with 348 additions and 5 deletions

View File

@ -0,0 +1,43 @@
# Details
Date : 2022-11-07 11:51:29
Directory /home/lars/Projects/music-downloader
Total : 28 files, 1366 codes, 127 comments, 388 blanks, all 1881 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/.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 | 8 | 0 | 0 | 8 |
| [music-downloader/.idea/music-downloader.iml](/music-downloader/.idea/music-downloader.iml) | XML | 10 | 0 | 0 | 10 |
| [music-downloader/.idea/vcs.xml](/music-downloader/.idea/vcs.xml) | XML | 6 | 0 | 0 | 6 |
| [music-downloader/README.md](/music-downloader/README.md) | Markdown | 76 | 0 | 35 | 111 |
| [music-downloader/assets/database_structure.sql](/music-downloader/assets/database_structure.sql) | SQLite | 51 | 0 | 6 | 57 |
| [music-downloader/requirements.txt](/music-downloader/requirements.txt) | pip requirements | 8 | 0 | 0 | 8 |
| [music-downloader/src/download.py](/music-downloader/src/download.py) | Python | 60 | 11 | 22 | 93 |
| [music-downloader/src/download_links.py](/music-downloader/src/download_links.py) | Python | 37 | 3 | 15 | 55 |
| [music-downloader/src/main.py](/music-downloader/src/main.py) | Python | 98 | 0 | 31 | 129 |
| [music-downloader/src/metadata/database.py](/music-downloader/src/metadata/database.py) | Python | 153 | 61 | 38 | 252 |
| [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 | 270 | 24 | 67 | 361 |
| [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/musify.py](/music-downloader/src/musify.py) | Python | 106 | 2 | 40 | 148 |
| [music-downloader/src/phonetic_compares.py](/music-downloader/src/phonetic_compares.py) | Python | 15 | 0 | 8 | 23 |
| [music-downloader/src/test.py](/music-downloader/src/test.py) | Python | 18 | 1 | 6 | 25 |
| [music-downloader/src/url_to_path.py](/music-downloader/src/url_to_path.py) | Python | 27 | 6 | 13 | 46 |
| [music-downloader/src/youtube_music.py](/music-downloader/src/youtube_music.py) | Python | 63 | 2 | 17 | 82 |
[Summary](results.md) / Details / [Diff Summary](diff.md) / [Diff Details](diff-details.md)

View File

@ -0,0 +1,31 @@
# Diff Details
Date : 2022-11-07 11:51:29
Directory /home/lars/Projects/music-downloader
Total : 16 files, 234 codes, 18 comments, 48 blanks, all 300 lines
[Summary](results.md) / [Details](details.md) / [Diff Summary](diff.md) / Diff Details
## 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/README.md](/music-downloader/README.md) | Markdown | 1 | 0 | 1 | 2 |
| [music-downloader/assets/database_structure.sql](/music-downloader/assets/database_structure.sql) | SQLite | 51 | 0 | 6 | 57 |
| [music-downloader/src/download.py](/music-downloader/src/download.py) | Python | 1 | 1 | 1 | 3 |
| [music-downloader/src/download_links.py](/music-downloader/src/download_links.py) | Python | -9 | 0 | -3 | -12 |
| [music-downloader/src/main.py](/music-downloader/src/main.py) | Python | 20 | 0 | 5 | 25 |
| [music-downloader/src/metadata/database.py](/music-downloader/src/metadata/database.py) | Python | 32 | 26 | 3 | 61 |
| [music-downloader/src/metadata/database_structure.sql](/music-downloader/src/metadata/database_structure.sql) | SQLite | 3 | 0 | 0 | 3 |
| [music-downloader/src/metadata/download.py](/music-downloader/src/metadata/download.py) | Python | 59 | -9 | 7 | 57 |
| [music-downloader/src/metadata/object_handeling.py](/music-downloader/src/metadata/object_handeling.py) | Python | 0 | 0 | 2 | 2 |
| [music-downloader/src/musify.py](/music-downloader/src/musify.py) | Python | 9 | 0 | 3 | 12 |
| [music-downloader/src/url_to_path.py](/music-downloader/src/url_to_path.py) | Python | -8 | 0 | -3 | -11 |
[Summary](results.md) / [Details](details.md) / [Diff Summary](diff.md) / Diff Details

View File

@ -0,0 +1,18 @@
"filename", "language", "Python", "SQLite", "Markdown", "JSON", "comment", "blank", "total"
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-10-28_12-39-22/details.md", "Markdown", 0, 0, 31, 0, 0, 6, 37
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-10-28_12-39-22/diff-details.md", "Markdown", 0, 0, 9, 0, 0, 6, 15
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-10-28_12-39-22/diff.md", "Markdown", 0, 0, 12, 0, 0, 7, 19
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-10-28_12-39-22/results.json", "JSON", 0, 0, 0, 1, 0, 0, 1
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-10-28_12-39-22/results.md", "Markdown", 0, 0, 22, 0, 0, 7, 29
"/home/lars/Projects/music-downloader/README.md", "Markdown", 0, 0, 1, 0, 0, 1, 2
"/home/lars/Projects/music-downloader/assets/database_structure.sql", "SQLite", 0, 51, 0, 0, 0, 6, 57
"/home/lars/Projects/music-downloader/src/download.py", "Python", 1, 0, 0, 0, 1, 1, 3
"/home/lars/Projects/music-downloader/src/download_links.py", "Python", -9, 0, 0, 0, 0, -3, -12
"/home/lars/Projects/music-downloader/src/main.py", "Python", 20, 0, 0, 0, 0, 5, 25
"/home/lars/Projects/music-downloader/src/metadata/database.py", "Python", 32, 0, 0, 0, 26, 3, 61
"/home/lars/Projects/music-downloader/src/metadata/database_structure.sql", "SQLite", 0, 3, 0, 0, 0, 0, 3
"/home/lars/Projects/music-downloader/src/metadata/download.py", "Python", 59, 0, 0, 0, -9, 7, 57
"/home/lars/Projects/music-downloader/src/metadata/object_handeling.py", "Python", 0, 0, 0, 0, 0, 2, 2
"/home/lars/Projects/music-downloader/src/musify.py", "Python", 9, 0, 0, 0, 0, 3, 12
"/home/lars/Projects/music-downloader/src/url_to_path.py", "Python", -8, 0, 0, 0, 0, -3, -11
"Total", "-", 104, 54, 75, 1, 18, 48, 300
1 filename language Python SQLite Markdown JSON comment blank total
2 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-10-28_12-39-22/details.md Markdown 0 0 31 0 0 6 37
3 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-10-28_12-39-22/diff-details.md Markdown 0 0 9 0 0 6 15
4 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-10-28_12-39-22/diff.md Markdown 0 0 12 0 0 7 19
5 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-10-28_12-39-22/results.json JSON 0 0 0 1 0 0 1
6 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-10-28_12-39-22/results.md Markdown 0 0 22 0 0 7 29
7 /home/lars/Projects/music-downloader/README.md Markdown 0 0 1 0 0 1 2
8 /home/lars/Projects/music-downloader/assets/database_structure.sql SQLite 0 51 0 0 0 6 57
9 /home/lars/Projects/music-downloader/src/download.py Python 1 0 0 0 1 1 3
10 /home/lars/Projects/music-downloader/src/download_links.py Python -9 0 0 0 0 -3 -12
11 /home/lars/Projects/music-downloader/src/main.py Python 20 0 0 0 0 5 25
12 /home/lars/Projects/music-downloader/src/metadata/database.py Python 32 0 0 0 26 3 61
13 /home/lars/Projects/music-downloader/src/metadata/database_structure.sql SQLite 0 3 0 0 0 0 3
14 /home/lars/Projects/music-downloader/src/metadata/download.py Python 59 0 0 0 -9 7 57
15 /home/lars/Projects/music-downloader/src/metadata/object_handeling.py Python 0 0 0 0 0 2 2
16 /home/lars/Projects/music-downloader/src/musify.py Python 9 0 0 0 0 3 12
17 /home/lars/Projects/music-downloader/src/url_to_path.py Python -8 0 0 0 0 -3 -11
18 Total - 104 54 75 1 18 48 300

View File

@ -0,0 +1,29 @@
# Diff Summary
Date : 2022-11-07 11:51:29
Directory /home/lars/Projects/music-downloader
Total : 16 files, 234 codes, 18 comments, 48 blanks, all 300 lines
[Summary](results.md) / [Details](details.md) / Diff Summary / [Diff Details](diff-details.md)
## Languages
| language | files | code | comment | blank | total |
| :--- | ---: | ---: | ---: | ---: | ---: |
| Python | 8 | 104 | 18 | 15 | 137 |
| Markdown | 5 | 75 | 0 | 27 | 102 |
| SQLite | 2 | 54 | 0 | 6 | 60 |
| JSON | 1 | 1 | 0 | 0 | 1 |
## Directories
| path | files | code | comment | blank | total |
| :--- | ---: | ---: | ---: | ---: | ---: |
| . | 16 | 234 | 18 | 48 | 300 |
| .VSCodeCounter | 5 | 75 | 0 | 26 | 101 |
| .VSCodeCounter/2022-10-28_12-39-22 | 5 | 75 | 0 | 26 | 101 |
| assets | 1 | 51 | 0 | 6 | 57 |
| src | 9 | 107 | 18 | 15 | 140 |
| src/metadata | 4 | 94 | 17 | 12 | 123 |
[Summary](results.md) / [Details](details.md) / Diff Summary / [Diff Details](diff-details.md)

View File

@ -0,0 +1,48 @@
Date : 2022-11-07 11:51:29
Directory : /home/lars/Projects/music-downloader
Total : 16 files, 234 codes, 18 comments, 48 blanks, all 300 lines
Languages
+----------+------------+------------+------------+------------+------------+
| language | files | code | comment | blank | total |
+----------+------------+------------+------------+------------+------------+
| Python | 8 | 104 | 18 | 15 | 137 |
| Markdown | 5 | 75 | 0 | 27 | 102 |
| SQLite | 2 | 54 | 0 | 6 | 60 |
| JSON | 1 | 1 | 0 | 0 | 1 |
+----------+------------+------------+------------+------------+------------+
Directories
+-----------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+
| path | files | code | comment | blank | total |
+-----------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+
| . | 16 | 234 | 18 | 48 | 300 |
| .VSCodeCounter | 5 | 75 | 0 | 26 | 101 |
| .VSCodeCounter/2022-10-28_12-39-22 | 5 | 75 | 0 | 26 | 101 |
| assets | 1 | 51 | 0 | 6 | 57 |
| src | 9 | 107 | 18 | 15 | 140 |
| src/metadata | 4 | 94 | 17 | 12 | 123 |
+-----------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+
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/README.md | Markdown | 1 | 0 | 1 | 2 |
| /home/lars/Projects/music-downloader/assets/database_structure.sql | SQLite | 51 | 0 | 6 | 57 |
| /home/lars/Projects/music-downloader/src/download.py | Python | 1 | 1 | 1 | 3 |
| /home/lars/Projects/music-downloader/src/download_links.py | Python | -9 | 0 | -3 | -12 |
| /home/lars/Projects/music-downloader/src/main.py | Python | 20 | 0 | 5 | 25 |
| /home/lars/Projects/music-downloader/src/metadata/database.py | Python | 32 | 26 | 3 | 61 |
| /home/lars/Projects/music-downloader/src/metadata/database_structure.sql | SQLite | 3 | 0 | 0 | 3 |
| /home/lars/Projects/music-downloader/src/metadata/download.py | Python | 59 | -9 | 7 | 57 |
| /home/lars/Projects/music-downloader/src/metadata/object_handeling.py | Python | 0 | 0 | 2 | 2 |
| /home/lars/Projects/music-downloader/src/musify.py | Python | 9 | 0 | 3 | 12 |
| /home/lars/Projects/music-downloader/src/url_to_path.py | Python | -8 | 0 | -3 | -11 |
| Total | | 234 | 18 | 48 | 300 |
+-----------------------------------------------------------------------------------------+----------+------------+------------+------------+------------+

View File

@ -0,0 +1,30 @@
"filename", "language", "Python", "SQLite", "XML", "pip requirements", "Markdown", "JSON", "comment", "blank", "total"
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-10-28_12-39-22/details.md", "Markdown", 0, 0, 0, 0, 31, 0, 0, 6, 37
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-10-28_12-39-22/diff-details.md", "Markdown", 0, 0, 0, 0, 9, 0, 0, 6, 15
"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-10-28_12-39-22/diff.md", "Markdown", 0, 0, 0, 0, 12, 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, 0, 0, 0, 22, 0, 0, 7, 29
"/home/lars/Projects/music-downloader/.idea/dataSources.xml", "XML", 0, 0, 12, 0, 0, 0, 0, 0, 12
"/home/lars/Projects/music-downloader/.idea/inspectionProfiles/profiles_settings.xml", "XML", 0, 0, 6, 0, 0, 0, 0, 0, 6
"/home/lars/Projects/music-downloader/.idea/misc.xml", "XML", 0, 0, 4, 0, 0, 0, 0, 0, 4
"/home/lars/Projects/music-downloader/.idea/modules.xml", "XML", 0, 0, 8, 0, 0, 0, 0, 0, 8
"/home/lars/Projects/music-downloader/.idea/music-downloader.iml", "XML", 0, 0, 10, 0, 0, 0, 0, 0, 10
"/home/lars/Projects/music-downloader/.idea/vcs.xml", "XML", 0, 0, 6, 0, 0, 0, 0, 0, 6
"/home/lars/Projects/music-downloader/README.md", "Markdown", 0, 0, 0, 0, 76, 0, 0, 35, 111
"/home/lars/Projects/music-downloader/assets/database_structure.sql", "SQLite", 0, 51, 0, 0, 0, 0, 0, 6, 57
"/home/lars/Projects/music-downloader/requirements.txt", "pip requirements", 0, 0, 0, 8, 0, 0, 0, 0, 8
"/home/lars/Projects/music-downloader/src/download.py", "Python", 60, 0, 0, 0, 0, 0, 11, 22, 93
"/home/lars/Projects/music-downloader/src/download_links.py", "Python", 37, 0, 0, 0, 0, 0, 3, 15, 55
"/home/lars/Projects/music-downloader/src/main.py", "Python", 98, 0, 0, 0, 0, 0, 0, 31, 129
"/home/lars/Projects/music-downloader/src/metadata/database.py", "Python", 153, 0, 0, 0, 0, 0, 61, 38, 252
"/home/lars/Projects/music-downloader/src/metadata/database_structure.sql", "SQLite", 0, 51, 0, 0, 0, 0, 0, 6, 57
"/home/lars/Projects/music-downloader/src/metadata/download.py", "Python", 270, 0, 0, 0, 0, 0, 24, 67, 361
"/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/musify.py", "Python", 106, 0, 0, 0, 0, 0, 2, 40, 148
"/home/lars/Projects/music-downloader/src/phonetic_compares.py", "Python", 15, 0, 0, 0, 0, 0, 0, 8, 23
"/home/lars/Projects/music-downloader/src/test.py", "Python", 18, 0, 0, 0, 0, 0, 1, 6, 25
"/home/lars/Projects/music-downloader/src/url_to_path.py", "Python", 27, 0, 0, 0, 0, 0, 6, 13, 46
"/home/lars/Projects/music-downloader/src/youtube_music.py", "Python", 63, 0, 0, 0, 0, 0, 2, 17, 82
"Total", "-", 1059, 102, 46, 8, 150, 1, 127, 388, 1881
1 filename language Python SQLite XML pip requirements Markdown JSON comment blank total
2 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-10-28_12-39-22/details.md Markdown 0 0 0 0 31 0 0 6 37
3 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-10-28_12-39-22/diff-details.md Markdown 0 0 0 0 9 0 0 6 15
4 /home/lars/Projects/music-downloader/.VSCodeCounter/2022-10-28_12-39-22/diff.md Markdown 0 0 0 0 12 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 0 0 0 22 0 0 7 29
7 /home/lars/Projects/music-downloader/.idea/dataSources.xml XML 0 0 12 0 0 0 0 0 12
8 /home/lars/Projects/music-downloader/.idea/inspectionProfiles/profiles_settings.xml XML 0 0 6 0 0 0 0 0 6
9 /home/lars/Projects/music-downloader/.idea/misc.xml XML 0 0 4 0 0 0 0 0 4
10 /home/lars/Projects/music-downloader/.idea/modules.xml XML 0 0 8 0 0 0 0 0 8
11 /home/lars/Projects/music-downloader/.idea/music-downloader.iml XML 0 0 10 0 0 0 0 0 10
12 /home/lars/Projects/music-downloader/.idea/vcs.xml XML 0 0 6 0 0 0 0 0 6
13 /home/lars/Projects/music-downloader/README.md Markdown 0 0 0 0 76 0 0 35 111
14 /home/lars/Projects/music-downloader/assets/database_structure.sql SQLite 0 51 0 0 0 0 0 6 57
15 /home/lars/Projects/music-downloader/requirements.txt pip requirements 0 0 0 8 0 0 0 0 8
16 /home/lars/Projects/music-downloader/src/download.py Python 60 0 0 0 0 0 11 22 93
17 /home/lars/Projects/music-downloader/src/download_links.py Python 37 0 0 0 0 0 3 15 55
18 /home/lars/Projects/music-downloader/src/main.py Python 98 0 0 0 0 0 0 31 129
19 /home/lars/Projects/music-downloader/src/metadata/database.py Python 153 0 0 0 0 0 61 38 252
20 /home/lars/Projects/music-downloader/src/metadata/database_structure.sql SQLite 0 51 0 0 0 0 0 6 57
21 /home/lars/Projects/music-downloader/src/metadata/download.py Python 270 0 0 0 0 0 24 67 361
22 /home/lars/Projects/music-downloader/src/metadata/metadata.py Python 106 0 0 0 0 0 9 28 143
23 /home/lars/Projects/music-downloader/src/metadata/object_handeling.py Python 19 0 0 0 0 0 0 6 25
24 /home/lars/Projects/music-downloader/src/metadata/options.py Python 87 0 0 0 0 0 8 24 119
25 /home/lars/Projects/music-downloader/src/musify.py Python 106 0 0 0 0 0 2 40 148
26 /home/lars/Projects/music-downloader/src/phonetic_compares.py Python 15 0 0 0 0 0 0 8 23
27 /home/lars/Projects/music-downloader/src/test.py Python 18 0 0 0 0 0 1 6 25
28 /home/lars/Projects/music-downloader/src/url_to_path.py Python 27 0 0 0 0 0 6 13 46
29 /home/lars/Projects/music-downloader/src/youtube_music.py Python 63 0 0 0 0 0 2 17 82
30 Total - 1059 102 46 8 150 1 127 388 1881

View File

@ -0,0 +1 @@
{"file:///home/lars/Projects/music-downloader/src/metadata/database.py":{"language":"Python","code":153,"comment":61,"blank":38},"file:///home/lars/Projects/music-downloader/src/url_to_path.py":{"language":"Python","code":27,"comment":6,"blank":13},"file:///home/lars/Projects/music-downloader/src/metadata/download.py":{"language":"Python","code":270,"comment":24,"blank":67},"file:///home/lars/Projects/music-downloader/src/metadata/metadata.py":{"language":"Python","code":106,"comment":9,"blank":28},"file:///home/lars/Projects/music-downloader/src/main.py":{"language":"Python","code":98,"comment":0,"blank":31},"file:///home/lars/Projects/music-downloader/src/metadata/object_handeling.py":{"language":"Python","code":19,"comment":0,"blank":6},"file:///home/lars/Projects/music-downloader/src/download.py":{"language":"Python","code":60,"comment":11,"blank":22},"file:///home/lars/Projects/music-downloader/src/test.py":{"language":"Python","code":18,"comment":1,"blank":6},"file:///home/lars/Projects/music-downloader/src/metadata/database_structure.sql":{"language":"SQLite","code":51,"comment":0,"blank":6},"file:///home/lars/Projects/music-downloader/src/metadata/options.py":{"language":"Python","code":87,"comment":8,"blank":24},"file:///home/lars/Projects/music-downloader/src/download_links.py":{"language":"Python","code":37,"comment":3,"blank":15},"file:///home/lars/Projects/music-downloader/assets/database_structure.sql":{"language":"SQLite","code":51,"comment":0,"blank":6},"file:///home/lars/Projects/music-downloader/src/youtube_music.py":{"language":"Python","code":63,"comment":2,"blank":17},"file:///home/lars/Projects/music-downloader/src/phonetic_compares.py":{"language":"Python","code":15,"comment":0,"blank":8},"file:///home/lars/Projects/music-downloader/src/musify.py":{"language":"Python","code":106,"comment":2,"blank":40},"file:///home/lars/Projects/music-downloader/.idea/dataSources.xml":{"language":"XML","code":12,"comment":0,"blank":0},"file:///home/lars/Projects/music-downloader/requirements.txt":{"language":"pip requirements","code":8,"comment":0,"blank":0},"file:///home/lars/Projects/music-downloader/README.md":{"language":"Markdown","code":76,"comment":0,"blank":35},"file:///home/lars/Projects/music-downloader/.VSCodeCounter/2022-10-28_12-39-22/diff-details.md":{"language":"Markdown","code":9,"comment":0,"blank":6},"file:///home/lars/Projects/music-downloader/.idea/music-downloader.iml":{"language":"XML","code":10,"comment":0,"blank":0},"file:///home/lars/Projects/music-downloader/.idea/vcs.xml":{"language":"XML","code":6,"comment":0,"blank":0},"file:///home/lars/Projects/music-downloader/.VSCodeCounter/2022-10-28_12-39-22/results.md":{"language":"Markdown","code":22,"comment":0,"blank":7},"file:///home/lars/Projects/music-downloader/.idea/misc.xml":{"language":"XML","code":4,"comment":0,"blank":0},"file:///home/lars/Projects/music-downloader/.idea/modules.xml":{"language":"XML","code":8,"comment":0,"blank":0},"file:///home/lars/Projects/music-downloader/.VSCodeCounter/2022-10-28_12-39-22/details.md":{"language":"Markdown","code":31,"comment":0,"blank":6},"file:///home/lars/Projects/music-downloader/.VSCodeCounter/2022-10-28_12-39-22/results.json":{"language":"JSON","code":1,"comment":0,"blank":0},"file:///home/lars/Projects/music-downloader/.VSCodeCounter/2022-10-28_12-39-22/diff.md":{"language":"Markdown","code":12,"comment":0,"blank":7},"file:///home/lars/Projects/music-downloader/.idea/inspectionProfiles/profiles_settings.xml":{"language":"XML","code":6,"comment":0,"blank":0}}

View File

@ -0,0 +1,33 @@
# Summary
Date : 2022-11-07 11:51:29
Directory /home/lars/Projects/music-downloader
Total : 28 files, 1366 codes, 127 comments, 388 blanks, all 1881 lines
Summary / [Details](details.md) / [Diff Summary](diff.md) / [Diff Details](diff-details.md)
## Languages
| language | files | code | comment | blank | total |
| :--- | ---: | ---: | ---: | ---: | ---: |
| Python | 13 | 1,059 | 127 | 315 | 1,501 |
| Markdown | 5 | 150 | 0 | 61 | 211 |
| SQLite | 2 | 102 | 0 | 12 | 114 |
| XML | 6 | 46 | 0 | 0 | 46 |
| pip requirements | 1 | 8 | 0 | 0 | 8 |
| JSON | 1 | 1 | 0 | 0 | 1 |
## Directories
| path | files | code | comment | blank | total |
| :--- | ---: | ---: | ---: | ---: | ---: |
| . | 28 | 1,366 | 127 | 388 | 1,881 |
| .VSCodeCounter | 5 | 75 | 0 | 26 | 101 |
| .VSCodeCounter/2022-10-28_12-39-22 | 5 | 75 | 0 | 26 | 101 |
| .idea | 6 | 46 | 0 | 0 | 46 |
| .idea/inspectionProfiles | 1 | 6 | 0 | 0 | 6 |
| assets | 1 | 51 | 0 | 6 | 57 |
| src | 14 | 1,110 | 127 | 321 | 1,558 |
| src/metadata | 6 | 686 | 102 | 169 | 957 |
Summary / [Details](details.md) / [Diff Summary](diff.md) / [Diff Details](diff-details.md)

View File

@ -0,0 +1,64 @@
Date : 2022-11-07 11:51:29
Directory : /home/lars/Projects/music-downloader
Total : 28 files, 1366 codes, 127 comments, 388 blanks, all 1881 lines
Languages
+------------------+------------+------------+------------+------------+------------+
| language | files | code | comment | blank | total |
+------------------+------------+------------+------------+------------+------------+
| Python | 13 | 1,059 | 127 | 315 | 1,501 |
| Markdown | 5 | 150 | 0 | 61 | 211 |
| SQLite | 2 | 102 | 0 | 12 | 114 |
| XML | 6 | 46 | 0 | 0 | 46 |
| pip requirements | 1 | 8 | 0 | 0 | 8 |
| JSON | 1 | 1 | 0 | 0 | 1 |
+------------------+------------+------------+------------+------------+------------+
Directories
+-----------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+
| path | files | code | comment | blank | total |
+-----------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+
| . | 28 | 1,366 | 127 | 388 | 1,881 |
| .VSCodeCounter | 5 | 75 | 0 | 26 | 101 |
| .VSCodeCounter/2022-10-28_12-39-22 | 5 | 75 | 0 | 26 | 101 |
| .idea | 6 | 46 | 0 | 0 | 46 |
| .idea/inspectionProfiles | 1 | 6 | 0 | 0 | 6 |
| assets | 1 | 51 | 0 | 6 | 57 |
| src | 14 | 1,110 | 127 | 321 | 1,558 |
| src/metadata | 6 | 686 | 102 | 169 | 957 |
+-----------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+
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/.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 | 8 | 0 | 0 | 8 |
| /home/lars/Projects/music-downloader/.idea/music-downloader.iml | XML | 10 | 0 | 0 | 10 |
| /home/lars/Projects/music-downloader/.idea/vcs.xml | XML | 6 | 0 | 0 | 6 |
| /home/lars/Projects/music-downloader/README.md | Markdown | 76 | 0 | 35 | 111 |
| /home/lars/Projects/music-downloader/assets/database_structure.sql | SQLite | 51 | 0 | 6 | 57 |
| /home/lars/Projects/music-downloader/requirements.txt | pip requirements | 8 | 0 | 0 | 8 |
| /home/lars/Projects/music-downloader/src/download.py | Python | 60 | 11 | 22 | 93 |
| /home/lars/Projects/music-downloader/src/download_links.py | Python | 37 | 3 | 15 | 55 |
| /home/lars/Projects/music-downloader/src/main.py | Python | 98 | 0 | 31 | 129 |
| /home/lars/Projects/music-downloader/src/metadata/database.py | Python | 153 | 61 | 38 | 252 |
| /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 | 270 | 24 | 67 | 361 |
| /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/musify.py | Python | 106 | 2 | 40 | 148 |
| /home/lars/Projects/music-downloader/src/phonetic_compares.py | Python | 15 | 0 | 8 | 23 |
| /home/lars/Projects/music-downloader/src/test.py | Python | 18 | 1 | 6 | 25 |
| /home/lars/Projects/music-downloader/src/url_to_path.py | Python | 27 | 6 | 13 | 46 |
| /home/lars/Projects/music-downloader/src/youtube_music.py | Python | 63 | 2 | 17 | 82 |
| Total | | 1,366 | 127 | 388 | 1,881 |
+-----------------------------------------------------------------------------------------+------------------+------------+------------+------------+------------+

View File

@ -109,3 +109,26 @@ There are two bottlenecks with this approach though:
https://slavart.gamesdrive.net/
https://getmetal.club/
https://newalbumreleases.net/
http://download-soundtracks.com/
https://scnlog.me/
https://intmusic.net/
https://www.pluspremieres.ws/
https://music4newgen.org/
https://takemetal.org/
https://coreradio.ru/
https://alterportal.net/
https://vk.com/mdcore
https://vk.com/mdrock
https://sophiesfloorboard.blogspot.com/
https://funkysouls.org/
https://www.deadpulpit.com/
https://vk.com/filter_rock
https://en.metal-tracker.com/
https://thelastdisaster.org/
https://vk.com/phc
https://free-mp3-download.net/ requires recaptcha
https://vk.com/filter_rock
https://t.me/ffilternews telegram?
https://justanothermusic.site/index.php requires login

12
slavart.py Normal file
View File

@ -0,0 +1,12 @@
import requests
API_ENDPOINT = "https://slavart.gamesdrive.net/api/search?q=Tekkno"
DOWNLOAD_ENDPOINT = "https://slavart-api.gamesdrive.net/api/download/track?id=153182274"
if __name__ == "__main__":
r = requests.get(DOWNLOAD_ENDPOINT, headers={
"Access-Control-Allow-Origin": "https://slavart.gamesdrive.net/"
})
print(r.status_code)
print(r.text)

View File

@ -15,6 +15,7 @@ logging.basicConfig(level=logging.INFO)
TEMP_FOLDER = "music-downloader"
DATABASE_FILE = "metadata.db"
DATABASE_STRUCTURE_FILE = "database_structure.sql"
DATABASE_STRUCTURE_FALLBACK = "https://raw.githubusercontent.com/HeIIow2/music-downloader/new_metadata/assets/database_structure.sql"
DATABASE_LOGGER = logging.getLogger("database")
METADATA_DOWNLOAD_LOGGER = logging.getLogger("metadata-download")
@ -34,7 +35,9 @@ if not os.path.exists(temp_dir):
os.mkdir(temp_dir)
database = Database(os.path.join(temp_dir, DATABASE_FILE),
os.path.join(temp_dir, DATABASE_STRUCTURE_FILE), DATABASE_LOGGER,
os.path.join(temp_dir, DATABASE_STRUCTURE_FILE),
DATABASE_STRUCTURE_FALLBACK,
DATABASE_LOGGER,
reset_anyways=True)

View File

@ -2,10 +2,11 @@ import sqlite3
import os
import logging
import json
import requests
class Database:
def __init__(self, path_to_db: str, db_structure: str, logger: logging.Logger, reset_anyways: bool = False):
def __init__(self, path_to_db: str, db_structure: str, db_structure_fallback: str, logger: logging.Logger, reset_anyways: bool = False):
self.logger = logger
self.path_to_db = path_to_db
@ -13,9 +14,9 @@ class Database:
self.cursor = self.connection.cursor()
# init database
self.init_db(database_structure=db_structure, reset_anyways=reset_anyways)
self.init_db(database_structure=db_structure, database_structure_fallback=db_structure_fallback, reset_anyways=reset_anyways)
def init_db(self, database_structure: str, reset_anyways: bool = False):
def init_db(self, database_structure: str, database_structure_fallback: str, reset_anyways: bool = False):
# check if db exists
exists = True
try:
@ -32,6 +33,13 @@ class Database:
# reset the database if reset_anyways is true or if an error has been thrown previously.
self.logger.info("Creating/Reseting Database.")
if not os.path.exists(database_structure):
self.logger.info("database structure file doesn't exist yet, fetching from github")
r = requests.get(database_structure_fallback)
with open(database_structure, "w") as f:
f.write(r.text)
# read the file
with open(database_structure, "r") as database_structure_file:
query = database_structure_file.read()