whatsnowplaying / whats-now-playing

Titling software for streamers who use DJ software like Serato, Virtual DJ, and more.
MIT License
62 stars 11 forks source link

πŸ› Bug Report: Stops recognising new songs after 2 #994

Open Kayrah87 opened 10 months ago

Kayrah87 commented 10 months ago

πŸ“œ Description

It appears to stop picking up file system changes after the first two tracks. It becomes stuck on the second track and will not proceed

πŸ‘Ÿ Reproduction steps

When I load a DJuced playlist I play the first track in deck 1. The template shows in in OBS and the twitchbot receives the first track info in the chat. I load the second track into deck 2. When I hit play the template changes in OBS, and the new track title is sent to twitch chat. I load the third track into deck 1, but when I hit play nothing changes on the template and no track info is sent to twitch chat. I have checked playing.txt and can see that DJuced is updating the file accurately. I have also paused Onedrive as I suspected that might be causing issues, but the issue persists

πŸ‘ Expected behavior

The template updates and the twicth chat receives the new track info

πŸ‘Ž Actual Behavior

It remains on the second track info, and does not update either the template or the twitch chat.

πŸ’» Operating system

Windows

πŸ’» Chipset/CPU

Intel

πŸ’» Input source

Other

🧱 Your Environment

I use DJuced for local tracks. I use OBS straight to Twitch. I have a number of visual sources in the scene but I doubt they have anything to do with it. I run Discord in the background and use VRChat in the foreground for my vtube avatar. Note that the issue persists when VRChat is closed. I have paused Onedrive syncing but the issue persists. debug.log

aw-was-here commented 10 months ago

I agree, it definitely sounds like a bug in file change detection. I'll see if I can reproduce. It has been a while since I fired up DJuced so maybe something has changed with it.

Kayrah87 commented 10 months ago

For additional info, I have set up Traktor as my main DJ app to test functionality of the now playing software, and that works absolutely fine. The difference obviously being icecast vs file watcher, which probably helps narrow it down. Hope that helps.

aw-was-here commented 9 months ago

Hmm. Trying this on Win 11 w/DJuced 6.0.1 and it is definitely picking up the 3rd track. I'm working on getting a release out and have a few fixes for other things so it may be an existing bug that is already fixed. Let me upgrade to 6.0.6 and see if that broke things.

aw-was-here commented 7 months ago

I'm hoping this one is fixed in 4.2.0 RC1, esp since I can't reproduce this one.

RoughTradeRadio commented 1 month ago

New to the program, it seems to be just what I was looking for. I downloaded 4.1.0 and was having the no updating after 2 songs issue as well. I switched to 4.2.0 RC1. Sometimes it'll work flawlessly and then there's other times it won't work at all and then other times it'll do the 2 song and stop. I'm using Windows 10, Xsplit and VirtualDJ and the text file output. It does get pulled by Xsplit so I can display the song title on screen when it works. Please let me know what you need and how to give you feedback here. Update since original post: For science I installed 4.0.6 to see what would happenβ€”it works flawlessly for what I need it to do.

Kayrah87 commented 1 month ago

Unfortunately not. It works absolutely fine when the system is under no load, but then when I am streaming and DJing it will pick up maybe 1 song in 5. I have also switched to DJing on a Mac and streaming from another PC so I’ve got the mac running the server for NP and the PC connecting to it over the network. It has exactly the same problems.

Part of me feels now like it’s something to do with a combination of the PC load, the speed of the connection, and maybe a timeout which means that it can’t get the track info in time so just gives up maybe? Just a fleeting guess.

From: RoughTradeRadio @.> Date: Thursday, 17 October 2024 at 17:44 To: whatsnowplaying/whats-now-playing @.> Cc: Kayleigh Whitehurst @.>, Mention @.> Subject: Re: [whatsnowplaying/whats-now-playing] πŸ› Bug Report: Stops recognising new songs after 2 (Issue #994)

@Kayrah87https://github.com/Kayrah87 Did you manage to get this resolved or find a workaround?

β€” Reply to this email directly, view it on GitHubhttps://github.com/whatsnowplaying/whats-now-playing/issues/994#issuecomment-2420025428, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABQTNOL2SFFRTJYW7UWEX6DZ37SODAVCNFSM6AAAAABQDL72J2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRQGAZDKNBSHA. You are receiving this because you were mentioned.Message ID: @.***>

RoughTradeRadio commented 1 month ago

@Kayrah87 I uninstalled the 4.1.x versions off of my PC, cleaned out the C:\Users directory for this program, and did a fresh install of 4.0.6. It works perfectly (except for nagging me to upgrade to 4.1.0 every time I open it; I just click cancel). I spent hours playing with it last night without encountering any glitches. I also turned on OS notifications so I could make sure the data was updating. It was. 4.0.6 is super fast too; it writes the text file in 10 seconds or less, whereas the 4.1.x versions take a minute or more to write the data, if it even does at all.