I have 71 folders containing mp3s, and I want to append " - [bitrate]k mp3" to the end of each folder's name. All mp3s in each folder have the same bit-rate, so I only need to see the first.
Is it possible to have branch view only show the first file in each folder?
Display *1st* file in each folder in branch view? [GRANTED]
-
- Posts: 261
- Joined: 02 Dec 2014 16:49
Display *1st* file in each folder in branch view? [GRANTED]
Last edited by aliteralmind on 03 Apr 2015 14:40, edited 1 time in total.
Windows 8.1, 64-bit
-
- Site Admin
- Posts: 60602
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Only display 1st file in each folder in branch view?
Liked the idea and added it.
FAQ | XY News RSS | XY Twitter
-
- Posts: 261
- Joined: 02 Dec 2014 16:49
-
- Site Admin
- Posts: 60602
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Only display 1st file in each folder in branch view?
FYI, this is what you want:
Code: Select all
* /lpd=1:flat
FAQ | XY News RSS | XY Twitter
-
- Posts: 261
- Joined: 02 Dec 2014 16:49
Re: Only display 1st file in each folder in branch view?
This is actually a pretty beautiful feature, and I'm glad it's implemented beyond just branch view.
It also works by first switching to branch view, and then searching with "/limitperdir=1". It's automatically changed to "/limitperdir=1 /:flat" (where lpd is its shortcut).
That just saved me about an hour. Thanks Don!
It also works by first switching to branch view, and then searching with "/limitperdir=1". It's automatically changed to "/limitperdir=1 /:flat" (where lpd is its shortcut).
That just saved me about an hour. Thanks Don!
Windows 8.1, 64-bit
-
- Posts: 261
- Joined: 02 Dec 2014 16:49
Re: Only display 1st file in each folder in branch view?
Here's a related question:
How do I eliminate all folders from this branch view that contain the " - [bitratenum] mp3" postfix? (where the top-most folder contains that postfix)
Something like
but that doesn't work.
How do I eliminate all folders from this branch view that contain the " - [bitratenum] mp3" postfix? (where the top-most folder contains that postfix)
Something like
Code: Select all
/limitperdir=1 /:flat:> \d+ mp3$ /x
Windows 8.1, 64-bit
-
- Site Admin
- Posts: 60602
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Only display 1st file in each folder in branch view?
Not possible.
FAQ | XY News RSS | XY Twitter
-
- Posts: 261
- Joined: 02 Dec 2014 16:49
Re: Only display 1st file in each folder in branch view?
Ah well. Still celebrating the first step!
Windows 8.1, 64-bit
Re: Only display 1st file in each folder in branch view?
Don,
As the switch is also supported in Tags database - would it always return the first matches or randomize. If it returns random rows, it would be fantastic. I can ditch some of my scripts then.
As the switch is also supported in Tags database - would it always return the first matches or randomize. If it returns random rows, it would be fantastic. I can ditch some of my scripts then.
-
- Site Admin
- Posts: 60602
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Only display 1st file in each folder in branch view?
No randomize, always the first.
FAQ | XY News RSS | XY Twitter
-
- Posts: 261
- Joined: 02 Dec 2014 16:49
Re: Only display 1st file in each folder in branch view?
A workaround to highlight the folders that haven't been renamed: Before you start, add "- mp3" (2 spaces) to the end of each folder. Then Ctrl+M (selection filter) to select all folders with that postfix (search term "- mp3"). Whichever ones the bit rate has been added to won't be selected.
Windows 8.1, 64-bit