Commit Graph

788 Commits

Author SHA1 Message Date
Hellow
9331c39028 implemented config cli 2023-04-15 11:54:17 +02:00
Hellow
5f99e4e41b made config iterable 2023-04-14 19:14:58 +02:00
Hellow
43de7f48c6 finished the core mechanic behind the config file 2023-04-14 18:28:33 +02:00
Hellow
8143bb6608 refactor 2023-04-14 17:40:41 +02:00
Hellow
7c24707650 finished writing of config file 2023-04-14 17:01:32 +02:00
Hellow
b07ea4aff0 finished audio config 2023-04-14 13:03:48 +02:00
Hellow
d8c0cc288f continued with the audio config 2023-04-14 12:40:52 +02:00
Hellow
04417ff947 started with the audio config 2023-04-14 12:03:07 +02:00
Hellow
df2f8f57d2 started the config with loging 2023-04-14 11:22:47 +02:00
Hellow
421ab5d4fb layed out the logging config 2023-04-13 23:45:50 +02:00
Hellow
1c5c390f20 optimized import 2023-04-13 19:45:51 +02:00
Hellow
2da4bea463 actually used the new code for the folder management 2023-04-13 19:27:53 +02:00
Hellow
eda39186d4 added config directory, and a new dependency 2023-04-13 19:22:54 +02:00
Hellow
73c75c6598 polished finding music directory to follow the freedesktop standard 2023-04-13 19:09:41 +02:00
Hellow
6d26be674b added credits 2023-04-13 18:54:17 +02:00
Hellow
ba3deb24e3 layed out config structure and started implementing the path manager with the temp path and music path. 2023-04-13 18:52:03 +02:00
Hellow
86e58dcfb4 added all currently relevant commands and cleaned up the cli. 2023-04-12 13:27:42 +02:00
Hellow
6d78f70e5f added direct download argument 2023-04-12 13:13:02 +02:00
Hellow
4778a36275 added some essential arguments 2023-04-12 13:02:19 +02:00
Hellow
0bd4e96b27 refactored id's to be 64-bit integers 2023-04-12 12:15:12 +02:00
Hellow
1835e60cd1 refactoring 2023-04-12 12:00:29 +02:00
Hellow
e6277af091 fixed unicode bs 2023-04-06 17:54:16 +02:00
Hellow
7912a8bd4f fixed unicode bs 2023-04-06 17:47:35 +02:00
Hellow
1f0ff801d8 fixed unicode bs 2023-04-06 17:45:15 +02:00
Hellow
3acfa417e8 fixed unicode bs 2023-04-06 16:34:51 +02:00
Hellow
f5f56a7eff Update codec.py 2023-04-05 18:05:46 +02:00
Hellow
36ee456612 added convertion of the audio itself vie ffmpeg 2023-04-05 17:40:22 +02:00
Hellow2
4efef86793 codec 2023-04-05 16:11:30 +02:00
Hellow2
2a1d5bef1c started implementing of audio codex 2023-04-05 12:59:00 +02:00
Hellow2
5b947c2d66 fixed download size feedback 2023-04-05 12:25:57 +02:00
Hellow2
90b0d0ae20 added total size 2023-04-05 11:54:02 +02:00
Hellow2
8e19c68e36 fixed crash 2023-04-05 10:25:55 +02:00
Hellow2
ad0638b82c Update __init__.py 2023-04-05 10:13:01 +02:00
Hellow2
ec621ddc1f cleaned up cli 2023-04-05 10:12:02 +02:00
Hellow2
0c8953ed67 added message 2023-04-05 10:08:27 +02:00
Hellow2
9d42b13dfa cleaned up genre 2023-04-05 10:05:45 +02:00
Hellow2
064479074d drastically improved genre selection 2023-04-05 10:01:51 +02:00
Hellow2
c1fb6df3b5 count 2023-04-05 09:35:52 +02:00
Hellow2
726da7fbe0 improved metal archives 2023-04-05 09:20:25 +02:00
Hellow
357038f8f6 STUPID mistake 2023-04-04 22:57:47 +02:00
Hellow
acb1d86b17 STUPID mistake 2023-04-04 22:37:48 +02:00
Hellow
b2044537d5 STUPID mistake 2023-04-04 22:34:06 +02:00
Hellow
1965ac4cbd fixed edge cases that caused crashes 2023-04-04 22:32:53 +02:00
Hellow
62b0102020 implemented genre in the cli 2023-04-04 22:30:14 +02:00
Hellow
d500057315 addet the functionality for genres 2023-04-04 22:21:26 +02:00
Hellow
ae80a4d8d2 optimized imports 2023-04-04 22:10:35 +02:00
Hellow
48ec718757 made gc modification optional 2023-04-04 22:07:56 +02:00
Hellow
fabb6bed00 small change 2023-04-04 21:29:10 +02:00
Hellow
4ad8091309 small change 2023-04-04 21:27:27 +02:00
Hellow
ab631c73dd small change 2023-04-04 21:26:37 +02:00
Hellow
cbb0d5255b improved 2023-04-04 21:18:56 +02:00
Hellow
46eab5cbb0 made the download results prettier 2023-04-04 21:14:49 +02:00
Hellow
545cf98f79 added logging 2023-04-04 21:11:58 +02:00
Hellow
016a5e938f refactored logger 2023-04-04 21:10:47 +02:00
Hellow
68e7d7cb3c modified the str method of download results, such that it also prints errors now and then 2023-04-04 21:06:33 +02:00
Hellow
d9d59f36a0 fixed bug 2023-04-04 20:58:22 +02:00
Hellow
0f9550ad77 added success percentage 2023-04-04 20:30:01 +02:00
Hellow
5f5649a0f3 download fails pretty much work 2023-04-04 20:28:14 +02:00
Hellow
787084d9e7 cute messages 2023-04-04 20:20:15 +02:00
Hellow
6e83f3fdc2 cute messages 2023-04-04 20:19:29 +02:00
Hellow
8b10b4e4ca reformat 2023-04-04 20:00:38 +02:00
Hellow
6e17758826 changed download results
and integrated them in the cli
2023-04-04 20:00:21 +02:00
Hellow
e8d17d5f37 moved support class in a seperate module 2023-04-04 19:43:10 +02:00
Hellow
ba2e3463d3 improved default target 2023-04-04 19:37:50 +02:00
Hellow
baeb5a29a8 added download result 2023-04-04 19:17:58 +02:00
Hellow
53c7b6bdb8 cleaned up the console output some more 2023-04-04 18:09:58 +02:00
Hellow
f970950aea added a description and removed redundant output of progressbar 2023-04-04 17:59:08 +02:00
Hellow
afc3c859b0 improved progressbar 2023-04-04 17:54:05 +02:00
Hellow
5f735c25de cleaned up console output 2023-04-04 17:34:16 +02:00
Hellow2
da28616011 added progressbar 2023-04-04 17:20:27 +02:00
Hellow2
2bde1f683e Update musify.py 2023-04-04 12:47:34 +02:00
Hellow2
be96d93b50 Update abstract.py 2023-04-04 11:01:09 +02:00
Hellow2
9481f0e2ea Update abstract.py 2023-04-04 11:00:32 +02:00
Hellow2
7dcafb5d45 Update abstract.py 2023-04-04 10:45:07 +02:00
Hellow2
f6803e4c73 changed default instalation path 2023-04-04 10:43:52 +02:00
Hellow2
a48ee21a9c fixed exception 2023-04-04 10:25:01 +02:00
Hellow2
9895c8abd6 added filter for compilations etc. 2023-04-04 10:20:54 +02:00
Hellow2
ffaef94170 Merge branch 'musify' into audio 2023-04-04 10:06:19 +02:00
Hellow2
b1a8410376 fixed bug with timeout 2023-04-04 10:05:37 +02:00
Hellow2
513f021e66 Merge branch 'musify' into audio 2023-04-04 09:37:00 +02:00
Hellow
98fb2c7bf9 fixed crash on search 2023-04-03 19:59:31 +02:00
Hellow
9b9f3ec8f4 fixed real ugly bug 2023-04-03 18:09:05 +02:00
Hellow
7ace653921 Merge branch 'musify' into audio 2023-04-03 17:42:05 +02:00
Hellow
838c2b5875 modified musify 2023-04-03 17:41:52 +02:00
Hellow
255776a8fd Merge branch 'audio' of github.com:HeIIow2/music-downloader into audio 2023-04-03 16:46:13 +02:00
Hellow
072f220f1a Update actual_donwload.py 2023-04-03 16:46:00 +02:00
Hellow2
310bf3194d removed debug print 2023-04-03 16:24:45 +02:00
Hellow2
f58685af58 fixed really disgusting bug 2023-04-03 16:23:30 +02:00
Hellow2
a20f7ae59e stuff 2023-04-03 12:38:09 +02:00
Hellow2
77eef63fac fixed issue with crash on connection exception 2023-04-03 12:14:58 +02:00
Hellow2
041612e083 dsada 2023-04-03 11:47:51 +02:00
Hellow2
45b5f0875a fixed the download directory 2023-04-03 11:47:30 +02:00
Hellow2
c501461b1e escaping strings 2023-04-03 11:17:55 +02:00
Hellow2
66bd99b524 reformating 2023-04-03 10:39:16 +02:00
Hellow2
c05199d928 added better default targets 2023-04-03 10:38:12 +02:00
Hellow2
376bbf2fa2 Update search.py 2023-04-03 09:45:44 +02:00
Hellow2
bdf05adcb1 cleaned up download 2023-04-03 09:43:45 +02:00
Hellow2
37854e30e0 fixed bug in post request 2023-03-31 11:00:19 +02:00
Hellow2
be48707623 fixed bug in post request 2023-03-31 10:56:31 +02:00
Hellow2
3aa6faab51 finished makeshift downloader 2023-03-31 10:46:56 +02:00
Hellow2
5bf7392ab3 implemented downloading 2023-03-31 10:34:29 +02:00
Hellow2
094c4256d4 fixed issue with copy to 2023-03-31 09:54:31 +02:00
Hellow2
c93c469576 implemented stream 2023-03-31 09:47:03 +02:00
Hellow2
5067b84f48 changed the way stuff is downloaded 2023-03-30 16:50:27 +02:00
Hellow2
f8b3e57ade fixed bug 2023-03-30 16:10:48 +02:00
Hellow2
6f30ae6f92 adding post process fixing the tagging part 2023-03-30 15:58:29 +02:00
Hellow2
fab76fc165 completed more 2023-03-30 15:28:23 +02:00
Hellow2
fc98998cdb created important file system methods in the target classs 2023-03-30 14:59:53 +02:00
Hellow2
6d3c36e075 completed the downloading layout 2023-03-30 14:52:50 +02:00
Hellow2
b2e67fbd45 start laying out downloads 2023-03-30 14:39:28 +02:00
Hellow2
3f47f46153 implemented direct download in the cli 2023-03-30 12:43:43 +02:00
Hellow2
cc7eb41ac7 made the direct downloads work 2023-03-30 12:31:37 +02:00
Hellow2
79b2dc4394 implemented funtion in search 2023-03-30 12:23:57 +02:00
Hellow2
11974fd2eb implemented method to fetch stuff 2023-03-30 12:09:36 +02:00
Hellow2
21e81c82a3 added some url parsing 2023-03-30 12:00:39 +02:00
Hellow2
de2f326218 Update download.py 2023-03-30 11:38:59 +02:00
Hellow2
7e274bfbbe deleted pointless files 2023-03-30 10:55:01 +02:00
Hellow2
e146aec261 updated tests 2023-03-30 10:52:31 +02:00
Hellow2
658837850c moved cli to __init__.py 2023-03-30 10:49:17 +02:00
Hellow2
42d393389a removed annoying console output from collection.py 2023-03-30 10:42:33 +02:00
Hellow2
d158736c45 pixed bug regarding the maths of choosing one index 2023-03-30 10:34:17 +02:00
Hellow2
214b04d7cc implemented new cli 2023-03-30 10:07:42 +02:00
Hellow2
2b1b62f1dc added functionality and removed parsing in the thingie 2023-03-30 09:01:09 +02:00
Hellow
b40174fb97 Update actual_donwload.py 2023-03-29 20:56:57 +02:00
Hellow2
927c2766d7 added cli to __init__.py 2023-03-29 17:24:02 +02:00
Hellow2
ef41d8a72c last polish 2023-03-29 17:17:20 +02:00
Hellow2
fcee8c1f84 implemented the choosing of pages 2023-03-29 17:04:06 +02:00
Hellow2
f4047b91c1 defined shorthands 2023-03-29 15:22:18 +02:00
Hellow2
3238f944b3 implementedexample cli 2023-03-29 13:39:55 +02:00
Hellow2
c846f33082 added a way to input a query 2023-03-29 12:54:26 +02:00
Hellow2
8f8e7ecc15 fixed crash in musify scraper 2023-03-29 12:02:07 +02:00
Hellow2
82e3146780 made single page options extend 2023-03-29 12:00:40 +02:00
Hellow2
8c01ee4198 choose_single works 2023-03-29 11:53:55 +02:00
Hellow2
c4079efc4b Update search.py 2023-03-29 11:38:32 +02:00
Hellow2
eb133e802f download 2023-03-29 11:37:56 +02:00
Hellow2
0a23d6d27c Update search.py 2023-03-29 11:36:46 +02:00
Hellow2
e13b6e70c6 renamed 2023-03-29 11:35:25 +02:00
Hellow2
e73bd6434d implemented choose index 2023-03-29 11:34:58 +02:00
Hellow2
87f51d7a3a implemented the choose_page function 2023-03-29 09:53:08 +02:00
Hellow2
377f2cca8a started choose function 2023-03-29 09:50:06 +02:00
Hellow2
4dcb2fa643 reformat a bit 2023-03-29 09:44:25 +02:00
Hellow2
6c89aabbb5 added tests for page selection 2023-03-29 09:42:53 +02:00
Hellow
0a7dfeb5ea fixed rpr 2023-03-28 18:40:56 +02:00
Hellow
c67d8fba61 fixed type hinting 2023-03-28 18:38:45 +02:00
Hellow2
8b5d339fef counter + fixted __repr__ 2023-03-28 17:00:32 +02:00
Hellow2
28f56ac317 implemented the untested choose functions 2023-03-28 15:01:47 +02:00
Hellow2
bbb2f0831b continues writing the string formating of multi page options 2023-03-28 14:40:59 +02:00
Hellow2
3a842920e8 creating a multi page option class 2023-03-28 14:25:22 +02:00
Hellow2
855ca4b531 started implementing the multiple page search 2023-03-28 14:04:15 +02:00
Hellow2
7ceb9bb5fe added data fpr üages 2023-03-28 12:50:23 +02:00
Hellow2
35f3ed975f Update test_building_objects.py 2023-03-28 11:43:18 +02:00
Hellow2
42c2f73da8 added tests and fixed a bug 2023-03-28 11:34:45 +02:00
Hellow2
63a3dc00fd implemented the building/compiling of recursive structures 2023-03-28 10:45:41 +02:00
Hellow2
18bf066f77 laied out proper functions in the parent object 2023-03-28 09:21:41 +02:00
Hellow2
f4649cd3ac layed out tests, arent finished though 2023-03-28 09:18:42 +02:00
Hellow2
b07459ef6d Update metal_archives.py 2023-03-28 09:06:32 +02:00
Hellow2
5b313702f7 Update formatted_text.py 2023-03-28 08:58:30 +02:00
Hellow2
8045476dba added fetching of ma lyrics 2023-03-28 08:57:50 +02:00
Hellow2
34baf75d2e pretty much finished web scraping on metal archives besides lyrics 2023-03-28 08:27:21 +02:00
Hellow
ec9bbf15d3 continued refactoring and added fetching of discography again 2023-03-27 20:42:43 +02:00
Hellow
7ae7aa87fd fixed a bit of the scraping 2023-03-27 20:02:17 +02:00
Hellow
2bae6e1cbd fixed some bugs in the preset 2023-03-27 18:41:50 +02:00
Hellow
ac474c6079 used for a request the class method 2023-03-27 17:53:51 +02:00
Hellow
4e4e72104d improved run function 2023-03-27 17:48:06 +02:00
Hellow2
e973ac618d reverted previous changes because it was stupid 2023-03-27 16:30:12 +02:00
Hellow2
f5646276d4 layed out better methods for fetching data 2023-03-27 16:28:34 +02:00
Hellow2
2ff58d3a30 fixed faulty type hint and old function 2023-03-27 16:20:16 +02:00
Hellow
6b2d2e0bfc added some tests 2023-03-24 19:43:33 +01:00
Hellow
6d2a7469fc modified diagram 2023-03-24 19:07:37 +01:00
Hellow
7ee02440c8 removed redundant modules 2023-03-24 18:12:28 +01:00
Hellow
34465ce46e cleaned up 2023-03-24 18:09:53 +01:00
Hellow
267bf52847 fixed funny bug 2023-03-24 15:58:21 +01:00
Hellow2
5387301ed2 started fixing importand design flaw 2023-03-24 14:28:19 +01:00
Hellow2
e5e8812983 fixed tests, they pass now 2023-03-24 10:30:40 +01:00
James Clarke
2aa6e355e2 Merge branch 'master' of github.com:JamesClarke7283/music-downloader into unit_tests 2023-03-23 17:32:04 +00:00
James Clarke
012aac5b2c
Made unit tests 2023-03-23 17:30:06 +00:00
James Clarke
bf99d39b82
Merge branch 'HeIIow2:master' into master 2023-03-23 17:27:44 +00:00
Hellow2
5918147ff9 Update collection.py 2023-03-23 09:00:39 +01:00
Hellow2
1f0ae30f02 fixed disgusting bug 2023-03-22 12:58:11 +01:00
Hellow2
c648a330e0 ahhh fuck me :( 2023-03-21 12:46:32 +01:00
Hellow
0f47cdadb8 some more scraping 2023-03-20 23:11:55 +01:00
Hellow
6f7763ada5 sdfa 2023-03-20 22:27:05 +01:00
Hellow
f39c3c11ad layed out the complete fetching of album 2023-03-20 21:50:19 +01:00
Hellow2
96f2d7ef6e started fetching of album details 2023-03-20 17:03:14 +01:00
Hellow2
718c911c81 parsed names to fix a bug 2023-03-20 15:33:45 +01:00
Hellow2
dc6a176c24 fixed DISGUSTING bug 2023-03-20 14:40:32 +01:00
Hellow
1ae01ed1fd added wikipedia 2023-03-18 17:06:12 +01:00
Hellow
2724eb3e36 added fetching of linked sources to musify 2023-03-18 13:01:27 +01:00
Hellow
862c25dd35 refactored merging function to take default values other than None into account parents.py 2023-03-18 12:36:53 +01:00
Hellow
5bd9439104 fetching notes 2023-03-17 23:55:38 +01:00
Hellow
5d0f9814c8 finished fetching of artist details 2023-03-17 23:27:14 +01:00
Hellow
05c9610683 moved error handling of get and post request into abstract.py instead do it new in every function 2023-03-17 18:16:06 +01:00
Hellow
924bd01e1d finished fetching of discography 2023-03-17 13:58:58 +01:00
Hellow
a01ea0cfcd reformat 2023-03-17 13:11:18 +01:00
Hellow
a27c4e28c3 fixed docstring 2023-03-17 13:10:25 +01:00
Hellow2
bf04d5b8be Update musify.py 2023-03-17 12:39:19 +01:00
Hellow2
7b110983c2 musify 2023-03-17 12:31:56 +01:00
Hellow
c13031f9b3 laied out musify apis 2023-03-16 22:52:47 +01:00
Hellow2
137c69399c pretty much finished musify search 2023-03-16 16:57:43 +01:00
Hellow2
c43ff6df69 continued musify scraper 2023-03-16 14:36:49 +01:00
Hellow2
9c438588a5 df 2023-03-15 20:55:28 +01:00
Hellow2
03d78e5f98 Update musify.py 2023-03-14 14:58:54 +01:00
Hellow2
f3d9025d0b Update musify.py 2023-03-14 14:48:03 +01:00
Hellow2
4a199547de fixed 2023-03-14 13:36:05 +01:00
Hellow2
f858b97a17 made better 2023-03-14 12:02:58 +01:00
Hellow2
4056c736b9 made a function to compile 2023-03-14 11:03:54 +01:00
Hellow2
38142df92e Create musify.py 2023-03-13 15:47:38 +01:00
Hellow2
a7de1d2a68 fixed somethin 2023-03-13 14:47:49 +01:00
Hellow2
e445e7b5d1 options 2023-03-13 14:39:46 +01:00
Hellow2
292bdfd2fa attribute 2023-03-13 14:33:17 +01:00
Hellow2
25ddfc4997 Update source.py 2023-03-13 14:32:00 +01:00
Hellow2
8e6baef854 Update lyrics.py 2023-03-13 14:30:11 +01:00
Hellow2
a11a4ca4c2 Update formatted_text.py 2023-03-13 14:28:28 +01:00
James Clarke
2c6d751816
Fixed Album test case 2023-03-12 18:02:40 +00:00
James Clarke
4914386f3f
Added unit test cases 2023-03-12 17:07:22 +00:00
James Clarke
7a9dfad7f4
Added unit test for songs 2023-03-12 14:55:44 +00:00
James Clarke
b56dcc5953
Added basic pyproject.toml and started on unit tests 2023-03-12 14:16:44 +00:00
Hellow
4f8cd2f266 refactor 2023-03-11 13:36:08 +01:00
Hellow
18a5cc1a15 options work 2023-03-10 21:53:25 +01:00
Hellow
bc7279d85c typo 2023-03-10 21:33:49 +01:00
Hellow
f88cd061fe improved typing 2023-03-10 21:33:26 +01:00
Hellow
d8be349a40 implemented options 2023-03-10 21:28:13 +01:00
Hellow
76a91f57cb fixed appending 2023-03-10 18:38:32 +01:00
Hellow
3a7f3aee6e flow chart 2023-03-10 11:09:05 +01:00
Hellow
53f1254231 doesn't throw exceptions 2023-03-10 10:54:15 +01:00
Hellow
809ba07acc doesn't throw exceptions 2023-03-10 10:21:57 +01:00
Hellow2
635c8b87a4 fixed exceptions 2023-03-10 10:13:35 +01:00
Hellow2
0423cb3139 refactor 2023-03-10 09:09:35 +01:00
Hellow2
d6aed75fec daf 2023-03-10 08:42:10 +01:00
Hellow2
3b4fe88d42 source 2023-03-10 08:40:50 +01:00
Hellow2
dfe894a532 source attronites 2023-03-10 08:27:37 +01:00
Hellow2
fe36523caf refactored the collection attributes 2023-03-10 08:27:01 +01:00
Hellow
c01dfd00d9 refactorings 2023-03-09 22:14:39 +01:00
Hellow
38e7620fbd implemented
DatabaseObject.indexing_values
for each data objects
2023-03-09 20:52:15 +01:00
Hellow
b53548e321 implemented
DatabaseObject.indexing_values
for each data objects
2023-03-09 20:44:57 +01:00
Hellow
0ffb642ac7 implemented
DatabaseObject.indexing_values
for each data objects
2023-03-09 19:53:28 +01:00
Hellow
617ca1316a theoretically implemented append 2023-03-09 18:35:56 +01:00
Hellow2
b7bd9f6196 dsa 2023-03-09 18:19:49 +01:00
Hellow2
191febd794 cvyxv 2023-03-06 15:20:26 +01:00
Hellow
9eb7b66882 Update parents.py 2023-03-03 14:22:46 +01:00
Hellow
a95c83b01c Update collection.py 2023-03-03 12:39:43 +01:00
Hellow
7502a38b58 added merging 2023-03-03 12:32:08 +01:00
Hellow2
ebe3d9328c ölkjvy 2023-03-03 12:13:23 +01:00
Hellow2
160c5bbd66 Update source.py 2023-03-03 07:52:13 +01:00
Hellow2
3fba46428d worked on metal archives 2023-03-02 16:23:02 +01:00
Hellow2
4c041ef7ff tried fixing shit 2023-03-02 07:59:53 +01:00
Hellow
2df5fc7488 refactored and cleaned up data objects 2023-02-28 01:13:53 +01:00
Hellow2
fe86f8591d fixed stuff 2023-02-27 16:51:55 +01:00
Hellow
5f4912bda5 refactored and cleaned up data objects 2023-02-25 22:16:32 +01:00
Hellow
819111c53a refactored and cleaned up data objects 2023-02-23 23:52:41 +01:00