Ruud
99e77e409a
Spring cleanup
11 years ago
Ruud
f775c9da0b
Only show log after successful load
11 years ago
Ruud
11aaaecb7b
Get colors back, remove logged string
11 years ago
Ruud
12c08154c5
Optimize imports
11 years ago
Ruud
c20f64685f
Autoload from single file
11 years ago
Ruud
471229216a
Provider restructure
11 years ago
Ruud
bd9a4289d1
Rename importlib
11 years ago
Ruud
29a34fef8c
py3k port helpers
11 years ago
Ruud
e7aa91b3e1
Don't try to use custom_plugins when folder doesn't exist
12 years ago
Ruud
333abd2486
Custom plugin folder outside source. fix #2076
12 years ago
Ruud
364e355114
Also try to load the root module for each path
12 years ago
Ruud
df13a0edc2
Ignore modules with only .pyc files in them.
12 years ago
Ruud
7fd14e0283
Code cleanup
12 years ago
Ruud
6cab2b34d6
Continue after empty folder while loading plugins
12 years ago
Ruud
cbd217271d
Don't load options twice
12 years ago
Ruud
65896497fb
Return true for loader
12 years ago
Ruud
54a37b577d
Import cleanup
Conflicts:
couchpotato/core/providers/torrent/sceneaccess/main.py
12 years ago
Ruud
f1948ffb6a
Just load media recursively
12 years ago
Jason Mehring
7dd3b0ed15
fix loader error messages for modules that are selected recursively but are not really modules
12 years ago
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
12 years ago
Ruud
32d5587669
Don't load modules without __init__.py
12 years ago
Ruud
3af6623a91
Move registerPlugin to __new__ magic
12 years ago
Ruud
1620acedb1
Move movie to new media type folder
12 years ago
Ruud
0f925a466a
Also ignore __ when importing folders
12 years ago
Ruud
16eeeda787
Ignore folder include with __ at beginning
12 years ago
Ruud
faaf351662
Group providers together
12 years ago
Ruud
e0440d4b11
Try and encode logging messages. fix #403
13 years ago
Ruud
1345e984c4
Fixes for desktop imports
13 years ago
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.
13 years ago
Ruud
6bca3e52be
Variable cleanup
13 years ago
Ruud
4483292930
Remove empty folders on update
Ignore importErrors on load
13 years ago
Ruud
0013c612fb
Auto add provider folders as plugins
13 years ago
Ruud
224d1527e1
Better variable naming
Thanks to DxCx
14 years ago
Ruud
12ce6bc7ab
Return proper setting type
14 years ago
Ruud
d79a25bb5b
Extension -> Userscript
14 years ago
Ruud
ff9a5971c4
Userscript fixes
14 years ago
Ruud
9ff4d0bc91
Proper loading of plugins on debug
Restarting functions
14 years ago
Ruud
e8db94c831
Auto register static files
14 years ago
Ruud
2a3d1fc8a3
Metadata base
14 years ago
Ruud
09fed4ca63
Scanner, Downloaders, Providers
14 years ago
Ruud
7837adec1d
Scheduler
NZBmatrix, newznab
Scores
14 years ago
Ruud
49bf6caa52
Providers, wizard base, core notifier base
14 years ago
Ruud
2b88e08dd5
Subdirectories for providers
14 years ago
Ruud
0672e120a0
ClientScript register
14 years ago
Ruud
85fc1c01ee
Notifications
14 years ago
Ruud
322762d702
Searcher, settings styling
14 years ago
Ruud
f9523444f4
Switched event system (again)
14 years ago