Commit Graph

507 Commits

Author SHA1 Message Date
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
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
Lars Noack
412dbad18b added artist attribute 2023-01-20 11:01:18 +01:00
Lars Noack
4b4a3e8fc3 added type to src 2023-01-20 10:56:40 +01:00
Lars Noack
a876ebc708 dafsdjl 2023-01-17 18:07:06 +01:00
Lars Noack
be44d35fab afsdfd 2023-01-16 16:19:48 +01:00
Lars Noack
46f01032f5 daffasf 2023-01-16 15:37:04 +01:00
Lars Noack
48b1ab9288 added genre 2023-01-16 14:31:43 +01:00
Lars Noack
7817402a19 fixed metadata 2023-01-16 14:23:33 +01:00
Lars Noack
28be65df85 crime 2023-01-16 12:57:04 +01:00
Lars Noack
fda000646d date support 2023-01-16 12:26:56 +01:00
Hellow
cf300a2a91 fuck u 2023-01-14 14:41:40 +01:00
Hellow
54a4be29ea fixed readme + id3 timestamps 2023-01-13 14:37:15 +01:00
Lars Noack
8a7335c741 das 2023-01-13 12:05:44 +01:00
Lars Noack
df749118d7 dfsa 2023-01-13 09:44:57 +01:00
Hellow
ffcd626e5e dafdsf 2023-01-13 00:32:35 +01:00
Hellow
f7ee24b3a9 asfd 2023-01-12 23:01:19 +01:00
Hellow
25eea44d08 commit 2023-01-12 19:55:24 +01:00
Lars Noack
a00cbb0d0c dfsa 2023-01-12 17:14:21 +01:00
Lars Noack
133e360562 dasfh 2023-01-12 16:25:50 +01:00
Lars Noack
b6a8966503 am 2023-01-11 16:30:53 +01:00
Lars Noack
013e3dccfd fixed DISGUSTING bug 2023-01-11 15:28:22 +01:00
Hellow
07f18c9efa fdasf 2023-01-11 02:25:17 +01:00
Hellow
0ca8adac6f yaaay 2023-01-10 19:21:11 +01:00
Lars Noack
581a68cf46 started metadata 2023-01-10 18:52:47 +01:00
Lars Noack
21fca274f8 moved stuff around 2023-01-09 14:56:15 +01:00
Lars Noack
cc77d3ec25 dfa 2023-01-09 14:53:25 +01:00
Lars Noack
6180e44670 layed the basis for id3 tagging 2023-01-09 14:50:06 +01:00
Lars Noack
a8bf1ad921 added mapping enum 2023-01-09 14:21:49 +01:00
Lars Noack
6cbb90375a decided on id3 2023-01-09 11:36:58 +01:00
Hellow
b51904d438 finished???? 2022-12-16 18:26:05 +01:00
Hellow
23b3ab0101 afsafdf 2022-12-16 16:59:21 +01:00
Lars Noack
0c2b604b92 dsfjsd 2022-12-16 12:53:05 +01:00
Lars Noack
933eddeea4 fafhhjsdajhfg 2022-12-13 16:58:22 +01:00
Lars Noack
0fe7c70f21 refa 2022-12-13 11:16:19 +01:00
Hellow
2392336e0a Merge branch 'master' of github.com:HeIIow2/music-downloader
merge
2022-12-12 19:30:33 +01:00
Hellow
070b6fef43 sffkldöföajd 2022-12-12 19:30:18 +01:00
Lars Noack
dee7f9f152 afdfa 2022-12-12 15:40:41 +01:00
Hellow
9d43dfd129 polished the song and db oject 2022-12-09 18:24:58 +01:00
Lars Noack
eb42920488 fucking finally 2022-12-09 15:50:44 +01:00
Hellow
5d5bdb3343 semi completed pull function for album 2022-12-08 09:28:28 +01:00
Lars Noack
265f7228bc started fetching of album 2022-12-08 09:10:26 +01:00
Lars Noack
cd89523ee0 continued the database 2022-12-07 15:51:38 +01:00
Hellow
7d21cb727e added lyrics to object thingie 2022-12-07 00:02:28 +01:00
Hellow
4b60ed7555 much progress on new db integration 2022-12-06 23:44:42 +01:00
Lars Noack
cbb56499bf fda 2022-12-06 17:55:07 +01:00
Lars Noack
37c8d894aa Merge branch 'master' of github.com:HeIIow2/music-downloader
stuff
2022-12-06 15:00:36 +01:00
Lars Noack
73e4635f8b stuff 2022-12-06 14:45:18 +01:00
Hellow
7ac5b8a6d3 added push method to sync db objects, needs to be implemented 2022-12-02 14:39:47 +01:00
Hellow
0744cc8606 started new database implementation, the old one was way to bad 2022-12-02 12:58:18 +01:00
Lars Noack
ded2f7b529 started new Databse Schematic 2022-12-02 10:59:22 +01:00
Lars Noack
8e1fd8ba5e started new Databse Schematic 2022-12-02 10:12:39 +01:00
Lars Noack
e883469ad7 db structure 2022-12-01 16:56:48 +01:00
Lars Noack
c587db730a added src 2022-12-01 16:43:25 +01:00
Lars Noack
ca8a3970a6 continued the database integration 2022-12-01 16:14:59 +01:00
Lars Noack
13e026d1e5 refactoring 2022-12-01 13:15:30 +01:00
Hellow
67e1aa8a3c refactored 2022-11-30 16:38:40 +01:00
Lars Noack
8d484bde68 refactor 2022-11-30 16:15:38 +01:00
Lars Noack
a050680dd7 refactored Song object. I hooooope it works 2022-11-30 12:55:47 +01:00
Lars Noack
12c453e005 refactored Song object. I hooooope it works 2022-11-30 12:55:35 +01:00
Lars Noack
74947177b1 added website 2022-11-30 09:03:14 +01:00
Hellow
f6362fda5d hopefully fixed timeout in musify 2022-11-29 19:30:20 +01:00
Lars Noack
8b9e62cc8a started refactoring of the song object to be indipendent from the database 2022-11-29 17:05:38 +01:00
Lars Noack
5598af5cee addet compatibility if length of a song is not known 2022-11-29 16:55:13 +01:00
Lars Noack
6b79d6a6ae added checking against lenth for youtube videos 2022-11-29 14:49:56 +01:00
Lars Noack
87f4e66148 added length do db 2022-11-29 14:16:36 +01:00
Lars Noack
989830d679 refactored packaging 2022-11-29 11:47:46 +01:00
Hellow
f121ab99cc works 2022-11-28 21:08:20 +01:00
Hellow
e48e93e964
Merge pull request #6 from DistantThunder/linux_music_localize
introduce localization for Music dir on Linux
2022-11-28 19:11:31 +01:00
darkeox
97bf0b4eb4 Catch key exception + correct typo + fix path interpolation 2022-11-28 17:56:19 +01:00
Lars Noack
aca563d013 sorry for the mess, the python documentation about packaging really aint that great. If someone who is good with python packaging intents to help and open an issue, that would be great 2022-11-28 17:18:26 +01:00
darkeox
ebae24e865 XDG_USER_DIRS_FILE refactor + doc 2022-11-28 15:16:04 +01:00
darkeox
0dc255594f Catch key exception + correct typo + file i/o method 2022-11-28 15:00:08 +01:00
darkeox
7f6e6ee5fa refactor #1 - logger print + music_dir 2022-11-28 14:49:13 +01:00
Hellow
ad50eca2c6 added timeout 10 sec to musify 2022-11-27 23:41:24 +01:00
Hellow
d9aa6a8f5b added timeout 10 sec to musify 2022-11-27 23:39:08 +01:00
Hellow
593a4ff3a3 fixed logger issue in database.p 2022-11-27 15:07:02 +01:00
Hellow
ec3619ae8b fixed broken link in readme 2022-11-27 10:14:55 +01:00
Hellow
693d04800a fuck yea refactored lyrics 2022-11-25 18:27:48 +01:00
Lars Noack
696de60249 ... 2022-11-25 12:12:58 +01:00
Lars Noack
a99f794174 lyrics obj 2022-11-25 08:29:18 +01:00
Lars Noack
cb2f9f180e pulled central data classes like Artist or Source out of song.py and put in eceternal file 2022-11-25 07:53:50 +01:00
darkeox
8405692d6b introduce localization for Music dir on Linux 2022-11-24 23:22:06 +01:00
Hellow
19cd9c4e0b modified garbage collection to run a bit less often 2022-11-24 22:10:22 +01:00
Hellow
5f433ae3e1 ready for test build 2022-11-24 18:25:49 +01:00
Lars Noack
e8bb139573 fixed small inconvinience 2022-11-24 16:45:39 +01:00
Lars Noack
5f3bdf99c5 fixed small bug 2022-11-24 16:36:07 +01:00
Lars Noack
9f6a365a5e temporarily finished the documentation 2022-11-24 15:42:50 +01:00
Lars Noack
068918feda refactored some more 2022-11-24 14:56:51 +01:00
Lars Noack
58ab41f60b refactored imports, so every important function can be imported directly from the 'root module' music_kraken 2022-11-24 14:35:58 +01:00
Lars Noack
5d61721b60 refactored imports, so every important function can be imported directly from the 'root module' music_kraken 2022-11-24 14:34:36 +01:00
Lars Noack
cd9d67102b refactored a bit 2022-11-24 14:13:55 +01:00
Lars Noack
42feb5397a new build and upload 2022-11-24 12:37:44 +01:00
Hellow
42fc9c5205 added stuff to help command and set down max phoenetic distance
added stuff to help command and set down max phoenetic distance
2022-11-23 23:44:25 +01:00
Hellow
eb1791bf9e documented more 2022-11-23 19:15:55 +01:00
Hellow
ee042c9805 fixed BAD typo 2022-11-23 17:12:40 +01:00
Lars Noack
b46793eece continued the documentation of the programming interface 2022-11-23 15:20:48 +01:00
Lars Noack
6122952b3f new commit 2022-11-23 11:33:24 +01:00
Lars Noack
76181e619f edited the Music path to make it compatibal with windows 2022-11-23 08:54:07 +01:00
Lars Noack
92b48a8f13 improved copyright 2022-11-23 08:37:56 +01:00
Lars Noack
8f4961c6ae refactored cli, removed switch case 2022-11-23 08:24:05 +01:00
Lars Noack
2ba9c4048c added cli in appropriate file 2022-11-23 08:10:22 +01:00
lars
01c27efda5 works again 2022-11-22 18:25:35 +01:00
Lars Noack
09fbb57380 need to fix another fcking thing fck refactoring 2022-11-22 15:55:34 +01:00
Lars Noack
993545eb9d fixed dependency 2022-11-22 14:53:29 +01:00
Lars Noack
f45afcb2ce gotta fix fucking imports 2022-11-22 14:25:01 +01:00
Lars Noack
ef362dd2a4 refactored 2022-11-22 13:47:33 +01:00
Lars Noack
7bab6e3006 refactored youtube using the song and src object instead of dict 2022-11-22 13:34:05 +01:00
Lars Noack
4bd3e39a75 refactored using the song and src object instead of dict 2022-11-22 13:19:54 +01:00
Lars Noack
599b0fdd59 refactored using the song and src object instead of dict 2022-11-22 12:58:19 +01:00
Lars Noack
6a43859126 refactored using the song and src object instead of dict 2022-11-22 12:56:49 +01:00
Lars Noack
1108768e4c refactored using the song and src object instead of dict 2022-11-22 12:48:01 +01:00
Lars Noack
e7e315ed42 refactored using the song and src object instead of dict 2022-11-22 12:46:45 +01:00
Lars Noack
7b241d8655 refactored using the song and src object instead of dict 2022-11-22 12:41:05 +01:00
Lars Noack
2293269151 refactored using the song and src object instead of dict 2022-11-22 12:11:20 +01:00
Lars Noack
4095efb6a1 refactored using the song and src object instead of dict 2022-11-22 11:37:41 +01:00
Lars Noack
a021b289c0 made clear console optional 2022-11-22 11:17:06 +01:00
Lars Noack
456648bea1 removed pointles commented code 2022-11-22 11:13:46 +01:00
Lars Noack
5e928759e8 added command 2022-11-22 11:13:05 +01:00
Hellow
b93d6d2282
Merge pull request #3 from GabrieleAncillai/development
edited readme + cli improvements
2022-11-22 11:06:18 +01:00
Muffin-chan
faaebb4be5 Documentation fixes 2022-11-22 03:24:48 -05:00
Muffin-chan
ad446a1099 Some cli improvements
- Adds cross platform clear console functionality
- Replaces "search_for_metadata" if tree with a match case
- Implements alternative command interface for handling the program
- Fixes bug of error being displayed when quitting the program
2022-11-22 03:24:25 -05:00
Lars Noack
e158b1e15c refactored 2022-11-22 09:21:28 +01:00
Lars Noack
fe1c849852 continued 2022-11-21 15:54:13 +01:00
Lars Noack
889423518e continued 2022-11-21 15:44:59 +01:00
Lars Noack
3432ab1321 continued 2022-11-21 15:40:41 +01:00
Lars Noack
58626a7d99 refactored and added for possibility for multiple sources per track 2022-11-21 14:27:18 +01:00
Lars Noack
0f25833da0 fixed db src a bit 2022-11-21 12:25:40 +01:00
Lars Noack
5fb19dd438 Refactoring 2022-11-18 14:20:40 +01:00
Lars Noack
98e2a9b6fb refactored 2022-11-18 10:16:06 +01:00
Lars Noack
2a846e5b7b refactored 2022-11-18 09:09:50 +01:00
Lars Noack
d45b42ff7d refactored youtube 2022-11-18 09:01:09 +01:00
Lars Noack
445272389f fixed up database 2022-11-18 08:41:49 +01:00
lars
5084534cb8 continued 2022-11-17 13:23:27 +01:00
Lars Noack
0ccb3f244c implemented the source table of the db to the database querry 2022-11-16 14:50:56 +01:00
Lars Noack
0cb5cd32e9 added the opportunity to choose the activated audio sources and change theire priority 2022-11-16 13:21:30 +01:00
Lars Noack
5240f3eb34 added superclass for download sources 2022-11-16 11:22:24 +01:00
Lars Noack
ad16eabdf7 optimized imports in __init__.py for the cli 2022-11-16 10:37:41 +01:00
Lars Noack
e9056771ff refactored module names and imports 2022-11-16 10:15:35 +01:00
Lars Noack
65bb48c3cf added overview over modules 2022-11-16 09:44:50 +01:00
Lars Noack
bb23e72189 added logo 2022-11-15 16:54:05 +01:00
Lars Noack
6f4318d7c5 new build and upload 2022-11-15 15:31:54 +01:00
Lars Noack
15fc4b2194 new build and upload 2022-11-15 15:26:16 +01:00
Lars Noack
656ba9db06 new build and upload 2022-11-15 15:10:04 +01:00
Lars Noack
ea45d2f62e implemented the ability to simply run the programm from terminal typing 'music-kraken' when installing with pip 2022-11-15 13:04:44 +01:00
Lars Noack
28b8994965 completly finished build and upload for PyPI which actually works 2022-11-15 09:14:48 +01:00
lars
61fd366c3a restructured slightly and addet skript to upload to PyPI 2022-11-15 00:54:15 +01:00
lars
783890b695 restructured slightly and addet skript to upload to PyPI 2022-11-15 00:45:06 +01:00
lars
c6d0acff9b restructured slightly and addet skript to upload to PyPI 2022-11-15 00:27:03 +01:00