From 6122952b3f81468d9f2fdf4e341291f96babea55 Mon Sep 17 00:00:00 2001 From: Lars Noack Date: Wed, 23 Nov 2022 11:33:24 +0100 Subject: [PATCH] new commit --- .VSCodeCounter/2022-11-14_08-49-48/details.md | 70 ------------- .../2022-11-14_08-49-48/diff-details.md | 48 --------- .VSCodeCounter/2022-11-14_08-49-48/diff.csv | 35 ------- .VSCodeCounter/2022-11-14_08-49-48/diff.md | 33 ------- .VSCodeCounter/2022-11-14_08-49-48/diff.txt | 69 ------------- .../2022-11-14_08-49-48/results.csv | 57 ----------- .../2022-11-14_08-49-48/results.json | 1 - .VSCodeCounter/2022-11-14_08-49-48/results.md | 40 -------- .../2022-11-14_08-49-48/results.txt | 98 ------------------- .VSCodeCounter/2022-11-23_10-25-09/details.md | 48 +++++++++ .../2022-11-23_10-25-09/diff-details.md | 35 +++++++ .VSCodeCounter/2022-11-23_10-25-09/diff.csv | 22 +++++ .VSCodeCounter/2022-11-23_10-25-09/diff.md | 30 ++++++ .VSCodeCounter/2022-11-23_10-25-09/diff.txt | 53 ++++++++++ .../2022-11-23_10-25-09/results.csv | 35 +++++++ .../2022-11-23_10-25-09/results.json | 1 + .VSCodeCounter/2022-11-23_10-25-09/results.md | 31 ++++++ .../2022-11-23_10-25-09/results.txt | 67 +++++++++++++ src/music_kraken/database/song.py | 16 ++- src/try-programming-interface.py | 4 +- 20 files changed, 339 insertions(+), 454 deletions(-) delete mode 100644 .VSCodeCounter/2022-11-14_08-49-48/details.md delete mode 100644 .VSCodeCounter/2022-11-14_08-49-48/diff-details.md delete mode 100644 .VSCodeCounter/2022-11-14_08-49-48/diff.csv delete mode 100644 .VSCodeCounter/2022-11-14_08-49-48/diff.md delete mode 100644 .VSCodeCounter/2022-11-14_08-49-48/diff.txt delete mode 100644 .VSCodeCounter/2022-11-14_08-49-48/results.csv delete mode 100644 .VSCodeCounter/2022-11-14_08-49-48/results.json delete mode 100644 .VSCodeCounter/2022-11-14_08-49-48/results.md delete mode 100644 .VSCodeCounter/2022-11-14_08-49-48/results.txt create mode 100644 .VSCodeCounter/2022-11-23_10-25-09/details.md create mode 100644 .VSCodeCounter/2022-11-23_10-25-09/diff-details.md create mode 100644 .VSCodeCounter/2022-11-23_10-25-09/diff.csv create mode 100644 .VSCodeCounter/2022-11-23_10-25-09/diff.md create mode 100644 .VSCodeCounter/2022-11-23_10-25-09/diff.txt create mode 100644 .VSCodeCounter/2022-11-23_10-25-09/results.csv create mode 100644 .VSCodeCounter/2022-11-23_10-25-09/results.json create mode 100644 .VSCodeCounter/2022-11-23_10-25-09/results.md create mode 100644 .VSCodeCounter/2022-11-23_10-25-09/results.txt diff --git a/.VSCodeCounter/2022-11-14_08-49-48/details.md b/.VSCodeCounter/2022-11-14_08-49-48/details.md deleted file mode 100644 index ae000b2..0000000 --- a/.VSCodeCounter/2022-11-14_08-49-48/details.md +++ /dev/null @@ -1,70 +0,0 @@ -# Details - -Date : 2022-11-14 08:49:48 - -Directory /home/lars/Projects/music-downloader - -Total : 55 files, 2059 codes, 218 comments, 587 blanks, all 2864 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/.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/.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 | 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 | 1 | 0 | 1 | 2 | -| [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_.py](/music-downloader/src/lyrics_.py) | Python | 46 | 19 | 23 | 88 | -| [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 | 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 | 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 | 34 | 0 | 11 | 45 | - -[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-14_08-49-48/diff-details.md b/.VSCodeCounter/2022-11-14_08-49-48/diff-details.md deleted file mode 100644 index 1b71894..0000000 --- a/.VSCodeCounter/2022-11-14_08-49-48/diff-details.md +++ /dev/null @@ -1,48 +0,0 @@ -# Diff Details - -Date : 2022-11-14 08:49:48 - -Directory /home/lars/Projects/music-downloader - -Total : 33 files, -18 codes, -10 comments, 3 blanks, all -25 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-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/notes.md](/music-downloader/notes.md) | Markdown | 2 | 0 | 0 | 2 | -| [music-downloader/requirements.txt](/music-downloader/requirements.txt) | pip requirements | 1 | 0 | 0 | 1 | -| [music-downloader/src/__init__.py](/music-downloader/src/__init__.py) | Python | 1 | 0 | 1 | 2 | -| [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 | -1 | 0 | -1 | -2 | -| [music-downloader/src/download_links.py](/music-downloader/src/download_links.py) | Python | -11 | 8 | 0 | -3 | -| [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 | -9 | -1 | -3 | -13 | -| [music-downloader/src/lyrics_.py](/music-downloader/src/lyrics_.py) | Python | 2 | 0 | 1 | 3 | -| [music-downloader/src/main.py](/music-downloader/src/main.py) | Python | -104 | -3 | -31 | -138 | -| [music-downloader/src/metadata/__init__.py](/music-downloader/src/metadata/__init__.py) | Python | 0 | 0 | 1 | 1 | -| [music-downloader/src/metadata/download.py](/music-downloader/src/metadata/download.py) | Python | -18 | -1 | -5 | -24 | -| [music-downloader/src/metadata/metadata.py](/music-downloader/src/metadata/metadata.py) | Python | -106 | -9 | -28 | -143 | -| [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 | -4 | 0 | -3 | -7 | -| [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 | -3 | 0 | -2 | -5 | -| [music-downloader/src/scraping/youtube_music.py](/music-downloader/src/scraping/youtube_music.py) | Python | -1 | 0 | 1 | 0 | -| [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 | 8 | 0 | 5 | 13 | -| [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 | 34 | 0 | 11 | 45 | - -[Summary](results.md) / [Details](details.md) / [Diff Summary](diff.md) / Diff Details \ No newline at end of file diff --git a/.VSCodeCounter/2022-11-14_08-49-48/diff.csv b/.VSCodeCounter/2022-11-14_08-49-48/diff.csv deleted file mode 100644 index 04cac15..0000000 --- a/.VSCodeCounter/2022-11-14_08-49-48/diff.csv +++ /dev/null @@ -1,35 +0,0 @@ -"filename", "language", "Markdown", "JSON", "pip requirements", "Python", "comment", "blank", "total" -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/details.md", "Markdown", 52, 0, 0, 0, 0, 6, 58 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/diff-details.md", "Markdown", 30, 0, 0, 0, 0, 6, 36 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/diff.md", "Markdown", 26, 0, 0, 0, 0, 7, 33 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/results.json", "JSON", 0, 1, 0, 0, 0, 0, 1 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/results.md", "Markdown", 31, 0, 0, 0, 0, 7, 38 -"/home/lars/Projects/music-downloader/notes.md", "Markdown", 2, 0, 0, 0, 0, 0, 2 -"/home/lars/Projects/music-downloader/requirements.txt", "pip requirements", 0, 0, 1, 0, 0, 0, 1 -"/home/lars/Projects/music-downloader/src/__init__.py", "Python", 0, 0, 0, 1, 0, 1, 2 -"/home/lars/Projects/music-downloader/src/__main__.py", "Python", 0, 0, 0, 82, 3, 26, 111 -"/home/lars/Projects/music-downloader/src/audio/__init__.py", "Python", 0, 0, 0, 0, 0, 1, 1 -"/home/lars/Projects/music-downloader/src/audio/song.py", "Python", 0, 0, 0, 3, 0, 1, 4 -"/home/lars/Projects/music-downloader/src/download.py", "Python", 0, 0, 0, -1, 0, -1, -2 -"/home/lars/Projects/music-downloader/src/download_links.py", "Python", 0, 0, 0, -11, 8, 0, -3 -"/home/lars/Projects/music-downloader/src/lyrics/__init__.py", "Python", 0, 0, 0, 0, 0, 1, 1 -"/home/lars/Projects/music-downloader/src/lyrics/genius.py", "Python", 0, 0, 0, -9, -1, -3, -13 -"/home/lars/Projects/music-downloader/src/lyrics_.py", "Python", 0, 0, 0, 2, 0, 1, 3 -"/home/lars/Projects/music-downloader/src/main.py", "Python", 0, 0, 0, -104, -3, -31, -138 -"/home/lars/Projects/music-downloader/src/metadata/__init__.py", "Python", 0, 0, 0, 0, 0, 1, 1 -"/home/lars/Projects/music-downloader/src/metadata/download.py", "Python", 0, 0, 0, -18, -1, -5, -24 -"/home/lars/Projects/music-downloader/src/metadata/metadata.py", "Python", 0, 0, 0, -106, -9, -28, -143 -"/home/lars/Projects/music-downloader/src/metadata/options.py", "Python", 0, 0, 0, -87, -8, -24, -119 -"/home/lars/Projects/music-downloader/src/metadata/search.py", "Python", 0, 0, 0, -4, 0, -3, -7 -"/home/lars/Projects/music-downloader/src/scraping/__init__.py", "Python", 0, 0, 0, 0, 0, 1, 1 -"/home/lars/Projects/music-downloader/src/scraping/file_system.py", "Python", 0, 0, 0, 40, 0, 18, 58 -"/home/lars/Projects/music-downloader/src/scraping/musify.py", "Python", 0, 0, 0, -3, 0, -2, -5 -"/home/lars/Projects/music-downloader/src/scraping/youtube_music.py", "Python", 0, 0, 0, -1, 0, 1, 0 -"/home/lars/Projects/music-downloader/src/tools/object_handeling.py", "Python", 0, 0, 0, -19, 0, -6, -25 -"/home/lars/Projects/music-downloader/src/tools/phonetic_compares.py", "Python", 0, 0, 0, -22, 0, -10, -32 -"/home/lars/Projects/music-downloader/src/url_to_path.py", "Python", 0, 0, 0, 8, 0, 5, 13 -"/home/lars/Projects/music-downloader/src/utils/__init__.py", "Python", 0, 0, 0, 1, 1, 1, 3 -"/home/lars/Projects/music-downloader/src/utils/object_handeling.py", "Python", 0, 0, 0, 19, 0, 6, 25 -"/home/lars/Projects/music-downloader/src/utils/phonetic_compares.py", "Python", 0, 0, 0, 34, 0, 15, 49 -"/home/lars/Projects/music-downloader/src/utils/shared.py", "Python", 0, 0, 0, 34, 0, 11, 45 -"Total", "-", 141, 1, 1, -161, -10, 3, -25 \ No newline at end of file diff --git a/.VSCodeCounter/2022-11-14_08-49-48/diff.md b/.VSCodeCounter/2022-11-14_08-49-48/diff.md deleted file mode 100644 index e9fc62b..0000000 --- a/.VSCodeCounter/2022-11-14_08-49-48/diff.md +++ /dev/null @@ -1,33 +0,0 @@ -# Diff Summary - -Date : 2022-11-14 08:49:48 - -Directory /home/lars/Projects/music-downloader - -Total : 33 files, -18 codes, -10 comments, 3 blanks, all -25 lines - -[Summary](results.md) / [Details](details.md) / Diff Summary / [Diff Details](diff-details.md) - -## Languages -| language | files | code | comment | blank | total | -| :--- | ---: | ---: | ---: | ---: | ---: | -| Markdown | 5 | 141 | 0 | 26 | 167 | -| JSON | 1 | 1 | 0 | 0 | 1 | -| pip requirements | 1 | 1 | 0 | 0 | 1 | -| Python | 26 | -161 | -10 | -23 | -194 | - -## Directories -| path | files | code | comment | blank | total | -| :--- | ---: | ---: | ---: | ---: | ---: | -| . | 33 | -18 | -10 | 3 | -25 | -| .VSCodeCounter | 5 | 140 | 0 | 26 | 166 | -| .VSCodeCounter/2022-11-10_14-10-12 | 5 | 140 | 0 | 26 | 166 | -| src | 26 | -161 | -10 | -23 | -194 | -| src/audio | 2 | 3 | 0 | 2 | 5 | -| src/lyrics | 2 | -9 | -1 | -2 | -12 | -| src/metadata | 5 | -215 | -18 | -59 | -292 | -| src/scraping | 4 | 36 | 0 | 18 | 54 | -| src/tools | 2 | -41 | 0 | -16 | -57 | -| src/utils | 4 | 88 | 1 | 33 | 122 | - -[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-14_08-49-48/diff.txt b/.VSCodeCounter/2022-11-14_08-49-48/diff.txt deleted file mode 100644 index ac1845b..0000000 --- a/.VSCodeCounter/2022-11-14_08-49-48/diff.txt +++ /dev/null @@ -1,69 +0,0 @@ -Date : 2022-11-14 08:49:48 -Directory : /home/lars/Projects/music-downloader -Total : 33 files, -18 codes, -10 comments, 3 blanks, all -25 lines - -Languages -+------------------+------------+------------+------------+------------+------------+ -| language | files | code | comment | blank | total | -+------------------+------------+------------+------------+------------+------------+ -| Markdown | 5 | 141 | 0 | 26 | 167 | -| JSON | 1 | 1 | 0 | 0 | 1 | -| pip requirements | 1 | 1 | 0 | 0 | 1 | -| Python | 26 | -161 | -10 | -23 | -194 | -+------------------+------------+------------+------------+------------+------------+ - -Directories -+-----------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+ -| path | files | code | comment | blank | total | -+-----------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+ -| . | 33 | -18 | -10 | 3 | -25 | -| .VSCodeCounter | 5 | 140 | 0 | 26 | 166 | -| .VSCodeCounter/2022-11-10_14-10-12 | 5 | 140 | 0 | 26 | 166 | -| src | 26 | -161 | -10 | -23 | -194 | -| src/audio | 2 | 3 | 0 | 2 | 5 | -| src/lyrics | 2 | -9 | -1 | -2 | -12 | -| src/metadata | 5 | -215 | -18 | -59 | -292 | -| src/scraping | 4 | 36 | 0 | 18 | 54 | -| src/tools | 2 | -41 | 0 | -16 | -57 | -| src/utils | 4 | 88 | 1 | 33 | 122 | -+-----------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+ - -Files -+-----------------------------------------------------------------------------------------+------------------+------------+------------+------------+------------+ -| filename | language | code | comment | blank | total | -+-----------------------------------------------------------------------------------------+------------------+------------+------------+------------+------------+ -| /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/notes.md | Markdown | 2 | 0 | 0 | 2 | -| /home/lars/Projects/music-downloader/requirements.txt | pip requirements | 1 | 0 | 0 | 1 | -| /home/lars/Projects/music-downloader/src/__init__.py | Python | 1 | 0 | 1 | 2 | -| /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 | -1 | 0 | -1 | -2 | -| /home/lars/Projects/music-downloader/src/download_links.py | Python | -11 | 8 | 0 | -3 | -| /home/lars/Projects/music-downloader/src/lyrics/__init__.py | Python | 0 | 0 | 1 | 1 | -| /home/lars/Projects/music-downloader/src/lyrics/genius.py | Python | -9 | -1 | -3 | -13 | -| /home/lars/Projects/music-downloader/src/lyrics_.py | Python | 2 | 0 | 1 | 3 | -| /home/lars/Projects/music-downloader/src/main.py | Python | -104 | -3 | -31 | -138 | -| /home/lars/Projects/music-downloader/src/metadata/__init__.py | Python | 0 | 0 | 1 | 1 | -| /home/lars/Projects/music-downloader/src/metadata/download.py | Python | -18 | -1 | -5 | -24 | -| /home/lars/Projects/music-downloader/src/metadata/metadata.py | Python | -106 | -9 | -28 | -143 | -| /home/lars/Projects/music-downloader/src/metadata/options.py | Python | -87 | -8 | -24 | -119 | -| /home/lars/Projects/music-downloader/src/metadata/search.py | Python | -4 | 0 | -3 | -7 | -| /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 | -3 | 0 | -2 | -5 | -| /home/lars/Projects/music-downloader/src/scraping/youtube_music.py | Python | -1 | 0 | 1 | 0 | -| /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 | 8 | 0 | 5 | 13 | -| /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 | 34 | 0 | 11 | 45 | -| Total | | -18 | -10 | 3 | -25 | -+-----------------------------------------------------------------------------------------+------------------+------------+------------+------------+------------+ \ No newline at end of file diff --git a/.VSCodeCounter/2022-11-14_08-49-48/results.csv b/.VSCodeCounter/2022-11-14_08-49-48/results.csv deleted file mode 100644 index 393f87a..0000000 --- a/.VSCodeCounter/2022-11-14_08-49-48/results.csv +++ /dev/null @@ -1,57 +0,0 @@ -"filename", "language", "SQLite", "Markdown", "JSON", "XML", "pip requirements", "Python", "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, 1, 0, 0, 0, 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, 1, 0, 0, 0, 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, 1, 0, 0, 0, 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/.VSCodeCounter/2022-11-10_14-10-12/details.md", "Markdown", 0, 52, 0, 0, 0, 0, 0, 6, 58 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/diff-details.md", "Markdown", 0, 30, 0, 0, 0, 0, 0, 6, 36 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/diff.md", "Markdown", 0, 26, 0, 0, 0, 0, 0, 7, 33 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/results.json", "JSON", 0, 0, 1, 0, 0, 0, 0, 0, 1 -"/home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/results.md", "Markdown", 0, 31, 0, 0, 0, 0, 0, 7, 38 -"/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", 51, 0, 0, 0, 0, 0, 0, 6, 57 -"/home/lars/Projects/music-downloader/notes.md", "Markdown", 0, 13, 0, 0, 0, 0, 0, 2, 15 -"/home/lars/Projects/music-downloader/requirements.txt", "pip requirements", 0, 0, 0, 0, 8, 0, 0, 0, 8 -"/home/lars/Projects/music-downloader/src/__init__.py", "Python", 0, 0, 0, 0, 0, 1, 0, 1, 2 -"/home/lars/Projects/music-downloader/src/__main__.py", "Python", 0, 0, 0, 0, 0, 82, 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, 0, 0, 0, 0, 3, 0, 1, 4 -"/home/lars/Projects/music-downloader/src/download.py", "Python", 0, 0, 0, 0, 0, 56, 11, 18, 85 -"/home/lars/Projects/music-downloader/src/download_links.py", "Python", 0, 0, 0, 0, 0, 30, 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, 0, 0, 0, 0, 99, 38, 35, 172 -"/home/lars/Projects/music-downloader/src/lyrics_.py", "Python", 0, 0, 0, 0, 0, 46, 19, 23, 88 -"/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, 0, 0, 0, 0, 155, 61, 38, 254 -"/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/metadata/download.py", "Python", 0, 0, 0, 0, 0, 254, 24, 63, 341 -"/home/lars/Projects/music-downloader/src/metadata/object_handeling.py", "Python", 0, 0, 0, 0, 0, 19, 0, 6, 25 -"/home/lars/Projects/music-downloader/src/metadata/search.py", "Python", 0, 0, 0, 0, 0, 253, 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, 0, 0, 0, 0, 40, 0, 18, 58 -"/home/lars/Projects/music-downloader/src/scraping/musify.py", "Python", 0, 0, 0, 0, 0, 100, 2, 35, 137 -"/home/lars/Projects/music-downloader/src/scraping/phonetic_compares.py", "Python", 0, 0, 0, 0, 0, 15, 0, 8, 23 -"/home/lars/Projects/music-downloader/src/scraping/youtube_music.py", "Python", 0, 0, 0, 0, 0, 66, 2, 19, 87 -"/home/lars/Projects/music-downloader/src/url_to_path.py", "Python", 0, 0, 0, 0, 0, 35, 6, 18, 59 -"/home/lars/Projects/music-downloader/src/utils/__init__.py", "Python", 0, 0, 0, 0, 0, 1, 1, 1, 3 -"/home/lars/Projects/music-downloader/src/utils/object_handeling.py", "Python", 0, 0, 0, 0, 0, 19, 0, 6, 25 -"/home/lars/Projects/music-downloader/src/utils/phonetic_compares.py", "Python", 0, 0, 0, 0, 0, 34, 0, 15, 49 -"/home/lars/Projects/music-downloader/src/utils/shared.py", "Python", 0, 0, 0, 0, 0, 34, 0, 11, 45 -"Total", "-", 102, 555, 4, 48, 8, 1342, 218, 587, 2864 \ No newline at end of file diff --git a/.VSCodeCounter/2022-11-14_08-49-48/results.json b/.VSCodeCounter/2022-11-14_08-49-48/results.json deleted file mode 100644 index c7ae39b..0000000 --- a/.VSCodeCounter/2022-11-14_08-49-48/results.json +++ /dev/null @@ -1 +0,0 @@ -{"file:///home/lars/Projects/music-downloader/assets/database_structure.sql":{"language":"SQLite","code":51,"comment":0,"blank":6},"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/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/.VSCodeCounter/2022-11-10_14-10-12/diff-details.md":{"language":"Markdown","code":30,"comment":0,"blank":6},"file:///home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/results.md":{"language":"Markdown","code":31,"comment":0,"blank":7},"file:///home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/details.md":{"language":"Markdown","code":52,"comment":0,"blank":6},"file:///home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/results.json":{"language":"JSON","code":1,"comment":0,"blank":0},"file:///home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-10_14-10-12/diff.md":{"language":"Markdown","code":26,"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.md":{"language":"Markdown","code":28,"comment":0,"blank":7},"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/.idea/vcs.xml":{"language":"XML","code":6,"comment":0,"blank":0},"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/.idea/misc.xml":{"language":"XML","code":4,"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/notes.md":{"language":"Markdown","code":13,"comment":0,"blank":2},"file:///home/lars/Projects/music-downloader/.idea/music-downloader.iml":{"language":"XML","code":11,"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/.idea/dataSources.xml":{"language":"XML","code":12,"comment":0,"blank":0},"file:///home/lars/Projects/music-downloader/src/url_to_path.py":{"language":"Python","code":35,"comment":6,"blank":18},"file:///home/lars/Projects/music-downloader/src/__init__.py":{"language":"Python","code":1,"comment":0,"blank":1},"file:///home/lars/Projects/music-downloader/src/audio/__init__.py":{"language":"Python","code":0,"comment":0,"blank":1},"file:///home/lars/Projects/music-downloader/src/audio/song.py":{"language":"Python","code":3,"comment":0,"blank":1},"file:///home/lars/Projects/music-downloader/src/download.py":{"language":"Python","code":56,"comment":11,"blank":18},"file:///home/lars/Projects/music-downloader/.idea/modules.xml":{"language":"XML","code":9,"comment":0,"blank":0},"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/README.md":{"language":"Markdown","code":102,"comment":0,"blank":36},"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-details.md":{"language":"Markdown","code":25,"comment":0,"blank":6},"file:///home/lars/Projects/music-downloader/src/scraping/musify.py":{"language":"Python","code":100,"comment":2,"blank":35},"file:///home/lars/Projects/music-downloader/src/scraping/file_system.py":{"language":"Python","code":40,"comment":0,"blank":18},"file:///home/lars/Projects/music-downloader/src/download_links.py":{"language":"Python","code":30,"comment":11,"blank":15},"file:///home/lars/Projects/music-downloader/src/utils/__init__.py":{"language":"Python","code":1,"comment":1,"blank":1},"file:///home/lars/Projects/music-downloader/src/utils/object_handeling.py":{"language":"Python","code":19,"comment":0,"blank":6},"file:///home/lars/Projects/music-downloader/src/scraping/__init__.py":{"language":"Python","code":0,"comment":0,"blank":1},"file:///home/lars/Projects/music-downloader/src/utils/phonetic_compares.py":{"language":"Python","code":34,"comment":0,"blank":15},"file:///home/lars/Projects/music-downloader/src/scraping/youtube_music.py":{"language":"Python","code":66,"comment":2,"blank":19},"file:///home/lars/Projects/music-downloader/src/utils/shared.py":{"language":"Python","code":34,"comment":0,"blank":11},"file:///home/lars/Projects/music-downloader/.VSCodeCounter/2022-11-07_11-51-29/results.json":{"language":"JSON","code":1,"comment":0,"blank":0},"file:///home/lars/Projects/music-downloader/src/lyrics_.py":{"language":"Python","code":46,"comment":19,"blank":23},"file:///home/lars/Projects/music-downloader/src/__main__.py":{"language":"Python","code":82,"comment":3,"blank":26},"file:///home/lars/Projects/music-downloader/src/lyrics/genius.py":{"language":"Python","code":99,"comment":38,"blank":35},"file:///home/lars/Projects/music-downloader/src/lyrics/__init__.py":{"language":"Python","code":0,"comment":0,"blank":1},"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/src/scraping/phonetic_compares.py":{"language":"Python","code":15,"comment":0,"blank":8},"file:///home/lars/Projects/music-downloader/src/metadata/search.py":{"language":"Python","code":253,"comment":40,"blank":72},"file:///home/lars/Projects/music-downloader/src/metadata/__init__.py":{"language":"Python","code":0,"comment":0,"blank":1},"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/download.py":{"language":"Python","code":254,"comment":24,"blank":63},"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/.VSCodeCounter/2022-11-07_11-51-29/details.md":{"language":"Markdown","code":37,"comment":0,"blank":6},"file:///home/lars/Projects/music-downloader/src/metadata/object_handeling.py":{"language":"Python","code":19,"comment":0,"blank":6}} \ No newline at end of file diff --git a/.VSCodeCounter/2022-11-14_08-49-48/results.md b/.VSCodeCounter/2022-11-14_08-49-48/results.md deleted file mode 100644 index 5bf726e..0000000 --- a/.VSCodeCounter/2022-11-14_08-49-48/results.md +++ /dev/null @@ -1,40 +0,0 @@ -# Summary - -Date : 2022-11-14 08:49:48 - -Directory /home/lars/Projects/music-downloader - -Total : 55 files, 2059 codes, 218 comments, 587 blanks, all 2864 lines - -Summary / [Details](details.md) / [Diff Summary](diff.md) / [Diff Details](diff-details.md) - -## Languages -| language | files | code | comment | blank | total | -| :--- | ---: | ---: | ---: | ---: | ---: | -| Python | 24 | 1,342 | 218 | 433 | 1,993 | -| Markdown | 18 | 555 | 0 | 142 | 697 | -| SQLite | 2 | 102 | 0 | 12 | 114 | -| XML | 6 | 48 | 0 | 0 | 48 | -| pip requirements | 1 | 8 | 0 | 0 | 8 | -| JSON | 4 | 4 | 0 | 0 | 4 | - -## Directories -| path | files | code | comment | blank | total | -| :--- | ---: | ---: | ---: | ---: | ---: | -| . | 55 | 2,059 | 218 | 587 | 2,864 | -| .VSCodeCounter | 20 | 444 | 0 | 104 | 548 | -| .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 | -| .VSCodeCounter/2022-11-10_14-10-12 | 5 | 140 | 0 | 26 | 166 | -| .idea | 6 | 48 | 0 | 0 | 48 | -| .idea/inspectionProfiles | 1 | 6 | 0 | 0 | 6 | -| assets | 1 | 51 | 0 | 6 | 57 | -| src | 25 | 1,393 | 218 | 439 | 2,050 | -| src/audio | 2 | 3 | 0 | 2 | 5 | -| src/lyrics | 2 | 99 | 38 | 36 | 173 | -| src/metadata | 6 | 732 | 125 | 186 | 1,043 | -| src/scraping | 5 | 221 | 4 | 81 | 306 | -| src/utils | 4 | 88 | 1 | 33 | 122 | - -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-14_08-49-48/results.txt b/.VSCodeCounter/2022-11-14_08-49-48/results.txt deleted file mode 100644 index fa863e5..0000000 --- a/.VSCodeCounter/2022-11-14_08-49-48/results.txt +++ /dev/null @@ -1,98 +0,0 @@ -Date : 2022-11-14 08:49:48 -Directory : /home/lars/Projects/music-downloader -Total : 55 files, 2059 codes, 218 comments, 587 blanks, all 2864 lines - -Languages -+------------------+------------+------------+------------+------------+------------+ -| language | files | code | comment | blank | total | -+------------------+------------+------------+------------+------------+------------+ -| Python | 24 | 1,342 | 218 | 433 | 1,993 | -| Markdown | 18 | 555 | 0 | 142 | 697 | -| SQLite | 2 | 102 | 0 | 12 | 114 | -| XML | 6 | 48 | 0 | 0 | 48 | -| pip requirements | 1 | 8 | 0 | 0 | 8 | -| JSON | 4 | 4 | 0 | 0 | 4 | -+------------------+------------+------------+------------+------------+------------+ - -Directories -+-----------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+ -| path | files | code | comment | blank | total | -+-----------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+ -| . | 55 | 2,059 | 218 | 587 | 2,864 | -| .VSCodeCounter | 20 | 444 | 0 | 104 | 548 | -| .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 | -| .VSCodeCounter/2022-11-10_14-10-12 | 5 | 140 | 0 | 26 | 166 | -| .idea | 6 | 48 | 0 | 0 | 48 | -| .idea/inspectionProfiles | 1 | 6 | 0 | 0 | 6 | -| assets | 1 | 51 | 0 | 6 | 57 | -| src | 25 | 1,393 | 218 | 439 | 2,050 | -| src/audio | 2 | 3 | 0 | 2 | 5 | -| src/lyrics | 2 | 99 | 38 | 36 | 173 | -| src/metadata | 6 | 732 | 125 | 186 | 1,043 | -| src/scraping | 5 | 221 | 4 | 81 | 306 | -| src/utils | 4 | 88 | 1 | 33 | 122 | -+-----------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+ - -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/.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/.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 | 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 | 1 | 0 | 1 | 2 | -| /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_.py | Python | 46 | 19 | 23 | 88 | -| /home/lars/Projects/music-downloader/src/metadata/__init__.py | Python | 0 | 0 | 1 | 1 | -| /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 | 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 | 34 | 0 | 11 | 45 | -| Total | | 2,059 | 218 | 587 | 2,864 | -+-----------------------------------------------------------------------------------------+------------------+------------+------------+------------+------------+ \ No newline at end of file diff --git a/.VSCodeCounter/2022-11-23_10-25-09/details.md b/.VSCodeCounter/2022-11-23_10-25-09/details.md new file mode 100644 index 0000000..09f53a9 --- /dev/null +++ b/.VSCodeCounter/2022-11-23_10-25-09/details.md @@ -0,0 +1,48 @@ +# Details + +Date : 2022-11-23 10:25:09 + +Directory /home/lars/Projects/music-downloader/src + +Total : 33 files, 1654 codes, 314 comments, 531 blanks, all 2499 lines + +[Summary](results.md) / Details / [Diff Summary](diff.md) / [Diff Details](diff-details.md) + +## Files +| filename | language | code | comment | blank | total | +| :--- | :--- | ---: | ---: | ---: | ---: | +| [src/__init__.py](/src/__init__.py) | Python | 0 | 0 | 1 | 1 | +| [src/database_structure.sql](/src/database_structure.sql) | SQLite | 60 | 0 | 7 | 67 | +| [src/music_kraken/__init__.py](/src/music_kraken/__init__.py) | Python | 91 | 14 | 28 | 133 | +| [src/music_kraken/__main__.py](/src/music_kraken/__main__.py) | Python | 4 | 3 | 3 | 10 | +| [src/music_kraken/audio_source/__init__.py](/src/music_kraken/audio_source/__init__.py) | Python | 0 | 0 | 1 | 1 | +| [src/music_kraken/audio_source/fetch_audio.py](/src/music_kraken/audio_source/fetch_audio.py) | Python | 64 | 21 | 20 | 105 | +| [src/music_kraken/audio_source/fetch_source.py](/src/music_kraken/audio_source/fetch_source.py) | Python | 36 | 28 | 16 | 80 | +| [src/music_kraken/audio_source/sources/__init__.py](/src/music_kraken/audio_source/sources/__init__.py) | Python | 0 | 0 | 1 | 1 | +| [src/music_kraken/audio_source/sources/local_files.py](/src/music_kraken/audio_source/sources/local_files.py) | Python | 40 | 0 | 18 | 58 | +| [src/music_kraken/audio_source/sources/musify.py](/src/music_kraken/audio_source/sources/musify.py) | Python | 130 | 9 | 37 | 176 | +| [src/music_kraken/audio_source/sources/source.py](/src/music_kraken/audio_source/sources/source.py) | Python | 11 | 5 | 8 | 24 | +| [src/music_kraken/audio_source/sources/youtube.py](/src/music_kraken/audio_source/sources/youtube.py) | Python | 65 | 6 | 22 | 93 | +| [src/music_kraken/database/database.py](/src/music_kraken/database/database.py) | Python | 163 | 80 | 41 | 284 | +| [src/music_kraken/database/song.py](/src/music_kraken/database/song.py) | Python | 86 | 5 | 34 | 125 | +| [src/music_kraken/database/temp_database.py](/src/music_kraken/database/temp_database.py) | Python | 11 | 0 | 5 | 16 | +| [src/music_kraken/lyrics/__init__.py](/src/music_kraken/lyrics/__init__.py) | Python | 0 | 0 | 1 | 1 | +| [src/music_kraken/lyrics/genius.py](/src/music_kraken/lyrics/genius.py) | Python | 99 | 38 | 35 | 172 | +| [src/music_kraken/lyrics/lyrics.py](/src/music_kraken/lyrics/lyrics.py) | Python | 50 | 19 | 26 | 95 | +| [src/music_kraken/metadata/__init__.py](/src/music_kraken/metadata/__init__.py) | Python | 0 | 0 | 1 | 1 | +| [src/music_kraken/metadata/metadata_fetch.py](/src/music_kraken/metadata/metadata_fetch.py) | Python | 255 | 24 | 64 | 343 | +| [src/music_kraken/metadata/metadata_search.py](/src/music_kraken/metadata/metadata_search.py) | Python | 253 | 40 | 72 | 365 | +| [src/music_kraken/tagging/__init__.py](/src/music_kraken/tagging/__init__.py) | Python | 0 | 0 | 1 | 1 | +| [src/music_kraken/tagging/song.py](/src/music_kraken/tagging/song.py) | Python | 3 | 0 | 1 | 4 | +| [src/music_kraken/target/__init__.py](/src/music_kraken/target/__init__.py) | Python | 0 | 0 | 1 | 1 | +| [src/music_kraken/target/set_target.py](/src/music_kraken/target/set_target.py) | Python | 37 | 7 | 18 | 62 | +| [src/music_kraken/utils/__init__.py](/src/music_kraken/utils/__init__.py) | Python | 1 | 1 | 1 | 3 | +| [src/music_kraken/utils/functions.py](/src/music_kraken/utils/functions.py) | Python | 3 | 0 | 1 | 4 | +| [src/music_kraken/utils/object_handeling.py](/src/music_kraken/utils/object_handeling.py) | Python | 19 | 0 | 6 | 25 | +| [src/music_kraken/utils/phonetic_compares.py](/src/music_kraken/utils/phonetic_compares.py) | Python | 34 | 0 | 15 | 49 | +| [src/music_kraken/utils/shared.py](/src/music_kraken/utils/shared.py) | Python | 39 | 2 | 9 | 50 | +| [src/music_kraken_cli.py](/src/music_kraken_cli.py) | Python | 94 | 9 | 32 | 135 | +| [src/music_kraken_gtk.py](/src/music_kraken_gtk.py) | Python | 3 | 0 | 2 | 5 | +| [src/try-programming-interface.py](/src/try-programming-interface.py) | Python | 3 | 3 | 3 | 9 | + +[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-23_10-25-09/diff-details.md b/.VSCodeCounter/2022-11-23_10-25-09/diff-details.md new file mode 100644 index 0000000..74541fc --- /dev/null +++ b/.VSCodeCounter/2022-11-23_10-25-09/diff-details.md @@ -0,0 +1,35 @@ +# Diff Details + +Date : 2022-11-23 10:25:09 + +Directory /home/lars/Projects/music-downloader/src + +Total : 20 files, 276 codes, -148 comments, 89 blanks, all 217 lines + +[Summary](results.md) / [Details](details.md) / [Diff Summary](diff.md) / Diff Details + +## Files +| filename | language | code | comment | blank | total | +| :--- | :--- | ---: | ---: | ---: | ---: | +| [src/__init__.py](/src/__init__.py) | Python | 0 | 0 | 1 | 1 | +| [src/database_structure.sql](/src/database_structure.sql) | SQLite | 60 | 0 | 7 | 67 | +| [src/music_kraken/__init__.py](/src/music_kraken/__init__.py) | Python | 16 | 6 | 1 | 23 | +| [src/music_kraken/audio_source/fetch_audio.py](/src/music_kraken/audio_source/fetch_audio.py) | Python | -1 | 1 | -2 | -2 | +| [src/music_kraken/audio_source/fetch_source.py](/src/music_kraken/audio_source/fetch_source.py) | Python | -1 | 0 | 1 | 0 | +| [src/music_kraken/audio_source/sources/musify.py](/src/music_kraken/audio_source/sources/musify.py) | Python | 4 | -111 | 0 | -107 | +| [src/music_kraken/audio_source/sources/source.py](/src/music_kraken/audio_source/sources/source.py) | Python | 1 | 0 | 2 | 3 | +| [src/music_kraken/audio_source/sources/youtube.py](/src/music_kraken/audio_source/sources/youtube.py) | Python | -4 | -61 | 2 | -63 | +| [src/music_kraken/database/database.py](/src/music_kraken/database/database.py) | Python | 163 | 80 | 41 | 284 | +| [src/music_kraken/database/song.py](/src/music_kraken/database/song.py) | Python | 86 | 5 | 34 | 125 | +| [src/music_kraken/database/temp_database.py](/src/music_kraken/database/temp_database.py) | Python | 11 | 0 | 5 | 16 | +| [src/music_kraken/lyrics/lyrics.py](/src/music_kraken/lyrics/lyrics.py) | Python | 1 | 0 | 1 | 2 | +| [src/music_kraken/metadata/metadata_fetch.py](/src/music_kraken/metadata/metadata_fetch.py) | Python | 1 | 0 | 1 | 2 | +| [src/music_kraken/target/set_target.py](/src/music_kraken/target/set_target.py) | Python | 1 | 0 | 0 | 1 | +| [src/music_kraken/utils/database.py](/src/music_kraken/utils/database.py) | Python | -158 | -80 | -40 | -278 | +| [src/music_kraken/utils/functions.py](/src/music_kraken/utils/functions.py) | Python | 3 | 0 | 1 | 4 | +| [src/music_kraken/utils/shared.py](/src/music_kraken/utils/shared.py) | Python | -7 | 0 | -3 | -10 | +| [src/music_kraken_cli.py](/src/music_kraken_cli.py) | Python | 94 | 9 | 32 | 135 | +| [src/music_kraken_gtk.py](/src/music_kraken_gtk.py) | Python | 3 | 0 | 2 | 5 | +| [src/try-programming-interface.py](/src/try-programming-interface.py) | Python | 3 | 3 | 3 | 9 | + +[Summary](results.md) / [Details](details.md) / [Diff Summary](diff.md) / Diff Details \ No newline at end of file diff --git a/.VSCodeCounter/2022-11-23_10-25-09/diff.csv b/.VSCodeCounter/2022-11-23_10-25-09/diff.csv new file mode 100644 index 0000000..07b814c --- /dev/null +++ b/.VSCodeCounter/2022-11-23_10-25-09/diff.csv @@ -0,0 +1,22 @@ +"filename", "language", "Python", "SQLite", "comment", "blank", "total" +"/home/lars/Projects/music-downloader/src/__init__.py", "Python", 0, 0, 0, 1, 1 +"/home/lars/Projects/music-downloader/src/database_structure.sql", "SQLite", 0, 60, 0, 7, 67 +"/home/lars/Projects/music-downloader/src/music_kraken/__init__.py", "Python", 16, 0, 6, 1, 23 +"/home/lars/Projects/music-downloader/src/music_kraken/audio_source/fetch_audio.py", "Python", -1, 0, 1, -2, -2 +"/home/lars/Projects/music-downloader/src/music_kraken/audio_source/fetch_source.py", "Python", -1, 0, 0, 1, 0 +"/home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/musify.py", "Python", 4, 0, -111, 0, -107 +"/home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/source.py", "Python", 1, 0, 0, 2, 3 +"/home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/youtube.py", "Python", -4, 0, -61, 2, -63 +"/home/lars/Projects/music-downloader/src/music_kraken/database/database.py", "Python", 163, 0, 80, 41, 284 +"/home/lars/Projects/music-downloader/src/music_kraken/database/song.py", "Python", 86, 0, 5, 34, 125 +"/home/lars/Projects/music-downloader/src/music_kraken/database/temp_database.py", "Python", 11, 0, 0, 5, 16 +"/home/lars/Projects/music-downloader/src/music_kraken/lyrics/lyrics.py", "Python", 1, 0, 0, 1, 2 +"/home/lars/Projects/music-downloader/src/music_kraken/metadata/metadata_fetch.py", "Python", 1, 0, 0, 1, 2 +"/home/lars/Projects/music-downloader/src/music_kraken/target/set_target.py", "Python", 1, 0, 0, 0, 1 +"/home/lars/Projects/music-downloader/src/music_kraken/utils/database.py", "Python", -158, 0, -80, -40, -278 +"/home/lars/Projects/music-downloader/src/music_kraken/utils/functions.py", "Python", 3, 0, 0, 1, 4 +"/home/lars/Projects/music-downloader/src/music_kraken/utils/shared.py", "Python", -7, 0, 0, -3, -10 +"/home/lars/Projects/music-downloader/src/music_kraken_cli.py", "Python", 94, 0, 9, 32, 135 +"/home/lars/Projects/music-downloader/src/music_kraken_gtk.py", "Python", 3, 0, 0, 2, 5 +"/home/lars/Projects/music-downloader/src/try-programming-interface.py", "Python", 3, 0, 3, 3, 9 +"Total", "-", 216, 60, -148, 89, 217 \ No newline at end of file diff --git a/.VSCodeCounter/2022-11-23_10-25-09/diff.md b/.VSCodeCounter/2022-11-23_10-25-09/diff.md new file mode 100644 index 0000000..396aba4 --- /dev/null +++ b/.VSCodeCounter/2022-11-23_10-25-09/diff.md @@ -0,0 +1,30 @@ +# Diff Summary + +Date : 2022-11-23 10:25:09 + +Directory /home/lars/Projects/music-downloader/src + +Total : 20 files, 276 codes, -148 comments, 89 blanks, all 217 lines + +[Summary](results.md) / [Details](details.md) / Diff Summary / [Diff Details](diff-details.md) + +## Languages +| language | files | code | comment | blank | total | +| :--- | ---: | ---: | ---: | ---: | ---: | +| Python | 19 | 216 | -148 | 82 | 150 | +| SQLite | 1 | 60 | 0 | 7 | 67 | + +## Directories +| path | files | code | comment | blank | total | +| :--- | ---: | ---: | ---: | ---: | ---: | +| . | 20 | 276 | -148 | 89 | 217 | +| music_kraken | 15 | 116 | -160 | 44 | 0 | +| music_kraken/audio_source | 5 | -1 | -171 | 3 | -169 | +| music_kraken/audio_source/sources | 3 | 1 | -172 | 4 | -167 | +| music_kraken/database | 3 | 260 | 85 | 80 | 425 | +| music_kraken/lyrics | 1 | 1 | 0 | 1 | 2 | +| music_kraken/metadata | 1 | 1 | 0 | 1 | 2 | +| music_kraken/target | 1 | 1 | 0 | 0 | 1 | +| music_kraken/utils | 3 | -162 | -80 | -42 | -284 | + +[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-23_10-25-09/diff.txt b/.VSCodeCounter/2022-11-23_10-25-09/diff.txt new file mode 100644 index 0000000..2c8c64c --- /dev/null +++ b/.VSCodeCounter/2022-11-23_10-25-09/diff.txt @@ -0,0 +1,53 @@ +Date : 2022-11-23 10:25:09 +Directory : /home/lars/Projects/music-downloader/src +Total : 20 files, 276 codes, -148 comments, 89 blanks, all 217 lines + +Languages ++----------+------------+------------+------------+------------+------------+ +| language | files | code | comment | blank | total | ++----------+------------+------------+------------+------------+------------+ +| Python | 19 | 216 | -148 | 82 | 150 | +| SQLite | 1 | 60 | 0 | 7 | 67 | ++----------+------------+------------+------------+------------+------------+ + +Directories ++---------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+ +| path | files | code | comment | blank | total | ++---------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+ +| . | 20 | 276 | -148 | 89 | 217 | +| music_kraken | 15 | 116 | -160 | 44 | 0 | +| music_kraken/audio_source | 5 | -1 | -171 | 3 | -169 | +| music_kraken/audio_source/sources | 3 | 1 | -172 | 4 | -167 | +| music_kraken/database | 3 | 260 | 85 | 80 | 425 | +| music_kraken/lyrics | 1 | 1 | 0 | 1 | 2 | +| music_kraken/metadata | 1 | 1 | 0 | 1 | 2 | +| music_kraken/target | 1 | 1 | 0 | 0 | 1 | +| music_kraken/utils | 3 | -162 | -80 | -42 | -284 | ++---------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+ + +Files ++---------------------------------------------------------------------------------------+----------+------------+------------+------------+------------+ +| filename | language | code | comment | blank | total | ++---------------------------------------------------------------------------------------+----------+------------+------------+------------+------------+ +| /home/lars/Projects/music-downloader/src/__init__.py | Python | 0 | 0 | 1 | 1 | +| /home/lars/Projects/music-downloader/src/database_structure.sql | SQLite | 60 | 0 | 7 | 67 | +| /home/lars/Projects/music-downloader/src/music_kraken/__init__.py | Python | 16 | 6 | 1 | 23 | +| /home/lars/Projects/music-downloader/src/music_kraken/audio_source/fetch_audio.py | Python | -1 | 1 | -2 | -2 | +| /home/lars/Projects/music-downloader/src/music_kraken/audio_source/fetch_source.py | Python | -1 | 0 | 1 | 0 | +| /home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/musify.py | Python | 4 | -111 | 0 | -107 | +| /home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/source.py | Python | 1 | 0 | 2 | 3 | +| /home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/youtube.py | Python | -4 | -61 | 2 | -63 | +| /home/lars/Projects/music-downloader/src/music_kraken/database/database.py | Python | 163 | 80 | 41 | 284 | +| /home/lars/Projects/music-downloader/src/music_kraken/database/song.py | Python | 86 | 5 | 34 | 125 | +| /home/lars/Projects/music-downloader/src/music_kraken/database/temp_database.py | Python | 11 | 0 | 5 | 16 | +| /home/lars/Projects/music-downloader/src/music_kraken/lyrics/lyrics.py | Python | 1 | 0 | 1 | 2 | +| /home/lars/Projects/music-downloader/src/music_kraken/metadata/metadata_fetch.py | Python | 1 | 0 | 1 | 2 | +| /home/lars/Projects/music-downloader/src/music_kraken/target/set_target.py | Python | 1 | 0 | 0 | 1 | +| /home/lars/Projects/music-downloader/src/music_kraken/utils/database.py | Python | -158 | -80 | -40 | -278 | +| /home/lars/Projects/music-downloader/src/music_kraken/utils/functions.py | Python | 3 | 0 | 1 | 4 | +| /home/lars/Projects/music-downloader/src/music_kraken/utils/shared.py | Python | -7 | 0 | -3 | -10 | +| /home/lars/Projects/music-downloader/src/music_kraken_cli.py | Python | 94 | 9 | 32 | 135 | +| /home/lars/Projects/music-downloader/src/music_kraken_gtk.py | Python | 3 | 0 | 2 | 5 | +| /home/lars/Projects/music-downloader/src/try-programming-interface.py | Python | 3 | 3 | 3 | 9 | +| Total | | 276 | -148 | 89 | 217 | ++---------------------------------------------------------------------------------------+----------+------------+------------+------------+------------+ \ No newline at end of file diff --git a/.VSCodeCounter/2022-11-23_10-25-09/results.csv b/.VSCodeCounter/2022-11-23_10-25-09/results.csv new file mode 100644 index 0000000..9bbafdb --- /dev/null +++ b/.VSCodeCounter/2022-11-23_10-25-09/results.csv @@ -0,0 +1,35 @@ +"filename", "language", "Python", "SQLite", "comment", "blank", "total" +"/home/lars/Projects/music-downloader/src/__init__.py", "Python", 0, 0, 0, 1, 1 +"/home/lars/Projects/music-downloader/src/database_structure.sql", "SQLite", 0, 60, 0, 7, 67 +"/home/lars/Projects/music-downloader/src/music_kraken/__init__.py", "Python", 91, 0, 14, 28, 133 +"/home/lars/Projects/music-downloader/src/music_kraken/__main__.py", "Python", 4, 0, 3, 3, 10 +"/home/lars/Projects/music-downloader/src/music_kraken/audio_source/__init__.py", "Python", 0, 0, 0, 1, 1 +"/home/lars/Projects/music-downloader/src/music_kraken/audio_source/fetch_audio.py", "Python", 64, 0, 21, 20, 105 +"/home/lars/Projects/music-downloader/src/music_kraken/audio_source/fetch_source.py", "Python", 36, 0, 28, 16, 80 +"/home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/__init__.py", "Python", 0, 0, 0, 1, 1 +"/home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/local_files.py", "Python", 40, 0, 0, 18, 58 +"/home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/musify.py", "Python", 130, 0, 9, 37, 176 +"/home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/source.py", "Python", 11, 0, 5, 8, 24 +"/home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/youtube.py", "Python", 65, 0, 6, 22, 93 +"/home/lars/Projects/music-downloader/src/music_kraken/database/database.py", "Python", 163, 0, 80, 41, 284 +"/home/lars/Projects/music-downloader/src/music_kraken/database/song.py", "Python", 86, 0, 5, 34, 125 +"/home/lars/Projects/music-downloader/src/music_kraken/database/temp_database.py", "Python", 11, 0, 0, 5, 16 +"/home/lars/Projects/music-downloader/src/music_kraken/lyrics/__init__.py", "Python", 0, 0, 0, 1, 1 +"/home/lars/Projects/music-downloader/src/music_kraken/lyrics/genius.py", "Python", 99, 0, 38, 35, 172 +"/home/lars/Projects/music-downloader/src/music_kraken/lyrics/lyrics.py", "Python", 50, 0, 19, 26, 95 +"/home/lars/Projects/music-downloader/src/music_kraken/metadata/__init__.py", "Python", 0, 0, 0, 1, 1 +"/home/lars/Projects/music-downloader/src/music_kraken/metadata/metadata_fetch.py", "Python", 255, 0, 24, 64, 343 +"/home/lars/Projects/music-downloader/src/music_kraken/metadata/metadata_search.py", "Python", 253, 0, 40, 72, 365 +"/home/lars/Projects/music-downloader/src/music_kraken/tagging/__init__.py", "Python", 0, 0, 0, 1, 1 +"/home/lars/Projects/music-downloader/src/music_kraken/tagging/song.py", "Python", 3, 0, 0, 1, 4 +"/home/lars/Projects/music-downloader/src/music_kraken/target/__init__.py", "Python", 0, 0, 0, 1, 1 +"/home/lars/Projects/music-downloader/src/music_kraken/target/set_target.py", "Python", 37, 0, 7, 18, 62 +"/home/lars/Projects/music-downloader/src/music_kraken/utils/__init__.py", "Python", 1, 0, 1, 1, 3 +"/home/lars/Projects/music-downloader/src/music_kraken/utils/functions.py", "Python", 3, 0, 0, 1, 4 +"/home/lars/Projects/music-downloader/src/music_kraken/utils/object_handeling.py", "Python", 19, 0, 0, 6, 25 +"/home/lars/Projects/music-downloader/src/music_kraken/utils/phonetic_compares.py", "Python", 34, 0, 0, 15, 49 +"/home/lars/Projects/music-downloader/src/music_kraken/utils/shared.py", "Python", 39, 0, 2, 9, 50 +"/home/lars/Projects/music-downloader/src/music_kraken_cli.py", "Python", 94, 0, 9, 32, 135 +"/home/lars/Projects/music-downloader/src/music_kraken_gtk.py", "Python", 3, 0, 0, 2, 5 +"/home/lars/Projects/music-downloader/src/try-programming-interface.py", "Python", 3, 0, 3, 3, 9 +"Total", "-", 1594, 60, 314, 531, 2499 \ No newline at end of file diff --git a/.VSCodeCounter/2022-11-23_10-25-09/results.json b/.VSCodeCounter/2022-11-23_10-25-09/results.json new file mode 100644 index 0000000..9e2bdc5 --- /dev/null +++ b/.VSCodeCounter/2022-11-23_10-25-09/results.json @@ -0,0 +1 @@ +{"file:///home/lars/Projects/music-downloader/src/music_kraken_cli.py":{"language":"Python","code":94,"comment":9,"blank":32},"file:///home/lars/Projects/music-downloader/src/music_kraken/__init__.py":{"language":"Python","code":91,"comment":14,"blank":28},"file:///home/lars/Projects/music-downloader/src/__init__.py":{"language":"Python","code":0,"comment":0,"blank":1},"file:///home/lars/Projects/music-downloader/src/music_kraken/database/database.py":{"language":"Python","code":163,"comment":80,"blank":41},"file:///home/lars/Projects/music-downloader/src/music_kraken/audio_source/fetch_source.py":{"language":"Python","code":36,"comment":28,"blank":16},"file:///home/lars/Projects/music-downloader/src/music_kraken/database/song.py":{"language":"Python","code":86,"comment":5,"blank":34},"file:///home/lars/Projects/music-downloader/src/music_kraken/database/temp_database.py":{"language":"Python","code":11,"comment":0,"blank":5},"file:///home/lars/Projects/music-downloader/src/music_kraken/audio_source/fetch_audio.py":{"language":"Python","code":64,"comment":21,"blank":20},"file:///home/lars/Projects/music-downloader/src/music_kraken/audio_source/__init__.py":{"language":"Python","code":0,"comment":0,"blank":1},"file:///home/lars/Projects/music-downloader/src/music_kraken/utils/functions.py":{"language":"Python","code":3,"comment":0,"blank":1},"file:///home/lars/Projects/music-downloader/src/music_kraken/utils/object_handeling.py":{"language":"Python","code":19,"comment":0,"blank":6},"file:///home/lars/Projects/music-downloader/src/music_kraken/utils/shared.py":{"language":"Python","code":39,"comment":2,"blank":9},"file:///home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/local_files.py":{"language":"Python","code":40,"comment":0,"blank":18},"file:///home/lars/Projects/music-downloader/src/music_kraken/tagging/__init__.py":{"language":"Python","code":0,"comment":0,"blank":1},"file:///home/lars/Projects/music-downloader/src/music_kraken/tagging/song.py":{"language":"Python","code":3,"comment":0,"blank":1},"file:///home/lars/Projects/music-downloader/src/music_kraken/utils/__init__.py":{"language":"Python","code":1,"comment":1,"blank":1},"file:///home/lars/Projects/music-downloader/src/music_kraken/utils/phonetic_compares.py":{"language":"Python","code":34,"comment":0,"blank":15},"file:///home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/__init__.py":{"language":"Python","code":0,"comment":0,"blank":1},"file:///home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/source.py":{"language":"Python","code":11,"comment":5,"blank":8},"file:///home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/youtube.py":{"language":"Python","code":65,"comment":6,"blank":22},"file:///home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/musify.py":{"language":"Python","code":130,"comment":9,"blank":37},"file:///home/lars/Projects/music-downloader/src/music_kraken/__main__.py":{"language":"Python","code":4,"comment":3,"blank":3},"file:///home/lars/Projects/music-downloader/src/music_kraken/target/__init__.py":{"language":"Python","code":0,"comment":0,"blank":1},"file:///home/lars/Projects/music-downloader/src/music_kraken/metadata/__init__.py":{"language":"Python","code":0,"comment":0,"blank":1},"file:///home/lars/Projects/music-downloader/src/music_kraken/metadata/metadata_search.py":{"language":"Python","code":253,"comment":40,"blank":72},"file:///home/lars/Projects/music-downloader/src/music_kraken/metadata/metadata_fetch.py":{"language":"Python","code":255,"comment":24,"blank":64},"file:///home/lars/Projects/music-downloader/src/music_kraken/target/set_target.py":{"language":"Python","code":37,"comment":7,"blank":18},"file:///home/lars/Projects/music-downloader/src/music_kraken/lyrics/lyrics.py":{"language":"Python","code":50,"comment":19,"blank":26},"file:///home/lars/Projects/music-downloader/src/music_kraken/lyrics/genius.py":{"language":"Python","code":99,"comment":38,"blank":35},"file:///home/lars/Projects/music-downloader/src/music_kraken/lyrics/__init__.py":{"language":"Python","code":0,"comment":0,"blank":1},"file:///home/lars/Projects/music-downloader/src/music_kraken_gtk.py":{"language":"Python","code":3,"comment":0,"blank":2},"file:///home/lars/Projects/music-downloader/src/database_structure.sql":{"language":"SQLite","code":60,"comment":0,"blank":7},"file:///home/lars/Projects/music-downloader/src/try-programming-interface.py":{"language":"Python","code":3,"comment":3,"blank":3}} \ No newline at end of file diff --git a/.VSCodeCounter/2022-11-23_10-25-09/results.md b/.VSCodeCounter/2022-11-23_10-25-09/results.md new file mode 100644 index 0000000..dd4d7c9 --- /dev/null +++ b/.VSCodeCounter/2022-11-23_10-25-09/results.md @@ -0,0 +1,31 @@ +# Summary + +Date : 2022-11-23 10:25:09 + +Directory /home/lars/Projects/music-downloader/src + +Total : 33 files, 1654 codes, 314 comments, 531 blanks, all 2499 lines + +Summary / [Details](details.md) / [Diff Summary](diff.md) / [Diff Details](diff-details.md) + +## Languages +| language | files | code | comment | blank | total | +| :--- | ---: | ---: | ---: | ---: | ---: | +| Python | 32 | 1,594 | 314 | 524 | 2,432 | +| SQLite | 1 | 60 | 0 | 7 | 67 | + +## Directories +| path | files | code | comment | blank | total | +| :--- | ---: | ---: | ---: | ---: | ---: | +| . | 33 | 1,654 | 314 | 531 | 2,499 | +| music_kraken | 28 | 1,494 | 302 | 486 | 2,282 | +| music_kraken/audio_source | 8 | 346 | 69 | 123 | 538 | +| music_kraken/audio_source/sources | 5 | 246 | 20 | 86 | 352 | +| music_kraken/database | 3 | 260 | 85 | 80 | 425 | +| music_kraken/lyrics | 3 | 149 | 57 | 62 | 268 | +| music_kraken/metadata | 3 | 508 | 64 | 137 | 709 | +| music_kraken/tagging | 2 | 3 | 0 | 2 | 5 | +| music_kraken/target | 2 | 37 | 7 | 19 | 63 | +| music_kraken/utils | 5 | 96 | 3 | 32 | 131 | + +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-23_10-25-09/results.txt b/.VSCodeCounter/2022-11-23_10-25-09/results.txt new file mode 100644 index 0000000..5414de2 --- /dev/null +++ b/.VSCodeCounter/2022-11-23_10-25-09/results.txt @@ -0,0 +1,67 @@ +Date : 2022-11-23 10:25:09 +Directory : /home/lars/Projects/music-downloader/src +Total : 33 files, 1654 codes, 314 comments, 531 blanks, all 2499 lines + +Languages ++----------+------------+------------+------------+------------+------------+ +| language | files | code | comment | blank | total | ++----------+------------+------------+------------+------------+------------+ +| Python | 32 | 1,594 | 314 | 524 | 2,432 | +| SQLite | 1 | 60 | 0 | 7 | 67 | ++----------+------------+------------+------------+------------+------------+ + +Directories ++-------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+ +| path | files | code | comment | blank | total | ++-------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+ +| . | 33 | 1,654 | 314 | 531 | 2,499 | +| music_kraken | 28 | 1,494 | 302 | 486 | 2,282 | +| music_kraken/audio_source | 8 | 346 | 69 | 123 | 538 | +| music_kraken/audio_source/sources | 5 | 246 | 20 | 86 | 352 | +| music_kraken/database | 3 | 260 | 85 | 80 | 425 | +| music_kraken/lyrics | 3 | 149 | 57 | 62 | 268 | +| music_kraken/metadata | 3 | 508 | 64 | 137 | 709 | +| music_kraken/tagging | 2 | 3 | 0 | 2 | 5 | +| music_kraken/target | 2 | 37 | 7 | 19 | 63 | +| music_kraken/utils | 5 | 96 | 3 | 32 | 131 | ++-------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+ + +Files ++-------------------------------------------------------------------------------------------+----------+------------+------------+------------+------------+ +| filename | language | code | comment | blank | total | ++-------------------------------------------------------------------------------------------+----------+------------+------------+------------+------------+ +| /home/lars/Projects/music-downloader/src/__init__.py | Python | 0 | 0 | 1 | 1 | +| /home/lars/Projects/music-downloader/src/database_structure.sql | SQLite | 60 | 0 | 7 | 67 | +| /home/lars/Projects/music-downloader/src/music_kraken/__init__.py | Python | 91 | 14 | 28 | 133 | +| /home/lars/Projects/music-downloader/src/music_kraken/__main__.py | Python | 4 | 3 | 3 | 10 | +| /home/lars/Projects/music-downloader/src/music_kraken/audio_source/__init__.py | Python | 0 | 0 | 1 | 1 | +| /home/lars/Projects/music-downloader/src/music_kraken/audio_source/fetch_audio.py | Python | 64 | 21 | 20 | 105 | +| /home/lars/Projects/music-downloader/src/music_kraken/audio_source/fetch_source.py | Python | 36 | 28 | 16 | 80 | +| /home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/__init__.py | Python | 0 | 0 | 1 | 1 | +| /home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/local_files.py | Python | 40 | 0 | 18 | 58 | +| /home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/musify.py | Python | 130 | 9 | 37 | 176 | +| /home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/source.py | Python | 11 | 5 | 8 | 24 | +| /home/lars/Projects/music-downloader/src/music_kraken/audio_source/sources/youtube.py | Python | 65 | 6 | 22 | 93 | +| /home/lars/Projects/music-downloader/src/music_kraken/database/database.py | Python | 163 | 80 | 41 | 284 | +| /home/lars/Projects/music-downloader/src/music_kraken/database/song.py | Python | 86 | 5 | 34 | 125 | +| /home/lars/Projects/music-downloader/src/music_kraken/database/temp_database.py | Python | 11 | 0 | 5 | 16 | +| /home/lars/Projects/music-downloader/src/music_kraken/lyrics/__init__.py | Python | 0 | 0 | 1 | 1 | +| /home/lars/Projects/music-downloader/src/music_kraken/lyrics/genius.py | Python | 99 | 38 | 35 | 172 | +| /home/lars/Projects/music-downloader/src/music_kraken/lyrics/lyrics.py | Python | 50 | 19 | 26 | 95 | +| /home/lars/Projects/music-downloader/src/music_kraken/metadata/__init__.py | Python | 0 | 0 | 1 | 1 | +| /home/lars/Projects/music-downloader/src/music_kraken/metadata/metadata_fetch.py | Python | 255 | 24 | 64 | 343 | +| /home/lars/Projects/music-downloader/src/music_kraken/metadata/metadata_search.py | Python | 253 | 40 | 72 | 365 | +| /home/lars/Projects/music-downloader/src/music_kraken/tagging/__init__.py | Python | 0 | 0 | 1 | 1 | +| /home/lars/Projects/music-downloader/src/music_kraken/tagging/song.py | Python | 3 | 0 | 1 | 4 | +| /home/lars/Projects/music-downloader/src/music_kraken/target/__init__.py | Python | 0 | 0 | 1 | 1 | +| /home/lars/Projects/music-downloader/src/music_kraken/target/set_target.py | Python | 37 | 7 | 18 | 62 | +| /home/lars/Projects/music-downloader/src/music_kraken/utils/__init__.py | Python | 1 | 1 | 1 | 3 | +| /home/lars/Projects/music-downloader/src/music_kraken/utils/functions.py | Python | 3 | 0 | 1 | 4 | +| /home/lars/Projects/music-downloader/src/music_kraken/utils/object_handeling.py | Python | 19 | 0 | 6 | 25 | +| /home/lars/Projects/music-downloader/src/music_kraken/utils/phonetic_compares.py | Python | 34 | 0 | 15 | 49 | +| /home/lars/Projects/music-downloader/src/music_kraken/utils/shared.py | Python | 39 | 2 | 9 | 50 | +| /home/lars/Projects/music-downloader/src/music_kraken_cli.py | Python | 94 | 9 | 32 | 135 | +| /home/lars/Projects/music-downloader/src/music_kraken_gtk.py | Python | 3 | 0 | 2 | 5 | +| /home/lars/Projects/music-downloader/src/try-programming-interface.py | Python | 3 | 3 | 3 | 9 | +| Total | | 1,654 | 314 | 531 | 2,499 | ++-------------------------------------------------------------------------------------------+----------+------------+------------+------------+------------+ \ No newline at end of file diff --git a/src/music_kraken/database/song.py b/src/music_kraken/database/song.py index 594146e..2ca4ce8 100644 --- a/src/music_kraken/database/song.py +++ b/src/music_kraken/database/song.py @@ -39,6 +39,11 @@ class Artist: self.id = self.artist_data['id'] self.name = self.artist_data['name'] + def __eq__(self, __o: object) -> bool: + if type(__o) != type(self): + return False + return self.id == __o.id + def __str__(self) -> str: return self.name @@ -74,7 +79,16 @@ class Song: # initialize the data self.title = self.json_data['title'] - self.artists = [Artist(a) for a in self.json_data['artists']] + self.artists = [] + for a in self.json_data['artists']: + new_artist = Artist(a) + exists = False + for existing_artist in self.artists: + if new_artist == existing_artist: + exists = True + break + if not exists: + self.artists.append(new_artist) self.isrc = self.json_data['isrc'] # initialize the sources diff --git a/src/try-programming-interface.py b/src/try-programming-interface.py index 941f8cc..1883e6a 100644 --- a/src/try-programming-interface.py +++ b/src/try-programming-interface.py @@ -1,8 +1,8 @@ import music_kraken as mk print(mk.__path__) -# mk.cli() +mk.cli() -mk.lyrics.fetch_lyrics() +# mk.lyrics.fetch_lyrics() # db = mk.utils.shared.database # if len(db.get_custom_track([])) == 0: