Commit graph

37 commits

Author SHA1 Message Date
2a4bad63bb Added Api call counter
Added an api call counter to keep track of potential rate limits (which will very likely occur at some point during the script.

Personal results: 10k api calls for 152 artists
2023-09-26 17:37:09 +02:00
c78373ca38 Added script for fetching Intro/Outros to playlist
Added a script that goes through all artsists a user follows and adds their intros and outros to a playlist
2023-09-26 12:47:54 +02:00
5db80dfdb6 Added adaptiation for top_lib
Adapted script to use this repo's library
2023-09-26 12:45:18 +02:00
f63dfb9504 Added Progressbar class
Added multiple tools to the lib

- Added Progressbar
- Added Progressbar ETA calculator class
- Added way of fetching Artists that the user follows
2023-09-26 12:44:27 +02:00
6953136cca Fix: Styleguide 2023-09-25 20:32:47 +02:00
249a2dcdad fixed issue where verbose state was ignored
Fixed respecting verbose state
2023-09-25 20:31:54 +02:00
46f329f1d2 added code adaptation for repo lib
Adapted code to use and fit the repo lib and refactored existing code.
2023-09-25 20:30:23 +02:00
e74d7b2197 Added repo lib
Added a library for the python scripts in this repository to clean up the code in all the other files and avoid duplicate functions/code
2023-09-25 20:29:11 +02:00
ac8fdd67c1 Added pycache to gitignore
Added pycache to gitignore as it previously wasn't ignored
2023-09-25 20:27:09 +02:00
1478ec58ad Fixed Deadspaces
Removed all deadspaces
2023-09-25 16:29:22 +02:00
6d2ece92ee Added .env credential storage
Moved tokens and credentials to the .env file to not store them in the python file itself anymore.

- Added .env credential storage
- Fixed deadspaces
2023-09-25 16:28:53 +02:00
446430ec1d Fixed .cache file not being ignored
The .cache file that is used to cache login credentials and tokens is now ignored.
2023-09-25 16:26:50 +02:00
1e5ae46adc Removed unneeded file
Removed unneeded file that presumably was created to sum song lengths but doesn't work
2023-09-25 16:25:27 +02:00
5eeace7f11 add: gitignore 2023-09-25 16:00:01 +02:00
27b2579cee fix: cleaned up code, verbose prints 2023-09-25 13:36:09 +02:00
35e81eee76 remove: number of synced songs 2023-09-25 13:31:25 +02:00
b2ee52f15c fix: progress bar rendering
remove: debug log spam
2023-09-20 14:35:22 +02:00
40ecb117d0 added progressbar to main sync stage 2023-09-15 17:27:56 +02:00
a1ca707fa7 added forcesync and only syncs new by default 2023-09-15 15:55:54 +02:00
fa58cd5893 fixed progress bar overflow 2023-09-13 00:44:57 +02:00
85edae7c3c added the ability to skip songs
adds a flag -s/--skip that allows for skipping of the first x amount of songs. this can be useful for when the script got hung up on an api ratelimit and you want it to continue where it left off.
2023-09-13 00:38:23 +02:00
1a121f544f fixed error handling 2023-09-12 02:33:55 +02:00
da313aed7a fixed verbose logging being ignored 2023-09-11 23:25:28 +02:00
d70c2e5b98 Update likedsongsync2.py
fixed ETA calculation
2023-09-11 23:17:09 +02:00
fac583d149 some more scripts 2023-09-11 23:13:42 +02:00
Jonas_Jones
e4cc2294c0 I fixed a thing 2023-09-08 13:25:33 +02:00
Jonas_Jones
2f2e677ce1 added another one 2023-09-07 17:54:48 +02:00
Jonas_Jones
389ed3d258 added one more 2023-09-06 15:12:15 +02:00
Jonas_Jones
2bf3bb85dc found some more 2023-09-03 15:58:17 +02:00
Jonas_Jones
0cf45bbd0c added webhook, fixed timestamp 2023-09-01 22:49:55 +02:00
Jonas_Jones
6eb616308c the cloudflare worker script for my cdn at cdn.jonasjones.dev 2023-09-01 22:34:28 +02:00
Jonas_Jones
0964a00454 some more... 2023-09-01 20:44:38 +02:00
Jonas_Jones
29dd49c3b0 another one 2023-08-31 21:14:59 +02:00
f510ee0f1b
changed repo description to allow for non-python scripts 2023-08-31 13:08:24 +02:00
Jonas_Jones
034419b9a5 first dump I could find from my laptop 2023-08-31 12:58:45 +02:00
8d949a52b0
added warning
also updated Readme
2023-08-31 12:50:58 +02:00
39a4b128b3
Initial commit 2023-08-31 12:48:11 +02:00