randomize the sort order of the files found?

Have a suggestion for "Everything"? Please post it here.
frew
Posts: 34
Joined: Tue Apr 28, 2015 2:16 am

randomize the sort order of the files found?

Postby frew » Tue Apr 28, 2015 8:00 pm

Hello,

Is it possible to randomize the sort order of the files found?

Sometimes it would be fun, for example, to browse the mp3s I find on my hard drive
through a randomized listing of files.

Thank you,

frew

frew
Posts: 34
Joined: Tue Apr 28, 2015 2:16 am

Re: randomize the sort order of the files found?

Postby frew » Sat Jan 07, 2017 5:33 am

Hello,

Just wondering if there may be a way that I don't know of yet,

to sort the results randomly.

There's many fun uses for random sort.

For example, to browse a music collection in a way that surprises me each time.

Any way to get all my mp3s that show up in Everything searches to be sorted randomly?

Thanks for any ideas.

frew

Stamimail
Posts: 381
Joined: Sat Aug 31, 2013 9:05 pm

Re: randomize the sort order of the files found?

Postby Stamimail » Sun Jan 08, 2017 8:35 pm

Maybe the solution would be by Run Count.
You can set the Run Count manually by Context Menu.
I don't know if or how you can set to a random nunber with scripting.

void
Site Admin
Posts: 3606
Joined: Fri Oct 16, 2009 11:31 pm

Re: randomize the sort order of the files found?

Postby void » Sun Jan 08, 2017 11:44 pm

Setting the run count for every file and folder is not very efficient.

Because the result list is a live list of the database, sorting randomly is not an easy task.
I need to create an randomized "index of the index" and maintain it in real-time.

It is on my TODO list.

frew
Posts: 34
Joined: Tue Apr 28, 2015 2:16 am

Re: randomize the sort order of the files found?

Postby frew » Fri Jan 13, 2017 2:58 am

Stamimail wrote:Maybe the solution would be by Run Count.


Thanks for the idea, but I was hoping for perhaps
a hot key combination to just randomly sort the search results.

This can be fun for browsing music files sorted randomly.

void wrote:Because the result list is a live list of the database, sorting randomly is not an easy task.
I need to create an randomized "index of the index" and maintain it in real-time.

It is on my TODO list.


Good to know.
And thanks for considering this option.
I'll bet many would enjoy it too.

Thanks again,

Seeya,

frew

Stamimail
Posts: 381
Joined: Sat Aug 31, 2013 9:05 pm

Re: randomize the sort order of the files found?

Postby Stamimail » Fri Jan 13, 2017 12:15 pm

I understand you would prefer not to use the Random option of your MP3 Player.
Why is it?

frew
Posts: 34
Joined: Tue Apr 28, 2015 2:16 am

Re: randomize the sort order of the files found?

Postby frew » Thu Oct 05, 2017 2:12 pm

Sorry, bringing up old topic, but figured I'd ask on this one instead of starting new topic.

Just wondering if there's a way to do sort by random that I might not know of.

Not wanting to do shuffle in media player.

Rather wanting to browse hard drive, find list of files,
and then randomize their sort order, just to have that
option for a different kind of fun browsing of files.

Thanks for any ideas.

frew

Stamimail
Posts: 381
Joined: Sat Aug 31, 2013 9:05 pm

Re: randomize the sort order of the files found?

Postby Stamimail » Mon Oct 09, 2017 12:09 pm

I know that in the last version of Void Image Viewer
Navigate > Shuffle
command was added.
The problem is that Void Image Viewer supports only images...
But it is open source program that works with Everything.
Maybe one know how to make the needed tweaks.

EDIT:
  • added randomized everything search option

Randomized Everything Search is a very efficient way to randomly view any image on your computer:
  • In void Image Viewer, Press Ctrl + E
  • Type in a search, or leave the search empty to randomize all images on your computer.
  • Check Randomize.
  • Click OK.

There is no play list in randomized mode, so there is no going back to the previous image.


viewtopic.php?t=5623#p19586
https://github.com/voidtools/voidImageViewer/

therube
Posts: 1740
Joined: Thu Sep 03, 2009 6:48 pm

Re: randomize the sort order of the files found?

Postby therube » Mon Oct 09, 2017 3:06 pm

a way to do sort by random

I asked for the opposite (in MPUI media player GUI).
RFE: Ability to sort playlist

As it is now, when you drag a (diverse) set of files [from Everything] into MPUI, they are added, shown, in file path+name order.

It would be nice, if in the play list, you had an option to do an alpha sort by name.

https://sourceforge.net/p/mpui-hcb/disc ... /be964126/


(Until he does that ;-)) my work-around is to write the wanted Everything results, sorted by name, to a .m3u file, with a separate (Everything) shortcut that opens that .m3u, loading in my media player. It's OK, but a bit awkward.

therube
Posts: 1740
Joined: Thu Sep 03, 2009 6:48 pm

Re: randomize the sort order of the files found?

Postby therube » Mon Oct 09, 2017 3:19 pm

a way to do sort by random


Perhaps you could work something similar using the (UNIX) sort -R command.
https://sourceforge.net/p/gnuwin32/disc ... f070/#632f
(There is also a 'shuf' command, but I don't have that.)

Find your files in Everything
Export... (Ctrl+S) in .txt format
sort -R export.txt > randomsort.m3u

Then "run" randomsort.m3u.


(There is no Export... to .m3u, so using .txt, then simply renaming it to .m3u, generally works OK.)

therube
Posts: 1740
Joined: Thu Sep 03, 2009 6:48 pm

Re: randomize the sort order of the files found?

Postby therube » Mon Oct 09, 2017 3:21 pm

There is the fsi: function, which might be able to show files in some quasi-random (though deterministic) order, alas there is no way to sort by fsi in Everything.


Return to “Suggestions”