-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Repeated duplicate notification for subscription #10237
Comments
I see now that it's notifying for the "timeshares" video every time, about 3 times in as many days. |
I would like to add a slightly different case for the same bug, I believe: |
I've been having the same bug for some weeks/months now. It comes and goes. v0.25.2 |
Has anyone tried toggling new stream notifications off and then back on? |
Just tried that (after having it happen again today/yesterday). |
I am not able to reproduce this issue. I'd guess that this is caused by database inconsistencies. Please do the following to this so I can investigate further:
|
Happened again earlier today. |
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further. |
This is most likely caused by an automatic DB cleanup which removes streams which are older than 13 weeks: NewPipe/app/src/main/java/org/schabi/newpipe/local/feed/FeedDatabaseManager.kt Lines 32 to 36 in be47609
The cleanup is run after each feed update and thus removes old streams right after adding them: NewPipe/app/src/main/java/org/schabi/newpipe/local/feed/service/FeedLoadManager.kt Lines 239 to 257 in be47609
We might need to introduce some additional logic to the corresponding SQL query to keep the newest NewPipe/app/src/main/java/org/schabi/newpipe/database/feed/dao/FeedDAO.kt Lines 96 to 110 in be47609
|
Add tests for `FeedDAO.unlinkStreamsOlderThan(:offsetDateTime) ` Closes TeamNewPipe#10237
Please test the APK from #10494 and report if the issue is fixed |
Just installed, set notifications check to 1 hour, subscribed to 3 different news channels on YouTube, and set them all to notify. 🤷🏿♂️ |
Never received a notification and it wasn't automatically refreshing the feed, so I refreshed it manually and had a buncha videos loaded. Not sure if it's automatically refreshing itself now, though. 🤷🏿♂️ |
Received 42 notifications in 3 chunks 9.5hrs ago. 🤷🏿♂️🥳 |
Received >33 notifications in 2 chunks (18 & 9) and individual parts (>6) 8.22hrs ago all at the same time. 🤷🏿♂️ |
@QuestioningEspecialy Can you import the database and settings from your current NewPipe version? Refresh the feed after that once. After that we should see whether the bug still occurs or whether regressions were introduced, |
Guess it'll kick in after another day or 2. 🤷🏿♂️ |
Kicked in yesterday with a notification from 5 separate channels all at the same time. |
Just had 36 more in 7 small(-ish) chunks and a buncha individual notifications. Same time. Multiple channels. |
Is the problem of getting duplicate notifications solved? |
Yeah, it is. Just still have the delayed notifications issue where it's set for checking every hour but checks every day or so instead. 🤷🏿♂️ I'm specifically referring to the fix-new-streams version of NewPipe, btw. |
Is that bug present in the normal NewPipe version? |
70% certain it still is, but would need a day to just pay attention (and take screenshots to keep track). edit: @TobiGr settings:
|
Add tests for `FeedDAO.unlinkStreamsOlderThan(:offsetDateTime) ` Closes TeamNewPipe#10237
Checklist
Affected version
0.25.1
Steps to reproduce the bug
Expected behavior
Since I've already seen it, I'd expect no notification for that episode
Actual behavior
The notification re-appears at semi-regular intervals.
Screenshots/Screen recordings
Logs
No response
Affected Android/Custom ROM version
Android 13, June 2023 security patches
Affected device model
Pixel 7a
Additional information
I have seen this for quite a while, and it appears to happen more often now than before. It currently alternates between notifying for "FYC" and "Timeshares" so maybe these are switching location in the page layout or something?
The text was updated successfully, but these errors were encountered: