You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In lib/transform.js,
At line 124, it uses current_item.type != "folder" to determine whether it is a folder.
But one drive may return a folder with type='album', which makes the program treat that the folder is a file.
I found that one drive always return identifier like this folder.e0de0104ecb2448c.E0DE0104ECB2448C!107.
It means we can use identifier to determine whether it is a folder.
Problems exist on line 62,63,105,106,124 also.
The text was updated successfully, but these errors were encountered:
Ahh good catch, I don't use those special folder types so I never noticed. If you want to create a PR I can merge it in, or I should have time to make this fix sometime this week.
In
lib/transform.js
,At line 124, it uses
current_item.type != "folder"
to determine whether it is a folder.But one drive may return a folder with
type='album'
, which makes the program treat that the folder is a file.I found that one drive always return identifier like this
folder.e0de0104ecb2448c.E0DE0104ECB2448C!107
.It means we can use identifier to determine whether it is a folder.
Problems exist on line 62,63,105,106,124 also.
The text was updated successfully, but these errors were encountered: