Open tman617 opened 2 months ago
fix already provided. you have to replace line 97 in: lib/Album.js below link for detail: https://github.com/hamada2029/gphotos_sort/pull/30/files
thank your for the fast response! - but i tried the line before
i use latest chrome my installation path is under apps/chrome /contents (mac os 14(same results for windows 10))
my original failure message is: SyntaxError: Unterminated string in JSON at position 372 (line 1 column 373) (not: SyntaxError: Unterminated string in JSON at position 371 (line 1 column 372))
when i paste line 97 from lahard: const sww = src.split('window.WIZ_global_data = ')[1].split(';')[0]; then i got :
TypeError: Cannot read properties of null (reading '0')
when i paste additionally from [jasonrmace]:
const script_p = /nonce=[^{]+{key: *'ds:\d+'[^<]+<\/script>/g
then behaves photosorter like "shufflesorter" (it shuffles also old albums) :/
ps: i renames my photofiles to 1.jpg/2.jpg/3.jpg... or 001.jpg/002.jpg/003.jpeg...
does photosorter still correct working by anyone?
it would be so nice, if anybody can help - i love this tool!
make sure you are following [jasonrmace] instruction correctly:
line 102 replace:
const script_p = /<script nonce=[^{]+{key: *'ds:\d+'[^<]+<\/script>/g;
to
const script_p = /nonce=[^{]+{key: *'ds:\d+'[^<]+<\/script>/g;
I am not sure if you did typo but from what you typed you are missing \ before /script
thank you! unfortunately it was a typo :/
i was also trying if deactivating all my addons change something, but it stays the same :/
when i click "sort by name" i got every time alternate order
SyntaxError: Unterminated string in JSON at position 372 (line 1 column 373)