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
5404ccaf9d
Print "No Genres found for song" to own channel
2021-12-15 15:10:43 +01:00
Mike Schwörer
d0e95aace1
More output when QUERY-METADATA fails
2021-12-15 15:05:57 +01:00
Mike Schwörer
58670d8081
Bugfixes
2021-12-15 14:49:59 +01: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
c9e8c0c45d
use Printer class for output
...
- added print-options for API_ERRORS
- modified printing inside of invoke_url
- "No Genre found." is printed using SKIPS
2021-12-01 13:48:53 +01:00
Leon Bohmann
055f7ad97d
added another loader for download preparation
2021-11-30 22:33:50 +01:00
Leon Bohmann
a93fc0ee36
implemented loaders in task
...
- long running tasks like zspotify.invoke_url or convert_audio_format now use a Loader to show that they are busy
2021-11-30 22:12:47 +01:00
Leon Bohmann
16c7ee5d51
removed exception handling from track
2021-11-30 21:41:33 +01:00
Leon Bohmann
702ec22094
updated exception handling
2021-11-30 20:20:06 +01:00
Leon Bohmann
0d553243d2
added switch to not send too much requests
2021-11-30 17:01:34 +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
daad5e00d8
Skip songs with id==None (eg locally added song)
2021-11-28 15:16:06 +01:00
Logykk
7725cb01b7
Merge pull request #209 from Mikescher/master-pr-006
...
return resolved paths from config.py
2021-11-26 19:54:12 +13:00
Logykk
3a684281ce
Merge pull request #208 from Mikescher/master-pr-007
...
Added TEMP_DOWNLOAD_DIR option
2021-11-26 19:53:48 +13:00
Mike Schwörer
41c5ea79c6
Better error output if get_song_info fails
2021-11-25 13:19:31 +01:00
Mike Schwörer
5a655f96ef
Added --temp-download-dir option
2021-11-25 11:31:01 +01:00
Mike Schwörer
96515801c4
return resolved paths from config.py
2021-11-24 14:40:14 +01:00
logykk
cb42b4a878
removed pydub dependency
2021-11-24 21:22:54 +13:00
Logykk
9e7d29dcc8
Merge pull request #201 from Mikescher/master-pr-005
...
Exception traceback
2021-11-24 20:14:50 +13:00
Mike Schwörer
c5886e3401
Exception traceback in GENERAL DOWNLOAD ERROR
2021-11-22 15:00:15 +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
c8c6c7d8cc
A few fixes
2021-11-19 18:00:27 +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
Mike Schwörer
9082938dfd
Use default values on missing configs
2021-11-18 22:39:17 +01:00
Mike Schwörer
8cd868f317
Move config to config.py
2021-11-18 22:16:07 +01:00
logykk
b9d42c4d7d
Fixed issue when downloading multiple playlists
2021-11-17 21:29:15 +13:00
logykk
2638805741
Realtime downloads fix part 1
2021-11-13 18:06:34 +13:00
yiannisha
84978d8885
fixed path with missing directory
2021-11-09 19:03:44 +02: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
logykk
813ec6228d
Track download fix part 1
2021-11-02 20:55:13 +13: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
logykk
8053045022
fix wrong import
2021-10-31 10:22:50 +13:00
Logykk
7d355d2ca0
Fix merge fuckery
2021-10-31 10:18:48 +13: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
857b1d949a
Fixed issue when deleting or moving file
2021-10-30 15:42:59 +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
0dd2802ba2
Replaced filename string sanitization
2021-10-30 22:43:07 +13:00
yiannisha
2fa687db89
Added some .lower()'s so that file format can be uppercase in config
2021-10-28 20:43:45 +03: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