Jump to content

jiho

Member
  • Posts

    3
  • Joined

  • Last visited

jiho's Achievements

Helping Hand

Helping Hand (3/5)

0

Reputation

  1. Hi vitor, Thanks, I knew about this. Now, however, Google Drive is transitioning to the File Provider API (my account has recently been switched) and this allows Spotlight to find the files with no extra trick (although the results look strange, as explained above). My question here is how to get the same results in Alfred, which uses the Spotlight index. But thanks again anyhow.
  2. Hi, Thanks again for Alfred. I won't repeat my previous post but here is another problem related to remote storage. I have an up-to-date Google Drive app, an account that was switched to the File Provider API (Google Drive stores data in `~/Library/CloudStorage/`) and `~/Library/CloudStorage/` is added to Alfred search path. I can find files from My Drive mirrored to my computer (of course: those are just regular files). When a folder is shared with me through Google Drive and I add it to My Drive, it shows as an alias in My Drive. The alias points to `~/Library/CloudStorage/GoogleDrive-myemail@gmail.com/.shortcut-targets-by-id/something-something` so it is in Alfred' search path. When such a folder is streamed (i.e dynamically fetched from the server), as shown by the cloud icon next to file names Spotlight finds the file but shows it with the Google Drive icon, not the expected (PDF in this case) icon. But Alfred does not display anything: And the troubleshooting output is Starting Diagnostics... File: 'MSCA_DN_Handbook_2022_final_.pdf' Path: '/Users/jiho/Library/CloudStorage/GoogleDrive-myemail@gmail.com/.shortcut-targets-by-id/1D8UL4F_CKgMQtuKagU5E4AlODJPjylZH/ML4Plankton_2022_shared' ----------------------------------------------------------- Check file cache database... ✅ File cache integrity is ok ----------------------------------------------------------- Check if file is readable... ✅ Alfred has permissions to read this file. ----------------------------------------------------------- Check if volume '/' is indexed by macOS... ✅ Indexing is enabled on this drive ----------------------------------------------------------- Check direct file metadata... ✅ Direct metadata available Display Name: MSCA_DN_Handbook_2022_final_.pdf Other Names: Content Type: com.adobe.pdf Last Used: 2022-09-26 08:36:22 +0000 ----------------------------------------------------------- Check mdls file metadata... ❌ macOS metadata missing essential items kMDItemFSContentChangeDate = 2022-09-26 08:36:22 +0000 kMDItemFSCreationDate = 2022-09-27 18:50:35 +0000 kMDItemFSCreatorCode = "" kMDItemFSFinderFlags = 0 kMDItemFSHasCustomIcon = 0 kMDItemFSInvisible = 0 kMDItemFSIsExtensionHidden = 0 kMDItemFSIsStationery = 0 kMDItemFSLabel = 0 kMDItemFSName = "MSCA_DN_Handbook_2022_final_.pdf" kMDItemFSNodeCount = 1337947 kMDItemFSOwnerGroupID = 20 kMDItemFSOwnerUserID = 501 kMDItemFSSize = 1337947 kMDItemFSTypeCode = "" ----------------------------------------------------------- ❌ Troubleshooting failed (Although I am not sure how relevant this is, since starting the troubleshooting possibly triggers the download of the file.) Even when the files are synchronised to my computer, as shown by the lack of cloud icon and the green tick instead the behaviour is the same (surprisingly: I would have at least expected Spotlight to show the correct icon for the file): And the file troubleshooting output is: Starting Diagnostics... File: '6_mesocosms.png' Path: '/Users/jiho/Library/CloudStorage/GoogleDrive-myemail@gmail.com/.shortcut-targets-by-id/1ckL9_Xr8t1mtpSypdjIbgKgSZKrjTUn7/dessins' ----------------------------------------------------------- Check file cache database... ✅ File cache integrity is ok ----------------------------------------------------------- Check if file is readable... ✅ Alfred has permissions to read this file. ----------------------------------------------------------- Check if volume '/' is indexed by macOS... ✅ Indexing is enabled on this drive ----------------------------------------------------------- Check direct file metadata... ✅ Direct metadata available Display Name: 6_mesocosms.png Other Names: Content Type: public.png Last Used: 2020-01-29 14:23:19 +0000 ----------------------------------------------------------- Check mdls file metadata... ❌ macOS metadata missing essential items kMDItemFSContentChangeDate = 2020-01-29 14:23:19 +0000 kMDItemFSCreationDate = 2020-01-29 14:20:41 +0000 kMDItemFSCreatorCode = "" kMDItemFSFinderFlags = 0 kMDItemFSHasCustomIcon = 0 kMDItemFSInvisible = 0 kMDItemFSIsExtensionHidden = 0 kMDItemFSIsStationery = 0 kMDItemFSLabel = 0 kMDItemFSName = "6_mesocosms.png" kMDItemFSNodeCount = 24215027 kMDItemFSOwnerGroupID = 20 kMDItemFSOwnerUserID = 501 kMDItemFSSize = 24215027 kMDItemFSTypeCode = "" ----------------------------------------------------------- ❌ Troubleshooting failed So my questions are: - do you know why synchronised files are not treated as the ones in My Drive and seen as local files? - how can I make Alfred aware of these files that Spotlight displays with a Google Drive icon? Thanks in advance!
  3. Hi, Long time Alfred user here (more years than I care to admit...). I really thank you for your work. I updated to 5.0.2 (build 2073) and (finally!) bought the power pack, if only to make my thanks concrete (and now I regret not having bought it sooner!). I am mostly super happy with the app but running into trouble with remote storage recently. I am running Monterey and OneDrive, which are both up to date. `~/Library/CloudStorage` is in Alfred's search path. While Alfred can find some files in my OneDrive folder, others are not found while they are found by Spotlight. Here is a file that can be found by both and the corresponding troubleshooting report Starting Diagnostics... File: 'part1_class.mp4' Path: '/Users/jiho/Library/CloudStorage/OneDrive-sorbonne-universite.fr/IADO-MEDO2022/Lectures/10 - Signal processing [JOI]' ----------------------------------------------------------- Check file cache database... ✅ File cache integrity is ok ----------------------------------------------------------- Check if file is readable... ✅ Alfred has permissions to read this file. ----------------------------------------------------------- Check if volume '/' is indexed by macOS... ✅ Indexing is enabled on this drive ----------------------------------------------------------- Check direct file metadata... ✅ Direct metadata available Display Name: part1_class.mp4 Other Names: Content Type: public.mpeg-4 Last Used: 2022-10-04 14:43:03 +0000 ----------------------------------------------------------- Check mdls file metadata... ✅ Metadata contains required items _kMDItemDisplayNameWithExtensions = "part1_class.mp4" kMDItemAudioBitRate = 126 kMDItemAudioChannelCount = 1 kMDItemCodecs = ( AAC, "H.264", "QuickTime Text" ) kMDItemContentCreationDate = 2022-10-04 12:18:13 +0000 kMDItemContentCreationDate_Ranking = 2022-10-04 00:00:00 +0000 kMDItemContentModificationDate = 2022-10-04 12:23:45 +0000 kMDItemContentModificationDate_Ranking = 2022-10-04 00:00:00 +0000 kMDItemContentType = "public.mpeg-4" kMDItemContentTypeTree = ( "public.mpeg-4", "public.movie", "public.audiovisual-content", "public.data", "public.item", "public.content" ) kMDItemDateAdded = 2022-10-04 23:31:30 +0000 kMDItemDateAdded_Ranking = 2022-10-04 00:00:00 +0000 kMDItemDisplayName = "part1_class.mp4" kMDItemDocumentIdentifier = 87826 kMDItemDownloadedDate = ( "2022-10-04 12:23:45 +0000" ) kMDItemDurationSeconds = 11698.24 kMDItemFileItemID = "__fp/T25lRHJpdmUgLSBzb3Jib25uZS11bml2ZXJzaXRlLmZy/__fp/fs/docID(87826)" kMDItemFilename = "part1_class.mp4" kMDItemFileProviderID = "com.microsoft.OneDrive.FileProvider" kMDItemFSContentChangeDate = 2022-10-04 12:23:45 +0000 kMDItemFSCreationDate = 2022-10-04 12:18:13 +0000 kMDItemFSCreatorCode = "" kMDItemFSFinderFlags = 0 kMDItemFSHasCustomIcon = (null) kMDItemFSInvisible = 0 kMDItemFSIsExtensionHidden = 0 kMDItemFSIsStationery = (null) kMDItemFSLabel = 0 kMDItemFSName = "part1_class.mp4" kMDItemFSNodeCount = (null) kMDItemFSOwnerGroupID = 20 kMDItemFSOwnerUserID = 501 kMDItemFSSize = 552100740 kMDItemFSTypeCode = "" kMDItemInterestingDate_Ranking = 2022-10-04 00:00:00 +0000 kMDItemIsDownloading = 0 kMDItemIsShared = 0 kMDItemIsUploaded = 1 kMDItemIsUploading = 0 kMDItemKind = "MPEG-4 movie" kMDItemLastUsedDate = 2022-10-04 14:43:03 +0000 kMDItemLastUsedDate_Ranking = 2022-10-04 00:00:00 +0000 kMDItemLogicalSize = 552100740 kMDItemMediaTypes = ( Sound, Video, Text ) kMDItemPhysicalSize = 552103936 kMDItemPixelHeight = 720 kMDItemPixelWidth = 1600 kMDItemStreamable = 0 kMDItemTotalBitRate = 375 kMDItemUseCount = 8 kMDItemUsedDates = ( "2022-10-03 22:00:00 +0000" ) kMDItemUserOwned = 0 kMDItemVideoBitRate = 249 kMDItemWhereFroms = ( "https://us02web.zoom.us/rec/sdownload/ptR5XUl_7W5JWzhlpc2RyDvwHjCJx9qh0dv2Oh-0OT6cqysUSA1R6Lat8TsLRlwcN8Bc63FV-UojIwhz.THCDORomFWdakGgE", "https://us02web.zoom.us/recording/detail?meeting_id=MqKcvBGoSJeBH3afeeCs9A%3D%3D" ) ----------------------------------------------------------- Check file is in search scope... ✅ File exists within Alfred's default search scope ----------------------------------------------------------- ✅ Troubleshooting passed And here is a file that only Spotlight can find and the corresponding report Starting Diagnostics... File: 'cruise.Rproj' Path: '/Users/jiho/Library/CloudStorage/OneDrive-sorbonne-universite.fr/IADO-MEDO2022/Cruise' ----------------------------------------------------------- Check file cache database... ✅ File cache integrity is ok ----------------------------------------------------------- Check if file is readable... ✅ Alfred has permissions to read this file. ----------------------------------------------------------- Check if volume '/' is indexed by macOS... ✅ Indexing is enabled on this drive ----------------------------------------------------------- Check direct file metadata... ⚠️ Direct metadata is missing, this file is likely not indexed by macOS Display Name: Other Names: Content Type: Last Used: ----------------------------------------------------------- Check mdls file metadata... ✅ Metadata contains required items _kMDItemDisplayNameWithExtensions = "cruise.Rproj" kMDItemContentCreationDate = 2016-07-24 17:04:49 +0000 kMDItemContentCreationDate_Ranking = 2016-07-24 00:00:00 +0000 kMDItemContentModificationDate = 2016-07-24 17:04:49 +0000 kMDItemContentModificationDate_Ranking = 2016-07-24 00:00:00 +0000 kMDItemContentType = "dyn.ah62d4rv4ge81e6dwr7za" kMDItemContentTypeTree = ( "public.item", "dyn.ah62d4rv4ge81e6dwr7za", "public.data" ) kMDItemDateAdded = 2022-09-30 19:32:43 +0000 kMDItemDateAdded_Ranking = 2022-09-30 00:00:00 +0000 kMDItemDisplayName = "cruise.Rproj" kMDItemDocumentIdentifier = 83604 kMDItemFileItemID = "__fp/T25lRHJpdmUgLSBzb3Jib25uZS11bml2ZXJzaXRlLmZy/__fp/fs/docID(83604)" kMDItemFilename = "cruise.Rproj" kMDItemFileProviderID = "com.microsoft.OneDrive.FileProvider" kMDItemFSContentChangeDate = 2016-07-24 17:04:49 +0000 kMDItemFSCreationDate = 2016-07-24 17:04:49 +0000 kMDItemFSCreatorCode = "" kMDItemFSFinderFlags = 0 kMDItemFSHasCustomIcon = (null) kMDItemFSInvisible = 0 kMDItemFSIsExtensionHidden = 0 kMDItemFSIsStationery = (null) kMDItemFSLabel = 0 kMDItemFSName = "cruise.Rproj" kMDItemFSNodeCount = (null) kMDItemFSOwnerGroupID = 20 kMDItemFSOwnerUserID = 501 kMDItemFSSize = 258 kMDItemFSTypeCode = "" kMDItemInterestingDate_Ranking = 2016-07-24 00:00:00 +0000 kMDItemIsDownloading = 0 kMDItemIsShared = 0 kMDItemIsUploaded = 1 kMDItemIsUploading = 0 kMDItemKind = "R Project" kMDItemLogicalSize = 258 kMDItemPhysicalSize = 4096 kMDItemUserOwned = 0 ----------------------------------------------------------- Check file is in search scope... ✅ File exists within Alfred's default search scope ----------------------------------------------------------- ✅ Troubleshooting passed ⚠️ There were 1 warning(s) So I see that some metadata is missing. Then again, Spotlight finds the file so it is obviously in the index. What can I do to fix this? Thanks in advance for your help!
×
×
  • Create New...