Adding New File Types

I wanted to add new file types to assign to different audio files. The current list is limited and I cannot find anywhere how to add or make my own file types and icon.

For example: In the database program, I want to mass edit a folder of audio files and assign a ‘type’ to them that does not appear in the drop down list. I see you have ‘custom’ 1 to 3 but I cannot edit those to what I want.

For example: I wanted to make a “Comedy Bit” type.

Am I missing something, or is this not possible? Please let me know how to do this.

Thank you,


It is not possible. AFAIR the “Custom 1 to 3” is hard coded into the source code and therefore can’t be renamed.

“Type” was/is only ment for a general Classification. A change would need some heavy code changes under the hood because “Type” also is reflected in Logging and Metadata sending. So every new “Type” needs to be reflected there too.

But you could use an Attribute with a checkmark. This allows you to sort for it and plan it in the scheduler too.

2 Likes

So I might propose a feature request to assign personalised labels to the types Custom 1 to Custom 3, maybe even for all of the types.

2 Likes

As I wrote, this is not possible.

Please read carefully: I do not want to have new/different types to be created, but the ability to assign individual labels to the existing types which are shown instead.

1 Like

Tondose, that would actually be a great work around, as it does give the ability to more accurately name items or change the unused ‘types’ to something more usable in a persons library. Thus giving more flexibility and better understanding to what an audio file ‘type’ is, especially when sorting in the database etc.

The ‘Attribute with a checkmark’ that Stefan suggests might work as well, or at least good enough if no customization of the ‘types’ names can’t be done.

1 Like

The playlist item types are internally implemented as a Delphi enum TPlaylistItemType and a set thereof:

  TPlaylistItemType = (
    pitUnknown,
    pitMusic,
    // etc.
  );
  TPlaylistItemTypes = set of TPlaylistItemType;

This allows me to use these values, and sets, efficiently in filters etc.

Also, the various GUI controls (menus, trees, checkbox lists, …) you see are auto-generated from a list of labels that is associated with this enum type via runtime type information (RTTI), so it is basically generated from the labels I set in the Delphi code. I use this in many more places, e.g. the various option checkbox lists all over the software.

The cool thing is that when I introduce e.g. a new playlist option, I just have to define the enum value and the label in a single place, and it instantly appears in all associated GUI controls.

However, this auto-generation code doesn’t have any mechanism to filter values or rename labels in the process.

Being able to filter or rename item types has been mentioned before as a feature request, so I will keep it in mind, but right now, it cannot be done.

5 Likes