Commit Graph

451 Commits

Author SHA1 Message Date
Mike Schwörer
8cd868f317
Move config to config.py 2021-11-18 22:16:07 +01:00
dabreadman
2e01228379 Merge remote-tracking branch 'upstream/main' 2021-11-18 18:07:38 +00:00
Logykk
132e740201
Merge pull request #192 from jkemming/feat/docker-improvements
feat: Improve Docker setup
2021-11-18 11:48:38 +13:00
jkemming
2c88a5cd56 feat: Improve Docker setup
- Remember credentials between container starts
- Use same uid/gid in container as on host
2021-11-17 21:43:41 +01:00
dabreadman
9548733073 Merge remote-tracking branch 'upstream/main' 2021-11-17 18:11:33 +00:00
logykk
7f8572885a Merge branch 'main' of https://github.com/Footsiefat/zspotify 2021-11-17 21:29:19 +13:00
logykk
b9d42c4d7d Fixed issue when downloading multiple playlists 2021-11-17 21:29:15 +13:00
Logykk
00c1cdc391 Update issue templates 2021-11-17 20:12:16 +13:00
dabreadman
5ec5072f2b Merge remote-tracking branch 'upstream/main' 2021-11-13 18:06:48 +00:00
logykk
2638805741 Realtime downloads fix part 1 2021-11-13 18:06:34 +13:00
dabreadman
ced4696bff Merge remote-tracking branch 'upstream/main' 2021-11-12 18:07:32 +00:00
Logykk
d80dff2faf
Merge pull request #190 from yiannisha/file_download
Added argument to download from file with urls fixes#172
2021-11-12 09:41:39 +13:00
dabreadman
2b97c4e9a3 Merge remote-tracking branch 'upstream/main' 2021-11-11 18:07:38 +00:00
yiannisha
485d5ba826 Added download_from_urls helper function 2021-11-11 18:23:53 +02:00
yiannisha
feaed1ddca Added --download <file> argument 2021-11-11 18:14:22 +02:00
Logykk
eb9b355754
Add new branding 2021-11-11 12:29:37 +13:00
dabreadman
56f0e5fda4 Merge remote-tracking branch 'upstream/main' 2021-11-10 18:10:36 +00:00
Logykk
4c9b9c2caa
Merge pull request #186 from yiannisha/fixes#161
Added global song archive fixes#161
2021-11-10 13:16:10 +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
dabreadman
c78bce0122 Merge remote-tracking branch 'upstream/main' 2021-11-08 18:11:27 +00:00
Logykk
6dbe5e8940
Merge pull request #184 from thomaslty/main
artist name based on user's language preference
2021-11-08 12:26:01 +13:00
Thomas Lau
edbc5c78d9 add album artist: 2021-11-05 15:50:55 +00:00
Thomas Lau
87b564d609 fix 2021-11-05 11:14:09 +00:00
thomaslty
46a3c45cbc
Update const.py 2021-11-05 19:00:19 +08:00
thomaslty
3e48071f60
Update zspotify.py 2021-11-05 18:59:40 +08:00
thomaslty
b488b277f0
Update zspotify.py 2021-11-05 18:50:27 +08:00
dabreadman
e3b05e95ad Merge remote-tracking branch 'upstream/main' 2021-11-02 18:12:29 +00:00
logykk
813ec6228d Track download fix part 1 2021-11-02 20:55:13 +13:00
dabreadman
32079d2af2 Merge remote-tracking branch 'upstream/main' 2021-11-01 18:07:50 +00:00
Logykk
76f4089e38
Merge pull request #176 from yiannisha/fixes#162
Added function to check song duration for #162
2021-11-01 11:38:05 +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
dabreadman
ae338b9a86 Merge remote-tracking branch 'upstream/main' 2021-10-31 18:06:45 +00:00
Footsiefat
c5f4bf1ea6 added proper direct download support for podcasts 2021-10-31 17:50:27 +13:00
Footsiefat
6d7a2b6576 1 2021-10-31 13:41:49 +13:00
Footsiefat
3beaa7564c added experimental podcast download method 2021-10-31 13:20:25 +13: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
Logykk
dac896c33e
Merge pull request #174 from yiannisha/updated_fixes#137
Can now install different songs with the same name - fixes#137
2021-10-31 10:08:06 +13:00
dabreadman
06d1ac50ea Merge remote-tracking branch 'upstream/main' 2021-10-30 18:06:41 +00: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
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
Logykk
b991c29d6b
Merge pull request #164 from thomaslty/main
fix windows invalid folder name
2021-10-30 20:54:55 +13:00
Logykk
7ef165b6f4
Merge pull request #153 from GirishKotra/Playlist-id-fix
revised playlist id parsing logic in playlist.download_from_user_play
2021-10-30 17:21:58 +13:00