Commit Graph

429 Commits

Author SHA1 Message Date
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
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
046658fa8e ready for build 2022-11-29 12:14:48 +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
Feyo Korenhof
da413356f1
rename 'cleare_console' to 'clear_console'
Hi!
Came across your reddit comment and was intrigued. While skimming the code I think I've found a bug.

On `line 100` in `music_kraken_cli.py` the `cli` function looks like this:

```python
def cli(start_at: int = 0, only_lyrics: bool = False, cleare_console: bool = True):
    if clear_console:
        clear_console()
```

the argument being passed in has an additional 'e' in it. The if statement below now just checks if the function 'clear_console' exists opposed to checking the argument.
2022-11-23 23:47:01 +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