-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMusic-library-upgrader.py
82 lines (64 loc) · 2.97 KB
/
Music-library-upgrader.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
import os
from src import main
def start(test=0):
if test:
main.start(1)
else:
print("""
___ ___ _ _ _ _ _ _ _
| \/ | (_) | | (_) | | | | | | |
| . . |_ _ ___ _ ___ | | _| |__ _ __ __ _ _ __ _ _ | | | |_ __ __ _ _ __ __ _ __| | ___ _ __
| |\/| | | | / __| |/ __| | | | | '_ \| '__/ _` | '__| | | | | | | | '_ \ / _` | '__/ _` |/ _` |/ _ \ '__|
| | | | |_| \__ \ | (__ | |___| | |_) | | | (_| | | | |_| | | |_| | |_) | (_| | | | (_| | (_| | __/ |
\_| |_/\__,_|___/_|\___| \_____/_|_.__/|_| \__,_|_| \__, | \___/| .__/ \__, |_| \__,_|\__,_|\___|_|
__/ | | | __/ |
|___/ |_| |___/
""")
print("""
This program will Download songs songs in your library with upgraded quality.
For more info, visit https://github.com/HritwikSinghal/Music-library-upgrader
""")
print('''
Warning: This program is in early stages so it may download wrong song sometimes.
It will store downloaded songs of each dir in folder named 'Downloaded_songs'
which will be located in the dir itself.
Enter 1 TO RUN OR 0 TO EXIT
''')
x = input()
if x == '1':
print("Starting Program....")
main.start(test)
print("""
If there were errors during running this program, please upload log file
named 'Music-library-repairer_LOGS.txt' in each dir and open an issue on github
you can find those log files by using default search in folders or by manually
finding each.
""")
print('''
Thank you for Using this program....
By Hritwik
https://github.com/HritwikSinghal
''')
else:
print("Exiting....")
exit(0)
if os.path.isfile('src/test_bit.py'):
test = 1
else:
test = 0
start(test=test)
# todo : add automatic support where it will download all songs that are auto-matched and leaves others
# todo: app support for extra terms to be added to end of search url to enhance results
# todo : add m4a support
# todo: add mode for old songs which checks year < 2000 and other fixes
# todo: add logs
# todo: add support to download songs from txt file with song names
"""
Rd burman
op nayyer
Laxmikant pyarelal
Mohd rafi
soundtrack
Revival
instrumental
"""