Commit Graph

20 Commits

Author SHA1 Message Date
Linus
cc7260dfa6 Add command line option for target folder (-f) 2017-07-11 18:16:41 +02:00
Ritiek Malhotra
5add1fd0f8 Drop python 2 compatibility (#107) 2017-07-11 20:32:26 +05:30
Ritiek Malhotra
0a5ac043f3 Fix test_check_exists2() 2017-07-06 22:44:09 +05:30
Ritiek Malhotra
484d81ef2e Fix failing of consecutive tests 2017-07-06 19:05:05 +05:30
Linus
920c065fd8 Fix last errors of PEP8 refactoring 2017-07-05 21:28:27 +02:00
Linus
0f384bb5ee Add docstrings; Remove verbose comments; Fix errors introduced with cleanup
This comment will:
- Transform docstrings above functions into docstrings
- Remove some way too verbose comments
- Apply some more recommendations from PEP8 forgotten last time
- Fix some errors introduced with the first code cleanup

Work left to do:
- Add params to docstrings
- Rename file variables
2017-06-28 16:21:58 +02:00
Linus
587f907ed8 Apply most best practices of PEP 8
This refactoring includes:
- Two empty lines before each global function
- Using '{0} {1}'.format(str1, str2) instead of str1 + ' ' + str2
  Sometimes this will make lines longer, sometimes shorter.
- Starting all comments with # + space + comment
- Make lines not longer than 80 characters in most cases
- Renaming some variables to make more sense
- Add some missing code like returns and Exceptions

Not included, but follows:
- Make some comments docstrings
- Rename all 'file' variables, only for Python 2
- Remove some way too verbose comments ;)
2017-06-28 16:21:58 +02:00
Ritiek
8af2479389 Update mechanism for fetching playlist tracks 2017-06-26 19:44:02 +05:30
Ritiek Malhotra
6860151d78 Handle playlists with more than 50 tracks 2017-06-26 14:43:38 +05:30
Ritiek
2b0a3cc909 Switch to shorter song to lower test duration 2017-06-25 14:15:39 +05:30
Ritiek
532bd892b0 Update metadata test 2017-06-25 13:49:27 +05:30
Ritiek
e329fe9f36 Update metadata test 2017-06-25 13:48:54 +05:30
Ritiek
d13113c7fe Add username and list test 2017-06-25 12:47:56 +05:30
Ritiek
e18a74ccc3 Add metadata test 2017-06-25 02:34:55 +05:30
Ritiek
e0fb227ea5 Add conversion test 2017-06-25 01:41:57 +05:30
Ritiek
93244e46ec Fix download test 2017-06-25 01:16:04 +05:30
Ritiek
142d14118b Add more basic tests 2017-06-25 01:05:25 +05:30
Ritiek
0dfaf183b5 Test YouTube track title 2017-06-25 00:31:57 +05:30
Ritiek
5975fa19e9 Test spotify generated songname 2017-06-25 00:06:04 +05:30
Ritiek
69634475ad Test spotify generated songname 2017-06-25 00:04:21 +05:30