Commit Graph

200 Commits

Author SHA1 Message Date
Ritiek
e2af7bf1f3 Small fixes 2017-06-16 22:07:42 +05:30
Ritiek Malhotra
a2770badb6 Fix variable names 2017-06-16 21:18:35 +05:30
Ritiek Malhotra
303fe813be Improve code readability 2017-06-16 21:17:06 +05:30
Ritiek
44f34555b4 Use urllib2.quote() to fix encoding errors 2017-06-16 20:53:30 +05:30
Ritiek Malhotra
1071eb3d75 Remove necessary exceptions 2017-06-16 18:40:39 +05:30
Ritiek
5fcdc3c227 Fix imports for python3 2017-06-16 18:04:08 +05:30
Ritiek Malhotra
4547ef7e71 Capture TypeError 2017-06-16 16:39:47 +05:30
Ritiek Malhotra
24636d2d47 Revert 2017-06-16 16:35:35 +05:30
Ritiek Malhotra
70f18067db Capture requests.exception.ConnectionError 2017-06-16 16:21:31 +05:30
Ritiek
5d3c27b622 Import misc 2017-06-16 14:53:02 +05:30
Ritiek
280ff41633 Make functions and class names a little verbose 2017-06-16 14:40:12 +05:30
Ritiek
e9c247ead9 Switch to class for embedding metadata 2017-06-16 14:35:14 +05:30
Ritiek
06853a03d4 Separate module for embedding metadata 2017-06-16 13:32:40 +05:30
Ritiek Malhotra
b1647ee76b Fix a syntax error 2017-06-16 12:39:36 +05:30
Ritiek Malhotra
34ae941d63 No need to import spotipy.oauth2.SpotifyOauthError 2017-06-16 12:38:28 +05:30
Ritiek Malhotra
67f579a03a Fix embedding multiple artists 2017-06-16 02:50:01 +05:30
Ritiek
f1e5913e6e Automatically refresh token when expired when downloading from list 2017-06-16 02:37:01 +05:30
Ritiek
74511cf596 Fix check_exists() from giving prompts on non-existent files 2017-06-16 02:06:08 +05:30
Ritiek Malhotra
be088f6dc0 Handle URLError and IOError when network problem 2017-06-16 00:24:09 +05:30
Ritiek Malhotra
10f57b4ae5 Revert debug modifications 2017-06-15 23:33:59 +05:30
Ritiek
f841a38169 Add all artists in metadata 2017-06-15 22:20:27 +05:30
Ritiek
7f029af5c6 Minor changes 2017-06-15 20:54:57 +05:30
Ritiek
e86d5f8cdc Add moredata fields 2017-06-15 18:47:09 +05:30
Ritiek
b3160c31ea Make metadata more verbose 2017-06-15 16:18:02 +05:30
Ritiek
8c89da5ccf Some small fixes 2017-06-15 14:48:22 +05:30
Ritiek
8cf7d96fc8 Switching to subprocess.call() from os.system() 2017-06-15 14:23:02 +05:30
Ritiek
11b3a61a22 Some minor fixes 2017-06-15 12:51:01 +05:30
Ritiek
4e4d7320b1 Rename to functions to snakecase 2017-06-15 12:10:32 +05:30
Ritiek
958f9db417 Generalize MP3 metadata 2017-06-15 03:58:53 +05:30
Ritiek
f515cc61ac Shift completely to urllib2 and mutagen 2017-06-15 03:47:34 +05:30
Ritiek
447e011d4f Made some minor fixes based on input output extensions 2017-06-15 01:03:22 +05:30
Ritiek
f2acf30aa4 Split code 2017-06-15 00:26:53 +05:30
Ritiek Malhotra
7f9f13eb1d Fail the current song only if ConnectionError 2017-06-14 21:31:05 +05:30
Ritiek Malhotra
0d0d9a9515 Change deprecated args.quiet to args.verbose 2017-06-12 21:23:10 +05:30
Peter M
f14633f3c4 Add information about environment variables in Windows (#69) 2017-06-12 19:58:52 +05:30
Ritiek Malhotra
3495af44df Use fixEncoding() instead of encode() 2017-06-10 11:10:10 +05:30
Andras Elso
ceb196a4cb Fix playlist name encode 2017-06-09 19:49:00 +02:00
Ritiek Malhotra
855b14a27f Load songs from playlist into a text file
and download individual songs using -s option
2017-06-07 07:53:49 +05:30
Ritiek Malhotra
0e915e3637 Fix EncodingError on music_file with special chars 2017-06-04 13:13:54 +05:30
Ritiek Malhotra
18ea897dff pass on IndexError when could not find genre 2017-06-04 03:42:50 +05:30
Ritiek Malhotra
e1c1b44b9a Catch exception if no known genre 2017-06-04 03:36:41 +05:30
Ritiek Malhotra
a26b546b2d Change order of eyed3.log.setLevel() 2017-06-04 01:15:40 +05:30
Robert J
84d0fb7379 Improved conversion with ffmpeg (#60)
* Conversion with ffmpeg is more flexible now

* Testing OK after introducing changes

* Normalized genre and disc number across functions

* Small indentation problems

* Remove if condition for setting log level to error
2017-06-04 00:56:59 +05:30
Ritiek Malhotra
91947bca74 Fix description in --help message 2017-06-02 13:42:22 +05:30
Ritiek Malhotra
20a974e37a Make file names compatible with previous versions 2017-06-02 09:56:39 +05:30
Ritiek Malhotra
aeff64009e Make file names compatible with previous versions 2017-06-02 09:37:53 +05:30
Robert J
b5e3dbd2e1 Fix token issues and ability to download opus audio and encoding to AAC (#59)
* Ability to download opus audio and encoding to AAC

Requires ffmpeg with libfdk_aac and mutagen.

* Change to oauth2 to get access token

* Add import spotipy.oauth2

* Final polish before merge
2017-06-01 20:58:23 +05:30
Ritiek Malhotra
9e6d1b24bb Hope we don't get rate limited 2017-05-30 22:18:11 +05:30
Ritiek Malhotra
602af2a91c Default number to None 2017-05-24 19:46:27 +05:30
Ritiek Malhotra
a8b33775e9 Correct indentation 2017-05-23 10:41:27 +05:30