topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Wednesday December 4, 2024, 6:32 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Last post Author Topic: Mouser's Media Browser v2 - Dec 30, 2019  (Read 45906 times)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,913
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Mouser's Media Browser v2 - Dec 30, 2019
« on: December 11, 2019, 08:08 AM »
WEB PAGE: https://www.donation...ousers-media-browser

This will be a small utility for browsing directories containing images.

I decided to make a standalone utility that could be used as a helper for other tools, like my other NANY (Automatic Screenshotter).

It will start out with a fairly simple feature set but there is plenty of room for improvement.

Key feature:
  • Lots of viewing modes to find the one that works best for you.
  • Option to show recursive contents of folder tree (with search filtering and sorting)

Note that there are excellent powerful free image viewers/browsers (irfanview, xnview, etc.), and it would be foolish to try to compete with these.  My aim here is to make a more streamlined, focus helper utility.

mmb1.pngMouser's Media Browser v2 - Dec 30, 2019

mmb2.pngMouser's Media Browser v2 - Dec 30, 2019

mmb3.pngMouser's Media Browser v2 - Dec 30, 2019

Screenshot - 12_11_2019 , 8_11_53 AM.pngMouser's Media Browser v2 - Dec 30, 2019

Screenshot - 12_18_2019 , 11_51_43 AM.pngMouser's Media Browser v2 - Dec 30, 2019



v2.0.1 - Dec 30, 2019
  • [Improvement] Recent Folder list now can be edited by hand in options; hopefully solves some people not being able to access it.
  • [Improvement] Settings file location shown in about box.
  • [MajorFeature] New virtual date tree.
  • [Bugfix] Fixed superfluous directory rescanning.
  • [Improvement] Remembers last selected file.
  • [Improvement] Shows file comments for selected file.
  • [Improvement] Added virtual tree options for starting with expanded nodes, and showing a node for each day of the month.
  • [Improvement] Better behavior inside folders where new screenshots are being added live.
  • [Improvement] Improvements to thumbnail sizing and thumbnail sizing options.
  • [Improvement] Image dimensions shown in statusbar.
  • [Improvement] New age filter.
  • [Improvement] Faster scanning speed.
  • [Improvement] Dramatically increased sorting speed.
  • [BugFix] Exiting while running scan was needlessly slow.
  • [BugFix] Searching with sort by date sometimes didnt sort some images.
  • [BugFix] Was reporting wrong folder search count.
  • [BugFix] Sorting was not always being performed properly after scanning.
  • [BugFix] In large folders after sorting, sometimes thumbnail showed wrong image.
  • [BugFix] Alphanumeric filename sort was case sensitive.
  • [Improvement] Reports scanning progress on large (recursive) directories and allows cancellation of scan; especially useful for large recursive directory trees.
  • [Improvement] Exponentially faster refresh after deleting files from large directories and refreshing after removed files.
  • [Improvement] Faster easier rename dialog.
  • [Improvement] Program remembers last subfolder selected on exit and restart.
  • [Improvement] Remembers selected image even after rescanning.
  • [Improvement] New Action menu with items for delete, rename, browse, clipboard, etc.
  • [BugFix] Switching root folder from GoTo menu would sometimes not update to show new folder contents.
  • [BugFix] Mobile phone or other photos with rotation information are now auto-rotated to correct orientation.
  • [BugFix] Better error handling if selected (or last) folder is missing.
  • [BugFix] Ctrl-clicking on thumbnails would not toggle to unselect them
  • [BugFix] Deleting a file left deleted image in viewer.
  • [BugFix] Sometimes scrollbars were not being shown in large folders.
  • [BugFix] When launching MMB with the folder commandline, it was first loading last folder.

v1.01.1 - December 29, 2015
  • First release
  • Thanks to DC member HamRadio for the icon!




Originally released as part of NANY 2016, see here: https://www.donation...ex.php?topic=42114.0
« Last Edit: December 30, 2019, 04:43 PM by mouser »

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,964
    • View Profile
    • Donate to Member
Re: Mouser's Media Browser v1.08.01 - Dec 12, 2019 beta
« Reply #1 on: December 11, 2019, 08:41 AM »
Just after installing this (well, portable version) on my laptop (I did try it on my desktop, but a long time ago).
Cancel scan works, but recursive reading is very impressive:
it showed thumbnails quite quickly for a folder with almost five thousand files in a dozen or so sub-directories.

