-
Notifications
You must be signed in to change notification settings - Fork 275
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
Add network information while adding new show #3430
Conversation
fernandog
commented
Dec 7, 2017
•
edited
Loading
edited
Codecov Report
@@ Coverage Diff @@
## develop #3430 +/- ##
========================================
Coverage 33.06% 33.06%
========================================
Files 275 275
Lines 34613 34613
========================================
Hits 11446 11446
Misses 23167 23167
Continue to review full report at Codecov.
|
What does it look like using tmdb or tvmaze? |
Doesn't matter which indexer |
btw should we order by date? Seems there is no order in the result list |
medusa/server/web/home/add_shows.py
Outdated
@@ -100,7 +100,8 @@ def searchIndexersForShowName(search_term, lang=None, indexer=None): | |||
|
|||
for i, shows in iteritems(results): | |||
final_results.extend({(indexerApi(i).name, i, indexerApi(i).config['show_url'], int(show['id']), | |||
show['seriesname'].encode('utf-8'), show['firstaired']) for show in shows}) | |||
show['seriesname'].encode('utf-8'), show['firstaired'] or 'N/A', | |||
show['network'] or 'N/A') for show in shows}) |
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.
Are there any networks which should be encoded?
@p0psicles anything else? |