Welcome to the ICM Forum. If you have an account but have trouble logging in, or have other questions, see THIS THREAD.
NOTE: Board emails should be working again. Information on forum upgrade and style issues.
Podcast: Talking Images (Episode 22 released November 17th * EXCLUSIVE * We Are Mentioned in a Book!!! Interview with Mary Guillermin on Rapture, JG & More)
Polls: 1998 (Results), DtC - Ratings (Apr 26th), Coming of Age (Apr 30th), 1933 (May 12th)
Challenges: Doubling the Canon, Animation, Middle East
Film of the Week: Moya lyubov, May nominations (Apr 30th)

iCheckMovies Enhanced

Post Reply
User avatar
Onderhond
Posts: 6613
Joined: December 23rd, 2012, 7:00 am
Contact:

#241

Post by Onderhond »

Okay, so not sure what's in the official ICM Enhanced script or if it still being maintained, but I wanted to tamper a bit more with TamperMonkey and wrote myself something extra that gives me additional personalized stats on the list pages. Stuff that often comes up in the forum lists and that gives a quick, broader overview of how I relate to a certain list.

So now I have this:
Image

Here's the script, for people who want it. Also if this is not part of the ICM Enhanced script yet and someone wants to add it, by all means do so! Code isn't very clean, but should be functional and tested against at least some edge cases.

Code: Select all

// ==UserScript==
// @name         ICM enhancements
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  try to take over the world!
// @author       You
// @match        https://*.icheckmovies.com/lists/*
// @grant        none
// ==/UserScript==
let filmList = document.getElementById('itemListMovies');
let filmListItems = filmList.querySelectorAll('.listItem');
let filmListTotal = filmListItems.length;
let checkedTotal = filmList.querySelectorAll('.listItem.checked').length;

// extra list info
let uncheckedCount = filmList.querySelectorAll('.listItem.unchecked').length;
let highestUnchecked = '';
let highestUncheckedRank = '';
if (uncheckedCount > 0) {
    highestUnchecked = filmList.querySelector('.listItem.unchecked h2 a').innerHTML;
    highestUncheckedRank = '#' + filmList.querySelector('.listItem.unchecked .rank').childNodes[0].nodeValue.trim();
} else {
    highestUnchecked = 'All checked!';
    highestUncheckedRank = 'n/a';
}
let favoriteCount = filmList.querySelectorAll('.listItem.favorite').length;
let highestFavorite = '';
let highestFavoriteRank = '';
if (favoriteCount > 0) {
    highestFavorite = filmList.querySelector('.listItem.favorite h2 a').innerHTML;
    highestFavoriteRank = '#' + filmList.querySelector('.listItem.favorite .rank').childNodes[0].nodeValue.trim();
} else {
    highestFavorite = 'None found';
    highestFavoriteRank = 'n/a';
}
let hateCount = filmList.querySelectorAll('.listItem.hated').length;
let highestHate = '';
let highestHateRank = '';
if (hateCount > 0) {
    highestHate = filmList.querySelector('.listItem.hated h2 a').innerHTML;
    highestHateRank = '#' + filmList.querySelector('.listItem.hated .rank').childNodes[0].nodeValue.trim();
} else {
    highestHate = 'None found';
    highestHateRank = 'n/a';
}

let unofficialCount = 0;
let isOfficial = (document.getElementById('topList').querySelector('h4.compact').innerHTML.trim().includes('An official iCheckMovies list')) ? true : false;
let officialLabel = (isOfficial) ? 'Unique officials' : 'Unofficial films';
for (let k=0; k < filmListItems.length; ++k) {
    let info = filmListItems[k].querySelector('.info');
    let officialListCounter = info.querySelectorAll('a')[1];

    if (isOfficial && officialListCounter !== undefined) {
        if (officialListCounter.innerHTML.charAt(0) == '1' && officialListCounter.innerHTML.charAt(1) == ' ') {
            unofficialCount += 1;
        }
    } else {
        if (officialListCounter.innerHTML.charAt(0) == '0') {
            unofficialCount += 1;
        }
    }
}


let extraInfo = '<div class="ohExtraInfo">';
extraInfo += '<div class="spec"><div class="label">Highest unchecked</div><div class="value">' + highestUnchecked + ' (' + highestUncheckedRank + ')</div></div>';
extraInfo += '<div class="spec"><div class="label">Number of favorites</div><div class="value">' + favoriteCount + '/' + checkedTotal + ' (' + Math.round((favoriteCount/checkedTotal)*100) + '%)</div></div>';
extraInfo += '<div class="spec"><div class="label">Highest favorite</div><div class="value">' + highestFavorite + ' (' + highestFavoriteRank + ')</div></div>';
extraInfo += '<div class="spec"><div class="label">Number of dislikes</div><div class="value">' + hateCount + '/' + checkedTotal + ' (' + Math.round((hateCount/checkedTotal)*100) + '%)</div></div>';
extraInfo += '<div class="spec"><div class="label">Highest dislike</div><div class="value">' + highestHate + ' (' + highestHateRank + ')</div></div>';
extraInfo += '<div class="spec"><div class="label">' + officialLabel + '</div><div class="value">' + unofficialCount + '/' + filmListTotal + ' (' + Math.round((unofficialCount/filmListTotal)*100) + '%)</div></div>';
extraInfo += '</div>';
extraInfo += '<style>.ohExtraInfo {margin-bottom:20px;} .spec {display:flex; margin:4px 0;}.spec .label {font-weight:700; flex-basis:160px;}';
let printExtraLocation = document.getElementById('itemContainer');
printExtraLocation.insertAdjacentHTML('beforebegin', extraInfo);
User avatar
xianjiro
Donator
Posts: 9267
Joined: June 17th, 2015, 6:00 am
Location: Kakistani Left Coast
Contact:

