Private GIT
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SickRage
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
vlbox
SickRage
Commits
1babae45
Commit
1babae45
authored
Jul 9, 2015
by
Dustyn Gibson
Browse files
Options
Downloads
Patches
Plain Diff
Better path control for scene_exceptions
parent
d74e45d0
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
lib/scene_exceptions/__init__.py
+3
-0
3 additions, 0 deletions
lib/scene_exceptions/__init__.py
sickbeard/indexers/indexer_config.py
+3
-2
3 additions, 2 deletions
sickbeard/indexers/indexer_config.py
with
6 additions
and
2 deletions
lib/scene_exceptions/__init__.py
0 → 100644
+
3
−
0
View file @
1babae45
from
os.path
import
dirname
,
abspath
TVDB_EXCEPTIONS
=
dirname
(
abspath
(
__file__
))
+
'
/tvdb/exceptions.txt
'
TVRAGE_EXCEPTIONS
=
dirname
(
abspath
(
__file__
))
+
'
/tvrage/exceptions.txt
'
This diff is collapsed.
Click to expand it.
sickbeard/indexers/indexer_config.py
+
3
−
2
View file @
1babae45
from
lib.tvdb_api.tvdb_api
import
Tvdb
from
lib.tvrage_api.tvrage_api
import
TVRage
from
scene_exceptions
import
TVDB_EXCEPTIONS
,
TVRAGE_EXCEPTIONS
import
requests
INDEXER_TVDB
=
1
...
...
@@ -43,7 +44,7 @@ indexerConfig[INDEXER_TVRAGE] = {
indexerConfig
[
INDEXER_TVDB
][
'
trakt_id
'
]
=
'
tvdb_id
'
indexerConfig
[
INDEXER_TVDB
][
'
xem_origin
'
]
=
'
tvdb
'
indexerConfig
[
INDEXER_TVDB
][
'
icon
'
]
=
'
thetvdb16.png
'
indexerConfig
[
INDEXER_TVDB
][
'
scene_loc
'
]
=
'
../lib/scene_exceptions/tvdb/exceptions.txt
'
indexerConfig
[
INDEXER_TVDB
][
'
scene_loc
'
]
=
TVDB_EXCEPTIONS
indexerConfig
[
INDEXER_TVDB
][
'
show_url
'
]
=
'
http://thetvdb.com/?tab=series&id=
'
indexerConfig
[
INDEXER_TVDB
][
'
base_url
'
]
=
'
http://thetvdb.com/api/%(apikey)s/series/
'
%
indexerConfig
[
INDEXER_TVDB
][
'
api_params
'
]
...
...
@@ -51,6 +52,6 @@ indexerConfig[INDEXER_TVDB]['base_url'] = 'http://thetvdb.com/api/%(apikey)s/ser
indexerConfig
[
INDEXER_TVRAGE
][
'
trakt_id
'
]
=
'
tvrage_id
'
indexerConfig
[
INDEXER_TVRAGE
][
'
xem_origin
'
]
=
'
rage
'
indexerConfig
[
INDEXER_TVRAGE
][
'
icon
'
]
=
'
tvrage16.png
'
indexerConfig
[
INDEXER_TVRAGE
][
'
scene_loc
'
]
=
'
../lib/scene_exceptions/tvrage/exceptions.txt
'
indexerConfig
[
INDEXER_TVRAGE
][
'
scene_loc
'
]
=
TVRAGE_EXCEPTIONS
indexerConfig
[
INDEXER_TVRAGE
][
'
show_url
'
]
=
'
http://tvrage.com/shows/id-
'
indexerConfig
[
INDEXER_TVRAGE
][
'
base_url
'
]
=
'
http://tvrage.com/showinfo.php?key=%(apikey)s&sid=
'
%
indexerConfig
[
INDEXER_TVRAGE
][
'
api_params
'
]
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment