From 98e2a9b6fb37da68d5d7a19bf65d95b03f6fc92e Mon Sep 17 00:00:00 2001 From: Lars Noack Date: Fri, 18 Nov 2022 10:16:06 +0100 Subject: [PATCH] refactored --- .VSCodeCounter/2022-11-10_14-10-12/details.md | 58 ------------- .../2022-11-10_14-10-12/diff-details.md | 36 -------- .VSCodeCounter/2022-11-10_14-10-12/diff.csv | 23 ----- .VSCodeCounter/2022-11-10_14-10-12/diff.md | 33 -------- .VSCodeCounter/2022-11-10_14-10-12/diff.txt | 57 ------------- .../2022-11-10_14-10-12/results.csv | 45 ---------- .../2022-11-10_14-10-12/results.json | 1 - .VSCodeCounter/2022-11-10_14-10-12/results.md | 38 --------- .../2022-11-10_14-10-12/results.txt | 84 ------------------- src/music_kraken/utils/database.py | 6 +- 10 files changed, 3 insertions(+), 378 deletions(-) delete mode 100644 .VSCodeCounter/2022-11-10_14-10-12/details.md delete mode 100644 .VSCodeCounter/2022-11-10_14-10-12/diff-details.md delete mode 100644 .VSCodeCounter/2022-11-10_14-10-12/diff.csv delete mode 100644 .VSCodeCounter/2022-11-10_14-10-12/diff.md delete mode 100644 .VSCodeCounter/2022-11-10_14-10-12/diff.txt delete mode 100644 .VSCodeCounter/2022-11-10_14-10-12/results.csv delete mode 100644 .VSCodeCounter/2022-11-10_14-10-12/results.json delete mode 100644 .VSCodeCounter/2022-11-10_14-10-12/results.md delete mode 100644 .VSCodeCounter/2022-11-10_14-10-12/results.txt diff --git a/.VSCodeCounter/2022-11-10_14-10-12/details.md b/.VSCodeCounter/2022-11-10_14-10-12/details.md deleted file mode 100644 index 689c345..0000000 --- a/.VSCodeCounter/2022-11-10_14-10-12/details.md +++ /dev/null @@ -1,58 +0,0 @@ -# Details - -Date : 2022-11-10 14:10:12 - -Directory /home/lars/Projects/music-downloader - -Total : 43 files, 2077 codes, 228 comments, 584 blanks, all 2889 lines - -[Summary](results.md) / Details / [Diff Summary](diff.md) / [Diff Details](diff-details.md) - -## Files -| filename | language | code | comment | blank | total | -| :--- | :--- | ---: | ---: | ---: | ---: | -| [music-downloader/.VSCodeCounter/2022-10-28_12-39-22/details.md](/music-downloader/.VSCodeCounter/2022-10-28_12-39-22/details.md) | Markdown | 31 | 0 | 6 | 37 | -| [music-downloader/.VSCodeCounter/2022-10-28_12-39-22/diff-details.md](/music-downloader/.VSCodeCounter/2022-10-28_12-39-22/diff-details.md) | Markdown | 9 | 0 | 6 | 15 | -| [music-downloader/.VSCodeCounter/2022-10-28_12-39-22/diff.md](/music-downloader/.VSCodeCounter/2022-10-28_12-39-22/diff.md) | Markdown | 12 | 0 | 7 | 19 | -| [music-downloader/.VSCodeCounter/2022-10-28_12-39-22/results.json](/music-downloader/.VSCodeCounter/2022-10-28_12-39-22/results.json) | JSON | 1 | 0 | 0 | 1 | -| [music-downloader/.VSCodeCounter/2022-10-28_12-39-22/results.md](/music-downloader/.VSCodeCounter/2022-10-28_12-39-22/results.md) | Markdown | 22 | 0 | 7 | 29 | -| [music-downloader/.VSCodeCounter/2022-11-07_11-51-29/details.md](/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/details.md) | Markdown | 37 | 0 | 6 | 43 | -| [music-downloader/.VSCodeCounter/2022-11-07_11-51-29/diff-details.md](/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/diff-details.md) | Markdown | 25 | 0 | 6 | 31 | -| [music-downloader/.VSCodeCounter/2022-11-07_11-51-29/diff.md](/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/diff.md) | Markdown | 22 | 0 | 7 | 29 | -| [music-downloader/.VSCodeCounter/2022-11-07_11-51-29/results.json](/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/results.json) | JSON | 1 | 0 | 0 | 1 | -| [music-downloader/.VSCodeCounter/2022-11-07_11-51-29/results.md](/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/results.md) | Markdown | 26 | 0 | 7 | 33 | -| [music-downloader/.VSCodeCounter/2022-11-08_16-41-25/details.md](/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/details.md) | Markdown | 43 | 0 | 6 | 49 | -| [music-downloader/.VSCodeCounter/2022-11-08_16-41-25/diff-details.md](/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/diff-details.md) | Markdown | 25 | 0 | 6 | 31 | -| [music-downloader/.VSCodeCounter/2022-11-08_16-41-25/diff.md](/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/diff.md) | Markdown | 21 | 0 | 7 | 28 | -| [music-downloader/.VSCodeCounter/2022-11-08_16-41-25/results.json](/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/results.json) | JSON | 1 | 0 | 0 | 1 | -| [music-downloader/.VSCodeCounter/2022-11-08_16-41-25/results.md](/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/results.md) | Markdown | 28 | 0 | 7 | 35 | -| [music-downloader/.idea/dataSources.xml](/music-downloader/.idea/dataSources.xml) | XML | 12 | 0 | 0 | 12 | -| [music-downloader/.idea/inspectionProfiles/profiles_settings.xml](/music-downloader/.idea/inspectionProfiles/profiles_settings.xml) | XML | 6 | 0 | 0 | 6 | -| [music-downloader/.idea/misc.xml](/music-downloader/.idea/misc.xml) | XML | 4 | 0 | 0 | 4 | -| [music-downloader/.idea/modules.xml](/music-downloader/.idea/modules.xml) | XML | 9 | 0 | 0 | 9 | -| [music-downloader/.idea/music-downloader.iml](/music-downloader/.idea/music-downloader.iml) | XML | 11 | 0 | 0 | 11 | -| [music-downloader/.idea/vcs.xml](/music-downloader/.idea/vcs.xml) | XML | 6 | 0 | 0 | 6 | -| [music-downloader/README.md](/music-downloader/README.md) | Markdown | 102 | 0 | 36 | 138 | -| [music-downloader/assets/database_structure.sql](/music-downloader/assets/database_structure.sql) | SQLite | 51 | 0 | 6 | 57 | -| [music-downloader/notes.md](/music-downloader/notes.md) | Markdown | 11 | 0 | 2 | 13 | -| [music-downloader/requirements.txt](/music-downloader/requirements.txt) | pip requirements | 7 | 0 | 0 | 7 | -| [music-downloader/src/download.py](/music-downloader/src/download.py) | Python | 57 | 11 | 19 | 87 | -| [music-downloader/src/download_links.py](/music-downloader/src/download_links.py) | Python | 41 | 3 | 15 | 59 | -| [music-downloader/src/lyrics/genius.py](/music-downloader/src/lyrics/genius.py) | Python | 108 | 39 | 38 | 185 | -| [music-downloader/src/lyrics_.py](/music-downloader/src/lyrics_.py) | Python | 44 | 19 | 22 | 85 | -| [music-downloader/src/main.py](/music-downloader/src/main.py) | Python | 104 | 3 | 31 | 138 | -| [music-downloader/src/metadata/database.py](/music-downloader/src/metadata/database.py) | Python | 155 | 61 | 38 | 254 | -| [music-downloader/src/metadata/database_structure.sql](/music-downloader/src/metadata/database_structure.sql) | SQLite | 51 | 0 | 6 | 57 | -| [music-downloader/src/metadata/download.py](/music-downloader/src/metadata/download.py) | Python | 272 | 25 | 68 | 365 | -| [music-downloader/src/metadata/metadata.py](/music-downloader/src/metadata/metadata.py) | Python | 106 | 9 | 28 | 143 | -| [music-downloader/src/metadata/object_handeling.py](/music-downloader/src/metadata/object_handeling.py) | Python | 19 | 0 | 6 | 25 | -| [music-downloader/src/metadata/options.py](/music-downloader/src/metadata/options.py) | Python | 87 | 8 | 24 | 119 | -| [music-downloader/src/metadata/search.py](/music-downloader/src/metadata/search.py) | Python | 257 | 40 | 75 | 372 | -| [music-downloader/src/scraping/musify.py](/music-downloader/src/scraping/musify.py) | Python | 103 | 2 | 37 | 142 | -| [music-downloader/src/scraping/phonetic_compares.py](/music-downloader/src/scraping/phonetic_compares.py) | Python | 15 | 0 | 8 | 23 | -| [music-downloader/src/scraping/youtube_music.py](/music-downloader/src/scraping/youtube_music.py) | Python | 67 | 2 | 18 | 87 | -| [music-downloader/src/tools/object_handeling.py](/music-downloader/src/tools/object_handeling.py) | Python | 19 | 0 | 6 | 25 | -| [music-downloader/src/tools/phonetic_compares.py](/music-downloader/src/tools/phonetic_compares.py) | Python | 22 | 0 | 10 | 32 | -| [music-downloader/src/url_to_path.py](/music-downloader/src/url_to_path.py) | Python | 27 | 6 | 13 | 46 | - -[Summary](results.md) / Details / [Diff Summary](diff.md) / [Diff Details](diff-details.md) \ No newline at end of file diff --git a/.VSCodeCounter/2022-11-10_14-10-12/diff-details.md b/.VSCodeCounter/2022-11-10_14-10-12/diff-details.md deleted file mode 100644 index 9b3072a..0000000 --- a/.VSCodeCounter/2022-11-10_14-10-12/diff-details.md +++ /dev/null @@ -1,36 +0,0 @@ -# Diff Details - -Date : 2022-11-10 14:10:12 - -Directory /home/lars/Projects/music-downloader - -Total : 21 files, 310 codes, 62 comments, 98 blanks, all 470 lines - -[Summary](results.md) / [Details](details.md) / [Diff Summary](diff.md) / Diff Details - -## Files -| filename | language | code | comment | blank | total | -| :--- | :--- | ---: | ---: | ---: | ---: | -| [music-downloader/.VSCodeCounter/2022-11-08_16-41-25/details.md](/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/details.md) | Markdown | 43 | 0 | 6 | 49 | -| [music-downloader/.VSCodeCounter/2022-11-08_16-41-25/diff-details.md](/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/diff-details.md) | Markdown | 25 | 0 | 6 | 31 | -| [music-downloader/.VSCodeCounter/2022-11-08_16-41-25/diff.md](/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/diff.md) | Markdown | 21 | 0 | 7 | 28 | -| [music-downloader/.VSCodeCounter/2022-11-08_16-41-25/results.json](/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/results.json) | JSON | 1 | 0 | 0 | 1 | -| [music-downloader/.VSCodeCounter/2022-11-08_16-41-25/results.md](/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/results.md) | Markdown | 28 | 0 | 7 | 35 | -| [music-downloader/.idea/modules.xml](/music-downloader/.idea/modules.xml) | XML | 1 | 0 | 0 | 1 | -| [music-downloader/.idea/music-downloader.iml](/music-downloader/.idea/music-downloader.iml) | XML | 1 | 0 | 0 | 1 | -| [music-downloader/README.md](/music-downloader/README.md) | Markdown | 3 | 0 | 0 | 3 | -| [music-downloader/notes.md](/music-downloader/notes.md) | Markdown | 11 | 0 | 2 | 13 | -| [music-downloader/requirements.txt](/music-downloader/requirements.txt) | pip requirements | -1 | 0 | 0 | -1 | -| [music-downloader/src/lyrics/genius.py](/music-downloader/src/lyrics/genius.py) | Python | 108 | 39 | 38 | 185 | -| [music-downloader/src/lyrics_.py](/music-downloader/src/lyrics_.py) | Python | 44 | 19 | 22 | 85 | -| [music-downloader/src/main.py](/music-downloader/src/main.py) | Python | 6 | 3 | 1 | 10 | -| [music-downloader/src/metadata/database.py](/music-downloader/src/metadata/database.py) | Python | 2 | 0 | 0 | 2 | -| [music-downloader/src/metadata/download.py](/music-downloader/src/metadata/download.py) | Python | 2 | 1 | 1 | 4 | -| [music-downloader/src/metadata/search.py](/music-downloader/src/metadata/search.py) | Python | 0 | 1 | 0 | 1 | -| [music-downloader/src/scraping/musify.py](/music-downloader/src/scraping/musify.py) | Python | -9 | 0 | -3 | -12 | -| [music-downloader/src/scraping/youtube_music.py](/music-downloader/src/scraping/youtube_music.py) | Python | 1 | 0 | 1 | 2 | -| [music-downloader/src/test.py](/music-downloader/src/test.py) | Python | -18 | -1 | -6 | -25 | -| [music-downloader/src/tools/object_handeling.py](/music-downloader/src/tools/object_handeling.py) | Python | 19 | 0 | 6 | 25 | -| [music-downloader/src/tools/phonetic_compares.py](/music-downloader/src/tools/phonetic_compares.py) | Python | 22 | 0 | 10 | 32 | - -[Summary](results.md) / [Details](details.md) / [Diff Summary](diff.md) / Diff Details \ No newline at end of file diff --git a/.VSCodeCounter/2022-11-10_14-10-12/diff.csv b/.VSCodeCounter/2022-11-10_14-10-12/diff.csv deleted file mode 100644 index d3507c1..0000000 --- a/.VSCodeCounter/2022-11-10_14-10-12/diff.csv +++ /dev/null @@ -1,23 +0,0 @@ -"filename", "language", "Markdown", "Python", "XML", "pip requirements", "JSON", "comment", "blank", "total" -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/details.md", "Markdown", 43, 0, 0, 0, 0, 0, 6, 49 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/diff-details.md", "Markdown", 25, 0, 0, 0, 0, 0, 6, 31 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/diff.md", "Markdown", 21, 0, 0, 0, 0, 0, 7, 28 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/results.json", "JSON", 0, 0, 0, 0, 1, 0, 0, 1 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/results.md", "Markdown", 28, 0, 0, 0, 0, 0, 7, 35 -"/home/lars/Projects/music-downloader/.idea/modules.xml", "XML", 0, 0, 1, 0, 0, 0, 0, 1 -"/home/lars/Projects/music-downloader/.idea/music-downloader.iml", "XML", 0, 0, 1, 0, 0, 0, 0, 1 -"/home/lars/Projects/music-downloader/README.md", "Markdown", 3, 0, 0, 0, 0, 0, 0, 3 -"/home/lars/Projects/music-downloader/notes.md", "Markdown", 11, 0, 0, 0, 0, 0, 2, 13 -"/home/lars/Projects/music-downloader/requirements.txt", "pip requirements", 0, 0, 0, -1, 0, 0, 0, -1 -"/home/lars/Projects/music-downloader/src/lyrics/genius.py", "Python", 0, 108, 0, 0, 0, 39, 38, 185 -"/home/lars/Projects/music-downloader/src/lyrics_.py", "Python", 0, 44, 0, 0, 0, 19, 22, 85 -"/home/lars/Projects/music-downloader/src/main.py", "Python", 0, 6, 0, 0, 0, 3, 1, 10 -"/home/lars/Projects/music-downloader/src/metadata/database.py", "Python", 0, 2, 0, 0, 0, 0, 0, 2 -"/home/lars/Projects/music-downloader/src/metadata/download.py", "Python", 0, 2, 0, 0, 0, 1, 1, 4 -"/home/lars/Projects/music-downloader/src/metadata/search.py", "Python", 0, 0, 0, 0, 0, 1, 0, 1 -"/home/lars/Projects/music-downloader/src/scraping/musify.py", "Python", 0, -9, 0, 0, 0, 0, -3, -12 -"/home/lars/Projects/music-downloader/src/scraping/youtube_music.py", "Python", 0, 1, 0, 0, 0, 0, 1, 2 -"/home/lars/Projects/music-downloader/src/test.py", "Python", 0, -18, 0, 0, 0, -1, -6, -25 -"/home/lars/Projects/music-downloader/src/tools/object_handeling.py", "Python", 0, 19, 0, 0, 0, 0, 6, 25 -"/home/lars/Projects/music-downloader/src/tools/phonetic_compares.py", "Python", 0, 22, 0, 0, 0, 0, 10, 32 -"Total", "-", 131, 177, 2, -1, 1, 62, 98, 470 \ No newline at end of file diff --git a/.VSCodeCounter/2022-11-10_14-10-12/diff.md b/.VSCodeCounter/2022-11-10_14-10-12/diff.md deleted file mode 100644 index e66fa98..0000000 --- a/.VSCodeCounter/2022-11-10_14-10-12/diff.md +++ /dev/null @@ -1,33 +0,0 @@ -# Diff Summary - -Date : 2022-11-10 14:10:12 - -Directory /home/lars/Projects/music-downloader - -Total : 21 files, 310 codes, 62 comments, 98 blanks, all 470 lines - -[Summary](results.md) / [Details](details.md) / Diff Summary / [Diff Details](diff-details.md) - -## Languages -| language | files | code | comment | blank | total | -| :--- | ---: | ---: | ---: | ---: | ---: | -| Python | 11 | 177 | 62 | 70 | 309 | -| Markdown | 6 | 131 | 0 | 28 | 159 | -| XML | 2 | 2 | 0 | 0 | 2 | -| JSON | 1 | 1 | 0 | 0 | 1 | -| pip requirements | 1 | -1 | 0 | 0 | -1 | - -## Directories -| path | files | code | comment | blank | total | -| :--- | ---: | ---: | ---: | ---: | ---: | -| . | 21 | 310 | 62 | 98 | 470 | -| .VSCodeCounter | 5 | 118 | 0 | 26 | 144 | -| .VSCodeCounter/2022-11-08_16-41-25 | 5 | 118 | 0 | 26 | 144 | -| .idea | 2 | 2 | 0 | 0 | 2 | -| src | 11 | 177 | 62 | 70 | 309 | -| src/lyrics | 1 | 108 | 39 | 38 | 185 | -| src/metadata | 3 | 4 | 2 | 1 | 7 | -| src/scraping | 2 | -8 | 0 | -2 | -10 | -| src/tools | 2 | 41 | 0 | 16 | 57 | - -[Summary](results.md) / [Details](details.md) / Diff Summary / [Diff Details](diff-details.md) \ No newline at end of file diff --git a/.VSCodeCounter/2022-11-10_14-10-12/diff.txt b/.VSCodeCounter/2022-11-10_14-10-12/diff.txt deleted file mode 100644 index 68cf811..0000000 --- a/.VSCodeCounter/2022-11-10_14-10-12/diff.txt +++ /dev/null @@ -1,57 +0,0 @@ -Date : 2022-11-10 14:10:12 -Directory : /home/lars/Projects/music-downloader -Total : 21 files, 310 codes, 62 comments, 98 blanks, all 470 lines - -Languages -+------------------+------------+------------+------------+------------+------------+ -| language | files | code | comment | blank | total | -+------------------+------------+------------+------------+------------+------------+ -| Python | 11 | 177 | 62 | 70 | 309 | -| Markdown | 6 | 131 | 0 | 28 | 159 | -| XML | 2 | 2 | 0 | 0 | 2 | -| JSON | 1 | 1 | 0 | 0 | 1 | -| pip requirements | 1 | -1 | 0 | 0 | -1 | -+------------------+------------+------------+------------+------------+------------+ - -Directories -+-----------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+ -| path | files | code | comment | blank | total | -+-----------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+ -| . | 21 | 310 | 62 | 98 | 470 | -| .VSCodeCounter | 5 | 118 | 0 | 26 | 144 | -| .VSCodeCounter/2022-11-08_16-41-25 | 5 | 118 | 0 | 26 | 144 | -| .idea | 2 | 2 | 0 | 0 | 2 | -| src | 11 | 177 | 62 | 70 | 309 | -| src/lyrics | 1 | 108 | 39 | 38 | 185 | -| src/metadata | 3 | 4 | 2 | 1 | 7 | -| src/scraping | 2 | -8 | 0 | -2 | -10 | -| src/tools | 2 | 41 | 0 | 16 | 57 | -+-----------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+ - -Files -+-----------------------------------------------------------------------------------------+------------------+------------+------------+------------+------------+ -| filename | language | code | comment | blank | total | -+-----------------------------------------------------------------------------------------+------------------+------------+------------+------------+------------+ -| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/details.md | Markdown | 43 | 0 | 6 | 49 | -| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/diff-details.md | Markdown | 25 | 0 | 6 | 31 | -| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/diff.md | Markdown | 21 | 0 | 7 | 28 | -| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/results.json | JSON | 1 | 0 | 0 | 1 | -| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/results.md | Markdown | 28 | 0 | 7 | 35 | -| /home/lars/Projects/music-downloader/.idea/modules.xml | XML | 1 | 0 | 0 | 1 | -| /home/lars/Projects/music-downloader/.idea/music-downloader.iml | XML | 1 | 0 | 0 | 1 | -| /home/lars/Projects/music-downloader/README.md | Markdown | 3 | 0 | 0 | 3 | -| /home/lars/Projects/music-downloader/notes.md | Markdown | 11 | 0 | 2 | 13 | -| /home/lars/Projects/music-downloader/requirements.txt | pip requirements | -1 | 0 | 0 | -1 | -| /home/lars/Projects/music-downloader/src/lyrics/genius.py | Python | 108 | 39 | 38 | 185 | -| /home/lars/Projects/music-downloader/src/lyrics_.py | Python | 44 | 19 | 22 | 85 | -| /home/lars/Projects/music-downloader/src/main.py | Python | 6 | 3 | 1 | 10 | -| /home/lars/Projects/music-downloader/src/metadata/database.py | Python | 2 | 0 | 0 | 2 | -| /home/lars/Projects/music-downloader/src/metadata/download.py | Python | 2 | 1 | 1 | 4 | -| /home/lars/Projects/music-downloader/src/metadata/search.py | Python | 0 | 1 | 0 | 1 | -| /home/lars/Projects/music-downloader/src/scraping/musify.py | Python | -9 | 0 | -3 | -12 | -| /home/lars/Projects/music-downloader/src/scraping/youtube_music.py | Python | 1 | 0 | 1 | 2 | -| /home/lars/Projects/music-downloader/src/test.py | Python | -18 | -1 | -6 | -25 | -| /home/lars/Projects/music-downloader/src/tools/object_handeling.py | Python | 19 | 0 | 6 | 25 | -| /home/lars/Projects/music-downloader/src/tools/phonetic_compares.py | Python | 22 | 0 | 10 | 32 | -| Total | | 310 | 62 | 98 | 470 | -+-----------------------------------------------------------------------------------------+------------------+------------+------------+------------+------------+ \ No newline at end of file diff --git a/.VSCodeCounter/2022-11-10_14-10-12/results.csv b/.VSCodeCounter/2022-11-10_14-10-12/results.csv deleted file mode 100644 index 428b432..0000000 --- a/.VSCodeCounter/2022-11-10_14-10-12/results.csv +++ /dev/null @@ -1,45 +0,0 @@ -"filename", "language", "Python", "Markdown", "SQLite", "XML", "pip requirements", "JSON", "comment", "blank", "total" -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-10-28_12-39-22/details.md", "Markdown", 0, 31, 0, 0, 0, 0, 0, 6, 37 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-10-28_12-39-22/diff-details.md", "Markdown", 0, 9, 0, 0, 0, 0, 0, 6, 15 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-10-28_12-39-22/diff.md", "Markdown", 0, 12, 0, 0, 0, 0, 0, 7, 19 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-10-28_12-39-22/results.json", "JSON", 0, 0, 0, 0, 0, 1, 0, 0, 1 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-10-28_12-39-22/results.md", "Markdown", 0, 22, 0, 0, 0, 0, 0, 7, 29 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/details.md", "Markdown", 0, 37, 0, 0, 0, 0, 0, 6, 43 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/diff-details.md", "Markdown", 0, 25, 0, 0, 0, 0, 0, 6, 31 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/diff.md", "Markdown", 0, 22, 0, 0, 0, 0, 0, 7, 29 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/results.json", "JSON", 0, 0, 0, 0, 0, 1, 0, 0, 1 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/results.md", "Markdown", 0, 26, 0, 0, 0, 0, 0, 7, 33 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/details.md", "Markdown", 0, 43, 0, 0, 0, 0, 0, 6, 49 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/diff-details.md", "Markdown", 0, 25, 0, 0, 0, 0, 0, 6, 31 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/diff.md", "Markdown", 0, 21, 0, 0, 0, 0, 0, 7, 28 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/results.json", "JSON", 0, 0, 0, 0, 0, 1, 0, 0, 1 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/results.md", "Markdown", 0, 28, 0, 0, 0, 0, 0, 7, 35 -"/home/lars/Projects/music-downloader/.idea/dataSources.xml", "XML", 0, 0, 0, 12, 0, 0, 0, 0, 12 -"/home/lars/Projects/music-downloader/.idea/inspectionProfiles/profiles_settings.xml", "XML", 0, 0, 0, 6, 0, 0, 0, 0, 6 -"/home/lars/Projects/music-downloader/.idea/misc.xml", "XML", 0, 0, 0, 4, 0, 0, 0, 0, 4 -"/home/lars/Projects/music-downloader/.idea/modules.xml", "XML", 0, 0, 0, 9, 0, 0, 0, 0, 9 -"/home/lars/Projects/music-downloader/.idea/music-downloader.iml", "XML", 0, 0, 0, 11, 0, 0, 0, 0, 11 -"/home/lars/Projects/music-downloader/.idea/vcs.xml", "XML", 0, 0, 0, 6, 0, 0, 0, 0, 6 -"/home/lars/Projects/music-downloader/README.md", "Markdown", 0, 102, 0, 0, 0, 0, 0, 36, 138 -"/home/lars/Projects/music-downloader/assets/database_structure.sql", "SQLite", 0, 0, 51, 0, 0, 0, 0, 6, 57 -"/home/lars/Projects/music-downloader/notes.md", "Markdown", 0, 11, 0, 0, 0, 0, 0, 2, 13 -"/home/lars/Projects/music-downloader/requirements.txt", "pip requirements", 0, 0, 0, 0, 7, 0, 0, 0, 7 -"/home/lars/Projects/music-downloader/src/download.py", "Python", 57, 0, 0, 0, 0, 0, 11, 19, 87 -"/home/lars/Projects/music-downloader/src/download_links.py", "Python", 41, 0, 0, 0, 0, 0, 3, 15, 59 -"/home/lars/Projects/music-downloader/src/lyrics/genius.py", "Python", 108, 0, 0, 0, 0, 0, 39, 38, 185 -"/home/lars/Projects/music-downloader/src/lyrics_.py", "Python", 44, 0, 0, 0, 0, 0, 19, 22, 85 -"/home/lars/Projects/music-downloader/src/main.py", "Python", 104, 0, 0, 0, 0, 0, 3, 31, 138 -"/home/lars/Projects/music-downloader/src/metadata/database.py", "Python", 155, 0, 0, 0, 0, 0, 61, 38, 254 -"/home/lars/Projects/music-downloader/src/metadata/database_structure.sql", "SQLite", 0, 0, 51, 0, 0, 0, 0, 6, 57 -"/home/lars/Projects/music-downloader/src/metadata/download.py", "Python", 272, 0, 0, 0, 0, 0, 25, 68, 365 -"/home/lars/Projects/music-downloader/src/metadata/metadata.py", "Python", 106, 0, 0, 0, 0, 0, 9, 28, 143 -"/home/lars/Projects/music-downloader/src/metadata/object_handeling.py", "Python", 19, 0, 0, 0, 0, 0, 0, 6, 25 -"/home/lars/Projects/music-downloader/src/metadata/options.py", "Python", 87, 0, 0, 0, 0, 0, 8, 24, 119 -"/home/lars/Projects/music-downloader/src/metadata/search.py", "Python", 257, 0, 0, 0, 0, 0, 40, 75, 372 -"/home/lars/Projects/music-downloader/src/scraping/musify.py", "Python", 103, 0, 0, 0, 0, 0, 2, 37, 142 -"/home/lars/Projects/music-downloader/src/scraping/phonetic_compares.py", "Python", 15, 0, 0, 0, 0, 0, 0, 8, 23 -"/home/lars/Projects/music-downloader/src/scraping/youtube_music.py", "Python", 67, 0, 0, 0, 0, 0, 2, 18, 87 -"/home/lars/Projects/music-downloader/src/tools/object_handeling.py", "Python", 19, 0, 0, 0, 0, 0, 0, 6, 25 -"/home/lars/Projects/music-downloader/src/tools/phonetic_compares.py", "Python", 22, 0, 0, 0, 0, 0, 0, 10, 32 -"/home/lars/Projects/music-downloader/src/url_to_path.py", "Python", 27, 0, 0, 0, 0, 0, 6, 13, 46 -"Total", "-", 1503, 414, 102, 48, 7, 3, 228, 584, 2889 \ No newline at end of file diff --git a/.VSCodeCounter/2022-11-10_14-10-12/results.json b/.VSCodeCounter/2022-11-10_14-10-12/results.json deleted file mode 100644 index c03f799..0000000 --- a/.VSCodeCounter/2022-11-10_14-10-12/results.json +++ /dev/null @@ -1 +0,0 @@ -{"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/notes.md":{"language":"Markdown","code":11,"comment":0,"blank":2},"file:///home/lars/Projects/music-downloader/src/tools/object_handeling.py":{"language":"Python","code":19,"comment":0,"blank":6},"file:///home/lars/Projects/music-downloader/assets/database_structure.sql":{"language":"SQLite","code":51,"comment":0,"blank":6},"file:///home/lars/Projects/music-downloader/.idea/vcs.xml":{"language":"XML","code":6,"comment":0,"blank":0},"file:///home/lars/Projects/music-downloader/src/main.py":{"language":"Python","code":104,"comment":3,"blank":31},"file:///home/lars/Projects/music-downloader/.idea/misc.xml":{"language":"XML","code":4,"comment":0,"blank":0},"file:///home/lars/Projects/music-downloader/src/download.py":{"language":"Python","code":57,"comment":11,"blank":19},"file:///home/lars/Projects/music-downloader/src/scraping/youtube_music.py":{"language":"Python","code":67,"comment":2,"blank":18},"file:///home/lars/Projects/music-downloader/src/tools/phonetic_compares.py":{"language":"Python","code":22,"comment":0,"blank":10},"file:///home/lars/Projects/music-downloader/.idea/music-downloader.iml":{"language":"XML","code":11,"comment":0,"blank":0},"file:///home/lars/Projects/music-downloader/src/scraping/musify.py":{"language":"Python","code":103,"comment":2,"blank":37},"file:///home/lars/Projects/music-downloader/src/download_links.py":{"language":"Python","code":41,"comment":3,"blank":15},"file:///home/lars/Projects/music-downloader/.idea/inspectionProfiles/profiles_settings.xml":{"language":"XML","code":6,"comment":0,"blank":0},"file:///home/lars/Projects/music-downloader/src/scraping/phonetic_compares.py":{"language":"Python","code":15,"comment":0,"blank":8},"file:///home/lars/Projects/music-downloader/src/lyrics_.py":{"language":"Python","code":44,"comment":19,"blank":22},"file:///home/lars/Projects/music-downloader/src/lyrics/genius.py":{"language":"Python","code":108,"comment":39,"blank":38},"file:///home/lars/Projects/music-downloader/.idea/modules.xml":{"language":"XML","code":9,"comment":0,"blank":0},"file:///home/lars/Projects/music-downloader/src/metadata/database.py":{"language":"Python","code":155,"comment":61,"blank":38},"file:///home/lars/Projects/music-downloader/src/metadata/search.py":{"language":"Python","code":257,"comment":40,"blank":75},"file:///home/lars/Projects/music-downloader/src/metadata/download.py":{"language":"Python","code":272,"comment":25,"blank":68},"file:///home/lars/Projects/music-downloader/.idea/dataSources.xml":{"language":"XML","code":12,"comment":0,"blank":0},"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/metadata/database_structure.sql":{"language":"SQLite","code":51,"comment":0,"blank":6},"file:///home/lars/Projects/music-downloader/requirements.txt":{"language":"pip requirements","code":7,"comment":0,"blank":0},"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/metadata/metadata.py":{"language":"Python","code":106,"comment":9,"blank":28},"file:///home/lars/Projects/music-downloader/README.md":{"language":"Markdown","code":102,"comment":0,"blank":36},"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/.VSCodeCounter/2022-10-28_12-39-22/diff-details.md":{"language":"Markdown","code":9,"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/.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-11-08_16-41-25/diff-details.md":{"language":"Markdown","code":25,"comment":0,"blank":6},"file:///home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/results.md":{"language":"Markdown","code":28,"comment":0,"blank":7},"file:///home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/details.md":{"language":"Markdown","code":43,"comment":0,"blank":6},"file:///home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/results.json":{"language":"JSON","code":1,"comment":0,"blank":0},"file:///home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/diff.md":{"language":"Markdown","code":21,"comment":0,"blank":7},"file:///home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/diff-details.md":{"language":"Markdown","code":25,"comment":0,"blank":6},"file:///home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/results.md":{"language":"Markdown","code":26,"comment":0,"blank":7},"file:///home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/diff.md":{"language":"Markdown","code":22,"comment":0,"blank":7},"file:///home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/details.md":{"language":"Markdown","code":37,"comment":0,"blank":6},"file:///home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/results.json":{"language":"JSON","code":1,"comment":0,"blank":0}} \ No newline at end of file diff --git a/.VSCodeCounter/2022-11-10_14-10-12/results.md b/.VSCodeCounter/2022-11-10_14-10-12/results.md deleted file mode 100644 index a37d463..0000000 --- a/.VSCodeCounter/2022-11-10_14-10-12/results.md +++ /dev/null @@ -1,38 +0,0 @@ -# Summary - -Date : 2022-11-10 14:10:12 - -Directory /home/lars/Projects/music-downloader - -Total : 43 files, 2077 codes, 228 comments, 584 blanks, all 2889 lines - -Summary / [Details](details.md) / [Diff Summary](diff.md) / [Diff Details](diff-details.md) - -## Languages -| language | files | code | comment | blank | total | -| :--- | ---: | ---: | ---: | ---: | ---: | -| Python | 17 | 1,503 | 228 | 456 | 2,187 | -| Markdown | 14 | 414 | 0 | 116 | 530 | -| SQLite | 2 | 102 | 0 | 12 | 114 | -| XML | 6 | 48 | 0 | 0 | 48 | -| pip requirements | 1 | 7 | 0 | 0 | 7 | -| JSON | 3 | 3 | 0 | 0 | 3 | - -## Directories -| path | files | code | comment | blank | total | -| :--- | ---: | ---: | ---: | ---: | ---: | -| . | 43 | 2,077 | 228 | 584 | 2,889 | -| .VSCodeCounter | 15 | 304 | 0 | 78 | 382 | -| .VSCodeCounter/2022-10-28_12-39-22 | 5 | 75 | 0 | 26 | 101 | -| .VSCodeCounter/2022-11-07_11-51-29 | 5 | 111 | 0 | 26 | 137 | -| .VSCodeCounter/2022-11-08_16-41-25 | 5 | 118 | 0 | 26 | 144 | -| .idea | 6 | 48 | 0 | 0 | 48 | -| .idea/inspectionProfiles | 1 | 6 | 0 | 0 | 6 | -| assets | 1 | 51 | 0 | 6 | 57 | -| src | 18 | 1,554 | 228 | 462 | 2,244 | -| src/lyrics | 1 | 108 | 39 | 38 | 185 | -| src/metadata | 7 | 947 | 143 | 245 | 1,335 | -| src/scraping | 3 | 185 | 4 | 63 | 252 | -| src/tools | 2 | 41 | 0 | 16 | 57 | - -Summary / [Details](details.md) / [Diff Summary](diff.md) / [Diff Details](diff-details.md) \ No newline at end of file diff --git a/.VSCodeCounter/2022-11-10_14-10-12/results.txt b/.VSCodeCounter/2022-11-10_14-10-12/results.txt deleted file mode 100644 index 264d5ed..0000000 --- a/.VSCodeCounter/2022-11-10_14-10-12/results.txt +++ /dev/null @@ -1,84 +0,0 @@ -Date : 2022-11-10 14:10:12 -Directory : /home/lars/Projects/music-downloader -Total : 43 files, 2077 codes, 228 comments, 584 blanks, all 2889 lines - -Languages -+------------------+------------+------------+------------+------------+------------+ -| language | files | code | comment | blank | total | -+------------------+------------+------------+------------+------------+------------+ -| Python | 17 | 1,503 | 228 | 456 | 2,187 | -| Markdown | 14 | 414 | 0 | 116 | 530 | -| SQLite | 2 | 102 | 0 | 12 | 114 | -| XML | 6 | 48 | 0 | 0 | 48 | -| pip requirements | 1 | 7 | 0 | 0 | 7 | -| JSON | 3 | 3 | 0 | 0 | 3 | -+------------------+------------+------------+------------+------------+------------+ - -Directories -+-----------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+ -| path | files | code | comment | blank | total | -+-----------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+ -| . | 43 | 2,077 | 228 | 584 | 2,889 | -| .VSCodeCounter | 15 | 304 | 0 | 78 | 382 | -| .VSCodeCounter/2022-10-28_12-39-22 | 5 | 75 | 0 | 26 | 101 | -| .VSCodeCounter/2022-11-07_11-51-29 | 5 | 111 | 0 | 26 | 137 | -| .VSCodeCounter/2022-11-08_16-41-25 | 5 | 118 | 0 | 26 | 144 | -| .idea | 6 | 48 | 0 | 0 | 48 | -| .idea/inspectionProfiles | 1 | 6 | 0 | 0 | 6 | -| assets | 1 | 51 | 0 | 6 | 57 | -| src | 18 | 1,554 | 228 | 462 | 2,244 | -| src/lyrics | 1 | 108 | 39 | 38 | 185 | -| src/metadata | 7 | 947 | 143 | 245 | 1,335 | -| src/scraping | 3 | 185 | 4 | 63 | 252 | -| src/tools | 2 | 41 | 0 | 16 | 57 | -+-----------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+ - -Files -+-----------------------------------------------------------------------------------------+------------------+------------+------------+------------+------------+ -| filename | language | code | comment | blank | total | -+-----------------------------------------------------------------------------------------+------------------+------------+------------+------------+------------+ -| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-10-28_12-39-22/details.md | Markdown | 31 | 0 | 6 | 37 | -| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-10-28_12-39-22/diff-details.md | Markdown | 9 | 0 | 6 | 15 | -| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-10-28_12-39-22/diff.md | Markdown | 12 | 0 | 7 | 19 | -| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-10-28_12-39-22/results.json | JSON | 1 | 0 | 0 | 1 | -| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-10-28_12-39-22/results.md | Markdown | 22 | 0 | 7 | 29 | -| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/details.md | Markdown | 37 | 0 | 6 | 43 | -| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/diff-details.md | Markdown | 25 | 0 | 6 | 31 | -| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/diff.md | Markdown | 22 | 0 | 7 | 29 | -| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/results.json | JSON | 1 | 0 | 0 | 1 | -| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/results.md | Markdown | 26 | 0 | 7 | 33 | -| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/details.md | Markdown | 43 | 0 | 6 | 49 | -| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/diff-details.md | Markdown | 25 | 0 | 6 | 31 | -| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/diff.md | Markdown | 21 | 0 | 7 | 28 | -| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/results.json | JSON | 1 | 0 | 0 | 1 | -| /home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-08_16-41-25/results.md | Markdown | 28 | 0 | 7 | 35 | -| /home/lars/Projects/music-downloader/.idea/dataSources.xml | XML | 12 | 0 | 0 | 12 | -| /home/lars/Projects/music-downloader/.idea/inspectionProfiles/profiles_settings.xml | XML | 6 | 0 | 0 | 6 | -| /home/lars/Projects/music-downloader/.idea/misc.xml | XML | 4 | 0 | 0 | 4 | -| /home/lars/Projects/music-downloader/.idea/modules.xml | XML | 9 | 0 | 0 | 9 | -| /home/lars/Projects/music-downloader/.idea/music-downloader.iml | XML | 11 | 0 | 0 | 11 | -| /home/lars/Projects/music-downloader/.idea/vcs.xml | XML | 6 | 0 | 0 | 6 | -| /home/lars/Projects/music-downloader/README.md | Markdown | 102 | 0 | 36 | 138 | -| /home/lars/Projects/music-downloader/assets/database_structure.sql | SQLite | 51 | 0 | 6 | 57 | -| /home/lars/Projects/music-downloader/notes.md | Markdown | 11 | 0 | 2 | 13 | -| /home/lars/Projects/music-downloader/requirements.txt | pip requirements | 7 | 0 | 0 | 7 | -| /home/lars/Projects/music-downloader/src/download.py | Python | 57 | 11 | 19 | 87 | -| /home/lars/Projects/music-downloader/src/download_links.py | Python | 41 | 3 | 15 | 59 | -| /home/lars/Projects/music-downloader/src/lyrics/genius.py | Python | 108 | 39 | 38 | 185 | -| /home/lars/Projects/music-downloader/src/lyrics_.py | Python | 44 | 19 | 22 | 85 | -| /home/lars/Projects/music-downloader/src/main.py | Python | 104 | 3 | 31 | 138 | -| /home/lars/Projects/music-downloader/src/metadata/database.py | Python | 155 | 61 | 38 | 254 | -| /home/lars/Projects/music-downloader/src/metadata/database_structure.sql | SQLite | 51 | 0 | 6 | 57 | -| /home/lars/Projects/music-downloader/src/metadata/download.py | Python | 272 | 25 | 68 | 365 | -| /home/lars/Projects/music-downloader/src/metadata/metadata.py | Python | 106 | 9 | 28 | 143 | -| /home/lars/Projects/music-downloader/src/metadata/object_handeling.py | Python | 19 | 0 | 6 | 25 | -| /home/lars/Projects/music-downloader/src/metadata/options.py | Python | 87 | 8 | 24 | 119 | -| /home/lars/Projects/music-downloader/src/metadata/search.py | Python | 257 | 40 | 75 | 372 | -| /home/lars/Projects/music-downloader/src/scraping/musify.py | Python | 103 | 2 | 37 | 142 | -| /home/lars/Projects/music-downloader/src/scraping/phonetic_compares.py | Python | 15 | 0 | 8 | 23 | -| /home/lars/Projects/music-downloader/src/scraping/youtube_music.py | Python | 67 | 2 | 18 | 87 | -| /home/lars/Projects/music-downloader/src/tools/object_handeling.py | Python | 19 | 0 | 6 | 25 | -| /home/lars/Projects/music-downloader/src/tools/phonetic_compares.py | Python | 22 | 0 | 10 | 32 | -| /home/lars/Projects/music-downloader/src/url_to_path.py | Python | 27 | 6 | 13 | 46 | -| Total | | 2,077 | 228 | 584 | 2,889 | -+-----------------------------------------------------------------------------------------+------------------+------------+------------+------------+------------+ \ No newline at end of file diff --git a/src/music_kraken/utils/database.py b/src/music_kraken/utils/database.py index 72030c8..e3bf910 100644 --- a/src/music_kraken/utils/database.py +++ b/src/music_kraken/utils/database.py @@ -146,8 +146,8 @@ SELECT DISTINCT ), 'source', json_group_array( ( - SELECT json_object( - 'src_', src_.src, + SELECT DISTINCT json_object( + 'src', src_.src, 'url', src_.url, 'valid', src_.valid ) @@ -185,7 +185,7 @@ LEFT JOIN release_ id ON track.release_id = release_.id LEFT JOIN release_group id ON release_.id = release_group.id LEFT JOIN artist_track track_id ON track.id = artist_track.track_id LEFT JOIN artist id ON artist_track.artist_id = artist.id -LEFT JOIN source src_ ON track.id = src_.track_id +LEFT OUTER JOIN source src_ ON track.id = src_.track_id WHERE {where_arg} GROUP BY track.id;