#242

Post by xianjiro »

nice! :thumbsup: :cheers:
User avatar
mightysparks
Site Admin
Posts: 31396
Joined: May 5th, 2011, 6:00 am
Location: Perth, WA, Australia
Contact:

#243

Post by mightysparks »

Onderhond, I noticed it doesn't work on this list: https://www.icheckmovies.com/lists/thri ... flavo5000/

Idk if it's clashing with another script or some other issue but it's worked fine on all other lists so far.
"I do not always know what I want, but I do know what I don't want." - Stanley Kubrick

iCM | IMDb | LastFM | TSZDT

Image
User avatar
Onderhond
Posts: 6613
Joined: December 23rd, 2012, 7:00 am
Contact:

#244

Post by Onderhond »

mightysparks wrote: April 22nd, 2020, 2:44 am Onderhond, I noticed it doesn't work on this list: https://www.icheckmovies.com/lists/thri ... flavo5000/

Idk if it's clashing with another script or some other issue but it's worked fine on all other lists so far.
Hmmm, it works for me, but could be some edge case I haven't covered yet related to your personal checks/likes. Anything special about your stats of that list (no favorites, none/all checked, ...) Stuff like that? :)

Weird list btw, 80-90% of that seems to be TV series? :)
User avatar
mightysparks
Site Admin
Posts: 31396
Joined: May 5th, 2011, 6:00 am
Location: Perth, WA, Australia
Contact:

#245

Post by mightysparks »

Onderhond wrote: April 22nd, 2020, 5:41 am
mightysparks wrote: April 22nd, 2020, 2:44 am Onderhond, I noticed it doesn't work on this list: https://www.icheckmovies.com/lists/thri ... flavo5000/

Idk if it's clashing with another script or some other issue but it's worked fine on all other lists so far.
Hmmm, it works for me, but could be some edge case I haven't covered yet related to your personal checks/likes. Anything special about your stats of that list (no favorites, none/all checked, ...) Stuff like that? :)

Weird list btw, 80-90% of that seems to be TV series? :)
It's working now :/ I refreshed it and reopened it a couple times before and it didn't load, but now it's fine :shrug: But nothing special about this list. It was working ok on lists with 0 of everything etc.
"I do not always know what I want, but I do know what I don't want." - Stanley Kubrick

iCM | IMDb | LastFM | TSZDT

Image
User avatar
Onderhond
Posts: 6613
Joined: December 23rd, 2012, 7:00 am
Contact:

#246

Post by Onderhond »

Might be some conflict with other scripts then. Not sure what browser you're using, but if you press F12 on the page where it fails a technical inspector window should pop up. There is a tab "console" where the errors will be logged :)
User avatar
Fergenaprido
Donator
Posts: 5383
Joined: June 3rd, 2014, 6:00 am
Location: Canada
Contact:

#247

Post by Fergenaprido »

Onderhond wrote: April 21st, 2020, 1:53 pm Okay, so not sure what's in the official ICM Enhanced script or if it still being maintained, but I wanted to tamper a bit more with TamperMonkey and wrote myself something extra that gives me additional personalized stats on the list pages. Stuff that often comes up in the forum lists and that gives a quick, broader overview of how I relate to a certain list.


Here's the script, for people who want it. Also if this is not part of the ICM Enhanced script yet and someone wants to add it, by all means do so! Code isn't very clean, but should be functional and tested against at least some edge cases.
This is really cool. Thanks for putting this together Onderhond. :)
User avatar
monk-time
Posts: 1381
Joined: March 23rd, 2015, 6:00 am
Contact:

#248

Post by monk-time »

(wow, it's been a minute)

Heads-up: I've been working on an update to the script, planning to release it sometime this week. I think the only visible changes so far is that I've massively simplified the cross-referencing UI and reworded the settings. The rest are mostly internal: I'm weaning the script off jQuery so about 80% of it are being rewritten.

That (and making the script working in GreaseMonkey again) meant I couldn't resist the temptation to break backwards compat. Everyone who installs the update will have to reconfigure it which shouldn't take long. But there are a couple of issues with this:
  • if you use the feature in New Tabs that allows unpaid accounts to track owned movies, I'll either cook something up to migrate the data automatically or post the instructions for how to do that manually.
  • if you use the feature that groups together lists with a given movie, same thing. Or you can just copy the urls from the settings beforehand.
User avatar
monk-time
Posts: 1381
Joined: March 23rd, 2015, 6:00 am
Contact:

#249

Post by monk-time »

Almost done with the rewrite. Added a dozen of changes that were on my dusty to-do-list, with a couple of nice surprises for you all. ;)

Also tested the script in all three engines. What's left is to handle data migration for the two settings listed in the previous post. Yucky stuff, so I've been postponing it until the last moment. Hope to be done with it very soon.

Btw, if you have collected any ideas for minor improvements or changes to the existing features during the last.. five years (omg) since the previous update, the time to speak is NOW.
User avatar
Tim2460
Posts: 6058
Joined: October 1st, 2018, 7:23 pm
Location: Dijon, France
Contact:

#250

Post by Tim2460 »

A cool feature would be to force opening an list sorted on a forced way

For my part, sorted by number of official lists for ex
User avatar
monk-time
Posts: 1381
Joined: March 23rd, 2015, 6:00 am
Contact:

#251

Post by monk-time »

Tim2460 wrote: April 3rd, 2021, 12:27 pm A cool feature would be to force opening an list sorted on a forced way

For my part, sorted by number of official lists for ex
I'll see what I can do after the release. For now I'd prefer to concentrate on improvements to the existing features.
User avatar
Armoreska
Posts: 13269
Joined: November 1st, 2012, 6:00 am
Location: Ukraine, former Free Territory
Contact:

