Latest WACUP public preview for x86 & x64 is build #24496 (May 8th 2026) (x86 & x64 changelogs)
Latest restricted WACUP beta release is build #24496 (May 8th 2026) (x86 & x64 changelogs)

Author Topic: Rescan missing files like old Winamp  (Read 3278 times)

diegosnip

  • Newbie
  • *
  • Posts: 2
    • View Profile
Rescan missing files like old Winamp
« on: May 04, 2026, 12:45:17 AM »
Hi, I'm new here, thank you very much for the project, it is amazing. I don't use the Library, this is concerning the Playlist only. I track missing files with red background colour, it works great when launching wacup but there doesn't seem to be a way to detect files that were deleted outisde the app with the app open (there's a setting to scan for missing files each X segs but that would mean to have a timer running all the time and I don't want that). In Winamp, if you move any item in your playlist changing its order, it would detect the missing files and colour them red instantly. Any chance to add some way to redetect missing files and paint them accordingly? it would me amazing if it's automatic when moving items in the playlist and/or playing an item but it could also work with some manual way to do it like pressing F5 or something. Thank you in advance, best regards
EDIT: I'm using modern skin, wacup 1.99.49.24360
« Last Edit: May 04, 2026, 12:54:10 AM by diegosnip »

dro

  • Admin / WACUP Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 5753
    • View Profile
    • WACUP (Winamp Community Update Project)
Re: Rescan missing files like old Winamp
« Reply #1 on: May 04, 2026, 09:35:46 AM »
winamp's missing file mode wasn't a native feature & was done as a hack via my JTFE plug-in. The feature always needed polling to work properly per the playlist -> missing files prefs page. I get that polling isn't ideal but having it re-check on paint events was a problem that caused more issues so I'm going to say I have no plans to change how wacup's implementation works which is different to what was able to be done under winamp & reduces the impact of the polling mode by limiting it to just the currently seen items instead of generically looking at the whole playlist.

diegosnip

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Rescan missing files like old Winamp
« Reply #2 on: May 08, 2026, 07:19:05 AM »
Hi, thanks for answering. I've solved it making a plugin that fast opens settings and enables the polling timer on playlist modification, then disables it 4 secs later. Couldn't do it through apis, tried a lot, it seems the scanning feature isn't exposed. It doesn't matter anyway, this way it works very good for my use case and I'm happy with it but I have another question if you could help.

Is there any updated wa_ipc.h or documentation with the new apis? I hadn't found any command to move an item from the playlist to a different index (or to delete and add a song in a specific index). I could delete sending vk_delete but I can't add or move to a specific index which was my desire. Could you please expose some command/ipc to do it?.
Thank you very much in advance

dro

  • Admin / WACUP Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 5753
    • View Profile
    • WACUP (Winamp Community Update Project)
Re: Rescan missing files like old Winamp
« Reply #3 on: May 08, 2026, 10:16:02 AM »
I don't get why you're doing any of that as enabling it briefly still leaves you with the problem of it not tracking things & by doing it that way you're forcing it to rescan all of the files instead of just letting it only do what's seen which is causing more processing that you seemingly were trying to avoid vs just leaving the polling option on as I've already explained the jtfe plug-in under winamp did. There is no newer header nor is there an api for doing any of the things being mentioned.