Where it is slow is deleting files: I ticked the option to not show the confirmation dialogue, and it's still very slow -- takes about five seconds.
I think it would be nice if the focus went to the next file when one is deleted (but not sure would everyone want that/if possible)
Tom

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,964
    • View Profile
    • Donate to Member
Re: Mouser's Media Browser v1.08.01 - Dec 12, 2019 beta
« Reply #2 on: December 11, 2019, 08:56 AM »
Twice so far it has shown the wrong thumbnail for an image.
Not sure why, in this example it is jpg files -- you can clearly see the wrong thumbnail (I think I may have deleted the file that is now showing in the thumbnail).

Screenshot - 2019-12-11 , 15_48_02.jpgMouser's Media Browser v2 - Dec 30, 2019

these files show correctly in SC -- sorry, I wasn't paying attention:
EDIT// the incorrect thubnail is a jpg file that exists -- it shows in SC but not in this app.
I can send you the file directly per email if you want mouser.
Tom
« Last Edit: December 11, 2019, 09:01 AM by tomos »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,913
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Mouser's Media Browser v1.08.01 - Dec 12, 2019 beta
« Reply #3 on: December 11, 2019, 09:05 AM »
Yeah I'm guessing what's happening with the slow delete is that it's triggering a "rescan" of the folder, which is slowing things down substantially.. It's designed to detect changes in folders and rescan, but maybe i can fix that and make it smarter about when a file is deleted not doing a full rescan.

As for the incorrect thumbnail.. let me know if you find any more clues..

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,913
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Mouser's Media Browser v1.08.01 - Dec 12, 2019 beta
« Reply #4 on: December 11, 2019, 09:18 AM »
Looking at the code, I see that it's actually a bit worse than I thought -- when you perform an operation like a delete, it actually re-scans the entire set of files and then compares the new and old so it can do some updates of the thumbnails "smartly".. For small directory this yields a good result of minimal visual disturbance when the folder changes.   But what that means is that for a huge recursive directory, its going to be even slower than doing a full refresh rescan, without the ability to abort.

So.. I will put on my todo list some more sophisticated updating of the folder after changes.. For deletes it should be able to just instantly remove the files.. maybe i can detect renames and additions too.  But then in the worse case with a large collection of files I'll just trigger a normal refresh so you can at least abort..



Until then, I suggest folks avoid using the delete feature within the program when inside folders with hundreds or thousands of images, because of the slow speeds, at least one-off deletes (you can mass delete files pretty efficiently).
« Last Edit: December 11, 2019, 09:29 AM by mouser »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,913
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Mouser's Media Browser v1.08.01 - Dec 12, 2019 beta
« Reply #5 on: December 11, 2019, 11:03 AM »
If you're feeling adventurous you can redownload and try the latest beta, with fast deletes even in huge folders..

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,964
    • View Profile
    • Donate to Member
Re: Mouser's Media Browser v1.08.01 - Dec 12, 2019 beta
« Reply #6 on: December 11, 2019, 01:05 PM »
Sorry, I didnt realise that folder (where I was testing delete) had so many files in it :-/

Delete is now instantaneous (even within large folders) -- there is a quirk in that the actual view of the deleted file remains in the viewer pane until focus is moved to another file.
Those thumbnails now also showing correctly (will report if I get that again)
Good job :up:
Tom

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,913
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Mouser's Media Browser v1.08.01 - Dec 12, 2019 beta
« Reply #7 on: December 11, 2019, 04:51 PM »
Delete is now instantaneous (even within large folders) -- there is a quirk in that the actual view of the deleted file remains in the viewer pane until focus is moved to another file.

Well that's a bug then, it shouldn't stay in the viewer, so I must be overlooking something..

Can I ask how you are triggering the delete?

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,913
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Mouser's Media Browser v1.08.01 - Dec 12, 2019 beta
« Reply #8 on: December 11, 2019, 05:45 PM »
Try redownloading for latest version (1.09); the new version should detect and remove missing files better.
Let me know if you still find it leaving thumbnails of deleted files.

ps.
The reason I ask how you deleted the files, is that there are essentially two ways to delete files, one is using the Delete key, which tells MMB to handle the deletion; the other is to use the right-click context menu, which let's windows explorer do the deletion; the latter case I wasn't updating the view, but I now am.

