Skip to content

Commit

Permalink
README Ratings overview
Browse files Browse the repository at this point in the history
  • Loading branch information
Dreamlinerm committed Oct 8, 2024
1 parent 544d84a commit 0af2b1c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,21 @@ Import and Export all Settings.

See Statistics. All statistics and settings are not shared but are synchronized with your browser account.

## Ratings

The ratings are gathered from the TMDB API. Ratings are refreshed every month.
If there is no score they are refreshed once per day. If the movie is newer than 50 days and has less than 100 votes it will get refreshed every 3 days.

| Rating | Explanation |
| --- | --- |
| ? | Title not found |
| N/A | Too new movie or less than 80 votes |
| <div style="background-color:grey;width:20px;height:20px;"><div> | ? or N/A |
| <div style="background-color:red;width:20px;height:20px;"><div> | <= 5.5 stars|
| <div style="background-color:rgb(245, 197, 24);width:20px;height:20px;"><div> | <= 7 stars|
| <div style="background-color:rgb(0, 166, 0);width:20px;height:20px;"><div> | >7 stars|


# Implemented Feature Overview

| abbrev. | definition |
Expand Down
2 changes: 1 addition & 1 deletion firefox/skipper.js
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ if (isPrimeVideo || isNetflix || isDisney || isHotstar || isCrunchyroll || isHBO
if (!DBCache[title]?.date) DBCache[title].date = today;
const vote_count = DBCache[title]?.vote_count || 100;
const diffInReleaseDate =
// vote count is under 80 accurate rating
// vote count is under 80 inaccurate rating
vote_count < 100 &&
// did not refresh rating in the last 2 days
getDiffInDays(DBCache[title].date, date) > 2 &&
Expand Down

0 comments on commit 0af2b1c

Please sign in to comment.