Private GIT
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Sick-Beard
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
Sick-Beard
Commits
64f96e22
Commit
64f96e22
authored
Jan 20, 2011
by
Nic Wolfe
Browse files
Options
Downloads
Patches
Plain Diff
Store the WDTV options in the config
parent
9831f8fa
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
sickbeard/__init__.py
+5
-1
5 additions, 1 deletion
sickbeard/__init__.py
with
5 additions
and
1 deletion
sickbeard/__init__.py
+
5
−
1
View file @
64f96e22
...
...
@@ -96,6 +96,7 @@ USE_LISTVIEW = None
METADATA_XBMC
=
None
METADATA_MEDIABROWSER
=
None
METADATA_PS3
=
None
METADATA_WDTV
=
None
QUALITY_DEFAULT
=
None
SEASON_FOLDERS_FORMAT
=
None
...
...
@@ -308,7 +309,7 @@ def initialize(consoleLogging=True):
NAMING_DATES
,
EXTRA_SCRIPTS
,
USE_TWITTER
,
TWITTER_USERNAME
,
TWITTER_PASSWORD
,
TWITTER_PREFIX
,
\
USE_BANNER
,
USE_LISTVIEW
,
METADATA_XBMC
,
METADATA_MEDIABROWSER
,
METADATA_PS3
,
metadata_provider_dict
,
\
NEWZBIN
,
NEWZBIN_USERNAME
,
NEWZBIN_PASSWORD
,
GIT_PATH
,
MOVE_ASSOCIATED_FILES
,
\
COMING_EPS_LAYOUT
,
COMING_EPS_SORT
,
COMING_EPS_DISPLAY_PAUSED
COMING_EPS_LAYOUT
,
COMING_EPS_SORT
,
COMING_EPS_DISPLAY_PAUSED
,
METADATA_WDTV
if
__INITIALIZED__
:
return
False
...
...
@@ -502,10 +503,12 @@ def initialize(consoleLogging=True):
METADATA_XBMC
=
check_setting_str
(
CFG
,
'
General
'
,
'
metadata_xbmc
'
,
'
0|0|0|0|0|0
'
)
METADATA_MEDIABROWSER
=
check_setting_str
(
CFG
,
'
General
'
,
'
metadata_mediabrowser
'
,
'
0|0|0|0|0|0
'
)
METADATA_PS3
=
check_setting_str
(
CFG
,
'
General
'
,
'
metadata_ps3
'
,
'
0|0|0|0|0|0
'
)
METADATA_WDTV
=
check_setting_str
(
CFG
,
'
General
'
,
'
metadata_wdtv
'
,
'
0|0|0|0|0|0
'
)
for
cur_metadata_tuple
in
[(
METADATA_XBMC
,
metadata
.
xbmc
),
(
METADATA_MEDIABROWSER
,
metadata
.
mediabrowser
),
(
METADATA_PS3
,
metadata
.
ps3
),
(
METADATA_WDTV
,
metadata
.
wdtv
),
]:
(
cur_metadata_config
,
cur_metadata_class
)
=
cur_metadata_tuple
...
...
@@ -791,6 +794,7 @@ def save_config():
new_config
[
'
General
'
][
'
metadata_xbmc
'
]
=
metadata_provider_dict
[
'
XBMC
'
].
get_config
()
new_config
[
'
General
'
][
'
metadata_mediabrowser
'
]
=
metadata_provider_dict
[
'
MediaBrowser
'
].
get_config
()
new_config
[
'
General
'
][
'
metadata_ps3
'
]
=
metadata_provider_dict
[
'
Sony PS3
'
].
get_config
()
new_config
[
'
General
'
][
'
metadata_wdtv
'
]
=
metadata_provider_dict
[
'
WDTV
'
].
get_config
()
new_config
[
'
General
'
][
'
cache_dir
'
]
=
CACHE_DIR
if
CACHE_DIR
else
'
cache
'
new_config
[
'
General
'
][
'
tv_download_dir
'
]
=
TV_DOWNLOAD_DIR
...
...
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