Commit graph

63 commits

Author SHA1 Message Date
Clinton Hall
9f6c068cde
Transcode patch 1 (#1627)
* Add Piping of stderr to capture transcoding failures. #1619
* Allow passing absolute nice command. #1619
* Change .cfg description for niceness
* Fix errors due to VM packages out of date (ffmpeg)
* Fix Sqlite import error on tests
* Fix Azure issues

https://developercommunity.visualstudio.com/content/problem/598264/known-issue-azure-pipelines-images-missing-sqlite3.html
2019-06-20 12:56:02 +12:00
Labrys of Knossos
424879e4b6 Add future imports 2019-04-07 17:44:25 -04:00
Clinton Hall
aee3b151c0
Lazylib 1 (#1587)
* add support for LazyLibrarian. Fixes #1223
2019-03-29 09:50:43 +13:00
Serhat
1dd33be9e3 Fix NzbGet not detecting scripts
Revert "Remove comment"
This reverts commit f895446547.

The comments are required by NzbGet to consider the files as proper scripts.
2019-01-04 09:54:43 +01:00
Labrys of Knossos
325a6a03d5 Fix hash-bang 2019-01-01 00:07:21 -05:00
Labrys of Knossos
c5343889fb Fix quotes - standardize to single-quoted strings 2018-12-29 14:19:20 -05:00
Labrys of Knossos
f895446547 Remove comment 2018-12-26 11:38:38 -05:00
Labrys of Knossos
5bc789bca3 Optimize imports 2018-12-15 15:01:06 -05:00
clinton-hall
5a7d525f6c fix NZBGet script headers. 2016-06-18 12:38:48 +09:30
labrys
c2bf14f775 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
2016-06-06 08:57:52 -04:00
labrys
1a3b1ce4b6 Add encoding declaration 2016-06-06 08:57:50 -04:00
clinton-hall
e581ca25e0 add tooltip for host. Fixes #663 2015-01-12 09:01:35 +10:30
clinton-hall
14935b5388 added global nice and ionice for external processes. Fixes #479 2014-07-13 12:59:56 +09:30
Michael Johnson
bc21aeab89 Specify Python version to use 2014-06-26 06:14:07 -04:00
clinton-hall
c26ffe58f1 more encoding tests. #424 2014-06-13 15:12:38 +09:30
clinton-hall
71f9e9ae75 set encoding to handle european characters. Fixes #424 2014-06-11 15:03:19 +09:30
clinton-hall
29f7592153 add safe_mode to remaining scripts 2014-05-27 20:44:54 +09:30
clinton-hall
60787842ce several styling and check status fixes. #376 2014-05-08 10:41:24 +09:30
echel0n
ab00c8a858 Fixes issues with NzbGet exit codes 2014-04-20 22:16:28 -07:00
echel0n
cdadf045a8 Code cleanup 2014-04-17 07:25:08 -07:00
echel0n
eac9619dcb nzbTo* files will now send section variable to nzbToMedia script so that manually processing doesn't bother with trying to post-process unrequired folders, also I've changed the way we call nzbToMedia so this should resolve issue #328 encoding issues.
Custom userscripts folder added to avoid auto-update conflicts so long as the custom scripts are stored in said folder, this folder is added to .gitignore
2014-04-17 05:16:29 -07:00
clinton-hall
fb915ea963 fixes nzbget config display 2014-04-15 10:09:25 +09:30
echel0n
a2eb80f619 Re-added back NZBGet options to our stub files.
Added a status check for processed files in HeadPhones.
Fixed a bug in HeadPhones with passing params via requests.
Fixed SickBeard and CouchPotato conditionals for deleting failed files.
2014-04-13 12:27:29 -07:00
echel0n
675a6b09f0 nzbToGames exits now with return code 2014-04-12 09:42:51 -07:00
echel0n
acc56943f5 nzbTo* files are skeleton files that call our main nzbToMedia auto-procesor and pass in all variables from sys. 2014-04-12 07:38:23 -07:00
echel0n
d2e3275562 Fixed bugs in nzbTo* scripts.
autoProcessTV now gets movie_id even for previously post-processed movies so that we can skip further post-processing gracefully.

Code cleanup misc ...
2014-04-12 05:51:37 -07:00
echel0n
57019ec21b Re-coded config class to better handle multiple subsection conditionals. 2014-04-12 02:55:57 -07:00
echel0n
18926d1db8 Massive changes to the way we handle our config, its now loaded and stored in memory so that we don't keep loading it and possibly get corrupt values.
New logger class added,logger options removed from settings.
2014-04-11 20:09:00 -07:00
echel0n
279ce5e4d0 Merge branch 'clinton-hall/dev-CH'
Conflicts:
	TorrentToMedia.py
2014-04-11 00:25:13 -07:00
echel0n
5e5f00de0c Fixed nzbToMedia scripts that where not passing a category to the processing scripts 2014-04-07 10:42:15 -07:00
echel0n
0ca0e43752 Monkey Patched our config class.
Fixed code for enabled check.
Tweaked a few things here and there.
2014-04-07 09:11:14 -07:00
echel0n
c9898e0e87 Fixed enable/disable check.
Added few more helper functions to our config class.
2014-04-07 06:47:36 -07:00
echel0n
7c8643d92f Added more detailed logging for enabled/disabled sub-sections to manual run 2014-04-07 03:14:40 -07:00
echel0n
aeaf58ceb7 Added check to all nzbTo* scripts for enabled/disabled sub-sections 2014-04-07 03:09:16 -07:00
echel0n
5c264f0405 More small fixes 2014-04-07 02:22:02 -07:00
echel0n
ce543cdcb9 Fixed a bunch of small little code typos 2014-04-07 02:14:26 -07:00
echel0n
7d4ccf53cc Fixed a bunch of issues that where present in TorrentToMedia and our config class including the migration code.
Added in manual run for TorrentToMedia.

All autoProcessing scripts now auto-detect the correct section based on sub-section.

NzbDrone support is 90% done but is not functional ... YET!

Lots more I'm sure but I wanted this released for those that where having issues.
2014-04-07 01:43:14 -07:00
echel0n
0ce4bb601d Moved config migration code into our config class, makes more sense.
Added more detailed log messages for get_dirnames function.
2014-04-05 21:28:12 -07:00
echel0n
c3410fba8f Fixed issues in the nzbTo* scripts with manual runs not properly sending the categories to be processed.
Fixed issue in TorrentToMedia with noFlatten variable for HeadPhones.

Changed name of function get_categories to get_sections in nzbToMediaUtil.

Added code in get_dirnames to properly return back the directory could not find anything to process in.
2014-04-05 21:04:56 -07:00
echel0n
b7fc74b3fd Switched our config class to configObj.
nzbToMedia now fully performs manual runs for all autoProcessing scripts.

autoProcessing categories are now sub-sections in the autoProcessingMedia.cfg file which allows you to have a unlimited amount of categories for your liking.

nzbToMedia supports categories for all autoProcessing scripts now.

Minor bug fixes and code cleanup performed during the re-code.

Auto-migration code will convert old-style cfg files to new-style cfg format.
2014-04-04 15:18:40 -07:00
echel0n
8c430908b4 Fixed missing imports 2014-04-03 23:14:35 -07:00
echel0n
2c4b260440 Added lib.requests and code to import our custom lib folder 2014-04-03 23:05:47 -07:00
echel0n
85d8739512 Major overhaul of nzbToMedia code base plus a whole restrucure 2014-04-03 19:58:01 -07:00
echel0n
4c35248561 Changed nzbtomedia_configure_logging to accept a logfile paramater so that in the future if wanted we could log to seperate files 2014-04-01 21:57:22 -07:00
echel0n
6d45257035 Added in a config class to access main config properly and now can be called from anywhere in the code by creating a instance.
Re-coded migratecfg, vast improvements made and code cleanup of unrequired checks.

Fixed numerous small bugs throughout nzbToMedia including possible calls to variables that may not have been created do to conditional statements.
2014-04-01 18:35:20 -07:00
clinton-hall
465d2fc1d4 fix nzbget health checks. fixes #268 2014-02-22 12:25:53 +10:30
clinton-hall
c98604c618 url separates into multople args. fixes #222 2014-01-06 19:39:39 +10:30
clinton-hall
6720aa463c added new argument for SABnzbd0.7.17+. fixes #222 2013-12-20 11:48:08 +10:30
clinton-hall
a6bc91ad0e remove obsolete code and add transmissionrpc calls fixes #178 2013-09-16 14:31:53 +09:30
clinton-hall
3a96991061 Gamez uses clean name from sabnzbd. fix #153 2013-06-16 07:55:50 +09:30