ps2.
If the program detects a change in the monitored directories, it has two options.  One is to do a full rescan of the folder(s); this is slow but would detect any changes you make outside the program (renaming, moving files in or out, etc.).  MMB will do this is there are only a few files show (< 100 files).  What I've added now is that if there are > 100 files, and it detects a change in the folders, it will simply rescan your selected images and find any that are now gone.  This should handle most cases, though it does mean that for large directories, if you add files outside the program, you will need to do a File -> Rescan to see them.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,913
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Mouser's Media Browser v1.08.01 - Dec 12, 2019 beta
« Reply #9 on: December 11, 2019, 05:47 PM »
Tip: Ctrl+R on an image (or set of selected images) will let you rename the image(s) (though the dialog could be improved).
I will improve the rename dialog so it's more convenient.
« Last Edit: December 11, 2019, 06:05 PM by mouser »

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,964
    • View Profile
    • Donate to Member
Re: Mouser's Media Browser v1.08.01 - Dec 12, 2019 beta
« Reply #10 on: December 11, 2019, 06:14 PM »
Delete is now instantaneous (even within large folders) -- there is a quirk in that the actual view of the deleted file remains in the viewer pane until focus is moved to another file.
Well that's a bug then, it shouldn't stay in the viewer, so I must be overlooking something..

Can I ask how you are triggering the delete?
I simply use the delete key (focus on thumbnail)
with latest version:
delete in folder with <100 works perfectly: focus moves to next thumbnail, that file shows in the viewer pane
delete in folder with >100 works imperfectly: delete is fine; focus moves to next thumbnail, deleted file shows in the viewer pane. As soon as i click in thumbnail panel, viewer shows correct file

Screenshot - 2019-12-12 , 01_04_00.jpgMouser's Media Browser v2 - Dec 30, 2019

EDIT// this doesnt bother me, just reporting!
Tom
« Last Edit: December 11, 2019, 06:23 PM by tomos »

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,964
    • View Profile
    • Donate to Member
Re: Mouser's Media Browser v1.08.01 - Dec 12, 2019 beta
« Reply #11 on: December 11, 2019, 06:21 PM »
A minor request -- it doesnt remember last viewed folder, would be nice if it were to start with last view, or have that as an option
Tom

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,913
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Mouser's Media Browser v1.08.01 - Dec 12, 2019 beta
« Reply #12 on: December 11, 2019, 07:58 PM »
focus moves to next thumbnail, deleted file shows in the viewer pane. As soon as i click in thumbnail panel, viewer shows correct file
confirmed, working on it.

A minor request -- it doesnt remember last viewed folder, would be nice if it were to start with last view, or have that as an option

Yep, that will be fixed next.

Updated with new improved rename dialog (hit f2 or Ctrl+r) to rename.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,913
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Mouser's Media Browser v1.08.01 - Dec 12, 2019 beta
« Reply #13 on: December 11, 2019, 08:11 PM »
focus moves to next thumbnail, deleted file shows in the viewer pane. As soon as i click in thumbnail panel, viewer shows correct file

should be fixed now.

Thanks for all the help testing!

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,913
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Mouser's Media Browser v1.08.01 - Dec 12, 2019 beta
« Reply #14 on: December 11, 2019, 09:06 PM »
Updated, it should now remember last active folder.

Delete key deletes selected images, F2 (or Ctrl+R) renames.  Note that you can select multiple files to rename; you will be prompted to rename them one at a time.
« Last Edit: December 11, 2019, 09:24 PM by mouser »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,913
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Mouser's Media Browser v1.08.01 - Dec 12, 2019 beta
« Reply #15 on: December 11, 2019, 10:29 PM »
Updated with new Actions menu:
mmb5.pngMouser's Media Browser v2 - Dec 30, 2019

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,913
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Mouser's Media Browser v1.08.01 - Dec 12, 2019 beta
« Reply #16 on: December 12, 2019, 01:08 AM »
v1.09.1 - Dec 12, 2019
  • [Improvements] Reports scanning progress on large (recursive) directories and allows cancellation of scan; especially useful for large recursive directory trees.
  • [Improvements] Exponentially faster refresh after deleting files from large directories and refreshing after removed files.
  • [Improvement] Faster easier rename dialog.
  • [Improvement] Program remembers last subfolder selected on exit and restart.
  • [Improvement] Remembers selected image even after rescanning.
  • [Improvement] New Action menu with items for delete, rename, browse, clipboard, etc.
  • [BugFix] Switching root folder from GoTo menu would sometimes not update to show new folder contents.
  • [BugFix] Mobile phone or other photos with rotation information are now auto-rotated to correct orientation.
  • [BugFix] Better error handling if selected (or last) folder is missing.
  • [BugFix] Ctrl-clicking on thumbnails would not toggle to unselect them
  • [BugFix] Deleting a file left deleted image in viewer.
  • [BugFix] Sometimes scrollbars were not being shown in large folders.
  • [BugFix] When launching MMB with the folder commandline, it was first loading last folder.

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,964
    • View Profile
    • Donate to Member
