Movie providers in their own subgroup

This commit is contained in:
Ruud committed 2012-09-25 15:09:35 +02:00
1 parent 952f29918e
commit 24ad975917
17 files changed
+70 -65

No files matched your search

@@ -8,9 +8,9 @@ config = [{
'groups': [ 'groups': [
{ {
'tab': 'renamer', 'tab': 'renamer',
'subtab': 'subtitles',
'name': 'subtitle', 'name': 'subtitle',
'label': 'Download subtitles after rename', 'label': 'Download subtitles',
'description': 'after rename',
'options': [ 'options': [
{ {
'name': 'enabled', 'name': 'enabled',
+2 -2
View File
@@ -8,9 +8,9 @@ config = [{
'groups': [ 'groups': [
{ {
'tab': 'renamer', 'tab': 'renamer',
'subtab': 'trailer',
'name': 'trailer', 'name': 'trailer',
'label': 'Download trailer after rename', 'label': 'Download trailer',
'description': 'after rename',
'options': [ 'options': [
{ {
'name': 'enabled', 'name': 'enabled',
@@ -8,7 +8,7 @@ config = [{
'groups': [ 'groups': [
{ {
'tab': 'searcher', 'tab': 'searcher',
'subtab': 'providers', 'subtab': 'nzb_providers',
'name': 'Mysterbin', 'name': 'Mysterbin',
'description': 'Free provider, less accurate. See <a href="http://www.mysterbin.com/">Mysterbin</a>', 'description': 'Free provider, less accurate. See <a href="http://www.mysterbin.com/">Mysterbin</a>',
'options': [ 'options': [
@@ -8,7 +8,7 @@ config = [{
'groups': [ 'groups': [
{ {
'tab': 'searcher', 'tab': 'searcher',
'subtab': 'providers', 'subtab': 'nzb_providers',
'name': 'newzbin', 'name': 'newzbin',
'description': 'See <a href="https://www.newzbin2.es/">Newzbin</a>', 'description': 'See <a href="https://www.newzbin2.es/">Newzbin</a>',
'wizard': True, 'wizard': True,
@@ -8,8 +8,9 @@ config = [{
'groups': [ 'groups': [
{ {
'tab': 'searcher', 'tab': 'searcher',
'subtab': 'providers', 'subtab': 'nzb_providers',
'name': 'newznab', 'name': 'newznab',
'order': 10,
'description': 'Enable multiple NewzNab providers such as <a href="http://nzb.su" target="_blank">NZB.su</a> and <a href="http://nzbs.org" target="_blank">nzbs.org</a>', 'description': 'Enable multiple NewzNab providers such as <a href="http://nzb.su" target="_blank">NZB.su</a> and <a href="http://nzbs.org" target="_blank">nzbs.org</a>',
'wizard': True, 'wizard': True,
'options': [ 'options': [
@@ -8,7 +8,7 @@ config = [{
'groups': [ 'groups': [
{ {
'tab': 'searcher', 'tab': 'searcher',
'subtab': 'providers', 'subtab': 'nzb_providers',
'name': 'NZBClub', 'name': 'NZBClub',
'description': 'Free provider, less accurate. See <a href="https://www.nzbclub.com/">NZBClub</a>', 'description': 'Free provider, less accurate. See <a href="https://www.nzbclub.com/">NZBClub</a>',
'options': [ 'options': [
@@ -8,7 +8,7 @@ config = [{
'groups': [ 'groups': [
{ {
'tab': 'searcher', 'tab': 'searcher',
'subtab': 'providers', 'subtab': 'nzb_providers',
'name': 'nzbindex', 'name': 'nzbindex',
'description': 'Free provider, less accurate. See <a href="http://www.nzbindex.nl/">NZBIndex</a>', 'description': 'Free provider, less accurate. See <a href="http://www.nzbindex.nl/">NZBIndex</a>',
'options': [ 'options': [
@@ -8,7 +8,7 @@ config = [{
'groups': [ 'groups': [
{ {
'tab': 'searcher', 'tab': 'searcher',
'subtab': 'providers', 'subtab': 'nzb_providers',
'name': 'nzbmatrix', 'name': 'nzbmatrix',
'label': 'NZBMatrix', 'label': 'NZBMatrix',
'description': 'See <a href="https://nzbmatrix.com/">NZBMatrix</a>', 'description': 'See <a href="https://nzbmatrix.com/">NZBMatrix</a>',
@@ -8,7 +8,7 @@ config = [{
'groups': [ 'groups': [
{ {
'tab': 'searcher', 'tab': 'searcher',
'subtab': 'providers', 'subtab': 'nzb_providers',
'name': 'nzbsrus', 'name': 'nzbsrus',
'label': 'Nzbsrus', 'label': 'Nzbsrus',
'description': 'See <a href="https://www.nzbsrus.com/">NZBsRus</a>', 'description': 'See <a href="https://www.nzbsrus.com/">NZBsRus</a>',
@@ -8,7 +8,7 @@ config = [{
'groups': [ 'groups': [
{ {
'tab': 'searcher', 'tab': 'searcher',
'subtab': 'providers', 'subtab': 'torrent_providers',
'name': 'KickAssTorrents', 'name': 'KickAssTorrents',
'description': 'See <a href="https://kat.ph/">KickAssTorrents</a>', 'description': 'See <a href="https://kat.ph/">KickAssTorrents</a>',
'wizard': True, 'wizard': True,
@@ -5,32 +5,34 @@ def start():
config = [{ config = [{
'name': 'passthepopcorn', 'name': 'passthepopcorn',
'groups': [{ 'groups': [
'tab': 'searcher', {
'subtab': 'providers', 'tab': 'searcher',
'name': 'PassThePopcorn', 'subtab': 'torrent_providers',
'description': 'See <a href="http://passthepopcorn.me">PassThePopcorn.me</a>', 'name': 'PassThePopcorn',
'options': [ 'description': 'See <a href="http://passthepopcorn.me">PassThePopcorn.me</a>',
{ 'options': [
'name': 'enabled', {
'type': 'enabler', 'name': 'enabled',
'default': False 'type': 'enabler',
}, 'default': False
{ },
'name': 'domain', {
'advanced': True, 'name': 'domain',
'label': 'Proxy server', 'advanced': True,
'description': 'Domain for requests (HTTPS only!), keep empty to use default (tls.passthepopcorn.me).', 'label': 'Proxy server',
}, 'description': 'Domain for requests (HTTPS only!), keep empty to use default (tls.passthepopcorn.me).',
{ },
'name': 'username', {
'default': '', 'name': 'username',
}, 'default': '',
{ },
'name': 'password', {
'default': '', 'name': 'password',
'type': 'password', 'default': '',
} 'type': 'password',
], }
}] ],
}
]
}] }]
@@ -8,7 +8,7 @@ config = [{
'groups': [ 'groups': [
{ {
'tab': 'searcher', 'tab': 'searcher',
'subtab': 'providers', 'subtab': 'torrent_providers',
'name': 'PublicHD', 'name': 'PublicHD',
'description': 'Public Torrent site with only HD content. See <a href="http://publichd.eu/">PublicHD</a>', 'description': 'Public Torrent site with only HD content. See <a href="http://publichd.eu/">PublicHD</a>',
'options': [ 'options': [
@@ -8,7 +8,7 @@ config = [{
'groups': [ 'groups': [
{ {
'tab': 'searcher', 'tab': 'searcher',
'subtab': 'providers', 'subtab': 'torrent_providers',
'name': 'SceneAccess', 'name': 'SceneAccess',
'description': 'See <a href="https://sceneaccess.eu/">SceneAccess</a>', 'description': 'See <a href="https://sceneaccess.eu/">SceneAccess</a>',
'options': [ 'options': [
@@ -8,7 +8,7 @@ config = [{
'groups': [ 'groups': [
{ {
'tab': 'searcher', 'tab': 'searcher',
'subtab': 'providers', 'subtab': 'torrent_providers',
'name': 'SceneHD', 'name': 'SceneHD',
'description': 'See <a href="http://scenehd.org">SceneHD</a>', 'description': 'See <a href="http://scenehd.org">SceneHD</a>',
'options': [ 'options': [
@@ -5,24 +5,26 @@ def start():
config = [{ config = [{
'name': 'thepiratebay', 'name': 'thepiratebay',
'groups': [{ 'groups': [
'tab': 'searcher', {
'subtab': 'providers', 'tab': 'searcher',
'name': 'ThePirateBay', 'subtab': 'torrent_providers',
'description': 'The world\'s largest bittorrent tracker. See <a href="http://fucktimkuik.org/">ThePirateBay</a>', 'name': 'ThePirateBay',
'wizard': True, 'description': 'The world\'s largest bittorrent tracker. See <a href="http://fucktimkuik.org/">ThePirateBay</a>',
'options': [ 'wizard': True,
{ 'options': [
'name': 'enabled', {
'type': 'enabler', 'name': 'enabled',
'default': False 'type': 'enabler',
}, 'default': False
{ },
'name': 'domain', {
'advanced': True, 'name': 'domain',
'label': 'Proxy server', 'advanced': True,
'description': 'Domain for requests, keep empty to let CouchPotato pick.', 'label': 'Proxy server',
} 'description': 'Domain for requests, keep empty to let CouchPotato pick.',
], }
}] ],
}
]
}] }]
@@ -8,7 +8,7 @@ config = [{
'groups': [ 'groups': [
{ {
'tab': 'searcher', 'tab': 'searcher',
'subtab': 'providers', 'subtab': 'torrent_providers',
'name': 'TorrentLeech', 'name': 'TorrentLeech',
'description': 'See <a href="http://torrentleech.org">TorrentLeech</a>', 'description': 'See <a href="http://torrentleech.org">TorrentLeech</a>',
'options': [ 'options': [
+1 -1
View File
@@ -244,7 +244,7 @@ Page.Settings = new Class({
if(!parent_tab.subtabs_el) if(!parent_tab.subtabs_el)
parent_tab.subtabs_el = new Element('ul.subtabs').inject(parent_tab.tab); parent_tab.subtabs_el = new Element('ul.subtabs').inject(parent_tab.tab);
var label = tab.label || (tab.name || tab_name).capitalize() var label = tab.label || (tab.name || tab_name.replace('_', ' ')).capitalize()
var tab_el = new Element('li.t_'+tab_name).adopt( var tab_el = new Element('li.t_'+tab_name).adopt(
new Element('a', { new Element('a', {
'href': App.createUrl(self.name+'/'+parent_tab_name+'/'+tab_name), 'href': App.createUrl(self.name+'/'+parent_tab_name+'/'+tab_name),