#252

Post by Armoreska »

Nice to see you back after many years
he or A. or Armo or any

Image
currently working towards a vegan/free world + thru such film lists: GODARD, r/antinatalism recommends,..
the rest
ANARCHISTS, ANIMAL RIGHTS, Assisted suicide, Existential films, SOCIALIST CINEMA (an amalgamation of lists), Feminist lists, various GSSRM lists (aka LGBTQ+), 2010s bests, Visual Effects nominees, kid-related stuff, great animes (mini-serie or feature), very 80s movies, mah huge sci-fi list, ENVIRO, remarkable Silent Films and Pre-Code (exploring 1925 atm) and every shorts and docu list I'm aware of and
/forum.icmforum.com/viewtopic.php?f=1&t=1434
and "Gordon" Liu Chia-Hui/Liu Chia-Liang and Yuen Woo-ping and "Sammo" Hung Kam-bo
imaginary awards | youtube channels | complaint lounge | explain how big a fan of slavery you are here, ..viewtopic.php?f=12&t=1535 and here: ..viewtopic.php?f=12&t=4484
User avatar
Torgo
Posts: 2704
Joined: June 30th, 2011, 6:00 am
Location: Germany
Contact:

#253

Post by Torgo »

I am so grateful for this script :worship:
User avatar
Knaldskalle
Moderator
Posts: 10327
Joined: May 9th, 2011, 6:00 am
Location: New Mexico, USA
Contact:

#254

Post by Knaldskalle »

Slightly off-topic, but does anyone know where the scripts are stored?

I'm faced with having to "upgrade" my Linux install soon (support ends this month, so... ) and I want to make sure that my scripts are kept safe when re-installing the OS because I don't remember all the scripts I have nor where to find them again should they go missing.

I should add that I use Firefox with the violentmonkey add-on.
ImageImageImageImage

Please don't hurt yourself, talk to someone.
User avatar
monk-time
Posts: 1381
Joined: March 23rd, 2015, 6:00 am
Contact:

#255

Post by monk-time »

Knaldskalle wrote: April 3rd, 2021, 4:24 pm Slightly off-topic, but does anyone know where the scripts are stored?

I'm faced with having to "upgrade" my Linux install soon (support ends this month, so... ) and I want to make sure that my scripts are kept safe when re-installing the OS because I don't remember all the scripts I have nor where to find them again should they go missing.

