Author Topic: PM rescans NAS volumes  (Read 1732 times)

Offline TGeist

  • Full Member
  • ***
  • Posts: 118
    • View Profile
    • GG-IMAGES :: Charlotte Wedding Photographer
PM rescans NAS volumes
« on: November 06, 2017, 02:57:06 PM »
I am on macOS 10.13.1 and I access files on a Synology DiskStation via SMB.

Whenever I have a folder on the NAS open in Photo Mechanic and I click out of Photo Mechanic and then change back to the Photo Mechanic window, it rescans the open NAS folder which can take a really long time. Nothing has changed on the volume, yet I get a spinning beach ball for a long time.

Otherwise PM is accessing the folder quickly. Scrolling through photos , opening them in Preview etc. runs smoothly and fast.

Is there any setting I can change? I have a feeling that this used to be faster in the past.

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 20743
    • View Profile
    • Camera Bits, Inc.
Re: PM rescans NAS volumes
« Reply #1 on: November 06, 2017, 03:12:58 PM »
You can add:

NEVER_RESCAN_ON_RESUME ON

to a text file named PMDebug.txt (and place it in PM's Preferences folder) and PM will never rescan any contact sheets when you switch back into PM.

On macOS, the Preferences folder is in this location:

~/Library/Preferences/com.camerabits.PhotoMechanic/

You can get there easily by switching to the Finder and choosing "Go to Folder..." from the "Go" menu and then pasting the above path into the dialog, then clicking the "Go" button.  The change will take effect on restart of PM.

HTH,

-Kirk

Offline TGeist

  • Full Member
  • ***
  • Posts: 118
    • View Profile
    • GG-IMAGES :: Charlotte Wedding Photographer
Re: PM rescans NAS volumes
« Reply #2 on: November 06, 2017, 07:42:06 PM »
Works perfectly, thank you!

And I can always rescan with hitting "command + ?"

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 20743
    • View Profile
    • Camera Bits, Inc.
Re: PM rescans NAS volumes
« Reply #3 on: November 07, 2017, 05:36:04 AM »
Works perfectly, thank you!

And I can always rescan with hitting "command + ?"

Yes. You can always force a rescan that way.

-Kirk

Offline mbbphoto

  • Sr. Member
  • ****
  • Posts: 306
    • View Profile
Re: PM rescans NAS volumes
« Reply #4 on: November 07, 2017, 10:19:26 AM »
Just to be clear...
The scan is looking for new volumes (it doesnt seem to update nested folders).
Will the text string also stop refreshing of images on a contact sheet when you leave and return to PM?
Marc
Marc

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 20743
    • View Profile
    • Camera Bits, Inc.
Re: PM rescans NAS volumes
« Reply #5 on: November 07, 2017, 10:46:20 AM »
Marc,

Just to be clear...
The scan is looking for new volumes (it doesnt seem to update nested folders).

A Contact Sheet rescan only looks at the folders it is browsing.  It doesn't care about new volumes.

Will the text string also stop refreshing of images on a contact sheet when you leave and return to PM?

That's the only thing that setting does.  It prevents the rescan of all open contact sheets regardless of whether they're local folders or folders on a network volume upon resuming PM.

HTH,

-Kirk

Offline Kevin M. Cox

  • Sr. Member
  • ****
  • Posts: 419
  • PM 5 Build 19749 | macOS 10.13.6 (17G7024)
    • View Profile
    • Kevin M. Cox | Photojournalist
Re: PM rescans NAS volumes
« Reply #6 on: November 07, 2017, 06:29:45 PM »
Interesting, I had no idea this option existed. I wonder if it would be worth adding into the Preferences GUI?
Kevin M. Cox | Photojournalist
https://www.KevinCox.com

Offline imagetic

  • Newcomer
  • *
  • Posts: 15
    • View Profile
    • willduncan.com
Re: PM rescans NAS volumes
« Reply #7 on: May 14, 2019, 09:54:14 PM »
I would +1 this as a checkbox / config / prefs addition.
www.willduncan.com

Model: iMac (18,3 - Retina 5K, 27-inch, 2017)
Processor: 4.2 GHz Intel Core i7
Memory: 64GB 2400 MHz DDR4
Graphics: Radeon Pro 580 8 GB