Move movie to single file
This commit is contained in:
@@ -14,6 +14,7 @@ import xml.etree.ElementTree as XMLTree
|
||||
|
||||
log = CPLog(__name__)
|
||||
|
||||
|
||||
class MultiProvider(Plugin):
|
||||
|
||||
def __init__(self):
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
from .main import MovieBase
|
||||
|
||||
|
||||
def start():
|
||||
def autoload():
|
||||
return MovieBase()
|
||||
|
||||
config = []
|
||||
|
||||
@@ -6,6 +6,8 @@ from couchpotato.core.media.movie.providers.automation.base import Automation
|
||||
|
||||
log = CPLog(__name__)
|
||||
|
||||
autoload = 'Bluray'
|
||||
|
||||
|
||||
class Bluray(Automation, RSS):
|
||||
|
||||
@@ -73,3 +75,31 @@ class Bluray(Automation, RSS):
|
||||
movies.append(imdb['imdb'])
|
||||
|
||||
return movies
|
||||
|
||||
|
||||
config = [{
|
||||
'name': 'bluray',
|
||||
'groups': [
|
||||
{
|
||||
'tab': 'automation',
|
||||
'list': 'automation_providers',
|
||||
'name': 'bluray_automation',
|
||||
'label': 'Blu-ray.com',
|
||||
'description': 'Imports movies from blu-ray.com.',
|
||||
'options': [
|
||||
{
|
||||
'name': 'automation_enabled',
|
||||
'default': False,
|
||||
'type': 'enabler',
|
||||
},
|
||||
{
|
||||
'name': 'backlog',
|
||||
'advanced': True,
|
||||
'description': 'Parses the history until the minimum movie year is reached. (Will be disabled once it has completed)',
|
||||
'default': False,
|
||||
'type': 'bool',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
}]
|
||||
@@ -1,32 +0,0 @@
|
||||
from .main import Bluray
|
||||
|
||||
|
||||
def start():
|
||||
return Bluray()
|
||||
|
||||
config = [{
|
||||
'name': 'bluray',
|
||||
'groups': [
|
||||
{
|
||||
'tab': 'automation',
|
||||
'list': 'automation_providers',
|
||||
'name': 'bluray_automation',
|
||||
'label': 'Blu-ray.com',
|
||||
'description': 'Imports movies from blu-ray.com.',
|
||||
'options': [
|
||||
{
|
||||
'name': 'automation_enabled',
|
||||
'default': False,
|
||||
'type': 'enabler',
|
||||
},
|
||||
{
|
||||
'name': 'backlog',
|
||||
'advanced': True,
|
||||
'description': 'Parses the history until the minimum movie year is reached. (Will be disabled once it has completed)',
|
||||
'default': False,
|
||||
'type': 'bool',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
}]
|
||||
@@ -4,6 +4,8 @@ from couchpotato.core.media.movie.providers.automation.base import Automation
|
||||
|
||||
log = CPLog(__name__)
|
||||
|
||||
autoload = 'Flixster'
|
||||
|
||||
|
||||
class Flixster(Automation):
|
||||
|
||||
@@ -48,3 +50,34 @@ class Flixster(Automation):
|
||||
})
|
||||
|
||||
return movies
|
||||
|
||||
|
||||
config = [{
|
||||
'name': 'flixster',
|
||||
'groups': [
|
||||
{
|
||||
'tab': 'automation',
|
||||
'list': 'watchlist_providers',
|
||||
'name': 'flixster_automation',
|
||||
'label': 'Flixster',
|
||||
'description': 'Import movies from any public <a href="http://www.flixster.com/">Flixster</a> watchlist',
|
||||
'options': [
|
||||
{
|
||||
'name': 'automation_enabled',
|
||||
'default': False,
|
||||
'type': 'enabler',
|
||||
},
|
||||
{
|
||||
'name': 'automation_ids_use',
|
||||
'label': 'Use',
|
||||
},
|
||||
{
|
||||
'name': 'automation_ids',
|
||||
'label': 'User ID',
|
||||
'type': 'combined',
|
||||
'combine': ['automation_ids_use', 'automation_ids'],
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
}]
|
||||
@@ -1,35 +0,0 @@
|
||||
from .main import Flixster
|
||||
|
||||
|
||||
def start():
|
||||
return Flixster()
|
||||
|
||||
config = [{
|
||||
'name': 'flixster',
|
||||
'groups': [
|
||||
{
|
||||
'tab': 'automation',
|
||||
'list': 'watchlist_providers',
|
||||
'name': 'flixster_automation',
|
||||
'label': 'Flixster',
|
||||
'description': 'Import movies from any public <a href="http://www.flixster.com/">Flixster</a> watchlist',
|
||||
'options': [
|
||||
{
|
||||
'name': 'automation_enabled',
|
||||
'default': False,
|
||||
'type': 'enabler',
|
||||
},
|
||||
{
|
||||
'name': 'automation_ids_use',
|
||||
'label': 'Use',
|
||||
},
|
||||
{
|
||||
'name': 'automation_ids',
|
||||
'label': 'User ID',
|
||||
'type': 'combined',
|
||||
'combine': ['automation_ids_use', 'automation_ids'],
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
}]
|
||||
@@ -4,6 +4,8 @@ from couchpotato.core.media.movie.providers.automation.base import Automation
|
||||
|
||||
log = CPLog(__name__)
|
||||
|
||||
autoload = 'Goodfilms'
|
||||
|
||||
|
||||
class Goodfilms(Automation):
|
||||
|
||||
@@ -52,3 +54,28 @@ class Goodfilms(Automation):
|
||||
page += 1
|
||||
|
||||
return movies
|
||||
|
||||
|
||||
config = [{
|
||||
'name': 'goodfilms',
|
||||
'groups': [
|
||||
{
|
||||
'tab': 'automation',
|
||||
'list': 'watchlist_providers',
|
||||
'name': 'goodfilms_automation',
|
||||
'label': 'Goodfilms',
|
||||
'description': 'import movies from your <a href="http://goodfil.ms">Goodfilms</a> queue',
|
||||
'options': [
|
||||
{
|
||||
'name': 'automation_enabled',
|
||||
'default': False,
|
||||
'type': 'enabler',
|
||||
},
|
||||
{
|
||||
'name': 'automation_username',
|
||||
'label': 'Username',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
}]
|
||||
@@ -1,29 +0,0 @@
|
||||
from .main import Goodfilms
|
||||
|
||||
|
||||
def start():
|
||||
return Goodfilms()
|
||||
|
||||
config = [{
|
||||
'name': 'goodfilms',
|
||||
'groups': [
|
||||
{
|
||||
'tab': 'automation',
|
||||
'list': 'watchlist_providers',
|
||||
'name': 'goodfilms_automation',
|
||||
'label': 'Goodfilms',
|
||||
'description': 'import movies from your <a href="http://goodfil.ms">Goodfilms</a> queue',
|
||||
'options': [
|
||||
{
|
||||
'name': 'automation_enabled',
|
||||
'default': False,
|
||||
'type': 'enabler',
|
||||
},
|
||||
{
|
||||
'name': 'automation_username',
|
||||
'label': 'Username',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
}]
|
||||
@@ -13,6 +13,8 @@ from couchpotato.core.media.movie.providers.automation.base import Automation
|
||||
|
||||
log = CPLog(__name__)
|
||||
|
||||
autoload = 'IMDB'
|
||||
|
||||
|
||||
class IMDB(MultiProvider):
|
||||
|
||||
@@ -141,3 +143,69 @@ class IMDBAutomation(IMDBBase):
|
||||
log.error('Failed loading IMDB chart results from %s: %s', (url, traceback.format_exc()))
|
||||
|
||||
return movies
|
||||
|
||||
|
||||
config = [{
|
||||
'name': 'imdb',
|
||||
'groups': [
|
||||
{
|
||||
'tab': 'automation',
|
||||
'list': 'watchlist_providers',
|
||||
'name': 'imdb_automation_watchlist',
|
||||
'label': 'IMDB',
|
||||
'description': 'From any <strong>public</strong> IMDB watchlists.',
|
||||
'options': [
|
||||
{
|
||||
'name': 'automation_enabled',
|
||||
'default': False,
|
||||
'type': 'enabler',
|
||||
},
|
||||
{
|
||||
'name': 'automation_urls_use',
|
||||
'label': 'Use',
|
||||
},
|
||||
{
|
||||
'name': 'automation_urls',
|
||||
'label': 'url',
|
||||
'type': 'combined',
|
||||
'combine': ['automation_urls_use', 'automation_urls'],
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
'tab': 'automation',
|
||||
'list': 'automation_providers',
|
||||
'name': 'imdb_automation_charts',
|
||||
'label': 'IMDB',
|
||||
'description': 'Import movies from IMDB Charts',
|
||||
'options': [
|
||||
{
|
||||
'name': 'automation_providers_enabled',
|
||||
'default': False,
|
||||
'type': 'enabler',
|
||||
},
|
||||
{
|
||||
'name': 'automation_charts_theater',
|
||||
'type': 'bool',
|
||||
'label': 'In Theaters',
|
||||
'description': 'New Movies <a href="http://www.imdb.com/movies-in-theaters/">In-Theaters</a> chart',
|
||||
'default': True,
|
||||
},
|
||||
{
|
||||
'name': 'automation_charts_top250',
|
||||
'type': 'bool',
|
||||
'label': 'TOP 250',
|
||||
'description': 'IMDB <a href="http://www.imdb.com/chart/top/">TOP 250</a> chart',
|
||||
'default': True,
|
||||
},
|
||||
{
|
||||
'name': 'automation_charts_boxoffice',
|
||||
'type': 'bool',
|
||||
'label': 'Box office TOP 10',
|
||||
'description': 'IMDB Box office <a href="http://www.imdb.com/chart/">TOP 10</a> chart',
|
||||
'default': True,
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
}]
|
||||
@@ -1,70 +0,0 @@
|
||||
from .main import IMDB
|
||||
|
||||
|
||||
def start():
|
||||
return IMDB()
|
||||
|
||||
config = [{
|
||||
'name': 'imdb',
|
||||
'groups': [
|
||||
{
|
||||
'tab': 'automation',
|
||||
'list': 'watchlist_providers',
|
||||
'name': 'imdb_automation_watchlist',
|
||||
'label': 'IMDB',
|
||||
'description': 'From any <strong>public</strong> IMDB watchlists.',
|
||||
'options': [
|
||||
{
|
||||
'name': 'automation_enabled',
|
||||
'default': False,
|
||||
'type': 'enabler',
|
||||
},
|
||||
{
|
||||
'name': 'automation_urls_use',
|
||||
'label': 'Use',
|
||||
},
|
||||
{
|
||||
'name': 'automation_urls',
|
||||
'label': 'url',
|
||||
'type': 'combined',
|
||||
'combine': ['automation_urls_use', 'automation_urls'],
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
'tab': 'automation',
|
||||
'list': 'automation_providers',
|
||||
'name': 'imdb_automation_charts',
|
||||
'label': 'IMDB',
|
||||
'description': 'Import movies from IMDB Charts',
|
||||
'options': [
|
||||
{
|
||||
'name': 'automation_providers_enabled',
|
||||
'default': False,
|
||||
'type': 'enabler',
|
||||
},
|
||||
{
|
||||
'name': 'automation_charts_theater',
|
||||
'type': 'bool',
|
||||
'label': 'In Theaters',
|
||||
'description': 'New Movies <a href="http://www.imdb.com/movies-in-theaters/">In-Theaters</a> chart',
|
||||
'default': True,
|
||||
},
|
||||
{
|
||||
'name': 'automation_charts_top250',
|
||||
'type': 'bool',
|
||||
'label': 'TOP 250',
|
||||
'description': 'IMDB <a href="http://www.imdb.com/chart/top/">TOP 250</a> chart',
|
||||
'default': True,
|
||||
},
|
||||
{
|
||||
'name': 'automation_charts_boxoffice',
|
||||
'type': 'bool',
|
||||
'label': 'Box office TOP 10',
|
||||
'description': 'IMDB Box office <a href="http://www.imdb.com/chart/">TOP 10</a> chart',
|
||||
'default': True,
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
}]
|
||||
@@ -9,6 +9,8 @@ import xml.etree.ElementTree as XMLTree
|
||||
|
||||
log = CPLog(__name__)
|
||||
|
||||
autoload = 'ITunes'
|
||||
|
||||
|
||||
class ITunes(Automation, RSS):
|
||||
|
||||
@@ -58,3 +60,36 @@ class ITunes(Automation, RSS):
|
||||
log.error('Failed loading iTunes rss feed: %s %s', (url, traceback.format_exc()))
|
||||
|
||||
return movies
|
||||
|
||||
|
||||
config = [{
|
||||
'name': 'itunes',
|
||||
'groups': [
|
||||
{
|
||||
'tab': 'automation',
|
||||
'list': 'automation_providers',
|
||||
'name': 'itunes_automation',
|
||||
'label': 'iTunes',
|
||||
'description': 'From any <a href="http://itunes.apple.com/rss">iTunes</a> Store feed. Url should be the RSS link.',
|
||||
'options': [
|
||||
{
|
||||
'name': 'automation_enabled',
|
||||
'default': False,
|
||||
'type': 'enabler',
|
||||
},
|
||||
{
|
||||
'name': 'automation_urls_use',
|
||||
'label': 'Use',
|
||||
'default': ',',
|
||||
},
|
||||
{
|
||||
'name': 'automation_urls',
|
||||
'label': 'url',
|
||||
'type': 'combined',
|
||||
'combine': ['automation_urls_use', 'automation_urls'],
|
||||
'default': 'https://itunes.apple.com/rss/topmovies/limit=25/xml,',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
}]
|
||||
@@ -1,37 +0,0 @@
|
||||
from .main import ITunes
|
||||
|
||||
|
||||
def start():
|
||||
return ITunes()
|
||||
|
||||
config = [{
|
||||
'name': 'itunes',
|
||||
'groups': [
|
||||
{
|
||||
'tab': 'automation',
|
||||
'list': 'automation_providers',
|
||||
'name': 'itunes_automation',
|
||||
'label': 'iTunes',
|
||||
'description': 'From any <a href="http://itunes.apple.com/rss">iTunes</a> Store feed. Url should be the RSS link.',
|
||||
'options': [
|
||||
{
|
||||
'name': 'automation_enabled',
|
||||
'default': False,
|
||||
'type': 'enabler',
|
||||
},
|
||||
{
|
||||
'name': 'automation_urls_use',
|
||||
'label': 'Use',
|
||||
'default': ',',
|
||||
},
|
||||
{
|
||||
'name': 'automation_urls',
|
||||
'label': 'url',
|
||||
'type': 'combined',
|
||||
'combine': ['automation_urls_use', 'automation_urls'],
|
||||
'default': 'https://itunes.apple.com/rss/topmovies/limit=25/xml,',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
}]
|
||||
@@ -5,6 +5,8 @@ import datetime
|
||||
|
||||
log = CPLog(__name__)
|
||||
|
||||
autoload = 'Kinepolis'
|
||||
|
||||
|
||||
class Kinepolis(Automation, RSS):
|
||||
|
||||
@@ -27,3 +29,24 @@ class Kinepolis(Automation, RSS):
|
||||
movies.append(imdb['imdb'])
|
||||
|
||||
return movies
|
||||
|
||||
|
||||
config = [{
|
||||
'name': 'kinepolis',
|
||||
'groups': [
|
||||
{
|
||||
'tab': 'automation',
|
||||
'list': 'automation_providers',
|
||||
'name': 'kinepolis_automation',
|
||||
'label': 'Kinepolis',
|
||||
'description': 'Imports movies from the current top 10 of kinepolis.',
|
||||
'options': [
|
||||
{
|
||||
'name': 'automation_enabled',
|
||||
'default': False,
|
||||
'type': 'enabler',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
}]
|
||||
@@ -1,25 +0,0 @@
|
||||
from .main import Kinepolis
|
||||
|
||||
|
||||
def start():
|
||||
return Kinepolis()
|
||||
|
||||
config = [{
|
||||
'name': 'kinepolis',
|
||||
'groups': [
|
||||
{
|
||||
'tab': 'automation',
|
||||
'list': 'automation_providers',
|
||||
'name': 'kinepolis_automation',
|
||||
'label': 'Kinepolis',
|
||||
'description': 'Imports movies from the current top 10 of kinepolis.',
|
||||
'options': [
|
||||
{
|
||||
'name': 'automation_enabled',
|
||||
'default': False,
|
||||
'type': 'enabler',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
}]
|
||||
@@ -6,6 +6,8 @@ import re
|
||||
|
||||
log = CPLog(__name__)
|
||||
|
||||
autoload = 'Letterboxd'
|
||||
|
||||
|
||||
class Letterboxd(Automation):
|
||||
|
||||
@@ -49,3 +51,34 @@ class Letterboxd(Automation):
|
||||
movies.append({'title': match[0], 'year': match[1] })
|
||||
|
||||
return movies
|
||||
|
||||
|
||||
config = [{
|
||||
'name': 'letterboxd',
|
||||
'groups': [
|
||||
{
|
||||
'tab': 'automation',
|
||||
'list': 'watchlist_providers',
|
||||
'name': 'letterboxd_automation',
|
||||
'label': 'Letterboxd',
|
||||
'description': 'Import movies from any public <a href="http://letterboxd.com/">Letterboxd</a> watchlist',
|
||||
'options': [
|
||||
{
|
||||
'name': 'automation_enabled',
|
||||
'default': False,
|
||||
'type': 'enabler',
|
||||
},
|
||||
{
|
||||
'name': 'automation_urls_use',
|
||||
'label': 'Use',
|
||||
},
|
||||
{
|
||||
'name': 'automation_urls',
|
||||
'label': 'Username',
|
||||
'type': 'combined',
|
||||
'combine': ['automation_urls_use', 'automation_urls'],
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
}]
|
||||
@@ -1,35 +0,0 @@
|
||||
from .main import Letterboxd
|
||||
|
||||
|
||||
def start():
|
||||
return Letterboxd()
|
||||
|
||||
config = [{
|
||||
'name': 'letterboxd',
|
||||
'groups': [
|
||||
{
|
||||
'tab': 'automation',
|
||||
'list': 'watchlist_providers',
|
||||
'name': 'letterboxd_automation',
|
||||
'label': 'Letterboxd',
|
||||
'description': 'Import movies from any public <a href="http://letterboxd.com/">Letterboxd</a> watchlist',
|
||||
'options': [
|
||||
{
|
||||
'name': 'automation_enabled',
|
||||
'default': False,
|
||||
'type': 'enabler',
|
||||
},
|
||||
{
|
||||
'name': 'automation_urls_use',
|
||||
'label': 'Use',
|
||||
},
|
||||
{
|
||||
'name': 'automation_urls',
|
||||
'label': 'Username',
|
||||
'type': 'combined',
|
||||
'combine': ['automation_urls_use', 'automation_urls'],
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
}]
|
||||
@@ -5,6 +5,8 @@ from couchpotato.core.media.movie.providers.automation.base import Automation
|
||||
|
||||
log = CPLog(__name__)
|
||||
|
||||
autoload = 'Moviemeter'
|
||||
|
||||
|
||||
class Moviemeter(Automation, RSS):
|
||||
|
||||
@@ -26,3 +28,24 @@ class Moviemeter(Automation, RSS):
|
||||
movies.append(imdb['imdb'])
|
||||
|
||||
return movies
|
||||
|
||||
|
||||
config = [{
|
||||
'name': 'moviemeter',
|
||||
'groups': [
|
||||
{
|
||||
'tab': 'automation',
|
||||
'list': 'automation_providers',
|
||||
'name': 'moviemeter_automation',
|
||||
'label': 'Moviemeter',
|
||||
'description': 'Imports movies from the current top 10 of moviemeter.nl.',
|
||||
'options': [
|
||||
{
|
||||
'name': 'automation_enabled',
|
||||
'default': False,
|
||||
'type': 'enabler',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
}]
|
||||
@@ -1,25 +0,0 @@
|
||||
from .main import Moviemeter
|
||||
|
||||
|
||||
def start():
|
||||
return Moviemeter()
|
||||
|
||||
config = [{
|
||||
'name': 'moviemeter',
|
||||
'groups': [
|
||||
{
|
||||
'tab': 'automation',
|
||||
'list': 'automation_providers',
|
||||
'name': 'moviemeter_automation',
|
||||
'label': 'Moviemeter',
|
||||
'description': 'Imports movies from the current top 10 of moviemeter.nl.',
|
||||
'options': [
|
||||
{
|
||||
'name': 'automation_enabled',
|
||||
'default': False,
|
||||
'type': 'enabler',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
}]
|
||||
@@ -6,6 +6,8 @@ from couchpotato.core.media.movie.providers.automation.base import Automation
|
||||
|
||||
log = CPLog(__name__)
|
||||
|
||||
autoload = 'MoviesIO'
|
||||
|
||||
|
||||
class MoviesIO(Automation, RSS):
|
||||
|
||||
@@ -37,3 +39,34 @@ class MoviesIO(Automation, RSS):
|
||||
movies.append(imdb)
|
||||
|
||||
return movies
|
||||
|
||||
|
||||
config = [{
|
||||
'name': 'moviesio',
|
||||
'groups': [
|
||||
{
|
||||
'tab': 'automation',
|
||||
'list': 'watchlist_providers',
|
||||
'name': 'moviesio',
|
||||
'label': 'Movies.IO',
|
||||
'description': 'Imports movies from <a href="http://movies.io">Movies.io</a> RSS watchlists',
|
||||
'options': [
|
||||
{
|
||||
'name': 'automation_enabled',
|
||||
'default': False,
|
||||
'type': 'enabler',
|
||||
},
|
||||
{
|
||||
'name': 'automation_urls_use',
|
||||
'label': 'Use',
|
||||
},
|
||||
{
|
||||
'name': 'automation_urls',
|
||||
'label': 'url',
|
||||
'type': 'combined',
|
||||
'combine': ['automation_urls_use', 'automation_urls'],
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
}]
|
||||
@@ -1,35 +0,0 @@
|
||||
from .main import MoviesIO
|
||||
|
||||
|
||||
def start():
|
||||
return MoviesIO()
|
||||
|
||||
config = [{
|
||||
'name': 'moviesio',
|
||||
'groups': [
|
||||
{
|
||||
'tab': 'automation',
|
||||
'list': 'watchlist_providers',
|
||||
'name': 'moviesio',
|
||||
'label': 'Movies.IO',
|
||||
'description': 'Imports movies from <a href="http://movies.io">Movies.io</a> RSS watchlists',
|
||||
'options': [
|
||||
{
|
||||
'name': 'automation_enabled',
|
||||
'default': False,
|
||||
'type': 'enabler',
|
||||
},
|
||||
{
|
||||
'name': 'automation_urls_use',
|
||||
'label': 'Use',
|
||||
},
|
||||
{
|
||||
'name': 'automation_urls',
|
||||
'label': 'url',
|
||||
'type': 'combined',
|
||||
'combine': ['automation_urls_use', 'automation_urls'],
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
}]
|
||||
@@ -8,6 +8,8 @@ import re
|
||||
|
||||
log = CPLog(__name__)
|
||||
|
||||
autoload = 'Rottentomatoes'
|
||||
|
||||
|
||||
class Rottentomatoes(Automation, RSS):
|
||||
|
||||
@@ -51,3 +53,42 @@ class Rottentomatoes(Automation, RSS):
|
||||
movies.append(imdb['imdb'])
|
||||
|
||||
return movies
|
||||
|
||||
|
||||
config = [{
|
||||
'name': 'rottentomatoes',
|
||||
'groups': [
|
||||
{
|
||||
'tab': 'automation',
|
||||
'list': 'automation_providers',
|
||||
'name': 'rottentomatoes_automation',
|
||||
'label': 'Rottentomatoes',
|
||||
'description': 'Imports movies from rottentomatoes rss feeds specified below.',
|
||||
'options': [
|
||||
{
|
||||
'name': 'automation_enabled',
|
||||
'default': False,
|
||||
'type': 'enabler',
|
||||
},
|
||||
{
|
||||
'name': 'automation_urls_use',
|
||||
'label': 'Use',
|
||||
'default': '1',
|
||||
},
|
||||
{
|
||||
'name': 'automation_urls',
|
||||
'label': 'url',
|
||||
'type': 'combined',
|
||||
'combine': ['automation_urls_use', 'automation_urls'],
|
||||
'default': 'http://www.rottentomatoes.com/syndication/rss/in_theaters.xml',
|
||||
},
|
||||
{
|
||||
'name': 'tomatometer_percent',
|
||||
'default': '80',
|
||||
'label': 'Tomatometer',
|
||||
'description': 'Use as extra scoring requirement',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
}]
|
||||
@@ -1,43 +0,0 @@
|
||||
from .main import Rottentomatoes
|
||||
|
||||
|
||||
def start():
|
||||
return Rottentomatoes()
|
||||
|
||||
config = [{
|
||||
'name': 'rottentomatoes',
|
||||
'groups': [
|
||||
{
|
||||
'tab': 'automation',
|
||||
'list': 'automation_providers',
|
||||
'name': 'rottentomatoes_automation',
|
||||
'label': 'Rottentomatoes',
|
||||
'description': 'Imports movies from rottentomatoes rss feeds specified below.',
|
||||
'options': [
|
||||
{
|
||||
'name': 'automation_enabled',
|
||||
'default': False,
|
||||
'type': 'enabler',
|
||||
},
|
||||
{
|
||||
'name': 'automation_urls_use',
|
||||
'label': 'Use',
|
||||
'default': '1',
|
||||
},
|
||||
{
|
||||
'name': 'automation_urls',
|
||||
'label': 'url',
|
||||
'type': 'combined',
|
||||
'combine': ['automation_urls_use', 'automation_urls'],
|
||||
'default': 'http://www.rottentomatoes.com/syndication/rss/in_theaters.xml',
|
||||
},
|
||||
{
|
||||
'name': 'tomatometer_percent',
|
||||
'default': '80',
|
||||
'label': 'Tomatometer',
|
||||
'description': 'Use as extra scoring requirement',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
}]
|
||||
@@ -6,6 +6,8 @@ import base64
|
||||
|
||||
log = CPLog(__name__)
|
||||
|
||||
autoload = 'Trakt'
|
||||
|
||||
|
||||
class Trakt(Automation):
|
||||
|
||||
@@ -42,3 +44,38 @@ class Trakt(Automation):
|
||||
|
||||
data = self.getJsonData(self.urls['base'] + method_url, headers = headers)
|
||||
return data if data else []
|
||||
|
||||
|
||||
config = [{
|
||||
'name': 'trakt',
|
||||
'groups': [
|
||||
{
|
||||
'tab': 'automation',
|
||||
'list': 'watchlist_providers',
|
||||
'name': 'trakt_automation',
|
||||
'label': 'Trakt',
|
||||
'description': 'import movies from your own watchlist',
|
||||
'options': [
|
||||
{
|
||||
'name': 'automation_enabled',
|
||||
'default': False,
|
||||
'type': 'enabler',
|
||||
},
|
||||
{
|
||||
'name': 'automation_api_key',
|
||||
'label': 'Apikey',
|
||||
},
|
||||
{
|
||||
'name': 'automation_username',
|
||||
'label': 'Username',
|
||||
},
|
||||
{
|
||||
'name': 'automation_password',
|
||||
'label': 'Password',
|
||||
'type': 'password',
|
||||
'description': 'When you have "Protect my data" checked <a href="http://trakt.tv/settings/account">on trakt</a>.',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
}]
|
||||
@@ -1,39 +0,0 @@
|
||||
from .main import Trakt
|
||||
|
||||
|
||||
def start():
|
||||
return Trakt()
|
||||
|
||||
config = [{
|
||||
'name': 'trakt',
|
||||
'groups': [
|
||||
{
|
||||
'tab': 'automation',
|
||||
'list': 'watchlist_providers',
|
||||
'name': 'trakt_automation',
|
||||
'label': 'Trakt',
|
||||
'description': 'import movies from your own watchlist',
|
||||
'options': [
|
||||
{
|
||||
'name': 'automation_enabled',
|
||||
'default': False,
|
||||
'type': 'enabler',
|
||||
},
|
||||
{
|
||||
'name': 'automation_api_key',
|
||||
'label': 'Apikey',
|
||||
},
|
||||
{
|
||||
'name': 'automation_username',
|
||||
'label': 'Username',
|
||||
},
|
||||
{
|
||||
'name': 'automation_password',
|
||||
'label': 'Password',
|
||||
'type': 'password',
|
||||
'description': 'When you have "Protect my data" checked <a href="http://trakt.tv/settings/account">on trakt</a>.',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
}]
|
||||
@@ -9,6 +9,8 @@ import traceback
|
||||
|
||||
log = CPLog(__name__)
|
||||
|
||||
autoload = 'MovieResultModifier'
|
||||
|
||||
|
||||
class MovieResultModifier(Plugin):
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
from .main import MovieResultModifier
|
||||
|
||||
def start():
|
||||
|
||||
return MovieResultModifier()
|
||||
|
||||
config = []
|
||||
@@ -10,6 +10,8 @@ from couchpotato.environment import Env
|
||||
|
||||
log = CPLog(__name__)
|
||||
|
||||
autoload = 'CouchPotatoApi'
|
||||
|
||||
|
||||
class CouchPotatoApi(MovieProvider):
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
from .main import CouchPotatoApi
|
||||
|
||||
|
||||
def start():
|
||||
return CouchPotatoApi()
|
||||
|
||||
config = []
|
||||
@@ -11,6 +11,8 @@ from couchpotato.core.media.movie.providers.base import MovieProvider
|
||||
|
||||
log = CPLog(__name__)
|
||||
|
||||
autoload = 'OMDBAPI'
|
||||
|
||||
|
||||
class OMDBAPI(MovieProvider):
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
from .main import OMDBAPI
|
||||
|
||||
|
||||
def start():
|
||||
return OMDBAPI()
|
||||
|
||||
config = []
|
||||
@@ -7,9 +7,10 @@ from couchpotato.core.logger import CPLog
|
||||
from couchpotato.core.media.movie.providers.base import MovieProvider
|
||||
import tmdb3
|
||||
|
||||
|
||||
log = CPLog(__name__)
|
||||
|
||||
autoload = 'TheMovieDb'
|
||||
|
||||
|
||||
class TheMovieDb(MovieProvider):
|
||||
|
||||
@@ -175,3 +176,24 @@ class TheMovieDb(MovieProvider):
|
||||
log.error('No API key provided.')
|
||||
return True
|
||||
return False
|
||||
|
||||
|
||||
config = [{
|
||||
'name': 'themoviedb',
|
||||
'groups': [
|
||||
{
|
||||
'tab': 'providers',
|
||||
'name': 'tmdb',
|
||||
'label': 'TheMovieDB',
|
||||
'hidden': True,
|
||||
'description': 'Used for all calls to TheMovieDB.',
|
||||
'options': [
|
||||
{
|
||||
'name': 'api_key',
|
||||
'default': '9b939aee0aaafc12a65bf448e4af9543',
|
||||
'label': 'Api Key',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
}]
|
||||
@@ -1,25 +0,0 @@
|
||||
from .main import TheMovieDb
|
||||
|
||||
|
||||
def start():
|
||||
return TheMovieDb()
|
||||
|
||||
config = [{
|
||||
'name': 'themoviedb',
|
||||
'groups': [
|
||||
{
|
||||
'tab': 'providers',
|
||||
'name': 'tmdb',
|
||||
'label': 'TheMovieDB',
|
||||
'hidden': True,
|
||||
'description': 'Used for all calls to TheMovieDB.',
|
||||
'options': [
|
||||
{
|
||||
'name': 'api_key',
|
||||
'default': '9b939aee0aaafc12a65bf448e4af9543',
|
||||
'label': 'Api Key',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
}]
|
||||
@@ -1,8 +1,14 @@
|
||||
from .main import WindowsMediaCenter
|
||||
from couchpotato.core.media.movie.providers.metadata.base import MovieMetaData
|
||||
import os
|
||||
|
||||
autoload = 'WindowsMediaCenter'
|
||||
|
||||
|
||||
def start():
|
||||
return WindowsMediaCenter()
|
||||
class WindowsMediaCenter(MovieMetaData):
|
||||
|
||||
def getThumbnailName(self, name, root):
|
||||
return os.path.join(root, 'folder.jpg')
|
||||
|
||||
|
||||
config = [{
|
||||
'name': 'windowsmediacenter',
|
||||
@@ -1,8 +0,0 @@
|
||||
from couchpotato.core.media.movie.providers.metadata.base import MovieMetaData
|
||||
import os
|
||||
|
||||
|
||||
class WindowsMediaCenter(MovieMetaData):
|
||||
|
||||
def getThumbnailName(self, name, root):
|
||||
return os.path.join(root, 'folder.jpg')
|
||||
@@ -10,6 +10,9 @@ import xml.dom.minidom
|
||||
|
||||
log = CPLog(__name__)
|
||||
|
||||
autoload = 'XBMC'
|
||||
|
||||
|
||||
class XBMC(MovieMetaData):
|
||||
|
||||
def getFanartName(self, name, root):
|
||||
@@ -172,3 +175,69 @@ class XBMC(MovieMetaData):
|
||||
xml_string = text_re.sub('>\g<1></', xml_string)
|
||||
|
||||
return xml_string.encode('utf-8')
|
||||
|
||||
|
||||
config = [{
|
||||
'name': 'xbmc',
|
||||
'groups': [
|
||||
{
|
||||
'tab': 'renamer',
|
||||
'subtab': 'metadata',
|
||||
'name': 'xbmc_metadata',
|
||||
'label': 'XBMC',
|
||||
'description': 'Enable metadata XBMC can understand',
|
||||
'options': [
|
||||
{
|
||||
'name': 'meta_enabled',
|
||||
'default': False,
|
||||
'type': 'enabler',
|
||||
},
|
||||
{
|
||||
'name': 'meta_nfo',
|
||||
'label': 'NFO',
|
||||
'default': True,
|
||||
'type': 'bool',
|
||||
},
|
||||
{
|
||||
'name': 'meta_nfo_name',
|
||||
'label': 'NFO filename',
|
||||
'default': '%s.nfo',
|
||||
'advanced': True,
|
||||
'description': '<strong>%s</strong> is the rootname of the movie. For example "/path/to/movie cd1.mkv" will be "/path/to/movie"'
|
||||
},
|
||||
{
|
||||
'name': 'meta_url_only',
|
||||
'label': 'Only IMDB URL',
|
||||
'default': False,
|
||||
'advanced': True,
|
||||
'description': 'Create a nfo with only the IMDB url inside',
|
||||
'type': 'bool',
|
||||
},
|
||||
{
|
||||
'name': 'meta_fanart',
|
||||
'label': 'Fanart',
|
||||
'default': True,
|
||||
'type': 'bool',
|
||||
},
|
||||
{
|
||||
'name': 'meta_fanart_name',
|
||||
'label': 'Fanart filename',
|
||||
'default': '%s-fanart.jpg',
|
||||
'advanced': True,
|
||||
},
|
||||
{
|
||||
'name': 'meta_thumbnail',
|
||||
'label': 'Thumbnail',
|
||||
'default': True,
|
||||
'type': 'bool',
|
||||
},
|
||||
{
|
||||
'name': 'meta_thumbnail_name',
|
||||
'label': 'Thumbnail filename',
|
||||
'default': '%s.tbn',
|
||||
'advanced': True,
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
}]
|
||||
@@ -1,70 +0,0 @@
|
||||
from .main import XBMC
|
||||
|
||||
|
||||
def start():
|
||||
return XBMC()
|
||||
|
||||
config = [{
|
||||
'name': 'xbmc',
|
||||
'groups': [
|
||||
{
|
||||
'tab': 'renamer',
|
||||
'subtab': 'metadata',
|
||||
'name': 'xbmc_metadata',
|
||||
'label': 'XBMC',
|
||||
'description': 'Enable metadata XBMC can understand',
|
||||
'options': [
|
||||
{
|
||||
'name': 'meta_enabled',
|
||||
'default': False,
|
||||
'type': 'enabler',
|
||||
},
|
||||
{
|
||||
'name': 'meta_nfo',
|
||||
'label': 'NFO',
|
||||
'default': True,
|
||||
'type': 'bool',
|
||||
},
|
||||
{
|
||||
'name': 'meta_nfo_name',
|
||||
'label': 'NFO filename',
|
||||
'default': '%s.nfo',
|
||||
'advanced': True,
|
||||
'description': '<strong>%s</strong> is the rootname of the movie. For example "/path/to/movie cd1.mkv" will be "/path/to/movie"'
|
||||
},
|
||||
{
|
||||
'name': 'meta_url_only',
|
||||
'label': 'Only IMDB URL',
|
||||
'default': False,
|
||||
'advanced': True,
|
||||
'description': 'Create a nfo with only the IMDB url inside',
|
||||
'type': 'bool',
|
||||
},
|
||||
{
|
||||
'name': 'meta_fanart',
|
||||
'label': 'Fanart',
|
||||
'default': True,
|
||||
'type': 'bool',
|
||||
},
|
||||
{
|
||||
'name': 'meta_fanart_name',
|
||||
'label': 'Fanart filename',
|
||||
'default': '%s-fanart.jpg',
|
||||
'advanced': True,
|
||||
},
|
||||
{
|
||||
'name': 'meta_thumbnail',
|
||||
'label': 'Thumbnail',
|
||||
'default': True,
|
||||
'type': 'bool',
|
||||
},
|
||||
{
|
||||
'name': 'meta_thumbnail_name',
|
||||
'label': 'Thumbnail filename',
|
||||
'default': '%s.tbn',
|
||||
'advanced': True,
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
}]
|
||||
@@ -1,14 +0,0 @@
|
||||
config = [{
|
||||
'name': 'nzb_providers',
|
||||
'groups': [
|
||||
{
|
||||
'label': 'Usenet Providers',
|
||||
'description': 'Providers searching usenet for new releases',
|
||||
'wizard': True,
|
||||
'type': 'list',
|
||||
'name': 'nzb_providers',
|
||||
'tab': 'searcher',
|
||||
'options': [],
|
||||
},
|
||||
],
|
||||
}]
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
from .main import BinSearch
|
||||
|
||||
|
||||
def start():
|
||||
return BinSearch()
|
||||
|
||||
config = []
|
||||
@@ -1,7 +0,0 @@
|
||||
from .main import Newznab
|
||||
|
||||
|
||||
def start():
|
||||
return Newznab()
|
||||
|
||||
config = []
|
||||
@@ -1,7 +0,0 @@
|
||||
from .main import NZBClub
|
||||
|
||||
|
||||
def start():
|
||||
return NZBClub()
|
||||
|
||||
config = []
|
||||
@@ -1,7 +0,0 @@
|
||||
from .main import NzbIndex
|
||||
|
||||
|
||||
def start():
|
||||
return NzbIndex()
|
||||
|
||||
config = []
|
||||
@@ -1,7 +0,0 @@
|
||||
from .main import OMGWTFNZBs
|
||||
|
||||
|
||||
def start():
|
||||
return OMGWTFNZBs()
|
||||
|
||||
config = []
|
||||
@@ -1,14 +0,0 @@
|
||||
config = [{
|
||||
'name': 'torrent_providers',
|
||||
'groups': [
|
||||
{
|
||||
'label': 'Torrent Providers',
|
||||
'description': 'Providers searching torrent sites for new releases',
|
||||
'wizard': True,
|
||||
'type': 'list',
|
||||
'name': 'torrent_providers',
|
||||
'tab': 'searcher',
|
||||
'options': [],
|
||||
},
|
||||
],
|
||||
}]
|
||||
|
||||
@@ -4,6 +4,8 @@ from couchpotato.core.media.movie.providers.base import MovieProvider
|
||||
|
||||
log = CPLog(__name__)
|
||||
|
||||
autoload = 'AwesomeHD'
|
||||
|
||||
|
||||
class AwesomeHD(MovieProvider, Base):
|
||||
pass
|
||||
@@ -1,8 +0,0 @@
|
||||
from .main import AwesomeHD
|
||||
|
||||
|
||||
def start():
|
||||
return AwesomeHD()
|
||||
|
||||
config = []
|
||||
|
||||
@@ -6,6 +6,8 @@ from couchpotato.core.media.movie.providers.base import MovieProvider
|
||||
|
||||
log = CPLog(__name__)
|
||||
|
||||
autoload = 'BiTHDTV'
|
||||
|
||||
|
||||
class BiTHDTV(MovieProvider, Base):
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
from .main import BiTHDTV
|
||||
|
||||
|
||||
def start():
|
||||
return BiTHDTV()
|
||||
|
||||
config = []
|
||||
@@ -6,6 +6,8 @@ from couchpotato.core.media.movie.providers.base import MovieProvider
|
||||
|
||||
log = CPLog(__name__)
|
||||
|
||||
autoload = 'Bitsoup'
|
||||
|
||||
|
||||
class Bitsoup(MovieProvider, Base):
|
||||
cat_ids = [
|
||||
@@ -1,7 +0,0 @@
|
||||
from .main import Bitsoup
|
||||
|
||||
|
||||
def start():
|
||||
return Bitsoup()
|
||||
|
||||
config = []
|
||||
@@ -4,6 +4,8 @@ from couchpotato.core.media.movie.providers.base import MovieProvider
|
||||
|
||||
log = CPLog(__name__)
|
||||
|
||||
autoload = 'HDBits'
|
||||
|
||||
|
||||
class HDBits(MovieProvider, Base):
|
||||
pass
|
||||
@@ -1,7 +0,0 @@
|
||||
from .main import HDBits
|
||||
|
||||
|
||||
def start():
|
||||
return HDBits()
|
||||
|
||||
config = []
|
||||
@@ -4,6 +4,8 @@ from couchpotato.core.media.movie.providers.base import MovieProvider
|
||||
|
||||
log = CPLog(__name__)
|
||||
|
||||
autoload = 'ILoveTorrents'
|
||||
|
||||
|
||||
class ILoveTorrents(MovieProvider, Base):
|
||||
pass
|
||||
@@ -1,7 +0,0 @@
|
||||
from .main import ILoveTorrents
|
||||
|
||||
|
||||
def start():
|
||||
return ILoveTorrents()
|
||||
|
||||
config = []
|
||||
@@ -1,7 +0,0 @@
|
||||
from .main import IPTorrents
|
||||
|
||||
|
||||
def start():
|
||||
return IPTorrents()
|
||||
|
||||
config = []
|
||||
@@ -1,7 +0,0 @@
|
||||
from .main import KickAssTorrents
|
||||
|
||||
|
||||
def start():
|
||||
return KickAssTorrents()
|
||||
|
||||
config = []
|
||||
@@ -1,7 +0,0 @@
|
||||
from .main import PassThePopcorn
|
||||
|
||||
|
||||
def start():
|
||||
return PassThePopcorn()
|
||||
|
||||
config = []
|
||||
@@ -5,6 +5,8 @@ from couchpotato.core.media.movie.providers.base import MovieProvider
|
||||
|
||||
log = CPLog(__name__)
|
||||
|
||||
autoload = 'PublicHD'
|
||||
|
||||
|
||||
class PublicHD(MovieProvider, Base):
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
from .main import PublicHD
|
||||
|
||||
|
||||
def start():
|
||||
return PublicHD()
|
||||
|
||||
config = []
|
||||
@@ -6,6 +6,8 @@ from couchpotato.core.media.movie.providers.base import MovieProvider
|
||||
|
||||
log = CPLog(__name__)
|
||||
|
||||
autoload = 'SceneAccess'
|
||||
|
||||
|
||||
class SceneAccess(MovieProvider, Base):
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
from .main import SceneAccess
|
||||
|
||||
|
||||
def start():
|
||||
return SceneAccess()
|
||||
|
||||
config = []
|
||||
@@ -6,6 +6,8 @@ from couchpotato.core.media.movie.providers.base import MovieProvider
|
||||
|
||||
log = CPLog(__name__)
|
||||
|
||||
autoload = 'ThePirateBay'
|
||||
|
||||
|
||||
class ThePirateBay(MovieProvider, Base):
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
from .main import ThePirateBay
|
||||
|
||||
|
||||
def start():
|
||||
return ThePirateBay()
|
||||
|
||||
config = []
|
||||
@@ -4,6 +4,8 @@ from couchpotato.core.media.movie.providers.base import MovieProvider
|
||||
|
||||
log = CPLog(__name__)
|
||||
|
||||
autoload = 'TorrentBytes'
|
||||
|
||||
|
||||
class TorrentBytes(MovieProvider, Base):
|
||||
pass
|
||||
@@ -1,7 +0,0 @@
|
||||
from .main import TorrentBytes
|
||||
|
||||
|
||||
def start():
|
||||
return TorrentBytes()
|
||||
|
||||
config = []
|
||||
@@ -5,6 +5,8 @@ from couchpotato.core.media.movie.providers.base import MovieProvider
|
||||
|
||||
log = CPLog(__name__)
|
||||
|
||||
autoload = 'TorrentDay'
|
||||
|
||||
|
||||
class TorrentDay(MovieProvider, Base):
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
from .main import TorrentDay
|
||||
|
||||
|
||||
def start():
|
||||
return TorrentDay()
|
||||
|
||||
config = []
|
||||
@@ -5,6 +5,8 @@ from couchpotato.core.media.movie.providers.base import MovieProvider
|
||||
|
||||
log = CPLog(__name__)
|
||||
|
||||
autoload = 'TorrentLeech'
|
||||
|
||||
|
||||
class TorrentLeech(MovieProvider, Base):
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
from .main import TorrentLeech
|
||||
|
||||
|
||||
def start():
|
||||
return TorrentLeech()
|
||||
|
||||
config = []
|
||||
@@ -5,6 +5,8 @@ from couchpotato.core.media.movie.providers.base import MovieProvider
|
||||
|
||||
log = CPLog(__name__)
|
||||
|
||||
autoload = 'TorrentPotato'
|
||||
|
||||
|
||||
class TorrentPotato(MovieProvider, Base):
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
from .main import TorrentPotato
|
||||
|
||||
|
||||
def start():
|
||||
return TorrentPotato()
|
||||
|
||||
config = []
|
||||
@@ -6,6 +6,8 @@ from couchpotato.core.media.movie.providers.base import MovieProvider
|
||||
|
||||
log = CPLog(__name__)
|
||||
|
||||
autoload = 'TorrentShack'
|
||||
|
||||
|
||||
class TorrentShack(MovieProvider, Base):
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
from .main import TorrentShack
|
||||
|
||||
|
||||
def start():
|
||||
return TorrentShack()
|
||||
|
||||
config = []
|
||||
@@ -4,6 +4,8 @@ from couchpotato.core.media.movie.providers.base import MovieProvider
|
||||
|
||||
log = CPLog(__name__)
|
||||
|
||||
autoload = 'Yify'
|
||||
|
||||
|
||||
class Yify(MovieProvider, Base):
|
||||
pass
|
||||
@@ -1,7 +0,0 @@
|
||||
from .main import Yify
|
||||
|
||||
|
||||
def start():
|
||||
return Yify()
|
||||
|
||||
config = []
|
||||
@@ -9,6 +9,8 @@ from couchpotato.core.media.movie.providers.trailer.base import TrailerProvider
|
||||
|
||||
log = CPLog(__name__)
|
||||
|
||||
autoload = 'HDTrailers'
|
||||
|
||||
|
||||
class HDTrailers(TrailerProvider):
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
from .main import HDTrailers
|
||||
|
||||
|
||||
def start():
|
||||
return HDTrailers()
|
||||
|
||||
config = []
|
||||
@@ -4,6 +4,8 @@ from couchpotato.core.media._base.providers.userscript.base import UserscriptBas
|
||||
|
||||
log = CPLog(__name__)
|
||||
|
||||
autoload = 'AlloCine'
|
||||
|
||||
|
||||
class AlloCine(UserscriptBase):
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
from .main import AlloCine
|
||||
|
||||
|
||||
def start():
|
||||
return AlloCine()
|
||||
@@ -1,6 +1,8 @@
|
||||
from couchpotato.core.media._base.providers.userscript.base import UserscriptBase
|
||||
import re
|
||||
|
||||
autoload = 'AppleTrailers'
|
||||
|
||||
|
||||
class AppleTrailers(UserscriptBase):
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
from .main import AppleTrailers
|
||||
|
||||
|
||||
def start():
|
||||
return AppleTrailers()
|
||||
@@ -1,5 +1,7 @@
|
||||
from couchpotato.core.media._base.providers.userscript.base import UserscriptBase
|
||||
|
||||
autoload = 'Criticker'
|
||||
|
||||
|
||||
class Criticker(UserscriptBase):
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
from .main import Criticker
|
||||
|
||||
|
||||
def start():
|
||||
return Criticker()
|
||||
@@ -1,6 +1,8 @@
|
||||
from couchpotato.core.media._base.providers.userscript.base import UserscriptBase
|
||||
import re
|
||||
|
||||
autoload = 'Filmweb'
|
||||
|
||||
|
||||
class Filmweb(UserscriptBase):
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
from .main import Filmweb
|
||||
|
||||
|
||||
def start():
|
||||
return Filmweb()
|
||||
@@ -5,6 +5,8 @@ import traceback
|
||||
|
||||
log = CPLog(__name__)
|
||||
|
||||
autoload = 'Flickchart'
|
||||
|
||||
|
||||
class Flickchart(UserscriptBase):
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
from .main import Flickchart
|
||||
|
||||
|
||||
def start():
|
||||
return Flickchart()
|
||||
@@ -1,7 +1,8 @@
|
||||
from couchpotato.core.event import fireEvent
|
||||
from couchpotato.core.helpers.variable import getImdb
|
||||
from couchpotato.core.media._base.providers.userscript.base import UserscriptBase
|
||||
|
||||
autoload = 'IMDB'
|
||||
|
||||
|
||||
class IMDB(UserscriptBase):
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
from .main import IMDB
|
||||
|
||||
|
||||
def start():
|
||||
return IMDB()
|
||||
@@ -1,5 +1,7 @@
|
||||
from couchpotato.core.media._base.providers.userscript.base import UserscriptBase
|
||||
|
||||
autoload = 'Letterboxd'
|
||||
|
||||
|
||||
class Letterboxd(UserscriptBase):
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
from .main import Letterboxd
|
||||
|
||||
|
||||
def start():
|
||||
return Letterboxd()
|
||||
@@ -1,5 +1,7 @@
|
||||
from couchpotato.core.media._base.providers.userscript.base import UserscriptBase
|
||||
|
||||
autoload = 'MovieMeter'
|
||||
|
||||
|
||||
class MovieMeter(UserscriptBase):
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
from .main import MovieMeter
|
||||
|
||||
|
||||
def start():
|
||||
return MovieMeter()
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user