We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 835c5e9 commit 01e0dd5Copy full SHA for 01e0dd5
1 file changed
app/src/main/java/org/schabi/newpipe/player/playqueue/PlayQueue.java
@@ -532,8 +532,11 @@ public boolean equals(@Nullable final Object obj) {
532
return false;
533
}
534
for (int i = 0; i < size(); i++) {
535
- // Check is based on URL
536
- if (!streams.get(i).getUrl().equals(other.streams.get(i).getUrl())) {
+ final PlayQueueItem stream = streams.get(i);
+ final PlayQueueItem otherStream = other.streams.get(i);
537
+ // Check is based on serviceId and URL
538
+ if (stream.getServiceId() != otherStream.getServiceId()
539
+ || !stream.getUrl().equals(otherStream.getUrl())) {
540
541
542
0 commit comments