Re: Mouser's Media Browser v1.08.01 - Dec 12, 2019 beta
« Reply #17 on: December 12, 2019, 12:53 PM »
:up:
[Improvements] Reports scanning progress on large (recursive) directories and allows cancellation of scan; especially useful for large recursive directory trees.
[Improvements] Exponentially faster refresh after deleting files from large directories and refreshing after removed files.
...
[Improvement] Program remembers last subfolder selected on exit and restart.
[Improvement] Remembers selected image even after rescanning.
...
[BugFix] Deleting a file left deleted image in viewer.
these ones I, eh, interacted with: all good :Thmbsup:
Tom

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,913
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Mouser's Media Browser v1.08.01 - Dec 12, 2019 beta
« Reply #18 on: December 12, 2019, 01:53 PM »
Next on my todolist is a date filter, so you can limit the age range of images shown.

tsaint

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 497
  • Hi from the a*** end of the earth
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: Mouser's Media Browser v1.08.01 - Dec 12, 2019 beta
« Reply #19 on: December 13, 2019, 02:19 AM »
Nice and useful program! Would it be possible to add option to display image size which is quite useful to some?
Btw, on my laptop, I get:
Windows Defender SmartScreen prevented an unrecognised app from
starting. Running this app might put your PC at risk.

when running the installer.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,913
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Mouser's Media Browser v1.08.01 - Dec 12, 2019 beta
« Reply #20 on: December 13, 2019, 02:22 AM »
Would it be possible to add option to display image size which is quite useful to some?
Easy to show image dimensions of the selected image; i will add that.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,913
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Mouser's Media Browser v1.08.01 - Dec 12, 2019 beta
« Reply #21 on: December 13, 2019, 11:17 AM »
New update with date/age filter.

So the following says only show files that are at least 5 days old, and no more than 40 days old:
Screenshot - 12_13_2019 , 11_16_44 AM.png

tsaint

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 497
  • Hi from the a*** end of the earth
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: Mouser's Media Browser v1.08.01 - Dec 12, 2019 beta
« Reply #22 on: December 13, 2019, 05:23 PM »
Whilst scanning, "hit abort to cancel scanning" .... "hit esc to cancel scanning"?
Don't want to make your list of options too long, but date modified is quite useful - eg to see files you've maybe photoshopped lately.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,913
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Mouser's Media Browser v1.08.01 - Dec 12, 2019 beta
« Reply #23 on: December 13, 2019, 08:59 PM »
Oops it seems I messed up the Abort scan button on last version; I've re-uploaded with fix now.

tsaint

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 497
  • Hi from the a*** end of the earth
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: Mouser's Media Browser v1.08.01 - Dec 12, 2019 beta
« Reply #24 on: December 14, 2019, 12:08 AM »
Installed latest version.

MMB found 7652 files (recursively) in about 23800 folders .
I assume 7652 is the total number of files - all types, not just images - found. Xplorer^2 reports 7,904 Files, 1,834 Folders.
23800 folders I don't understand.

And when I count the (no filtering) thumbs actually being displayed, I counted 163. Maybe they're displayed in pages and I'm only seeing page 1?
Using filtering, count from MMB is:
png 39 ... 39 get displayed
jpg/jpeg 124 ... 90 get displayed
bmp 0
gif 1 ... 0 get displayed
tif/tiff 40 ... 0 get displayed
for a total of 203 images, with 129 getting displayed.
« Last Edit: December 14, 2019, 12:29 AM by tsaint »