Commit Graph

695 Commits

Author SHA1 Message Date
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
Lars Noack
b46793eece continued the documentation of the programming interface 2022-11-23 15:20:48 +01:00
Lars Noack
2313bb519e continued programming interface demo/docs 2022-11-23 14:33:07 +01:00
Lars Noack
068c723b74 started documenting the programming interface 2022-11-23 13:25:07 +01:00
Lars Noack
6122952b3f new commit 2022-11-23 11:33:24 +01:00
Lars Noack
590fc65c4c should be ready for a new build :) 2022-11-23 09:20:28 +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
7c7f05f873 fixed bug in cle 2022-11-23 08:45:33 +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
2c3e1f8664 new build and upload 2022-11-16 10:39:37 +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
dd3ab8c379 new build and upload 2022-11-15 18:19:46 +01:00
Lars Noack
031838bc21 new build and upload 2022-11-15 17:01:17 +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
1846d3ae1c new build and upload 2022-11-15 15:16:52 +01:00
Lars Noack
656ba9db06 new build and upload 2022-11-15 15:10:04 +01:00
Lars Noack
594fabbed6 new build and upload 2022-11-15 13:36:45 +01:00
Lars Noack
247315ba58 new build and upload 2022-11-15 13:05:55 +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
a2c0610444 updated build skript 2022-11-15 11:00:32 +01:00
Lars Noack
19cbb2c939 added build 2022-11-15 10:25:56 +01:00
Lars Noack
a0ff7a0257 dfas 2022-11-15 10:03:49 +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
lars
5104fe3d1d fixed lyrics bug 2022-11-14 19:41:54 +01:00
lars
1e83ed8dcf Merge remote-tracking branch 'refs/remotes/origin/master'
cuz merge
2022-11-14 17:17:27 +01:00
lars
131c9cdd47 fck 2022-11-14 17:17:02 +01:00
Lars Noack
d30838e20b refactored lyrics fetching 2022-11-14 15:44:32 +01:00
Lars Noack
06ae9750ce added lyrics to the db 2022-11-14 14:57:44 +01:00
Lars Noack
334446799b added lyrics to the db 2022-11-14 14:53:23 +01:00
Lars Noack
f955ccdbe6 refactored imports 2022-11-14 12:32:31 +01:00
lars
5be0b3be64 dafdsaf 2022-11-13 23:56:43 +01:00
lars
fbbcd499c5 minor bugfixes with lyrics 2022-11-13 20:27:56 +01:00
lars
6c2d4824e1 fixed another bug that arose from calling an unimplemented function 2022-11-13 16:50:41 +01:00
lars
265e72abad fixed little bug that had to do with youtube putting feature artists in the track name 2022-11-13 16:40:44 +01:00
lars
da0bb12190 fixed again 2022-11-13 15:57:19 +01:00
lars
f7129e796e big refactoring 2022-11-12 00:29:07 +01:00
Lars Noack
288e7a9b7b fixed bug 2022-11-11 12:31:54 +01:00
Lars Noack
130ef6befb fixed logging to print to stdout again 2022-11-11 12:12:04 +01:00
Lars Noack
1b76cb88b7 fixed type error 2022-11-11 12:09:07 +01:00
Lars Noack
a5c8e6f051 removed dots from the beginning of files and paths tu unhide file system elements on linux/unix like systems 2022-11-11 07:57:56 +01:00
Lars Noack
67cd750611 made the lyrics downloader actually working. Still needs much refactoring attention though 2022-11-10 10:03:04 +01:00
Lars Noack
0abc49f01c made the lyrics downloader actually working. Still needs much refactoring attention though 2022-11-10 10:01:26 +01:00
lars
9bb510e41a startet genius lyrics fetcher 2022-11-09 22:52:32 +01:00
lars
3bc133ef62 startet genius lyrics fetcher 2022-11-09 19:01:13 +01:00
Lars Noack
527af38098 started with lyrics 2022-11-09 11:17:36 +01:00
Lars Noack
d524f0efc7 started with lyrics 2022-11-09 10:59:07 +01:00
Lars Noack
38f0ac1597 created logs 2022-11-09 08:22:28 +01:00
Lars Noack
36b9125027 polished logs for downloading metadata 2022-11-09 08:09:20 +01:00
lars
dbf47c1937 fixed crashing in youtube search 2022-11-08 23:49:21 +01:00
lars
5486f7f8d1 bugfix try catche request in musify 2022-11-08 22:35:40 +01:00
lars
865c31c287 merge didnt work ;-; 2022-11-08 17:41:28 +01:00
lars
a1c5c429b4 resolved merge conflicts 2022-11-08 17:26:42 +01:00
lars
3408edf72b resolved merge conflicts 2022-11-08 17:26:17 +01:00
lars
d2e96bd9e8 commit for merge 2022-11-08 17:24:00 +01:00
Lars Noack
63f30bffba asdf 2022-11-08 14:44:33 +01:00
Lars Noack
2f1d97b67b removed unnecesarry file 2022-11-08 12:29:11 +01:00
Lars Noack
3969290159 removed unnecesarry file 2022-11-08 12:08:36 +01:00
Lars Noack
452c1b5eea removed unnecesarry file 2022-11-08 11:30:54 +01:00
Lars Noack
a6df17ab86 removed spamm of warnings 2022-11-08 10:48:40 +01:00
Lars Noack
273f94e814 refactored to print the search in the main file for easyer editing of cli things 2022-11-08 10:39:27 +01:00
Lars Noack
d8b0a771cf addet logging messages to searching 2022-11-08 09:21:28 +01:00
Lars Noack
ff468da16f added option to search with queries instead of defining artist/release group/recording 2022-11-08 09:16:27 +01:00
lars
b4de6cd639 completed the refactored and improved version of the metadata search module :3 2022-11-07 22:59:16 +01:00
lars
9a771b6673 completed the refactored and improved version of the metadata search module :3 2022-11-07 20:02:38 +01:00
lars
994726e09c added searching by special querry 2022-11-07 19:39:12 +01:00
lars
d5d1b633c5 added fetching of many things in th search function 2022-11-07 19:22:46 +01:00
lars
a9ddea54d2 added fetching of many things in th search function 2022-11-07 19:05:34 +01:00
Lars Noack
0b5e4d60b6 huge refactoring of search 2022-11-07 17:14:09 +01:00
Lars Noack
8801ce1887 fdsafafdaf 2022-11-07 15:04:08 +01:00
lars
5a2892855c prioritized youtube over musify to make 1. my downloader more legal, 2. To get the reliability of ISRC's 2022-11-07 02:08:10 +01:00
lars
ebb6af7959 prioritized youtube over musify to make 1. my downloader more legal, 2. To get the reliability of ISRC's 2022-11-06 23:02:44 +01:00
lars
ecc0c72cea bugfixes 2022-11-06 23:01:03 +01:00
lars
c37fa68937 refactor 2022-11-06 18:10:00 +01:00
lars
a59244e82d implemented the prev changes in the downloader 2022-11-03 17:05:52 +01:00
lars
9f05d43022 implemented the file and folder paths in the db 2022-10-31 00:56:32 +01:00
lars
f16033b584 implemented the file and folder paths in the db 2022-10-30 20:30:59 +01:00
lars
6f2ecded4c added functionality to retrive artist information 2022-10-30 17:07:13 +01:00
lars
b808595d1f rewrote sqlite querry to return directly a json object 2022-10-30 16:29:42 +01:00
Lars Noack
0baca19e02 added couple functions to fetch data from database 2022-10-28 12:35:26 +02:00
lars
2d6061dc04 finished for the night *I hope* 2022-10-27 23:09:37 +02:00
lars
a50575102b removed unused functions 2022-10-27 19:54:52 +02:00
lars
1253581e30 finished implementing sqlite 2022-10-27 19:53:12 +02:00
Lars Noack
f4d0dd0089 continued at step from prev commit 2022-10-27 15:55:16 +02:00
Lars Noack
0f0e605cf9 continued implementing caching in the sqlight db 2022-10-27 15:27:57 +02:00
Lars Noack
035a45b7d8 started on an sqllite db 2022-10-27 15:00:24 +02:00
Lars Noack
595eeac880 started on an sqllite db 2022-10-27 14:15:18 +02:00
lars
8e1c375a61 Revert "started refactoring completly"
This reverts commit 5cb2dff5c3.
2022-10-26 17:47:28 +02:00
lars
5cb2dff5c3 started refactoring completly 2022-10-26 17:37:20 +02:00
lars
606c6c9dbe catched exception that occured on an internal server error at musify 2022-10-26 11:17:51 +02:00
lars
c1a105ee6a removed debug messages spamming the logs 2022-10-26 11:00:21 +02:00
lars
1be7f6e337 made the fetching from musify more consistent 2022-10-26 10:56:33 +02:00
lars
a830e4eb61 dsf 2022-10-26 10:38:43 +02:00
lars
2e02dfe348 edited gitignore 2022-10-26 10:36:41 +02:00
lars
c4ba98bcfe dasf 2022-10-26 10:31:28 +02:00
lars
62e8ab4320 commit 2022-10-26 10:30:37 +02:00
Lars Noack
a00ff3b1b6 commit 2022-10-26 10:28:49 +02:00
Lars Noack
c92ae213cf added documentation for the fetching of metadata 2022-10-26 08:14:05 +02:00
lars
e923dcdaf2 added a slower method to get stuff from musify, which in comperason takes longer though 2022-10-25 17:59:33 +02:00
lars
84b4f8b6c2 fixed bug with the youtube downloader where it chrashes if no results are found. Now checking all results of an search for a close enough title 2022-10-24 23:21:00 +02:00
lars
e18dc980fe think I changed smth 2022-10-24 13:55:34 +02:00
lars
137b18517f moved linguistics stuff to another file 2022-10-24 13:23:07 +02:00
lars
966f0c9602 refactored a bit 2022-10-24 13:18:14 +02:00
lars
2792a7c041 fixed runtime error if download from musify 2022-10-24 13:13:48 +02:00
lars
2304623817 improved the input of genres 2022-10-24 13:11:32 +02:00
lars
77e53e5e1e addet multiple tries to youtube downloading 2022-10-24 12:17:22 +02:00
lars
79a18e3c15 prioritized the album release as release src over the single release, and optimized the conversion to mp3 with doing it only if neccesarry 2022-10-24 12:12:01 +02:00
lars
8e17b72000 got it roughly working but sadly the metadata downloader prefers singles over albums which needs to be fixed 2022-10-21 23:50:18 +02:00
Lars Noack
482c72c01a Merge branch 'master' of github.com:HeIIow2/music-downloader 2022-10-21 22:14:36 +02:00
Lars Noack
3dd84652d4 fdasf 2022-10-21 22:14:25 +02:00
lars
dd0ddbe0f2 dfasf 2022-10-21 21:28:18 +02:00
lars
793e6927dd s 2022-10-21 21:24:38 +02:00
Lars Noack
0c64bccc98 refactor 2022-10-21 11:48:48 +02:00
Lars Noack
e0fb122f4f refactor 2022-10-21 11:24:34 +02:00
Lars Noack
fa7bfde4a1 fixed encoding bug with mp3 files 2022-10-21 11:02:41 +02:00
Lars Noack
c6d8c7e18e fixed encoding bug with mp3 files 2022-10-21 10:56:22 +02:00
Lars Noack
116f7cf414 added youtube as music src 2022-10-20 16:20:48 +02:00
Lars Noack
609041c50f added youtube as music src 2022-10-20 15:13:19 +02:00
Lars Noack
851f79b424 fixed bug with artist name being none 2022-10-20 08:22:48 +02:00
lars
15fff6c53c nearly finished 2022-10-19 17:47:48 +02:00
Lars Noack
892e5e5cc4 dsafaf 2022-10-19 15:41:54 +02:00
Lars Noack
a804faa144 dsafaf 2022-10-19 14:54:19 +02:00
Lars Noack
9baca4d446 dsafaf 2022-10-19 12:56:56 +02:00
Lars Noack
a1fcbf12aa continued tagging 2022-10-19 12:08:08 +02:00
Lars Noack
be8a3084e3 continued tagging 2022-10-19 11:18:03 +02:00
lars
8fc2351c93 asddasd 2022-10-18 23:30:19 +02:00
Lars Noack
5a72e1843d gitignore 2022-10-18 18:48:24 +02:00
Lars Noack
1c580dad9c dfsa 2022-10-18 00:27:30 +02:00
Lars Noack
6567f7e1ec finished the urs and paths. Now just need to download stuff 2022-10-17 19:28:33 +02:00
Lars Noack
9f96b97328 semi finished the fetching of download links from musify 2022-10-17 15:49:20 +02:00
Lars Noack
95effbc878 started link getter 2022-10-17 14:56:32 +02:00
Lars Noack
630fefc877 finished the downloading of metadata 2022-10-17 14:24:08 +02:00
Lars Noack
85b259652e added cli interface for metadata download. Now just need to... really download the metadata 2022-10-14 23:59:30 +02:00
Lars Noack
7e07d798b3 added cli interface for metadata download. Now just need to... really download the metadata 2022-10-14 16:55:23 +02:00
Lars Noack
713949d35f added an interactive demo 2022-10-14 16:36:19 +02:00
Lars Noack
2ecd18eec9 finished most search functionality from the metadata downloader 2022-10-14 16:29:13 +02:00
Lars Noack
9d9c7960c9 some progress with musicbrainz 2022-10-14 15:23:47 +02:00