[question] total duration of selected videos in status bar !!

Discussion related to "Everything" 1.5 Alpha.
Post Reply
asamirid
Posts: 127
Joined: Sat Oct 13, 2018 12:28 pm

[question] total duration of selected videos in status bar !!

Post by asamirid »

greeting everyone 👋🏼👋🏼..

i have a question, it's a little bit niche but i sometimes need this during my personal files management ..

can "everything" display the total duration "sum of" the selected video files from results list in the status bar

the picture below show an example..

ev_video_search_001.jpg
ev_video_search_001.jpg (660.51 KiB) Viewed 1668 times

thanks alot for all ur efforts
void
Developer
Posts: 16897
Joined: Fri Oct 16, 2009 11:31 pm

Re: [question] total duration of selected videos in status bar !!

Post by void »

Showing the sum of the length is on my TODO list.

Thank you for the suggestion.
asamirid
Posts: 127
Joined: Sat Oct 13, 2018 12:28 pm

Re: [question] total duration of selected videos in status bar !!

Post by asamirid »

void wrote: Mon Nov 07, 2022 3:22 am Showing the sum of the length is on my TODO list.

Thank you for the suggestion.
thanx alot void, i really appreciate and admire ur effort to answer all this kind of questions and requests.

fingers crossed to see the feature soon ✅✅..
SuperDude
Posts: 221
Joined: Thu Sep 25, 2014 7:57 pm

Re: [question] total duration of selected videos in status bar !!

Post by SuperDude »

Disclaimer: This works for me, but backup your Everything-1.5a.ini (just in case). You will need to use Everything v1327a as well.

If you add [iflen:$length:," Length: "[formatduration:$length:] after your statusbar_selected_item_format= line, video file duration times will appear in the status bar. My entire line looks like this:

statusbar_selected_item_format=$f [iflen:$length:," Length: "[formatduration:$length:]

Note: I added a couple of extra spaces after the =$f part so the Length displayed won't be too crowded.

BTW: I asked @void a few days ago how to prevent Everything from showing leading zeros in duration times, because they're kind of annoying to me. He pulled through just a few days later (he's awesome like that). To disable leading zeros, perform the following 3 steps (you will need to wait a few seconds between each of the following steps):

1. Copy and paste /duration_format= in the Search Edit field, then press Enter.

2. Copy and paste /duration_auto_format_hours=h:mm:ss in the Search Edit field, then press Enter.

3. Copy and paste /duration_auto_format_minutes=m:ss in the Search Edit field, then press Enter.

Now, whenever you select a video file in the Result List, the duration (Length) of that video will be shown in the status bar. I like to know what resolution video files are (for example, 1920 x 1080), so this is my complete command:

statusbar_selected_item_format=$f [iflen:$dimensions:," Dimensions: "$dimensions:] [iflen:$length:," Length: "[formatduration:$length:]

Hope this helps!
raccoon
Posts: 1017
Joined: Thu Oct 18, 2018 1:24 am

Re: [question] total duration of selected videos in status bar !!

Post by raccoon »

void wrote: Mon Nov 07, 2022 3:22 am Showing the sum of the length is on my TODO list.

Thank you for the suggestion.
I'm sorry, but doesn't $total-result-length: (requires length indexing) and $total-selection-length: (requires length indexing) already do this? As per Custom status bar formatting
void
Developer
Posts: 16897
Joined: Fri Oct 16, 2009 11:31 pm

Re: [question] total duration of selected videos in status bar !!

Post by void »

I had forgotten about $total-result-length: and $total-selection-length:!

These statusbar formats are a little hacky.



I'm looking into an option to show the total length on the right in its own statusbar part to make this easier.
Ideally, this would be enabled by default.
Showing the total length will most likely require length indexing.
Post Reply