Commit Graph

29 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
logykk
dc20e4367c realtime downloading for podcasts 2021-12-18 22:11:43 +13:00
Mike Schwörer
a15d966d93
Move loader to own python file and added cmd flag to suppress its output 2021-12-15 14:49:04 +01:00
Leon Bohmann
e00ad81c5e use more fancy busySymbols 2021-12-01 13:49:24 +01:00
Leon Bohmann
6877cca21b small design update to loader 2021-11-30 22:15:55 +01:00
Leon Bohmann
401688a458 added loader class for long running tasks 2021-11-30 22:11:59 +01:00
Leon Bohmann
1120592f0f added genre retrieval 2021-11-30 14:45:06 +01:00
logykk
a563ca2f13 removed unused imports 2021-11-30 21:03:45 +13:00
Mike Schwörer
96515801c4
return resolved paths from config.py 2021-11-24 14:40:14 +01:00
Mike Schwörer
0c6ec8a108
Fix delaytime with DOWNLOAD_REAL_TIME ( fixes #175 ) 2021-11-22 14:56:59 +01:00
Mike Schwörer
de0f8b30b1
Added options to regulate terminal output (splash, progress, errors, skips, ...) 2021-11-19 18:45:04 +01:00
Mike Schwörer
cdd013b09e
Also save ext data in .song_ids file (filename, date, etc) 2021-11-19 17:48:19 +01:00
Mike Schwörer
543567079b
Added --output argument for output templating 2021-11-19 00:20:17 +01:00
Mike Schwörer
0adaa20d59
Added SONG_ARCHIVE config value 2021-11-18 23:24:08 +01: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
yiannisha
84dce7d67e Removed some debug messages 2021-10-31 21:00:14 +02: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
yiannisha
2b2c71942b Merge branch 'fixes#137' into updated_fixes#137 2021-10-30 16:04:32 +03:00
yiannisha
b340f92f29 Added prefixes in case more than two songs have the same name 2021-10-30 15:58:09 +03:00
yiannisha
9f6a40c900 Can now install different songs with the same name
So basically now in each directory created by zspotify
a .song_ids file will be created and appended to every
a song is installed in that directory.

Now, instead of checking if a file exists by name we're
checking with song id.
2021-10-30 15:35:01 +03:00
logykk
c945aa9a09 Stopped importing something that doesn't exist 2021-10-30 23:02:36 +13:00
logykk
0dd2802ba2 Replaced filename string sanitization 2021-10-30 22:43:07 +13:00
Thomas Lau
8f36a9ab2d fix windows invalid folder name 2021-10-28 09:01:40 +00: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
Footsiefat
03b0b108b8 renamed src to zspotify 2021-10-25 14:51:12 +13:00