Can I change the extensions assigned to categories like 'Audio'?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
Andarras
Posts: 10
Joined: 23 Apr 2018 09:48

Can I change the extensions assigned to categories like 'Audio'?

Post by Andarras »

Hi all,

I'm setting up some catalog searches to centralise and manage my media libraries. What I'm noticing is that mp4's are returned when I search on 'Audio Files'. Just wanting to confirm if there's a way for me to define what files are attached to these categories?

Thanks!

highend
Posts: 15004
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Can I change the extensions assigned to categories like 'Audio'?

Post by highend »

There are tweaks to do this: https://www.xyplorer.com/faq-topic.php?id=tweak

Code: Select all

AudioPreviewCustomExtensions=
But don't ask me how the pattern to remove an entry looks like, I don't get what Don means with
; Tweak: add (bim, bum)/remove (bam) extensions to/from factory defaults: bim.-bam.bum
One of my scripts helped you out? Please donate via Paypal

Andarras
Posts: 10
Joined: 23 Apr 2018 09:48

Re: Can I change the extensions assigned to categories like 'Audio'?

Post by Andarras »

Thanks, yeah that doesn't make much sense to me either. Surprising that an mp4 comes up with audio files search though. Will just have to manually build a search with a list of file extensions of my own.

Thanks anyway!

admin
Site Admin
Posts: 66719
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Can I change the extensions assigned to categories like 'Audio'?

Post by admin »

I added MP4 to the audio files category years ago because I own some mp4 that apparently are audio only. But now a research seems to clearly say that MP4 is a video format. Maybe my files were just mis-named... :eh:

So, I will remove it from the audio files category if nobody objects.

highend
Posts: 15004
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Can I change the extensions assigned to categories like 'Audio'?

Post by highend »

Will just have to manually build a search with a list of file extensions of my own.
Can be scripted as well, e.g.:

Code: Select all

    $audio = get("genericfiletype", "{:Audio}", ",");
    $audio = formatlist($audio, "eF", ",", "!*.mp4,*.mp+");
if nobody objects
No objection
One of my scripts helped you out? Please donate via Paypal

Post Reply