Commit Graph

21 Commits

Author SHA1 Message Date
Mike Schwörer
42b7c1bd72
Only query genres if track does not get skipped 2021-12-18 12:12:22 +01:00
Leon Bohmann
1120592f0f added genre retrieval 2021-11-30 14:45:06 +01:00
Mike Schwörer
ad43153d4c
Added CREDENTIALS_LOCATION config value 2021-11-18 23:31:48 +01:00
Mike Schwörer
8cd868f317
Move config to config.py 2021-11-18 22:16:07 +01:00
logykk
2638805741 Realtime downloads fix part 1 2021-11-13 18:06:34 +13:00
yiannisha
1c419c0873 Name changes 2021-11-09 18:46:28 +02:00
yiannisha
a1e54e9781 Added global song archive 2021-11-08 20:35:32 +02:00
Thomas Lau
edbc5c78d9 add album artist: 2021-11-05 15:50:55 +00:00
thomaslty
46a3c45cbc
Update const.py 2021-11-05 19:00:19 +08:00
yiannisha
97f8321877 Added function to check song duration
- New constant in const.py:
TRACK_STATS_URL = 'https://api.spotify.com/v1/audio-features/'

 - New function in track.py:
get_song_duration(): makes a request to the API for audio features
which contain the song's duration in miliseconds. Converts miliseconds
to seconds.

 - New function in utils.py:
get_downloaded_song_duration(): uses the subprocess module to run
an ffmpeg command that ouputs the duration of the song file in seconds.
Output is captured and returned as float.
2021-10-31 20:55:00 +02:00
logykk
0dd2802ba2 Replaced filename string sanitization 2021-10-30 22:43:07 +13:00
yiannisha
8ff7c07ccf Added 'user-library-read' token for saved tracks fixes#154 2021-10-27 22:23:40 +03:00
logykk
68cea35fde Updated documentation 2021-10-27 23:03:33 +13:00
logykk
fe6f266b41 Added realtime downloading for songs 2021-10-27 22:49:21 +13:00
shirt
27d6c791ce
Fix audio copy, set bitrate based on account type if not in config 2021-10-26 16:14:31 -04:00
shirt
eba1ec11c7
Use ffmpeg instead of pydub, support ogg stream copy 2021-10-26 15:06:17 -04:00
Footsiefat
afeb84de39
Revert "added m3u playlist file creation" 2021-10-25 18:36:17 +13:00
Raju komati
2454d50913
resolved merge conficts 2021-10-25 10:07:06 +05:30
Raju komati
dab823d09e
updated folder name 2021-10-25 09:22:53 +05:30
el-gringo-alto
bcdb07593a Generate config file if it doesn't exist 2021-10-24 22:14:22 -04:00
Footsiefat
03b0b108b8 renamed src to zspotify 2021-10-25 14:51:12 +13:00