Commit graph

16 commits

Author SHA1 Message Date
labrys
2ad9f2e35f Standardize string formatting to use .format instead of concat 2016-06-06 09:08:24 -04:00
Labrys
df8c6bc20f Too broad exceptions.
* Use .get() with default value instead.
2016-06-05 13:35:46 -04:00
Labrys
1cd073cd52 Use format() instead of % for string formatting 2016-06-05 12:54:24 -04:00
Labrys
94e8a45c62 Code cleanup
* Streamline variable assignment
* Replace assignment with augmented assignment
* Remove unused variables and redundant parentheses
2016-06-05 12:54:23 -04:00
Labrys
ec71e7806d Python 3: Convert except ExceptClass, Target: to except ExceptClass as Target: 2016-06-05 12:54:02 -04:00
Labrys
abf63d6bbe Use six.iteritems helper
* Standardizes dict.iteritems between Python 2 and Python 3
2016-06-05 12:14:04 -04:00
Labrys
382d108db2 Optimize imports
* PEP8: Fix module level import not at top of file
* Remove unused imports
* Remove simplejson
* Replace mimetools with email
2016-06-05 12:03:16 -04:00
Labrys
1fd904eb5b PEP8: Tests for membership should use in/not in
* .has_key() is deprecated, use `in`
2016-06-05 12:00:20 -04:00
Labrys
8cd0e76ef8 PEP8: Fix formatting
* Remove redundant backslash between brackets
* Fix multiple statements on one line
* Fix missing/excess whitespace
* Fix comments not starting with a single # and a space
* Convert tabs to spaces
* Use triple-quoted docstring
2016-06-05 11:59:58 -04:00
Labrys
81ffe0456d Add encoding declaration 2016-06-05 02:01:03 -04:00
clinton-hall
c1b73be96a fix string and integer concat error. Fixes #1036 2016-05-19 13:27:39 +09:30
clinton-hall
8e90e84c28 add -strict -2 to dts codec. Fixes #949 2016-01-29 22:31:05 +10:30
clinton-hall
bda80c656a create unique directory inoutput incase of rename error in sick/couch 2016-01-27 23:05:30 +10:30
clinton-hall
ecdc15c84b allways add -strict -2 to aac codec. 2015-08-22 07:51:18 +09:30
clinton-hall
c0cc0a41ee add img files to transcoder extraction list. Fixes #809 2015-08-17 22:20:55 +09:30
clinton-hall
c80a678ded rename nzbtomedia to core. Fixes #744 #746 2015-04-26 16:41:39 +09:30
Renamed from nzbtomedia/transcoder/transcoder.py (Browse further)