Closed Audionut closed 4 days ago
Interesting idea.
Obviously not every site would be supported.
Why not? I guess you mean that for this to work you need positiveMatch
? Maybe positiveMatch2
could be introduced?
Notes: I wonder if it doesn't interfere with the icons sorting func. I guess someone wouldn't want this ON by default, IMO it's OK, not sure if it needs to be optional, maybe make a post in the private thread introducing this feature (with a link to the fork .js) to gather more input and tests on this.
From experience with that sites script I maintain, not every site returns seeding status, either/or HTML or API.
The only thing I've done so far is see if I could actually make it work. I have done exactly zero testing save for that screenshot output. Although, I did have icons on one line first, and the seeded icon was first. Not sure if that was because of the order list, or because it's else if before else 'found'.
Presumably I could make it an option. I'm on mobile now, but presumably I could add an option check before the else if and assign icon as a seeding match.
From experience with that sites script I maintain, not every site returns seeding status, either/or HTML or API.
That I understand, I thought that you meant that it returns status but it wouldn't be supported.
I did have icons on one line first, and the seeded icon was first..
That depends from order in const valid_states
.
Presumably I could make it an option. I'm on mobile now, but presumably I could add an option check before the else if and assign icon as a seeding match.
Make a post there, if noone complains then no need for option, I think.
Apart from waiting for that feedback, I don't think I can do much more with this. No other site I have access too has a seeding element available to hook onto.
If this gets pushed, would you like me to create an issue outlining how to find and add the regex match?
If this gets pushed, would you like me to create an issue outlining how to find and add the regex match?
Eventually it will be, yeah you can create it at show and tell discussion, I'll link it in the PR "guide".
I don't think I can do much more with this.
There is still one pending review.
There is still one pending review.
I don't see a review anywhere.
Don't you see it there after the second post?
Nope. If you do actually mean a review comment on some line/s of code, it does have to be confirmed, I think top right hand corner, after making a comment at a line of code. It's a bit clunky how that works.
Can you make a screenshot what is there for you?
Did it appeared now?
Eventually it will be, yeah you can create it at show and tell discussion, I'll link it in the PR "guide".
Added: https://github.com/Purfview/IMDb-Scout-Mod/discussions/240
I'll correct the link after merge so I can delete the branch.
https://ptpimg.me/ydjdp5.png
Before I get too caried away with this, what say thee. Icon color is just standout, I'll defer to any suggestion.
Obviously not every site would be supported.