Comments (3)
reopening as a new issue from a discussion on #10993, as suggested by @opusforlife2. Here is the state of my research on the topic so far:
- the
getPlaylists()
queries in theRemotePlaylistDAO
and local playlist DAO classes seem to be ordered by display index, as expected, which lets me think that the issue is with either merge logic or the updating of display indices, but not with the queries themselves - the fact that only autogenerated remote playlists are affected is very strange and confuses me greatly
- the fact that remote playlists are sorted alphabetically before all other playlists may indicate that they share the same display index
- this line sets the display index to
-1
for all remote playlists by default (which is strange, because newly bookmarked remote playlists do not appear at the top of the bookmarked playlists but at the bottom) - the only place in the entire codebase where
setDisplayIndex()
is called on aPlaylistRemoteEntity
is inBookmarkFragment.saveImmediate()
, which is called byBookmarkFragment.onPause()
(this corresponds with the moment at which the playlists are moved all the way up)- in
saveImmediate()
,debounceSaver.getIsModified()
returns false so the function returns immediately. The code which computes and updates the display index for playlists is not executed. it seems that the issue is with thedebounceSaver
in some way, but i do not understand this part of the application very well
- in
from newpipe.
you can consider that i working on this btw, I just won't have time in the next couple of days.
Here's a new specificity i observed about the behavior (shown in the video below): the buggy reordering is only triggered when the playlist is loaded. Once it has been loaded, opening it does not trigger the reordering
video_2024-04-30_11-05-52.mp4
from newpipe.
@ajgae If it's a small bug fix, easy to review, sure. Otherwise it might be postponed for, or after, the rewrite.
from newpipe.
Related Issues (20)
- SAF error HOT 6
- Control buttons in the notification bar do not appear HOT 5
- Can't select search button with controller (Nintendo Switch)
- Unrecoverable Player Error Occured HOT 3
- What's New page, "New Feed Items" displayed every time when a live feed is upcoming
- Pause volume recover HOT 2
- "Resume Playback" Option Is Ignored And Playback Position Is Always Saved HOT 1
- View feed while it is fetching new videos HOT 2
- Keep video on screen while scrolling comments and related videos
- rss button missing in channel page on v0.27.0
- Error after return to media HOT 2
- UI error crash when playing video in background after screen is off. HOT 2
- Full UI crash when attempting to continue playback while disconnected from the internet via permisions HOT 3
- crash (stack trace included) HOT 2
- Hide (or mark "watched") live streams on "What's New" page HOT 13
- App Crashing Adding the Short Video in Now Playing Playlist. HOT 7
- Please add these features in Newpipe
- Please build a translator into NewPipe. HOT 5
- Crashes when open Bandcamp HOT 2
- Pausing download makes download unrecoverable HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from newpipe.