I should add that I use Firefox with the violentmonkey add-on.
Violentmonkey has an option in its Settings to export/import all the scripts and their data as a .zip archive (or even sync it to the cloud if you're into that sorta thing), that's your best - and only - bet. Browsers force userscript extensions to keep the scripts deep inside of their databases instead of just basic files for security reasons.
Last edited by monk-time on April 3rd, 2021, 6:36 pm, edited 1 time in total.
User avatar
monk-time
Posts: 1381
Joined: March 23rd, 2015, 6:00 am
Contact:

#256

Post by monk-time »

iCheckMovies Enhanced 2.0.0
Tested in Firefox/Chrome, Greasemonkey/Tampermonkey/Violentmonkey
Main changes
See full changelog on GitHub or detailed commit list in my PR
  • General: the settings now auto-save
  • Cross-reference lists: the UI has been fully remade, the workflow should now be much less confusing
  • Cross-reference lists: the page autoscrolls to results after all lists have been loaded
  • Cross-reference lists: uses the same code as "Export lists", producing similar .CSVs
  • Cross-reference lists: added "Select all" button
  • Cross-reference lists: works on the progress page :party:
  • Export lists: removed the premium feature popup on the export button
  • Export lists: can now export the current page of /movies/ and /movies/unchecked|checked/
  • Group movie lists: added a button to export urls of your watchlisted/fav. lists
  • Progress page: all config changes are applied without reloading the page
  • Quick list reordering: new UI; double-click on a list's rank to edit it
  • Quick list reordering: works on /movies/favorited|disliked|watchlist/
  • Upcoming awards overview: added a button to filter by the next award only
Also quite a few small bugs have been fixed, and hopefully not too many new ones have been introduced.
Technical nonsense: the script has been almost fully rewritten. It no longer depends on jQuery and its plugins (so e.g. the main modal window is now purely native), the very confusing way settings were handled has been untangled and cleaned up, and lots of stuff have been renamed and reorganized. Also I decided to use localStorage instead of GM APIs to avoid the whole GM4 mess and make the script GM-compatible again.


Warning: all your settings will be reset, you'll have to reconfigure the script again. This should take no time with the exception of the data for owned movies (New Tabs feature) and your user group lists (old Lists Tab Display feature). If you have used either of them, the script should automatically migrate the data after updating, but JUST IN CASE do the following BEFORE UPDATING to prevent any chance of accidental data loss:
  • TM: open the extension's Dashboard, click on the script's name, open the Storage tab and copy the contents of the text field to a safe place.
  • VM: open the extension's Dashboard, click on the '</>' icon below 'iCheckMovies Enhanced' to open the script, then click Values -> All. Copy the contents of the right pane to a safe place.
If something goes wrong you can re-install v1.8.0 and paste the data you've copied back to the same place.

Now available to all users. Your script should update automatically, or you can force the update by reinstalling it again from the links in the first post. If you have previously installed the update from my fork through the link that used to be in this post, you should also reinstall from there so that you will be able to auto-receive further updates.

Any feedback is welcome. I tried my best to document every feature in the settings and reword the descriptions to improve clarity, but I'm sure there's still space for improvement.
Last edited by monk-time on April 7th, 2021, 6:02 pm, edited 2 times in total.
User avatar
Knaldskalle
Moderator
Posts: 10327
Joined: May 9th, 2011, 6:00 am
Location: New Mexico, USA
Contact:

#257

Post by Knaldskalle »

monk-time wrote: April 3rd, 2021, 5:57 pm
Knaldskalle wrote: April 3rd, 2021, 4:24 pm Slightly off-topic, but does anyone know where the scripts are stored?

I'm faced with having to "upgrade" my Linux install soon (support ends this month, so... ) and I want to make sure that my scripts are kept safe when re-installing the OS because I don't remember all the scripts I have nor where to find them again should they go missing.

I should add that I use Firefox with the violentmonkey add-on.
Violentmonkey has an option in its Settings to export/import all the scripts and their data as a .zip archive (or even sync it to the cloud if you're into that sorta thing), that's your best - and only - bet. Browsers force userscript extensions to keep the scripts deep inside of their databases instead of just basic files for security reasons.
Thank you so much for the pointer to Violentmonkey! I'd started looking for the scripts but I don't think I would've found that setting without help. Turns out I have 13 of them and there's no way I would remember them all without having a note of them somewhere. A zip file is even better.

I understand the security concern, but scripts are already inherently insecure (for those who don't parse the source code), so I'm not sure it really makes sense to me.
ImageImageImageImage

Please don't hurt yourself, talk to someone.
User avatar
Armoreska
Posts: 13269
Joined: November 1st, 2012, 6:00 am
Location: Ukraine, former Free Territory
Contact:

#258

Post by Armoreska »

Tampermonkey says 1 syntax error found
he or A. or Armo or any

Image
currently working towards a vegan/free world + thru such film lists: GODARD, r/antinatalism recommends,..
the rest
ANARCHISTS, ANIMAL RIGHTS, Assisted suicide, Existential films, SOCIALIST CINEMA (an amalgamation of lists), Feminist lists, various GSSRM lists (aka LGBTQ+), 2010s bests, Visual Effects nominees, kid-related stuff, great animes (mini-serie or feature), very 80s movies, mah huge sci-fi list, ENVIRO, remarkable Silent Films and Pre-Code (exploring 1925 atm) and every shorts and docu list I'm aware of and
/forum.icmforum.com/viewtopic.php?f=1&t=1434
and "Gordon" Liu Chia-Hui/Liu Chia-Liang and Yuen Woo-ping and "Sammo" Hung Kam-bo
imaginary awards | youtube channels | complaint lounge | explain how big a fan of slavery you are here, ..viewtopic.php?f=12&t=1535 and here: ..viewtopic.php?f=12&t=4484
User avatar
monk-time
Posts: 1381
Joined: March 23rd, 2015, 6:00 am
Contact:

#259

Post by monk-time »

Armoreska wrote: April 3rd, 2021, 10:19 pm Tampermonkey says 1 syntax error found
Huh, that's strange, works fine for me on Chrome 89 + TM 4.12. I suspect something's not up to date as I use some of the newest syntax features that have been added in Chrome 85 or maybe even later. Can you post more info? Browser, browser version, PC or mobile (haven't tested the script on mobile at all, don't expect it to work tbh but miracles happen), Tampermonkey version, the ICM page where the error happens? A screenshot of the error and the browser console would be great too.
Last edited by monk-time on April 4th, 2021, 6:59 am, edited 1 time in total.
User avatar
monk-time
Posts: 1381
Joined: March 23rd, 2015, 6:00 am
Contact:

#260

Post by monk-time »

Knaldskalle wrote: April 3rd, 2021, 9:36 pm I understand the security concern, but scripts are already inherently insecure (for those who don't parse the source code), so I'm not sure it really makes sense to me.
Well, the main concern is giving any file system access in general to any browser extension, not only to userscript engines. It was deemed too dangerous even behind a permission request, I guess because of permission fatigue and having a new exploit vector to care about. Safer to lock them up completely in a secure sandbox than to deal with who how and when can escape it.

Chrome has a toggle in extension Details to 'Allow access to File URLs', but I don't know if even that allows extensions to write or only read files. And I think a user has to find it and switch it on explicitly? which makes it a non-solution as no one reads the manual. Firefox decided not to implement any similar APIs yet when they overhauled their extension system four years ago (you can read their thought process on the issue here), and they are probably still waiting for a stable API from Chrome that they can copy. And it seems like a shiny new File System Access API for the web has recently been drafted but idk if this is available to extensions or if FF plans to implement it.
User avatar
monk-time
Posts: 1381
Joined: March 23rd, 2015, 6:00 am
Contact:

#261

Post by monk-time »

Demo: new cross-referencing UI on the progress page
Image
User avatar
Armoreska
Posts: 13269
Joined: November 1st, 2012, 6:00 am
Location: Ukraine, former Free Territory
Contact:

#262

Post by Armoreska »

Armoreska wrote: April 3rd, 2021, 10:19 pm Tampermonkey says 1 syntax error found
Google Chrome is up to date
Version 89.0.4389.114 (Official Build) (64-bit)
Image
Maybe the line got garbled somehow, these question marks look out of place to me.
(When I run the file in Windows thingie it also says syntax error)
he or A. or Armo or any

Image
currently working towards a vegan/free world + thru such film lists: GODARD, r/antinatalism recommends,..
the rest
ANARCHISTS, ANIMAL RIGHTS, Assisted suicide, Existential films, SOCIALIST CINEMA (an amalgamation of lists), Feminist lists, various GSSRM lists (aka LGBTQ+), 2010s bests, Visual Effects nominees, kid-related stuff, great animes (mini-serie or feature), very 80s movies, mah huge sci-fi list, ENVIRO, remarkable Silent Films and Pre-Code (exploring 1925 atm) and every shorts and docu list I'm aware of and
/forum.icmforum.com/viewtopic.php?f=1&t=1434
and "Gordon" Liu Chia-Hui/Liu Chia-Liang and Yuen Woo-ping and "Sammo" Hung Kam-bo
imaginary awards | youtube channels | complaint lounge | explain how big a fan of slavery you are here, ..viewtopic.php?f=12&t=1535 and here: ..viewtopic.php?f=12&t=4484
User avatar
monk-time
Posts: 1381
Joined: March 23rd, 2015, 6:00 am
Contact:

#263

Post by monk-time »

Armoreska wrote: April 4th, 2021, 10:08 am Maybe the line got garbled somehow, these question marks look out of place to me.
(When I run the file in Windows thingie it also says syntax error)
Oh, THAAAT thing... Well, does it prevent the script from working? Can you access the script's settings window (mouse over your username on top of any ICM page, select 'iCheckMovies Enhanced' in the drop-down menu), do the features work?

Because your error is just a helper tool for editing the script from inside TM (basically a glorified spell checker) complaining about syntax that is too modern for the tool. It shouldn't in any way interfere with the script itself because the browser supports this feature.

edit: If you really wish to not see this harmless error you can put the following snippet into TM's Settings -> Editor -> Custom Linter Config (set Config mode to Advanced to see this field):
Spoiler

Code: Select all

{
    "parserOptions": {
        "ecmaVersion": 2021
    }
}
User avatar
Armoreska
Posts: 13269
Joined: November 1st, 2012, 6:00 am
Location: Ukraine, former Free Territory
Contact:

#264

Post by Armoreska »

Ah I can still run it. Not sure if it's working properly, ofc, but it certainly is showing me cool things.
Who knew ICM wants to give me so many awards
Spoiler
Image
Is there a way to hide all of the ones with IMDb in title? Anyway I hid them manually.
--
Wow even list watchlist shows me like 50 imaginary awards based on ordering.
Spoiler
Image
Ofc in an ideal world it would surf all 1700 of them xD
--
Does anyone know how to work with Copy urls for a list group?
Does anyone know how to work with looking at the list of "X unchecked movies appear on at least X of these lists" after running "Cross-reference lists"
he or A. or Armo or any

Image
currently working towards a vegan/free world + thru such film lists: GODARD, r/antinatalism recommends,..
the rest
ANARCHISTS, ANIMAL RIGHTS, Assisted suicide, Existential films, SOCIALIST CINEMA (an amalgamation of lists), Feminist lists, various GSSRM lists (aka LGBTQ+), 2010s bests, Visual Effects nominees, kid-related stuff, great animes (mini-serie or feature), very 80s movies, mah huge sci-fi list, ENVIRO, remarkable Silent Films and Pre-Code (exploring 1925 atm) and every shorts and docu list I'm aware of and
/forum.icmforum.com/viewtopic.php?f=1&t=1434
and "Gordon" Liu Chia-Hui/Liu Chia-Liang and Yuen Woo-ping and "Sammo" Hung Kam-bo
imaginary awards | youtube channels | complaint lounge | explain how big a fan of slavery you are here, ..viewtopic.php?f=12&t=1535 and here: ..viewtopic.php?f=12&t=4484
User avatar
monk-time
Posts: 1381
Joined: March 23rd, 2015, 6:00 am
Contact:

#265

Post by monk-time »

Armoreska wrote: April 4th, 2021, 11:26 am Is there a way to hide all of the ones with IMDb in title? Anyway I hid them manually.
Yeah, this goes straight to my to-do-list. I got tired of re-hiding IMDb lists from Upcoming Awards Overview like 50 times during testing, should've just added an option to hide them from the start.
Armoreska wrote: April 4th, 2021, 11:26 am Does anyone know how to work with Copy urls for a list group?
The idea is that you press this button on your /lists/watchlist and /lists/favorited pages to copy list urls, and then paste them into user group fields in the script's settings -> "Group movie lists". That way you can change how a movie's "In lists" tab looks like by grouping together lists that are specified in those fields, in this case your favorited and wl'ed lists. Here's an example: the first group are the official lists, then my favorited lists, then my watchlisted lists, then filmographies (lists with this tag), then the rest.

The way it's set up now allows for some flexibility in that you can manually edit the text fields and add/remove links, but this comes at the cost of confusing people. Maybe I should just remove the text fields and provide the options to group wl'ed and fav. lists instead? Those two are the main use case anyway. What do you all think?
Armoreska wrote: April 4th, 2021, 11:26 am Does anyone know how to work with looking at the list of "X unchecked movies appear on at least X of these lists" after running "Cross-reference lists"
Those are just text summaries for the cross-referenced lists below them, they specify which lists were cross-referenced and with which settings (CR can cross-reference all movies or just your unchecked ones, for example). You can copy this info if you need it elsewhere, like if you export the .csv and don't want to forget its source.
User avatar
Armoreska
Posts: 13269
Joined: November 1st, 2012, 6:00 am
Location: Ukraine, former Free Territory
Contact:

#266

Post by Armoreska »

That lists thing blows my mind! I always complain about the lists thing being overloaded with strictly personal lists.
One small issue: where are these dreamy "text fields" settings? The ones inside monkey are pretty boring, doesn't look like it offers anything like list levels.
Currently, I've got vanilla settings with officials and filmogs grouped.

nvm i found them, that's what ICM Enhanced means.
Last edited by Armoreska on April 4th, 2021, 1:39 pm, edited 2 times in total.
he or A. or Armo or any

Image
currently working towards a vegan/free world + thru such film lists: GODARD, r/antinatalism recommends,..
the rest
ANARCHISTS, ANIMAL RIGHTS, Assisted suicide, Existential films, SOCIALIST CINEMA (an amalgamation of lists), Feminist lists, various GSSRM lists (aka LGBTQ+), 2010s bests, Visual Effects nominees, kid-related stuff, great animes (mini-serie or feature), very 80s movies, mah huge sci-fi list, ENVIRO, remarkable Silent Films and Pre-Code (exploring 1925 atm) and every shorts and docu list I'm aware of and
/forum.icmforum.com/viewtopic.php?f=1&t=1434
and "Gordon" Liu Chia-Hui/Liu Chia-Liang and Yuen Woo-ping and "Sammo" Hung Kam-bo
imaginary awards | youtube channels | complaint lounge | explain how big a fan of slavery you are here, ..viewtopic.php?f=12&t=1535 and here: ..viewtopic.php?f=12&t=4484
User avatar
monk-time
Posts: 1381
Joined: March 23rd, 2015, 6:00 am
Contact:

#267

Post by monk-time »

Told ya it's too confusing. :lol:

Just in case anyone else can't find them too:
Spoiler
Image

Click "Copy urls for a list group" while on /lists/favorited/, open this tab in the script's settings, paste into Group 1. Then do the same for /lists/watchlist/ and Group 2. I'll simplify this later if no one edits these fields anyway.
I'll post a full manual for the script in a few days.
User avatar
Armoreska
Posts: 13269
Joined: November 1st, 2012, 6:00 am
Location: Ukraine, former Free Territory
Contact:

#268

Post by Armoreska »

Now the hot question is how to, and even should i really, put all 60something pages of watchlisted lists in there? As the copy-url tool only copies 25 lists.

Forget favorited, that list-list has 90 pages

Also I guess if any list title changes it will become unusable for this since the link is unstable.
monk-time wrote: April 4th, 2021, 12:50 pm the first group are the official lists, then my favorited lists, then my watchlisted lists, then filmographies (lists with this tag), then the rest.
ah this was unclear, in settings filmographies come 2nd

OK so I added my own lists instead + a few pages of largest lists.
I'm thinking there could be a list of all objectively cool lists where the extension would update its own list from.
Spoiler
Image
That's how it looks right now with mostly just mega lists prioritized.
I could add all the other watched lists as group 2 later.
If I had configured paypal I could just unlock the export-all-lists function for one euro. Good thing I also dont watchlist official lists. Bad thing, I did watchlist filmographies.
he or A. or Armo or any

Image
currently working towards a vegan/free world + thru such film lists: GODARD, r/antinatalism recommends,..
the rest
ANARCHISTS, ANIMAL RIGHTS, Assisted suicide, Existential films, SOCIALIST CINEMA (an amalgamation of lists), Feminist lists, various GSSRM lists (aka LGBTQ+), 2010s bests, Visual Effects nominees, kid-related stuff, great animes (mini-serie or feature), very 80s movies, mah huge sci-fi list, ENVIRO, remarkable Silent Films and Pre-Code (exploring 1925 atm) and every shorts and docu list I'm aware of and
/forum.icmforum.com/viewtopic.php?f=1&t=1434
and "Gordon" Liu Chia-Hui/Liu Chia-Liang and Yuen Woo-ping and "Sammo" Hung Kam-bo
imaginary awards | youtube channels | complaint lounge | explain how big a fan of slavery you are here, ..viewtopic.php?f=12&t=1535 and here: ..viewtopic.php?f=12&t=4484
User avatar
monk-time
Posts: 1381
Joined: March 23rd, 2015, 6:00 am
Contact:

#269

Post by monk-time »

Armoreska wrote: April 4th, 2021, 1:39 pm Now the hot question is how to, and even should i really, put all 60something pages of watchlisted lists in there? As the copy-url tool only copies 25 lists.
Oh, I didn't know those lists split into pages if you put too many items in there, I have only 63 favorited lists and all of them are shown on one page.

Right now you'll have to copy links in batches, one page at a time, and append them to the end of the textfield in the script's settings (don't forget a newline). The script should handle this amount of links just fine, the storage limit for the script is tens of thousands lists. But the way it's coded rn it'll cause a lag spike at a certain point since it uses an inefficient algo. I'll fix this later.

Also I have a small userscript that can append next pages instead of reloading the page, I'm thinking of adding it to ICME as another feature. That would make your use case much simpler: just append all pages first (= click 60 times on the button) and then click on the link to copy all urls at once.
Armoreska wrote: April 4th, 2021, 1:39 pm Also I guess if any list title changes it will become unusable for this since the link is unstable.
Yes, I don't see any other way to store lists other than by their url, so if any part of it changes (including the username) I can't track this. I wish the site exposed some kind of an immutable id for lists in HTML like it does for movies.

Btw, I just learned that I can easily check for redirects and update the urls but it seems like ICM doesn't redirect old urls if a list has been renamed. Insert sad trombone noise.
Armoreska wrote: April 4th, 2021, 1:39 pm I'm thinking there could be a list of all objectively cool lists where the extension would update its own list from.
I was thinking along the same lines, a feature that integrates good unofficial lists into the site would be dope. The community could put together some kind of a database with unofficial lists from good sources, tag them and update it separately. And then the script could fetch it and use it to organize /movies/[MOVIENAME]/rankings/, show them on /movies/[MOVIENAME]/ below official lists and maybe even add a label "in X top lists and Y curated lists" to lists. Unfortunately, without the site exposing immutable list ids or redirecting when a list gets renamed this is pretty much a non-starter. And even then I won't be able to implement things like filter 'All movies' by 'in # curated lists', that's unfeasible for a userscript.
User avatar
Armoreska
Posts: 13269
Joined: November 1st, 2012, 6:00 am
Location: Ukraine, former Free Territory
Contact:

#270

Post by Armoreska »

You're blessed to have so many lists on one page wow I didn't know that was a thing.
Have you managed to contact themagician?
he or A. or Armo or any

Image
currently working towards a vegan/free world + thru such film lists: GODARD, r/antinatalism recommends,..
the rest
ANARCHISTS, ANIMAL RIGHTS, Assisted suicide, Existential films, SOCIALIST CINEMA (an amalgamation of lists), Feminist lists, various GSSRM lists (aka LGBTQ+), 2010s bests, Visual Effects nominees, kid-related stuff, great animes (mini-serie or feature), very 80s movies, mah huge sci-fi list, ENVIRO, remarkable Silent Films and Pre-Code (exploring 1925 atm) and every shorts and docu list I'm aware of and
/forum.icmforum.com/viewtopic.php?f=1&t=1434
and "Gordon" Liu Chia-Hui/Liu Chia-Liang and Yuen Woo-ping and "Sammo" Hung Kam-bo
imaginary awards | youtube channels | complaint lounge | explain how big a fan of slavery you are here, ..viewtopic.php?f=12&t=1535 and here: ..viewtopic.php?f=12&t=4484
User avatar
monk-time
Posts: 1381
Joined: March 23rd, 2015, 6:00 am
Contact:

#271

Post by monk-time »

No reply yet. I've just sent him a PM on ICM too in case he doesn't receive notifications from GitHub.
User avatar
Armoreska
Posts: 13269
Joined: November 1st, 2012, 6:00 am
Location: Ukraine, former Free Territory
Contact:

#272

Post by Armoreska »

K, will send him a message where I can see he's online

Did you see Onderhond's script on this page?
he or A. or Armo or any

Image
currently working towards a vegan/free world + thru such film lists: GODARD, r/antinatalism recommends,..
the rest
ANARCHISTS, ANIMAL RIGHTS, Assisted suicide, Existential films, SOCIALIST CINEMA (an amalgamation of lists), Feminist lists, various GSSRM lists (aka LGBTQ+), 2010s bests, Visual Effects nominees, kid-related stuff, great animes (mini-serie or feature), very 80s movies, mah huge sci-fi list, ENVIRO, remarkable Silent Films and Pre-Code (exploring 1925 atm) and every shorts and docu list I'm aware of and
/forum.icmforum.com/viewtopic.php?f=1&t=1434
and "Gordon" Liu Chia-Hui/Liu Chia-Liang and Yuen Woo-ping and "Sammo" Hung Kam-bo
imaginary awards | youtube channels | complaint lounge | explain how big a fan of slavery you are here, ..viewtopic.php?f=12&t=1535 and here: ..viewtopic.php?f=12&t=4484
User avatar
monk-time
Posts: 1381
Joined: March 23rd, 2015, 6:00 am
Contact:

#273

Post by monk-time »

Armoreska wrote: April 7th, 2021, 5:16 pm K, will send him a message where I can see he's online

Did you see Onderhond's script on this page?
Thanks! Seems like it worked, the update is now official. It hasn't yet percolated to GreasyFork but after it does everyone who has installed the update before from my post should reinstall from there so that you will auto-receive further updates.

I haven't yet taken a look at Onderhond's script, I'll check it out when I have the time.
User avatar
xianjiro
Donator
Posts: 9267
Joined: June 17th, 2015, 6:00 am
Location: Kakistani Left Coast
Contact:

#274

Post by xianjiro »

monk-time wrote: April 4th, 2021, 12:50 pm
The way it's set up now allows for some flexibility in that you can manually edit the text fields and add/remove links, but this comes at the cost of confusing people. Maybe I should just remove the text fields and provide the options to group wl'ed and fav. lists instead? Those two are the main use case anyway. What do you all think?
Sounds good to me - the last thing I want or will do will be "manually edit" at this point. :)
User avatar
xianjiro
Donator
Posts: 9267
Joined: June 17th, 2015, 6:00 am
Location: Kakistani Left Coast
Contact:

#275

Post by xianjiro »

monk-time wrote: April 7th, 2021, 9:39 am Unfortunately, without the site exposing immutable list ids or redirecting when a list gets renamed this is pretty much a non-starter. And even then I won't be able to implement things like filter 'All movies' by 'in # curated lists', that's unfeasible for a userscript.
If I understand correctly, it seems v3 is going along that line - sorta. Here's one of my lists:

v2 - https://www.icheckmovies.com/lists/imdb ... /xianjiro/
v3 - https://beta.icheckmovies.com/lists/293 ... d+biweekly

No idea why Marijn is adding the list name to what basically looks like a list ID.
User avatar
Armoreska
Posts: 13269
Joined: November 1st, 2012, 6:00 am
Location: Ukraine, former Free Territory
Contact:

#276

Post by Armoreska »

xianjiro wrote: April 7th, 2021, 6:14 pm
monk-time wrote: April 4th, 2021, 12:50 pm
The way it's set up now allows for some flexibility in that you can manually edit the text fields and add/remove links, but this comes at the cost of confusing people. Maybe I should just remove the text fields and provide the options to group wl'ed and fav. lists instead? Those two are the main use case anyway. What do you all think?
Sounds good to me - the last thing I want or will do will be "manually edit" at this point. :)
I would like at least 1 manual group. :hmph:
Not sure how the program can keep the track of all my watched lists. :whistling:
Don't care much about the faved lists that are not on watchlist, but wouldn't complain if that were another group. :D
he or A. or Armo or any

Image
currently working towards a vegan/free world + thru such film lists: GODARD, r/antinatalism recommends,..
the rest
ANARCHISTS, ANIMAL RIGHTS, Assisted suicide, Existential films, SOCIALIST CINEMA (an amalgamation of lists), Feminist lists, various GSSRM lists (aka LGBTQ+), 2010s bests, Visual Effects nominees, kid-related stuff, great animes (mini-serie or feature), very 80s movies, mah huge sci-fi list, ENVIRO, remarkable Silent Films and Pre-Code (exploring 1925 atm) and every shorts and docu list I'm aware of and
/forum.icmforum.com/viewtopic.php?f=1&t=1434
and "Gordon" Liu Chia-Hui/Liu Chia-Liang and Yuen Woo-ping and "Sammo" Hung Kam-bo
imaginary awards | youtube channels | complaint lounge | explain how big a fan of slavery you are here, ..viewtopic.php?f=12&t=1535 and here: ..viewtopic.php?f=12&t=4484
User avatar
Fergenaprido
Donator
Posts: 5383
Joined: June 3rd, 2014, 6:00 am
Location: Canada
Contact:

#277

Post by Fergenaprido »

monk-time wrote: April 7th, 2021, 9:39 am
Armoreska wrote: April 4th, 2021, 1:39 pm Now the hot question is how to, and even should i really, put all 60something pages of watchlisted lists in there? As the copy-url tool only copies 25 lists.
Oh, I didn't know those lists split into pages if you put too many items in there, I have only 63 favorited lists and all of them are shown on one page.

Right now you'll have to copy links in batches, one page at a time, and append them to the end of the textfield in the script's settings (don't forget a newline). The script should handle this amount of links just fine, the storage limit for the script is tens of thousands lists. But the way it's coded rn it'll cause a lag spike at a certain point since it uses an inefficient algo. I'll fix this later.

Also I have a small userscript that can append next pages instead of reloading the page, I'm thinking of adding it to ICME as another feature. That would make your use case much simpler: just append all pages first (= click 60 times on the button) and then click on the link to copy all urls at once.
I have 75 favorited lists and 683 watchlisted lists, and both display on a single page. Maybe it's a paid feature?
monk-time wrote: April 7th, 2021, 9:39 am
Armoreska wrote: April 4th, 2021, 1:39 pm Also I guess if any list title changes it will become unusable for this since the link is unstable.
Yes, I don't see any other way to store lists other than by their url, so if any part of it changes (including the username) I can't track this. I wish the site exposed some kind of an immutable id for lists in HTML like it does for movies.

Btw, I just learned that I can easily check for redirects and update the urls but it seems like ICM doesn't redirect old urls if a list has been renamed. Insert sad trombone noise.
xianjiro wrote: April 7th, 2021, 6:26 pm
monk-time wrote: April 7th, 2021, 9:39 am Unfortunately, without the site exposing immutable list ids or redirecting when a list gets renamed this is pretty much a non-starter. And even then I won't be able to implement things like filter 'All movies' by 'in # curated lists', that's unfeasible for a userscript.
If I understand correctly, it seems v3 is going along that line - sorta. Here's one of my lists:

v2 - https://www.icheckmovies.com/lists/imdb ... /xianjiro/
v3 - https://beta.icheckmovies.com/lists/293 ... d+biweekly

No idea why Marijn is adding the list name to what basically looks like a list ID.
Yes, in Beta, even if you change the name of the list, the ID stays the same, so that could be one way to workaround the redirects. The only current issue I'm aware of is if a list has the exact same name as an official list, but Marijn is trying to figure a way to fix that.
🧚‍♂️🦫
User avatar
Armoreska
Posts: 13269
Joined: November 1st, 2012, 6:00 am
Location: Ukraine, former Free Territory
Contact:

#278

Post by Armoreska »

It says something else about having over 1000 lists, so that must be the cutoff point. I wonder though if there are other ppl with where I am on lists.
he or A. or Armo or any

Image
currently working towards a vegan/free world + thru such film lists: GODARD, r/antinatalism recommends,..
the rest
ANARCHISTS, ANIMAL RIGHTS, Assisted suicide, Existential films, SOCIALIST CINEMA (an amalgamation of lists), Feminist lists, various GSSRM lists (aka LGBTQ+), 2010s bests, Visual Effects nominees, kid-related stuff, great animes (mini-serie or feature), very 80s movies, mah huge sci-fi list, ENVIRO, remarkable Silent Films and Pre-Code (exploring 1925 atm) and every shorts and docu list I'm aware of and
/forum.icmforum.com/viewtopic.php?f=1&t=1434
and "Gordon" Liu Chia-Hui/Liu Chia-Liang and Yuen Woo-ping and "Sammo" Hung Kam-bo
imaginary awards | youtube channels | complaint lounge | explain how big a fan of slavery you are here, ..viewtopic.php?f=12&t=1535 and here: ..viewtopic.php?f=12&t=4484
User avatar
monk-time
Posts: 1381
Joined: March 23rd, 2015, 6:00 am
Contact:

#279

Post by monk-time »

xianjiro wrote: April 7th, 2021, 6:26 pm If I understand correctly, it seems v3 is going along that line - sorta. Here's one of my lists:

v2 - https://www.icheckmovies.com/lists/imdb ... /xianjiro/
v3 - https://beta.icheckmovies.com/lists/293 ... d+biweekly

No idea why Marijn is adding the list name to what basically looks like a list ID.
Fergenaprido wrote: April 7th, 2021, 7:10 pm Yes, in Beta, even if you change the name of the list, the ID stays the same, so that could be one way to workaround the redirects. The only current issue I'm aware of is if a list has the exact same name as an official list, but Marijn is trying to figure a way to fix that.
Yeah, for the purposes of the script that will do just fine, that number is enough to highlight a list in a list of lists. And it seems like the beta redirects /lists/29320-blah-blah-blah to the proper link which is perfect. But I guess this will have to wait untl the beta is released.
User avatar
monk-time
Posts: 1381
Joined: March 23rd, 2015, 6:00 am
Contact:

#280

Post by monk-time »

The update is now live on GreasyFork.
Armoreska wrote: April 3rd, 2021, 10:19 pm Tampermonkey says 1 syntax error found
You won't believe it but the update got stuck in the pipes because of this same error. :lol:
Post Reply