Commit Graph

525 Commits

Author SHA1 Message Date
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
Hellow
20977c0208 added logo 2023-02-22 17:56:52 +01:00
Hellow
33b1efc2ed Update database.py 2023-02-19 23:36:04 +01:00
Hellow
87dcfdb54b finished writing to database 2023-02-19 23:35:52 +01:00
Hellow2
6531bf7022 Update write.py 2023-02-17 12:18:47 +01:00
Hellow
4e7fc5b9b3 a bit of refactoring and implemented some more scraping 2023-02-17 00:06:20 +01:00
Hellow2
019c24e059 eeeeeeeeeeee 2023-02-16 17:24:22 +01:00
Hellow2
a56233d5a6 started laying out read write operations 2023-02-15 16:23:22 +01:00
Hellow2
71e79faac4 modified data moddel, to support non static use of the model 2023-02-15 15:44:13 +01:00
Hellow2
4719f46c49 implemented the use function of the base model for multiple databases 2023-02-15 09:44:31 +01:00
Hellow
5a699c3937 STARTED IMPLEMENTING DB
STARTED IMPLEMENTING DB
2023-02-14 23:07:16 +01:00
Hellow
021f8a6905 Update song.py 2023-02-13 23:05:16 +01:00
Hellow
ec1dee1a0f Update database.py 2023-02-13 17:07:36 +01:00
Hellow
353cf22dfb Update object_cache.py
clean code
2023-02-13 16:45:12 +01:00
Hellow2
47bc91ff20 Create object_cache.py
this is a file/class where I can cache db obj

This is a cache for the objects, that et pulled out of the database.
This is necessary, to not have duplicate objects with the same id.

Using a cache that maps the ojects to their id has multiple benefits:
 - if you modify the object at any point, all objects with the same id get modified *(copy by reference)*
 - less ram usage
2023-02-13 15:41:51 +01:00
Hellow2
4ecdc6d419 refactored db objects 2023-02-10 13:52:18 +01:00
Hellow2
7b3f4a2b81 refactored 2023-02-09 15:49:22 +01:00
Hellow2
c3db4df70b rough implementation of start of cli 2023-02-09 15:05:49 +01:00
Hellow2
bf5d0458ca started cli 2023-02-09 09:40:57 +01:00
Hellow2
9efc806bec finished fetching of tracklist 2023-02-08 17:14:51 +01:00
Hellow2
42852fbd32 improved console stuff 2023-02-08 13:29:01 +01:00
Hellow2
1d64e5901d added playlist 2023-02-08 13:16:48 +01:00
Hellow2
bfefc9aaf1 hs 2023-02-07 19:26:14 +01:00
Hellow2
ece7ffa5db hs 2023-02-07 13:32:49 +01:00
Hellow
ec9bb69069 a bit of refactoring and implemented some more scraping 2023-02-06 23:47:13 +01:00
Hellow2
8362e2d5eb hs 2023-02-06 15:06:38 +01:00
Hellow2
5b25aa2cc1 added contributing info 2023-02-06 09:44:11 +01:00
Hellow2
bbf7181b13 added artist notes 2023-02-06 09:16:28 +01:00
Hellow2
7d570038b3 implemented a class for formatted text. It can return text in markdown, html and plantext, and convert between those. 2023-02-03 16:33:22 +01:00
Hellow2
bc091807fb hs 2023-02-03 15:21:59 +01:00
Hellow
e1293a4557 made obvious which files are used, and which aren't 2023-02-01 16:19:17 +01:00
Hellow2
611fbe575d yee 2023-02-01 14:26:54 +01:00
Hellow2
18eef1234d parsed attributes 2023-02-01 13:18:09 +01:00
Hellow2
575629a531 ma easy attributes 2023-02-01 09:41:25 +01:00
Hellow2
a02fea32fc started implementing simple attributes 2023-02-01 09:18:06 +01:00
Hellow2
c99434adc4 added the fetching of the sources from ma regarding artists 2023-02-01 09:13:30 +01:00
Hellow2
f1e92a8464 added the fetching of the sources from ma regarding artists 2023-02-01 09:10:05 +01:00
Hellow
e48285c3b0 started implementation of fetching from ma artis sources 2023-02-01 00:07:13 +01:00
Hellow2
dde8271707 renamed a var to follow more the python defaults 2023-01-31 13:28:27 +01:00
Hellow2
911ae0c25a finished fetching of discography and merging those 2023-01-31 13:27:28 +01:00
Hellow2
2e6c58255c fixed mutable argument bug in the source dict of SourceAttribute 2023-01-31 13:18:52 +01:00
Hellow2
ae9a70fb04 fixed issue with date formats and the database 2023-01-31 09:53:05 +01:00
Hellow
65ccdee2cb yes 2023-01-30 23:54:21 +01:00
Hellow
06cc826a21 finished database integration and simmilar 2023-01-30 18:27:49 +01:00
Lars Noack
3ddddf2f5f hs 2023-01-30 17:07:26 +01:00
Lars Noack
bfcec43433 addepted the database binding tp the changes to the structure 2023-01-30 16:35:29 +01:00
Lars Noack
b46b9f5149 added stuff 2023-01-30 15:57:01 +01:00
Lars Noack
39404dbbed finished refactoring metadata 2023-01-30 15:12:30 +01:00
Lars Noack
fb8a89dbbd finished refactoring metadata 2023-01-30 14:41:02 +01:00
Lars Noack
bc69cac27c metadata 2023-01-27 12:56:59 +01:00
Lars Noack
4abb17ca8e source 2023-01-25 14:14:15 +01:00
Lars Noack
b7cce0aef9 continued 2023-01-24 18:15:07 +01:00
Lars Noack
c1dbb62eed dasf 2023-01-24 14:37:37 +01:00
Lars Noack
c7811e9ae5 finished search of metal encyclopedia 2023-01-24 14:29:23 +01:00
Lars Noack
081a57360f metal enzyclopedie 2023-01-24 12:09:47 +01:00
Lars Noack
3957dc4088 continued ma 2023-01-24 10:51:41 +01:00
Lars Noack
5545d1190a started ma 2023-01-24 09:40:01 +01:00
Hellow
b17d039fb6 asddasd 2023-01-24 00:16:10 +01:00
Lars Noack
c28abdd999 started new documentation 2023-01-23 16:57:00 +01:00
Lars Noack
6b496971c9 implemented abstract class 2023-01-23 15:52:50 +01:00
Lars Noack
68031b9cdd layed out the page structure 2023-01-23 14:53:35 +01:00
Lars Noack
e51d4ca467 added Source objects to album 2023-01-23 13:49:07 +01:00
Hellow
cb5b1b1fcc added source to artist 2023-01-20 23:05:15 +01:00
Lars Noack
d1af921157 added source attribute to artist 2023-01-20 11:43:35 +01:00