[GH-ISSUE #1] Sound stutter since commit "9a1df53" #1

Closed
opened 2026-02-28 14:38:37 +03:00 by kerem · 16 comments
Owner

Originally created by @lesar8 on GitHub (Oct 14, 2023).
Original GitHub issue: https://github.com/NTifyApp/NTify/issues/1

Hi, I tried the new build (2.0.0_Version2) but having the same problem.

Originally created by @lesar8 on GitHub (Oct 14, 2023). Original GitHub issue: https://github.com/NTifyApp/NTify/issues/1 Hi, I tried the new build (2.0.0_Version2) but having the same problem.
kerem closed this issue 2026-02-28 14:38:37 +03:00
Author
Owner

@werwolf2303 commented on GitHub (Oct 15, 2023):

Ok can you upload a video of this with the cmd open

<!-- gh-comment-id:1763372261 --> @werwolf2303 commented on GitHub (Oct 15, 2023): Ok can you upload a video of this with the cmd open
Author
Owner

@lesar8 commented on GitHub (Oct 15, 2023):

Ok here it is:
Record.zip

Looking at my recorded clip, I played the track "Angel" for around 1 minute. When the playback bar reached "01:14", I switch to the track "Kiss Them For Me" and sound beginning to stutter heavily, SpotifyXP hanging that is why I could not even click the red "Errors" dialog ..
Btw, the error message is "java.util.ConcurrentModificationException". Hope that helps.

<!-- gh-comment-id:1763464658 --> @lesar8 commented on GitHub (Oct 15, 2023): Ok here it is: [Record.zip](https://github.com/SpotifyXP/SpotifyXP/files/12910300/Record.zip) Looking at my recorded clip, I played the track "Angel" for around 1 minute. When the playback bar reached "01:14", I switch to the track "Kiss Them For Me" and sound beginning to stutter heavily, SpotifyXP hanging that is why I could not even click the red "Errors" dialog .. Btw, the error message is "java.util.ConcurrentModificationException". Hope that helps.
Author
Owner

@werwolf2303 commented on GitHub (Oct 16, 2023):

I think i found the problem. These requests shouldnt be made because all songs are already added to the list. Thats a bug i will try to fix it when I have time

<!-- gh-comment-id:1763757681 --> @werwolf2303 commented on GitHub (Oct 16, 2023): I think i found the problem. These requests shouldnt be made because all songs are already added to the list. Thats a bug i will try to fix it when I have time
Author
Owner

@lesar8 commented on GitHub (Oct 18, 2023):

Hi! I grabbed the new build 1b7090e and the problem is still there.

<!-- gh-comment-id:1767557030 --> @lesar8 commented on GitHub (Oct 18, 2023): Hi! I grabbed the new build 1b7090e and the problem is still there.
Author
Owner

@werwolf2303 commented on GitHub (Oct 18, 2023):

Can you give me a link to the playlist

<!-- gh-comment-id:1768605514 --> @werwolf2303 commented on GitHub (Oct 18, 2023): Can you give me a link to the playlist
Author
Owner

@lesar8 commented on GitHub (Oct 18, 2023):

Sure, here is the link: spotify:playlist:7rTil6uINEa4kPcNn8Pax3

<!-- gh-comment-id:1768953323 --> @lesar8 commented on GitHub (Oct 18, 2023): Sure, here is the link: spotify:playlist:7rTil6uINEa4kPcNn8Pax3
Author
Owner

@werwolf2303 commented on GitHub (Oct 18, 2023):

thanks

<!-- gh-comment-id:1768954002 --> @werwolf2303 commented on GitHub (Oct 18, 2023): thanks
Author
Owner

@lesar8 commented on GitHub (Oct 18, 2023):

I just tried the commit 0d6df97 and 6a90f63, still no luck. I wonder if this happens to you as well?

<!-- gh-comment-id:1769565620 --> @lesar8 commented on GitHub (Oct 18, 2023): I just tried the commit 0d6df97 and 6a90f63, still no luck. I wonder if this happens to you as well?
Author
Owner

@werwolf2303 commented on GitHub (Oct 19, 2023):

It doesnt happen on my side

<!-- gh-comment-id:1769954836 --> @werwolf2303 commented on GitHub (Oct 19, 2023): It doesnt happen on my side
Author
Owner

@werwolf2303 commented on GitHub (Oct 19, 2023):

I have an idea. Install SpotifyXP on your main machine and check if it still happens

<!-- gh-comment-id:1769962585 --> @werwolf2303 commented on GitHub (Oct 19, 2023): I have an idea. Install SpotifyXP on your main machine and check if it still happens
Author
Owner

@werwolf2303 commented on GitHub (Oct 19, 2023):

Just an explanation of the code that fetches all tracks. It does a while loop and it gets the total tracks in the playlist and everytime a track is added it will add +1 to a counter and then it checks if the counter equals the total tracks and if it does the while loop ends. So i dont known whats wrong

<!-- gh-comment-id:1769981327 --> @werwolf2303 commented on GitHub (Oct 19, 2023): Just an explanation of the code that fetches all tracks. It does a while loop and it gets the total tracks in the playlist and everytime a track is added it will add +1 to a counter and then it checks if the counter equals the total tracks and if it does the while loop ends. So i dont known whats wrong
Author
Owner

@werwolf2303 commented on GitHub (Oct 19, 2023):

Can you install Windows XP on a vm and replicate this. Because then I can connect to it and debug the problem

<!-- gh-comment-id:1769988092 --> @werwolf2303 commented on GitHub (Oct 19, 2023): Can you install Windows XP on a vm and replicate this. Because then I can connect to it and debug the problem
Author
Owner

@werwolf2303 commented on GitHub (Oct 19, 2023):

Click on the website on "See it in action" and then run code if it works you have access to the api

<!-- gh-comment-id:1770091539 --> @werwolf2303 commented on GitHub (Oct 19, 2023): Click on the website on "See it in action" and then run code if it works you have access to the api
Author
Owner

@lesar8 commented on GitHub (Oct 20, 2023):

It doesnt happen on my side

Hi. Considering what you said, it's very possible that the problem could depend on specific computer, Java version, OS service pack or whatever..
This brought me an idea, why won't we make a "Spotify device control" as an optional option (checkbox), so when someone like me encounter a similar problem they could easily fix it by (un)check that checkbox !

<!-- gh-comment-id:1772803316 --> @lesar8 commented on GitHub (Oct 20, 2023): > It doesnt happen on my side Hi. Considering what you said, it's very possible that the problem could depend on specific computer, Java version, OS service pack or whatever.. This brought me an idea, why won't we make a "Spotify device control" as an optional option (checkbox), so when someone like me encounter a similar problem they could easily fix it by (un)check that checkbox !
Author
Owner

@werwolf2303 commented on GitHub (Oct 20, 2023):

OK its added to my todo list

<!-- gh-comment-id:1772805387 --> @werwolf2303 commented on GitHub (Oct 20, 2023): OK its added to my todo list
Author
Owner

@lesar8 commented on GitHub (Oct 20, 2023):

The latest commit works fine. Thanks! Maybe one day we will found out the true root cause of this.

<!-- gh-comment-id:1773404322 --> @lesar8 commented on GitHub (Oct 20, 2023): The latest commit works fine. Thanks! Maybe one day we will found out the true root cause of this.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/NTify#1
No description provided.