Commit Graph

39 Commits

Author SHA1 Message Date
Ruud e7aa91b3e1 Don't try to use custom_plugins when folder doesn't exist 2013-09-29 13:44:52 +02:00
Ruud 333abd2486 Custom plugin folder outside source. fix #2076 2013-09-29 13:25:10 +02:00
Ruud 364e355114 Also try to load the root module for each path 2013-09-28 21:25:25 +02:00
Ruud df13a0edc2 Ignore modules with only .pyc files in them. 2013-09-08 22:12:08 +02:00
Ruud 7fd14e0283 Code cleanup 2013-09-02 21:59:06 +02:00
Ruud 6cab2b34d6 Continue after empty folder while loading plugins 2013-09-01 02:10:31 +02:00
Ruud cbd217271d Don't load options twice 2013-08-25 00:59:37 +02:00
Ruud 65896497fb Return true for loader 2013-08-24 20:22:31 +02:00
Ruud 54a37b577d Import cleanup
Conflicts:
	couchpotato/core/providers/torrent/sceneaccess/main.py
2013-08-24 20:15:54 +02:00
Ruud f1948ffb6a Just load media recursively 2013-08-24 20:12:59 +02:00
Jason Mehring 7dd3b0ed15 fix loader error messages for modules that are selected recursively but are not really modules 2013-08-24 20:07:32 +02:00
Jason Mehring 11fcfa8202 Moved library and refactored to its now location. Modified anything firing libray.add/update/_release date to now fire library.add.movie...
Conflicts:
	couchpotato/core/loader.py
	couchpotato/core/media/show/_base/main.py
	couchpotato/core/media/show/library/season/main.py
2013-08-24 20:04:27 +02:00
Ruud 32d5587669 Don't load modules without __init__.py 2013-08-24 16:06:17 +02:00
Ruud 3af6623a91 Move registerPlugin to __new__ magic 2013-08-18 11:47:49 +02:00
Ruud 1620acedb1 Move movie to new media type folder 2013-08-15 23:52:37 +02:00
Ruud 0f925a466a Also ignore __ when importing folders 2013-08-13 17:31:12 +02:00
Ruud 16eeeda787 Ignore folder include with __ at beginning 2013-08-13 17:25:24 +02:00
Ruud faaf351662 Group providers together 2013-01-20 20:50:50 +01:00
Ruud e0440d4b11 Try and encode logging messages. fix #403 2012-06-11 12:38:22 +02:00
Ruud 1345e984c4 Fixes for desktop imports 2012-05-02 21:35:37 +02:00
Michael J. Cohen e99cf6757e Throw a useful error in the log when FileBrowser fails to load because of missing pywin32
This is a quick hack so that anyone else who runs this from source doesn't have to spend
the time I spent tracking down why directory.list failed silently.

There are two options that are much cleaner that come to mind:

- Subclass ImportException so as to differentiate missing requirements from
  parse errors etc.
- Provide a method for plugins to list their requirements, so that
  the loader can be the one to use imp.find_module().

Using imp.find_module() seems wise, either way.
2012-04-03 20:35:25 -04:00
Ruud 6bca3e52be Variable cleanup 2012-02-14 22:17:34 +01:00
Ruud 4483292930 Remove empty folders on update
Ignore importErrors on load
2012-02-14 22:03:26 +01:00
Ruud 0013c612fb Auto add provider folders as plugins 2012-01-25 14:16:56 +01:00
Ruud 224d1527e1 Better variable naming
Thanks to DxCx
2011-12-16 22:34:33 +01:00
Ruud 12ce6bc7ab Return proper setting type 2011-12-16 22:08:47 +01:00
Ruud d79a25bb5b Extension -> Userscript 2011-09-27 07:51:06 +02:00
Ruud ff9a5971c4 Userscript fixes 2011-09-26 23:19:08 +02:00
Ruud 9ff4d0bc91 Proper loading of plugins on debug
Restarting functions
2011-08-29 18:07:19 +02:00
Ruud e8db94c831 Auto register static files 2011-08-24 12:02:40 +02:00
Ruud 2a3d1fc8a3 Metadata base 2011-08-21 21:07:09 +02:00
Ruud 09fed4ca63 Scanner, Downloaders, Providers 2011-05-18 12:37:22 +02:00
Ruud 7837adec1d Scheduler
NZBmatrix, newznab
Scores
2011-04-17 23:36:23 +02:00
Ruud 49bf6caa52 Providers, wizard base, core notifier base 2011-04-15 12:21:13 +02:00
Ruud 2b88e08dd5 Subdirectories for providers 2011-04-12 10:51:56 +02:00
Ruud 0672e120a0 ClientScript register 2011-04-11 15:37:41 +02:00
Ruud 85fc1c01ee Notifications 2011-04-09 20:18:51 +02:00
Ruud 322762d702 Searcher, settings styling 2011-03-06 03:01:31 +01:00
Ruud f9523444f4 Switched event system (again) 2011-03-01 11:12:56 +01:00