37 lines
529 B
Python
37 lines
529 B
Python
|
|
|
|
import Flow
|
|
|
|
def test1():
|
|
flow = Flow.Flow()
|
|
|
|
# flow.fetch_local()
|
|
flow.parse_local_library()
|
|
flow.load_libraries()
|
|
|
|
# flow.map_local_to_spotify()
|
|
# flow.log_stats()
|
|
|
|
# flow.fetch_and_save_lyrics()
|
|
|
|
def main():
|
|
flow = Flow.Flow()
|
|
|
|
# flow.fetch_spotify()
|
|
flow.fetch_local()
|
|
|
|
flow.parse_spotify_library()
|
|
flow.parse_local_library()
|
|
|
|
flow.load_libraries()
|
|
|
|
flow.map_local_to_spotify()
|
|
flow.save_libraries()
|
|
|
|
# flow.log_stats()
|
|
|
|
# print("asd")
|
|
|
|
|
|
# test1()
|
|
main()
|