-
Notifications
You must be signed in to change notification settings - Fork 276
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added unicode_literals to GenericProvider #677
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Contributor
p0psicles
commented
Jun 9, 2016
- PR is based on the DEVELOP branch
- Don't send big changes all at once. Split up big PRs into multiple smaller PRs that are easier to manage and review
- Read contribution guide
- Also adapted all providers, to make use of the future import unicode_literals
- Removed the decode()/encode()
- Cleaned up some double to single quotes
- Added proper exceptions for the provider results items
- Some logging cleanup using format()
* Also adapted all providers, to make use of the future import unicode_literals * Removed the decode()/encode() * Cleaned up some double to single quotes * Added proper exceptions for the provider results items * Some logging cleanup using format()
p0psicles
added
Concluded
Needs review
Needs testing
Requires testing to make sure it's working as intended
labels
Jun 9, 2016
@@ -125,7 +125,6 @@ def get_providers_list(data): | |||
providers_dict[default.name].enable_daily = default.enable_daily | |||
providers_dict[default.name].enable_backlog = default.enable_backlog | |||
providers_dict[default.name].enable_manualsearch = default.enable_manualsearch | |||
providers_dict[default.name].catIDs = default.catIDs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was the cause for an issue where the category id's are always overwritten, after a restart. You could change the categories in the provider_config. But a restart would revert it back to 5030,5040
3 tasks
1 similar comment
p0psicles
pushed a commit
that referenced
this pull request
Jun 18, 2016
* Standardize first 10 providers * Small anizb update * Small bluetigers update * Next 10 providers * Added unicode_literals to GenericProvider (#677) * Added unicode_literals to GenericProvider * Also adapted all providers, to make use of the future import unicode_literals * Removed the decode()/encode() * Cleaned up some double to single quotes * Added proper exceptions for the provider results items * Some logging cleanup using format() * Now Really remove the .decodes() * Also removed the encodes. * Fixed after a search/replace * Fixed docstrings * Next 11 providers * Next 11 providers, removed sceneelite * Last 9 providers * Remove sceneelite from init * Renamed all search_params to search_strings * Fix for GFTracker * Fix TNTVillage * Fix HDTorrents * Fix Extratorrent * Fix HDSpace * Use string in SQL with unicode_literals in GenericProvider * Fix BITHDTV * Fix TVChaosUK * Added flag to newznab, for torznab providers. If it's torznab then results are sorted by seeders in search.py. * Improve BitSnoop * Improve Anizb * Improve Bluetigers * Cleanup BTdigg * Improve Hounddawgs * Improve FreshOn * More improvements and cleanups * Fix ThePirateBay * Fix for omgwtfnzb, needed a default value, cause getattr doesn't do that by default. * Add size to freshon, cleanup, fix for tvchaosuk * Improve size parsing code Freshon * Fixes for ExtraTorrent and HDTorrents * Fixed bithdtv * For when it's not getting back the 750px tables. * Fix tokyotoshokan provider errors * Fixed properSearch. * listPropers does an sql, but accessing the row, requires it to use b'' * Added newznab search by search_query fallback, when search by tvdbid does not give back results. * Fix HDTorrents, use urljoin, partial rewrite * Fix rare Zooqle error * Improve HDTorrents, bring back ugly hack * Improve TNTVillage, fix daily search, much more * Fix BIT-HDTV * More standardization * More standardization * Bring back eng releases only option * small fixup * Small tnt change * Update daily search url * Remove freeleech option for MTV * Remove TypeError from connection time out * FIx repeated keyword in dict * More standardization * Standardize method names and order * FIx missed URL join * Standardize string formatting * Last small changes * Change TPB url, update cache to 20 min * More providers (#698) * Remove redundant character escapes * Use augmented assignment * Fix indentation * Use six.iteritems for py3 compatibility * Store hash for torrentproject
p0psicles
added a commit
that referenced
this pull request
Jun 19, 2016
#658) * Moved seeders sorting out of providers code and into the sickbeard/search.py searchProviders() code. * Removed the lambda sort from all providers * Corrected bug introducted in TVCache * Removed bogus condition from GenericProvider. That condition can never be true. * Standardize providers (#665) * Standardize first 10 providers * Small anizb update * Small bluetigers update * Next 10 providers * Added unicode_literals to GenericProvider (#677) * Added unicode_literals to GenericProvider * Also adapted all providers, to make use of the future import unicode_literals * Removed the decode()/encode() * Cleaned up some double to single quotes * Added proper exceptions for the provider results items * Some logging cleanup using format() * Now Really remove the .decodes() * Also removed the encodes. * Fixed after a search/replace * Fixed docstrings * Next 11 providers * Next 11 providers, removed sceneelite * Last 9 providers * Remove sceneelite from init * Renamed all search_params to search_strings * Fix for GFTracker * Fix TNTVillage * Fix HDTorrents * Fix Extratorrent * Fix HDSpace * Use string in SQL with unicode_literals in GenericProvider * Fix BITHDTV * Fix TVChaosUK * Added flag to newznab, for torznab providers. If it's torznab then results are sorted by seeders in search.py. * Improve BitSnoop * Improve Anizb * Improve Bluetigers * Cleanup BTdigg * Improve Hounddawgs * Improve FreshOn * More improvements and cleanups * Fix ThePirateBay * Fix for omgwtfnzb, needed a default value, cause getattr doesn't do that by default. * Add size to freshon, cleanup, fix for tvchaosuk * Improve size parsing code Freshon * Fixes for ExtraTorrent and HDTorrents * Fixed bithdtv * For when it's not getting back the 750px tables. * Fix tokyotoshokan provider errors * Fixed properSearch. * listPropers does an sql, but accessing the row, requires it to use b'' * Added newznab search by search_query fallback, when search by tvdbid does not give back results. * Fix HDTorrents, use urljoin, partial rewrite * Fix rare Zooqle error * Improve HDTorrents, bring back ugly hack * Improve TNTVillage, fix daily search, much more * Fix BIT-HDTV * More standardization * More standardization * Bring back eng releases only option * small fixup * Small tnt change * Update daily search url * Remove freeleech option for MTV * Remove TypeError from connection time out * FIx repeated keyword in dict * More standardization * Standardize method names and order * FIx missed URL join * Standardize string formatting * Last small changes * Change TPB url, update cache to 20 min * More providers (#698) * Remove redundant character escapes * Use augmented assignment * Fix indentation * Use six.iteritems for py3 compatibility * Store hash for torrentproject
labrys
pushed a commit
that referenced
this pull request
Jun 19, 2016
* Added unicode_literals to GenericProvider * Also adapted all providers, to make use of the future import unicode_literals * Removed the decode()/encode() * Cleaned up some double to single quotes * Added proper exceptions for the provider results items * Some logging cleanup using format() * Now Really remove the .decodes() * Also removed the encodes. * Fixed after a search/replace * Fixed docstrings
fernandog
removed
the
Needs testing
Requires testing to make sure it's working as intended
label
Feb 9, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.