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

Notification on release #53

Merged
merged 41 commits into from
Feb 10, 2025
Merged

Notification on release #53

merged 41 commits into from
Feb 10, 2025

Conversation

aleiepure
Copy link
Owner

No description provided.

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.
gnesterif and others added 11 commits November 3, 2023 14:12
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.
@aleiepure aleiepure merged commit ecacfaf into main Feb 10, 2025
1 check passed
@aleiepure aleiepure deleted the notification-on-release branch February 10, 2025 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants