Skip to content
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

[WIP] Recommended shows version 2 #5782

Merged
merged 86 commits into from
Aug 7, 2021
Merged

[WIP] Recommended shows version 2 #5782

merged 86 commits into from
Aug 7, 2021

Conversation

p0psicles
Copy link
Contributor

@p0psicles p0psicles commented Nov 25, 2018

  • 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 the contribution guide

This is a complete rework of the recommended show page.
Goal of this PR is:

  • Cache recommended shows during a nightly scheduled task, in it's dedicated thread
  • Store all recommended show info in db (dogpile is still enabled) but will be removed eventually
  • Add text filter option
  • Add new recommended show pages. For example IMDB watchlists, personal anidb lists
  • Bring back the trakt and (other) subcategories
  • Have one Vue template that displays all posters, with more configuration options (in progress)
  • configure which recomm list you want to cache at night, or disable it
  • If disabled, the user can start the "nightly" scheduled task, manually and wait for results.
  • Instead of just adding, you will now get a dropdown with the indexers to directly add them to. It uses the internal indexer_mapping table. So for example trakt provides the shows with a tvdb and tmdb id. You can then choose which indexer you want to use.

image

* Add link to trakt show (needs the anom from vue)
* Add option to disable rec show caching. (default on)
Moved addShows jquery, to vue mounted.
First start with working vue recommended show page.
@ghost
Copy link

ghost commented Nov 25, 2018

DeepCode analyzed this pull request.
There are 2 new info reports.

Click to see more details.

* Fixed isotope using vueisotope.
* Added db columns image_src and mapped_series_id.
* Moved the save_to_db to the for loop. Making it save after each show. And not wait until all shows have been parsed.
* Fixed store.
@ghost
Copy link

ghost commented Nov 26, 2018

DeepCode analyzed this pull request.
There are 3 new info reports.

Click to see more details.

* All external id's are now saved in indexer_mappings.
@OmgImAlexis OmgImAlexis requested review from OmgImAlexis and medariox and removed request for OmgImAlexis November 26, 2018 20:59
Copy link
Collaborator

@OmgImAlexis OmgImAlexis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So far so good.

themes-default/slim/src/store/modules/recommended.js Outdated Show resolved Hide resolved
@OmgImAlexis OmgImAlexis added Needs testing Requires testing to make sure it's working as intended Needs test (Vue) Needs tests added for this change (Vue) labels Nov 26, 2018
as a more all purpose queuing thread.
* Created a queue item for recommended lists updating.
* Queue the recommended show updates from the show_updater.
@pymedusa pymedusa deleted a comment Dec 8, 2018
* Added new store method addShow.
* Added selectedShowOptions options to addShows_recommended_vue.mako
@ghost
Copy link

ghost commented Dec 16, 2018

DeepCode analyzed this pull request.
There are 2 new info reports.

Click to see more details.

…c-show-v2

# Conflicts:
#	medusa/scene_numbering.py
#	themes-default/slim/src/store/index.js
#	themes-default/slim/yarn.lock
#	themes/dark/assets/js/medusa-runtime.js
#	themes/light/assets/js/medusa-runtime.js
@ghost
Copy link

ghost commented Dec 16, 2018

DeepCode analyzed this pull request.
There are 2 new info reports.

Click to see more details.

# Conflicts:
#	medusa/server/web/home/add_shows.py
#	medusa/show/recommendations/anidb.py
#	medusa/show/recommendations/recommended.py
#	medusa/show/recommendations/trakt.py
@ghost
Copy link

ghost commented Dec 23, 2018

DeepCode analyzed this pull request.
There are 2 new info reports.

Click to see more details.

@p0psicles p0psicles merged commit 1816b75 into develop Aug 7, 2021
@p0psicles p0psicles deleted the feature/rec-show-v2 branch August 7, 2021 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs test (Vue) Needs tests added for this change (Vue) Needs testing Requires testing to make sure it's working as intended
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants