Latest WACUP public preview for x86 & x64 is build #20202 (September 28th 2024) (x86 & x64 changelogs)
Latest restricted WACUP beta release is build #20202 (September 28th 2024) (x86 & x64 changelogs)


NOTE: Beta testers are added in a limited & subjective manner as I can only support so many people as part of the beta test program to keep it useful for my needs.

Unless I think you're going to be helpful, not all requests will be accepted but might still be later on. Remember that beta testing is to help me & the limitations currently works for my needs for this project.

Author Topic: Help me with some ATF formatting please  (Read 838 times)

winamped

  • Jr. Member
  • **
  • Posts: 6
    • View Profile
Help me with some ATF formatting please
« on: July 26, 2024, 02:31:25 AM »
Hi, all.

After spending over an hour trying to figure this out, I figured it would be simpler to just ask.

I wanted to format my title to display as such,
Album - TrackNumber(if it exists) - Title - Artist(if it exists)
where it doesn't wind up with additional spaces and dashes.

Despite what the ATF Reference says, you will wind up with the spaces and dashes if that metadata is empty.
e.g. with just the title,
 - - Title -

I tried this,
[%album% - ][$num(%track%,2) - ]$if2(%title%,$filepart(%filename%))[ - %artist%]
but as I said, it would just add those spaces and dashes, the track# will be 00 if the field is empty.

Can someone please tell me how to format this? Thanks.

Aminifu

  • Beta Tester
  • Hero Member
  • *****
  • Posts: 1199
    • View Profile
Re: Help me with some ATF formatting please
« Reply #1 on: July 26, 2024, 04:01:55 AM »
The lower ATF string looks correct. There is a bug in the prior beta version #19516. Try the latest version #19762, if you have access to it. Otherwise you will need to wait for an updated public preview version.
« Last Edit: July 26, 2024, 04:04:33 AM by Aminifu »
Windows 11 Home 64-bit v23H2
Logitech Z906 5.1 speaker system

Eris Lund

  • The Skin Guy, Official Modern Skin tech support
  • Beta Tester
  • Hero Member
  • *****
  • Posts: 302
    • View Profile
    • Eris Lund's Github
Re: Help me with some ATF formatting please
« Reply #2 on: July 26, 2024, 04:04:39 AM »
Build 19762 is not yet out as a preview build, header in the forum also indicates as such
Maker of Plugins, I suppose.
gen_native:
https://github.com/0x5066/gen_native
vis_sdl2:
https://github.com/0x5066/WinampVis
(I know, creative names)

dro

  • Admin / WACUP Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 4768
    • View Profile
    • WACUP (Winamp Community Update Project)
Re: Help me with some ATF formatting please
« Reply #3 on: July 26, 2024, 10:42:20 AM »
It was a bug introduced as part of some crash reports which incorrectly broke some of the assumptions which is now into testing with the 19762 beta build that only went up last night. Once things have been tested for a bit I'll be looking to update the preview build with something a bit newer for this & some of the other issues that the 19516 preview build has.

-dro

winamped

  • Jr. Member
  • **
  • Posts: 6
    • View Profile
Re: Help me with some ATF formatting please
« Reply #4 on: August 10, 2024, 10:40:07 PM »
Okay, thanks, as long as it's going to be fixed in the future, I can wait.  :) 8)