-
Notifications
You must be signed in to change notification settings - Fork 9
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
Notification on release #53
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
Added four new fields for notification managment. And added a more flexible way to create SeriesModel from local db
In db the field is called activate_notification, and all the series that have the field set to true are called notification list.
Readded the year pill below the image. Also added the status of the movie or series. And then added a tooltip to the badges to explain the meaning.
This fixes the movie details page.
Added more margin to the badges so that they sit more nicely in the poster. Second added preliminary support for coloring the badges white or black depending on the poster background in the upper right corner.
Add color field, add handling in manual dialog, add calculation method to relevant places. Also update update_series_table to include color and create update_movies_table to update color.
This adds activate_notification, soon/new_release to the MovieModel. Adds necessary functions or alters exsisting functions in LocalProvider to accomodate MovieModels. Activates badges for movies in poster_button. Adds logic for movies to the update_notification_list in main_view. And adds relevant buttons in details_page.
This column is used to handle the removal of the new_release flag better. Now if the newest released episode is marked as watched the new_release field is set to false.
This view adds new columns to the database, fetches all content newly from TMDB and shows the progress in a progress bar.
This adds the recent_change flag to the models and adds the corresponding functions in the LocalProvider including the update_*_table() functions.
If the recent_change field is true add a box-shadow and a pulsating effect to the PosterButtons in ContentView. Reset recent_change on closing of application.
On every change of notification status and recent_change the ContentView gets now refreshed assuring that the badges are uptodate.
Remember hours and minutes of the last notification list update. Set recent_change in the logic and improve the notifications. Now only one notification will be shown.
Add a watched detection, that where for some reason not set in my old db. Also included some varios clean up all over the code base.
We now set the watched flag of series to false if a new epsiode has come out.
After the update is finished we ask the user if he wants to activate notification or not. This is done by showing a new page in a carousel
Adds all new strings to gettext and updates po folder. Also added some new labels some other small cleanup.
I could generate some strange behaviour before, now I cannot. I do not know exactly what was the problem, but this seems to fix it.
Corrects soon_release flag calculation in MovieModel, and also adds it to SeriesModel. Therefore removes it from update_series in LocalProvider. Then we improve the badge logic in poster_button.py. And finally corrects a typo in main_view.py that is triggered rarely.
This was referenced Feb 11, 2025
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.
No description provided.