Is -sel:N working to remove duplicates

Discussion of advanced MakeMKV functionality, expert mode, conversion profiles
Post Reply
Heatvent
Posts: 6
Joined: Wed Sep 13, 2023 12:50 am

Is -sel:N working to remove duplicates

Post by Heatvent »

Per this post ... viewtopic.php?f=10&t=4386 you can use the N selection token to remove duplicates ...
N - matches if Nth (or bigger) track of the same type and language
I would assume it sh ould work something like this:

-sel:2

However, I get an error that the syntax is incorrect. Does anyone know what the syntax should be and/or if this feature is currently broken?

Thanks!
Heatvent
Posts: 6
Joined: Wed Sep 13, 2023 12:50 am

Re: Is -sel:N working to remove duplicates

Post by Heatvent »

So I found some hint in this thread from 2012 ...

viewtopic.php?style=11&p=18695

Following post ...
mike admin wrote:
Sun Feb 12, 2012 7:17 am
NodNarb012 wrote:

Code: Select all

-sel:all, +sel:(favlang|nolang), -sel:(havemulti|havelossless), +sel:(core*(favlang|nolang)), -sel:2, =100:all, -10:favlang
I think that -sel:2 should match second (and third, forth, and so on) instance of my favlang subtitle tracks and de-select it, but instead I get the error: Profile parsing error: Invalid token '-sel:2'
Do I have the syntax wrong or is this broken?
The N syntax is unfortunately broken :( Should be fixed soon, also with "audio" and "subtilte" tokens.
Not sure if this ever got fixed???

Would be great if this would be working for those that automate with makemkvcon to avoid getting duplicates. Probably less of an issue if you manually use the GUI but would be helpful there too in streamlining the process.

Thanks!
Post Reply