topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Wednesday December 11, 2024, 12:53 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Last post Author Topic: comparing two big different lists of strings/filenames  (Read 13749 times)

compn

  • Supporting Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 54
    • View Profile
    • Donate to Member
i have a list of filenames, and my friend has a list of filenames. we are trying to organize and sort and compare our lists of filenames. but the two lists are too different for most string comparing tools.

they have different filenames even if the files themselves are the same. some have spaces "the quick brown fox" while the other has . "the.quick.brown.fox". some have extra words that dont have to be compared and should be ignored, such as "the" "webrip" "dvdrip" ".avi" ".mkv" ".mp4" "x264" "xvid". said another way, an exclusion list of words to ignore.

these lists are just examples of the kinds of filenames we want to compare. i just grabbed these lists at random from the internet.

list3 has the year at the start of the string, making it more complicated to compare it to strings where the year is later in the string.
e.g.
airplane - (1977)
should match
1977.airplane

on the plus side, the strings being titles, will generally have the words in the same order. so for my case, it will always be comparing the same words in the same order.

example:
big trouble in little china - trailer.mp4

would 90% match to

big.trouble.in.little.china - review.mp4
1984 - big trouble in little china - interview.mp4
(best movie ever) dir john carpenter - big trouble in little china- subscribe-to-my-youtube-channel (xxexamplereviewsxx)

and it would match maybe 30% to

big trouble 2002 tim allen.mp4

and it would match also with maybe 10% (just "trouble")

The Trouble with Time Travel

an option to ignore any partial matches under 10% score or missing words? or maybe bonus percentage points for the words in the right order "big trouble in little china" but a lower score (or exclusion of a match) for "china has little trouble in big birthrates" because the strings arent in the same order?

for how the tool should look, i assume the master list on the left and then the compare list on the right . maybe with color codes on matched strings. with real time editing and addition/apply of words to ignore . i'll try to come up with a mock screenshot , but if you have a better idea i'm all for it.

option to copy and paste the lists in, or select .txt files.

as for output, ability to clear matched strings from both sides or only one side. ability to save non-matched strings on left/right or both lists, or only matched strings left/right or both.

compn

  • Supporting Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 54
    • View Profile
    • Donate to Member
Re: comparing two big different lists of strings/filenames
« Reply #1 on: May 15, 2024, 01:03 AM »
something like this except background color instead of text color. this took me way longer than i expected...

excluded strings: .mkv .avi .mp4 - ( ) [ ] dvdrip
list2list3
The Big Red One - Lee Marvin (1980).avi1980 - The Big Red One.mp4
The Black Cauldron {1985} ENG.DVDRIP.avi1985 - The Black Cauldron.mkv
The Burbs (1989) Tom Hanks .avi1989 - The Burbs.mkv
The Breakfast Club - 1985.avi1985 - The Breakfast Club.mkv
The Jewel of the Nile (1985) Kathlene Turner, Michael Douglas, Danny DeVito.avi
1985 - The Jewel Of The Nile.mkv

paradisusvic

  • Participant
  • Joined in 2024
  • *
  • Posts: 73
  • Call me Vic!
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: comparing two big different lists of strings/filenames
« Reply #2 on: May 15, 2024, 05:59 AM »
Hello & good day @compn, I'm giving it a try for movies:

Repo: https://github.com/paradisusis/movielist-compn

MovieList-compn.png

This one's straightforward hence there should be happy news of first version soon :Thmbsup:

Cheers!
Vic
My name's Victor but do feel free to call me Vic!

❤️ Support on Patreon @ www.patreon.com/paradisusio

GitHub: github.com/paradisusio

🌟 Good projects deserve support 🌎🌍🌏

✉ Email / Extend your PayPal support ❤️: paradisusvic@gmail.com
« Last Edit: June 20, 2024, 09:29 PM by paradisusvic »

compn

  • Supporting Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 54
    • View Profile
    • Donate to Member
Re: comparing two big different lists of strings/filenames
« Reply #3 on: May 15, 2024, 04:20 PM »
neat. hopefully i described it properly what i wanted :)

rjbull

  • Charter Member
  • Joined in 2005
  • ***
  • default avatar
  • Posts: 3,205
    • View Profile
    • Donate to Member
Re: comparing two big different lists of strings/filenames
« Reply #4 on: May 15, 2024, 05:23 PM »
i have a list of filenames, and my friend has a list of filenames. we are trying to organize and sort and compare our lists of filenames. but the two lists are too different for most string comparing tools.

I see Vic is on the task, but I think what you're asking for is usually called fuzzy string matching.  Try a Web search, there seems plenty of Python work on it, and take a look at Comparing Strings Is Easy With FuzzyWuzzy.

paradisusvic

  • Participant
  • Joined in 2024
  • *
  • Posts: 73
  • Call me Vic!
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: comparing two big different lists of strings/filenames
« Reply #5 on: May 15, 2024, 07:38 PM »
I see Vic is on the task, but I think what you're asking for is usually called fuzzy string matching.

Hello RJ, spot on! This is being tackled in two steps/releases:

- First, the MovieList for direct movie comparison.

- Second, Fuzzy-matching for adding more/partial results.

Tokens + ignore list of words :Thmbsup:
My name's Victor but do feel free to call me Vic!

❤️ Support on Patreon @ www.patreon.com/paradisusio

GitHub: github.com/paradisusio

🌟 Good projects deserve support 🌎🌍🌏

✉ Email / Extend your PayPal support ❤️: paradisusvic@gmail.com
« Last Edit: May 15, 2024, 08:26 PM by paradisusvic »

compn

  • Supporting Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 54
    • View Profile
    • Donate to Member
Re: comparing two big different lists of strings/filenames
« Reply #6 on: May 16, 2024, 12:18 AM »
I see Vic is on the task, but I think what you're asking for is usually called fuzzy string matching.  Try a Web search, there seems plenty of Python work on it, and take a look at Comparing Strings Is Easy With FuzzyWuzzy.

thanks, i didnt know what it was called.

this stackoverflow post has some info about scoring fuzzy matches, and the output kinda sounds exactly what i was describing, although i dont know how useful that output would be until using it. and i wouldnt want the match percentage to be output in a new list anyhow.
https://stackoverflo...h-very-similar-names

Output:

print(results)
           sample_name             actual_name  score
0             jtsports           JT Sports LLC   79.0
1          tombaseball       Tom Baseball Inc.   81.0
2      context express     Context Express LLC   95.0
3            zb sicily           ZB Sicily LLC   95.0
4   lightening express  Lightening Express LLC   95.0
5           fire roads       Fire Road Express   86.0
6                  NaN             Earth Treks    NaN
7                  NaN           TS Sports LLC    NaN
8                  NaN        MM Baseball Inc.    NaN
9                  NaN     Contact Express LLC    NaN
10                 NaN           AB Sicily LLC    NaN
11                 NaN    Lightening Roads LLC    NaN

- First, the MovieList for direct movie comparison.
-paradisusvic (May 15, 2024, 07:38 PM)
this already exists i think. its just uniq -d

for example, with the lists i provided:

C:\>cat list* | sort | uniq -d
The.Last.Married.Couple.In.America.1980.720p.BluRay.x264.AAC-[YTS.MX].mp4
The.Osterman.Weekend.1983.720p.BluRay.x264.YIFY.mp4
The.Wild.Life.1984.720p.BluRay.x264.AAC-[YTS.MX].mp4

C:\>uniq --version
uniq (textutils) 2.1
C:\>cat --version
cat (GNU textutils) 2.0

but that wouldnt tell me which list has the duplicate because i had to concatenate the files.
all i really need is a fuzzy uniq for comparing two lists...

and if i google fuzzy uniq theres 'funiq'

https://github.com/mjfisheruk/funiq

Funiq (fuzzy uniq) is a command line tool for performing fuzzy string matching against lists of words.

and the examples it is using to compare? movie titles! hahaha :finger pointing at brain.meme:

but the ability to exclude words and characters would make for better matches. i see some fuzzy matching toolkits use scrubbers to scrub the inputs first.

- Second, Fuzzy-matching for adding more/partial results.
Tokens + ignore list of words :Thmbsup:

fuzzy matching looks difficult :D
« Last Edit: May 16, 2024, 12:43 AM by compn »

paradisusvic

  • Participant
  • Joined in 2024
  • *
  • Posts: 73
  • Call me Vic!
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: comparing two big different lists of strings/filenames
« Reply #7 on: May 16, 2024, 01:25 PM »
this already exists i think. its just uniq -d
...
but that wouldnt tell me which list has the duplicate [...]

Hello & good day! :) There's a difference here!

The generated "MovieList-matches.txt" does show which file is on each list, using this format:

The Adventures of Baron Munchausen
First list:
The Adventures of Baron Munchausen.avi
Second list:
1988 - The Adventures of Baron Munchausen 1988 1080p BluRay x265-RARBG.mp4
1989 - The Adventures Of Baron Munchausen.mkv

The adventures of Baron Munchausen
First list:
The adventures of Baron Munchausen (1988).mp4
The.Adventures.of.Baron.Munchausen.1988.720p.BRRip.x264.AC3-MAJESTiC.mp4
Second list:
1988 - The Adventures of Baron Munchausen 1988 1080p BluRay x265-RARBG.mp4
1989 - The Adventures Of Baron Munchausen.mkv

Working code is pushed to GitHub already. I'm packaging it for first release :Thmbsup:
My name's Victor but do feel free to call me Vic!

❤️ Support on Patreon @ www.patreon.com/paradisusio

GitHub: github.com/paradisusio

🌟 Good projects deserve support 🌎🌍🌏

✉ Email / Extend your PayPal support ❤️: paradisusvic@gmail.com
« Last Edit: May 16, 2024, 01:43 PM by paradisusvic »

paradisusvic

  • Participant
  • Joined in 2024
  • *
  • Posts: 73
  • Call me Vic!
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: comparing two big different lists of strings/filenames
« Reply #8 on: May 16, 2024, 04:58 PM »
First ALPHA version of the program is out:


MovieList-compn_ALPHA-1.png



list1.txt, list2.txt:

The Accidental Tourist
First list:
The Accidental Tourist  1988.avi
Second list:
The Accidental Tourist (1988) William Hurt, Geena Davis  .avi

The Adventures of Baron Munchausen
First list:
The Adventures of Baron Munchausen.avi
Second list:
The adventures of Baron Munchausen (1988).mp4
The.Adventures.of.Baron.Munchausen.1988.720p.BRRip.x264.AC3-MAJESTiC.mp4

The Adventures of Mark Twain
First list:
The.Adventures.of.Mark.Twain.1985.720p.BluRay.x264.mkv
Second list:
The.Adventures.of.Mark.Twain.1985.BRRip.XviD.MP3-XVID.avi

The Best Little Whorehouse in Texas
First list:
The Best Little Whorehouse in Texas 1982.avi
Second list:
The.Best.Little.Whorehouse.In.Texas.1982.720p.BluRay.x264-[YTS.AG].mp4

The Best Of Times
First list:
The Best Of Times  1986.mp4
Second list:
The.Best.of.Times.1986.HDTV.720p.x264.AC3-MAJESTiC.mp4

The Big Chill
First list:
The Big Chill  1983.mp4
Second list:
The Big Chill (1983) - Tom Beringer, Glenn Close, Jeff Goldblum - (imdb=7,2 - 1983 - [x264-1280x696] BR - HD4U.avi

The Big Easy
First list:
The Big Easy  1986.mp4
Second list:
The Big Easy  (1986).mp4

The Big Town
First list:
The Big Town (1987)-DVDRIp-AC3-Xvid-THC.avi
Second list:
The Big Town (1987) Tommy Lee Jones   Diane Lane - Drama HD.mp4

The Black Room
First list:
The.Black.Room.1984.DVDRip.x264-CG.mkv
Second list:
The.Black.Room.1982.720p.BluRay.x264.AAC-[YTS.MX].mp4

The Blue Lagoon
First list:
The Blue Lagoon 1980.avi
Second list:
The.Blue.Lagoon.1980.720p.BluRay.x264.[YTS.AG].mp4

The Bounty
First list:
The Bounty.avi
Second list:
The Bounty (1984) - Anthony Hopkins, Mel Gibson.avi
The.Bounty.1984.720p.BluRay.x264-[YTS.AM].mp4

The Breakfast Club
First list:
The Breakfast Club  1985.mp4
Second list:
The Breakfast Club - 1985.avi
The.Breakfast.Club.1985.REMASTERED.REPACK.720p.BluRay.x264.AAC-[YTS.MX].mp4

The Color of Money
First list:
The Color of Money  1986.avi
Second list:
The.Color.Of.Money.1986.720p.BluRay.x264-[YTS.AG].mp4

The Cotton Club
First list:
The Cotton Club 1984.avi
Second list:
The.Cotton.Club.1984.720p.BluRay.x264-[YTS.AM].mp4

The couch trip
First list:
The couch trip 1988.avi
Second list:
The.Couch.Trip.1988.720p.BluRay.x264.AAC-[YTS.MX].mp4

The Emerald Forest
First list:
The Emerald Forest  1985.mp4
Second list:
The Emerald Forest - 1985.avi

The Fabulous Baker Boys
First list:
The Fabulous Baker Boys  1989.mp4
Second list:
The Fabulous Baker Boys 1989 720p BluRay.mp4

The Fourth Protocol
First list:
The.Fourth.Protocol.1987.WS.DVDRip.XViD-BTSFilms.avi
Second list:
The fourth protocol (1987).avi

The Golden Child
First list:
The Golden Child  1986.avi
Second list:
The Golden Child (1986).avi

The Great Outdoors
First list:
The Great Outdoors.avi
Second list:
The.Great.Outdoors.1988.720p.BluRay.x264-[YTS.AG].mp4

The Happy Hooker Goes Hollywood
First list:
The.Happy.Hooker.Goes.Hollywood.1980.720p.BluRay.x264.AAC-[YTS.MX].mp4
Second list:
The Happy Hooker Goes Hollywood  1980.avi

The Hotel New Hampshire
First list:
The Hotel New Hampshire  1984.avi
Second list:
The Hotel New Hampshire (1984).mp4

The House On Carroll Street
First list:
The House On Carroll Street  1988.avi
Second list:
The House On Carroll Street 1987 .mp4

The Jewel Of The Nile
First list:
The Jewel Of The Nile (1985).avi
Second list:
The Jewel of the Nile (1985) Kathlene Turner, Michael Douglas, Danny DeVito.avi

The Last American Virgin
First list:
The Last American Virgin.avi
Second list:
The.Last.American.Virgin.1982.720p.BluRay.x264-x0r.mkv

The Last Married Couple In America
First list:
The.Last.Married.Couple.In.America.1980.720p.BluRay.x264.AAC-[YTS.MX].mp4
Second list:
The.Last.Married.Couple.In.America.1980.720p.BluRay.x264.AAC-[YTS.MX].mp4

The Legend of Billie Jean
First list:
The.Legend.of.Billie.Jean.1985.720p.BluRay.x264.YIFY.mp4
Second list:
The Legend of Billie Jean (1985) with Christian Slater, Keith Gordon, Helen Slater Movie.mp4
The.Legend.of.Billie.Jean.1985.BRRip.XviD.MP3-RARBG.avi

The Man With One Red Shoe
First list:
The Man With One Red Shoe  1985.avi
Second list:
The.Man.With.One.Red.Shoe.1985.720p.WEBRip.x264-[YTS.AM].mp4

The Mighty Quinn
First list:
The Mighty Quinn  1989.avi
Second list:
The.Mighty.Quinn.1989.720p.BluRay.x264.AAC-[YTS.MX].mp4

The Mission
First list:
The Mission 1986.avi
Second list:
The.Mission.1986.720p.BluRay.x264-[YTS.AM].mp4

the money pit
First list:
the money pit.avi
Second list:
The.Money.Pit.1986.720p.BluRay.x264.YIFY.mp4

The Mosquito Coast
First list:
The Mosquito Coast  1986.avi
Second list:
The Mosquito Coast - 1986 - Harrison Ford.avi
The.Mosquito.Coast.1986.1080p.BluRay.x264.YIFY.mp4

The Name of the Rose
First list:
The Name of the Rose.avi
Second list:
The.Name.of.the.Rose.1986.720P.BrRip.x264.YIFY.mkv

The New Barbarians
First list:
The.New.Barbarians.1983.BDRemux.1080p.mkv
Second list:
THE NEW BARBARIANS  1983 - 1080P (FULL MOVIE) post-apocalyptic.mp4

The Osterman Weekend
First list:
The.Osterman.Weekend.1983.720p.BluRay.x264.YIFY.mp4
Second list:
The.Osterman.Weekend.1983.720p.BluRay.x264.YIFY.mp4

The Philadelphia Experiment
First list:
The Philadelphia Experiment  1984.avi
Second list:
The Philadelphia Experiment - 1984.avi

The Postman Always Rings Twice
First list:
The Postman Always Rings Twice  1981.mkv
Second list:
The Postman Always Rings Twice (1981) Jack Nicholson, Jessica Lange 1981 [H264].avi
The.Postman.Always.Rings.Twice.1981.720p.BluRay.x264.AAC-[YTS.MX].mp4

The Princess Bride
First list:
The Princess Bride  1987.avi
Second list:
The Princess Bride .1987.720p.BRRip.x264.YIFY.mp4
The.Princess.Bride.1987.1080p.BluRay.x264-[YTS.AM].mp4

The Return of the Musketeers
First list:
The Return of the Musketeers (1989).avi
Second list:
The return of the musketeers (1989).mkv

The Salamander
First list:
The Salamander  1981.avi
Second list:
The.Salamander.1981.720p.BluRay.x264.AAC-[YTS.MX].mp4

The Shadow Riders
First list:
The Shadow Riders  1982.avi
Second list:
The.Shadow.Riders.1982.720p.BluRay.x264.AAC-[YTS.MX].mp4

The Sure Thing
First list:
The Sure Thing (1985).avi
Second list:
The Sure Thing - 1987.avi
The.Sure.Thing.1985.BRRip.XviD.MP3-XVID.avi

The Survivors
First list:
The Survivors.avi
Second list:
The.Survivors.1983.DVDRip.XviD.AC3-MAJESTiC.avi

The Verdict
First list:
The Verdict  1982.avi
Second list:
The.Verdict.1982.720p.BluRay.x264.AAC-[YTS.MX].mp4

The Wicked Lady
First list:
The.Wicked.Lady.1983.WEB-DL.x264-RARBG.mp4
Second list:
The Wicked Lady (1983).mkv

The Wild Life
First list:
The.Wild.Life.1984.720p.BluRay.x264.AAC-[YTS.MX].mp4
Second list:
The.Wild.Life.1984.720p.BluRay.x264.AAC-[YTS.MX].mp4

The World According To Garp
First list:
The World According To Garp 1982 DVDRip.avi
Second list:
The.World.According.to.Garp.1982.720p.WEB-DL.H264.AAC-MAJESTiC.mp4

list2.txt, list3.txt:

The Accidental Tourist
First list:
The Accidental Tourist (1988) William Hurt, Geena Davis  .avi
Second list:
1988 - The Accidental Tourist 1988 1080p BluRay H264 AAC-RARBG.mp4

The adventures of Baron Munchausen
First list:
The adventures of Baron Munchausen (1988).mp4
The.Adventures.of.Baron.Munchausen.1988.720p.BRRip.x264.AC3-MAJESTiC.mp4
Second list:
1988 - The Adventures of Baron Munchausen 1988 1080p BluRay x265-RARBG.mp4
1989 - The Adventures Of Baron Munchausen.mkv

The Adventures of Buckaroo Banzai Across the 8th Dimension
First list:
The Adventures of Buckaroo Banzai Across the 8th Dimension - 1984.avi
Second list:
1984 - The Adventures of Buckaroo Banzai Across the 8th Dimension 1984 1080p BluRay x265-RARBG.mp4

The Adventures Of Hercules
First list:
The.Adventures.Of.Hercules.1985.720p.BluRay.x264-[YTS.AM].mp4
Second list:
1985 - The Adventures of Hercules 1985 1080p BluRay x265-RARBG.mp4

The Best Little Whorehouse In Texas
First list:
The.Best.Little.Whorehouse.In.Texas.1982.720p.BluRay.x264-[YTS.AG].mp4
Second list:
1982 - The Best Little Whorehouse In Texas 1982 1080p BluRay x265-RARBG.mp4

The Best of Times
First list:
The.Best.of.Times.1986.HDTV.720p.x264.AC3-MAJESTiC.mp4
Second list:
1986 - The Best of Times 1986 1080p WEBRip x265-RARBG.mp4

The Big Chill
First list:
The Big Chill (1983) - Tom Beringer, Glenn Close, Jeff Goldblum - (imdb=7,2 - 1983 - [x264-1280x696] BR - HD4U.avi
Second list:
1983 - The Big Chill 1983 1080p BluRay x265-RARBG.mp4

The Big Easy
First list:
The Big Easy  (1986).mp4
Second list:
1986 - The Big Easy 1986 1080p BluRay x265-RARBG.mp4

The Big Town
First list:
The Big Town (1987) Tommy Lee Jones   Diane Lane - Drama HD.mp4
Second list:
1987 - The Big Town 1987 1080p WEBRip x265-RARBG.mp4

The Black Cauldron
First list:
The Black Cauldron {1985} ENG.DVDRIP.avi
Second list:
1985 - The Black Cauldron.mkv

The Blues Brothers
First list:
The Blues Brothers [1980 Action-Comedy-Crime].avi
The.Blues.Brothers.1980.720p.BrRip.x264.bitloks.YIFY.mp4
Second list:
1980 - The Blues Brothers.mkv

The Border
First list:
The.Border.1982.720p.BluRay.x264-[YTS.LT].mp4
Second list:
1982 - The Border 1982 1080p BluRay x265-RARBG.mp4

The Bounty
First list:
The Bounty (1984) - Anthony Hopkins, Mel Gibson.avi
The.Bounty.1984.720p.BluRay.x264-[YTS.AM].mp4
Second list:
1984 - The Bounty.mkv

The Breakfast Club
First list:
The Breakfast Club - 1985.avi
The.Breakfast.Club.1985.REMASTERED.REPACK.720p.BluRay.x264.AAC-[YTS.MX].mp4
Second list:
1985 - The Breakfast Club.mkv

The Brotherhood Of Justice
First list:
The.Brotherhood.Of.Justice.1986.720p.WEBRip.x264.AAC-[YTS.MX].mp4
Second list:
1986 - The Brotherhood of Justice 1986 1080p WEBRip x265-RARBG.mp4

The Bunker
First list:
The Bunker 1981 HD.mp4
Second list:
1981 - The Bunker 1981 1080p BluRay x265-RARBG.mp4

The Burbs
First list:
The Burbs (1989) Tom Hanks .avi
The.Burbs.1989.720p.BluRay.x264.YIFY.mp4
Second list:
1989 - The Burbs.mkv

The Challenge
First list:
The Challenge 1982 Bluray Action Drama Rated R.mp4
Second list:
1982 - The Challenge 1982 1080p BluRay x265-RARBG.mp4

The Color Of Money
First list:
The.Color.Of.Money.1986.720p.BluRay.x264-[YTS.AG].mp4
Second list:
1986 - The Color Of Money.mkv

The Color Purple
First list:
The.Color.Purple.1985.720p.BluRay.x264-[YTS.LT].mp4
Second list:
1985 - The Color Purple.mkv

The Cotton Club
First list:
The.Cotton.Club.1984.720p.BluRay.x264-[YTS.AM].mp4
Second list:
1984 - The Cotton Club 1984 DC 1080p BluRay x265-RARBG.mp4

The Couch Trip
First list:
The.Couch.Trip.1988.720p.BluRay.x264.AAC-[YTS.MX].mp4
Second list:
1988 - The Couch Trip 1988 1080p BluRay x265-RARBG.mp4

The Dead Pool
First list:
The Dead Pool 1988 720p BDRip x264 [i_c].mp4
Second list:
1988 - The Dead Pool 1988 1080p BluRay x265-RARBG.mp4

The dead zone
First list:
The dead zone  (1983).mp4
The.Dead.Zone.1983.1080p.BluRay.x264.YIFY.mp4
Second list:
1983 - The Dead Zone 1983 REMASTERED 1080p BluRay x265-RARBG.mp4

The Delta Force
First list:
The.Delta.Force.1986.1080p.BluRay.x264.YIFY.mp4
Second list:
1986 - The Delta Force 1986 1080p BluRay x264 YIFY.mp4

The Devil and Max Devlin
First list:
The.Devil.and.Max.Devlin.1981.1080p.WEBRip.x264-RARBG.mp4
Second list:
1981 - The Devil and Max Devlin 1981 1080p WEBRip x265-RARBG.mp4

The Element Of Crime
First list:
The.Element.Of.Crime.1984.CC.BLU-RAY.720p.BluRay.x264.AAC-[YTS.MX].mp4
Second list:
1987 - The Element Of Crime.mkv

The Emerald Forest
First list:
The Emerald Forest - 1985.avi
Second list:
1985 - The Emerald Forest 1985 1080p BluRay x264 YIFY.mp4

The Evil That Men Do
First list:
The Evil That Men Do 1984  _Charles Bronson_  ''?????''   [HD]   ???????#.mp4
The.Evil.That.Men.Do.1984.720p.BluRay.x264-[YTS.AM].mp4
Second list:
1984 - The Evil That Men Do 1984 1080p BluRay x264-[YTS AM].mp4

The Executioners Song
First list:
The Executioners Song 1982 Tommy Lee Jones Eli Wallach Full Length Movie.mp4
Second list:
1982 - The Executioners Song 1982 DC 1080p BluRay x265-RARBG.mp4

The Fabulous Baker Boys
First list:
The Fabulous Baker Boys 1989 720p BluRay.mp4
Second list:
1989 - The Fabulous Baker Boys 1989 1080p BluRay x265-RARBG.mp4

The Falcon And The Snowman
First list:
The.Falcon.And.The.Snowman.1985.BRRip.XviD.MP3-XVID.avi
Second list:
1985 - The Falcon And The Snowman 1985 1080p BluRay x265-RARBG.mp4

The Flight Of Dragons
First list:
The.Flight.Of.Dragons.1982.720p.BluRay.x264-[YTS.LT].mp4
Second list:
1982 - The Flight of Dragons 1982 1080p BluRay x265-RARBG.mp4

The Fly
First list:
The Fly - 1986.avi
Second list:
1986 - The Fly.mkv

The fly II
First list:
The fly II [1989].mp4
Second list:
1989 - The Fly II 1989 1080p BluRay H264 AAC-RARBG.mp4

The Fog
First list:
The.Fog.1980.BRRip.XviD.MP3-XVID.avi
Second list:
1980 - The Fog.mkv

The fourth protocol
First list:
The fourth protocol (1987).avi
Second list:
1987 - The Fourth Protocol 1987 1080p WEBRip x265-RARBG.mp4

The Fox And The Hound
First list:
The.Fox.And.The.Hound.1981.720p.BluRay.x264-[YTS.AM].mp4
Second list:
1981 - The Fox And The Hound.mkv

The Gods Must Be Crazy II
First list:
The Gods Must Be Crazy II (1989) DVDRip.avi
Second list:
1989 - The Gods Must Be Crazy II 1989 1080p WEBRip x265-RARBG.mp4

The Golden Child
First list:
The Golden Child (1986).avi
Second list:
1986 - The Golden Child 1986 REMASTERED 1080p BluRay x265-RARBG.mp4

The Goonies
First list:
The Goonies (1985).avi
Second list:
1985 - The Goonies.mkv

The Great Outdoors
First list:
The.Great.Outdoors.1988.720p.BluRay.x264-[YTS.AG].mp4
Second list:
1988 - The Great Outdoors.mkv

The Hitcher
First list:
The.Hitcher.1986.720p.BluRay.x264-[YTS.AM].mp4
Second list:
1986 - The Hitcher 1986 1080p BluRay x265-RARBG.mp4

The Holcroft Covenant
First list:
The.Holcroft.Covenant.1985.BRRip.XviD.MP3-XVID.avi
Second list:
1985 - The Holcroft Covenant 1985 1080p BluRay x265-RARBG.mp4

The Hotel New Hampshire
First list:
The Hotel New Hampshire (1984).mp4
Second list:
1984 - The Hotel New Hampshire 1984 1080p BluRay x265-RARBG.mp4

The House of Usher
First list:
The House of Usher 1989 (Dir- Alan Birkinshaw, full VHS Rip English).mp4
Second list:
1989 - The House of Usher 1989 1080p BluRay x265-RARBG.mp4

The House On Carroll Street
First list:
The House On Carroll Street 1987 .mp4
Second list:
1988 - The House on Carroll Street 1988 1080p BluRay x265-RARBG.mp4

The Howling
First list:
The Howling (1981, 720p).mp4
Second list:
1981 - The Howling.mkv

The Hunger
First list:
The.Hunger.1983.720p.BluRay.x264.YIFY.mp4
Second list:
1983 - The Hunger 1983 1080p BluRay x265-RARBG.mp4

The Hunter
First list:
The.Hunter.1980.720p.BluRay.x264.AAC-[YTS.MX].mp4
Second list:
1980 - The Hunter.mkv

The Ice Pirates
First list:
The Ice Pirates 1984 1080p BluRay HEVC x265 BONE.mkv
The.Ice.Pirates.1984.720p.BluRay.x264-[YTS.AG].mp4
Second list:
1984 - The Ice Pirates 1984 1080p BluRay x265-RARBG.mp4

The Jewel of the Nile
First list:
The Jewel of the Nile (1985) Kathlene Turner, Michael Douglas, Danny DeVito.avi
Second list:
1985 - The Jewel Of The Nile.mkv

The King of Comedy
First list:
The King of Comedy 1983.mp4
The.King.of.Comedy.1982.720p.BluRay.x264.YIFY.mp4
Second list:
1982 - The King of Comedy 1982 1080p BluRay x265-RARBG.mp4

The Last American Virgin
First list:
The.Last.American.Virgin.1982.720p.BluRay.x264-x0r.mkv
Second list:
1982 - The Last American Virgin 1982 1080p BluRay x265-RARBG.mp4

The Last Of England
First list:
The.Last.Of.England.1987.720p.BluRay.x264.AAC-[YTS.MX].mp4
Second list:
1989 - The Last Of England 1987 1080p BluRay x265-RARBG.mp4

The last starfighter
First list:
The last starfighter (1984).mp4
Second list:
1984 - The Last Starfighter.mkv

The Last Unicorn
First list:
The Last Unicorn (1982) Jeff Bridges, Mia Farrow, Angela Lansbury - DVDRip XViD.avi
Second list:
1982 - The Last Unicorn 1982 1080p BluRay x265-RARBG.mp4

The Legend of Billie Jean
First list:
The Legend of Billie Jean (1985) with Christian Slater, Keith Gordon, Helen Slater Movie.mp4
The.Legend.of.Billie.Jean.1985.BRRip.XviD.MP3-RARBG.avi
Second list:
1985 - The Legend Of Billie Jean.mkv

The Legend of the Lone Ranger
First list:
The Legend of the Lone Ranger  1981.mp4
Second list:
1981 - The Legend Of The Lone Ranger.mp4

The Long Good Friday
First list:
The Long Good Friday (1980).avi
Second list:
1980 - The Long Good Friday.mkv

The Man With One Red Shoe
First list:
The.Man.With.One.Red.Shoe.1985.720p.WEBRip.x264-[YTS.AM].mp4
Second list:
1985 - The Man With One Red Shoe 1985 1080p WEBRip x265-RARBG.mp4

The Mean Season
First list:
The Mean Season (1985) Kurt Russell, Mariel Hemingway, Joe Pantoliano, Andy Garcia.avi
Second list:
1985 - The Mean Season 1985 1080p BluRay x265-RARBG.mp4

The Mighty Quinn
First list:
The.Mighty.Quinn.1989.720p.BluRay.x264.AAC-[YTS.MX].mp4
Second list:
1989 - The Mighty Quinn 1989 BluRay 1080p x264 AAC 5 1 - Hon3y.mkv

The Mirror Crack'd
First list:
The.Mirror.Crack'd.1980.720p.BluRay.x264.YIFY.mp4
Second list:
1980 - The Mirror Crack'd.mkv

The Mission
First list:
The.Mission.1986.720p.BluRay.x264-[YTS.AM].mp4
Second list:
1986 - The Mission 1986 1080p BluRay x265 HEVC 10bit EAC3 5 1-HOOD.mkv

The Money Pit
First list:
The.Money.Pit.1986.720p.BluRay.x264.YIFY.mp4
Second list:
1986 - The Money Pit 1986 1080p BluRay x265-RARBG.mp4

The Mosquito Coast
First list:
The Mosquito Coast - 1986 - Harrison Ford.avi
The.Mosquito.Coast.1986.1080p.BluRay.x264.YIFY.mp4
Second list:
1986 - The Mosquito Coast 1986 1080p BluRay x265-RARBG.mp4

The Naked Cage
First list:
The.Naked.Cage.1986.720p.BluRay.x264-x0r.mkv
Second list:
1986 - The Naked Cage 1986 1080p BluRay x265-RARBG.mp4

The Name of the Rose
First list:
The.Name.of.the.Rose.1986.720P.BrRip.x264.YIFY.mkv
Second list:
1986 - The Name Of The Rose.mkv

The Night Before
First list:
The Night Before - 1988.avi
The.Night.Before.1988.720p.WEBRip.x264.AAC-[YTS.MX].mp4
Second list:
1988 - The Night Before 1988 1080p WEBRip x265-RARBG.mp4

The Osterman Weekend
First list:
The.Osterman.Weekend.1983.720p.BluRay.x264.YIFY.mp4
Second list:
1983 - The Osterman Weekend.mkv

The Philadelphia Experiment
First list:
The Philadelphia Experiment - 1984.avi
Second list:
1984 - The Philadelphia Experiment 1984 REMASTERED PROPER 1080p BluRay x265-RARBG.mp4

The Pirates Of Penzance
First list:
The Pirates Of Penzance (1983) full movie watch on YouTube HD.mp4
Second list:
1983 - The Pirates of Penzance 1983 1080p BluRay x265-RARBG.mp4

The Postman Always Rings Twice
First list:
The Postman Always Rings Twice (1981) Jack Nicholson, Jessica Lange 1981 [H264].avi
The.Postman.Always.Rings.Twice.1981.720p.BluRay.x264.AAC-[YTS.MX].mp4
Second list:
1981 - The Postman Always Rings Twice 1981 1080p BluRay x265-RARBG.mp4

The Presidio
First list:
The.Presidio.1988.720p.BluRay.x264.YIFY.mp4
Second list:
1988 - The Presidio 1988 1080p BluRay x265-RARBG.mp4

The Prince Of Pennsylvania
First list:
The.Prince.Of.Pennsylvania.1988.720p.WEBRip.x264.AAC-[YTS.MX].mp4
Second list:
1988 - The Prince of Pennsylvania 1988 1080p WEBRip x265-RARBG.mp4

The Princess Bride
First list:
The Princess Bride .1987.720p.BRRip.x264.YIFY.mp4
The.Princess.Bride.1987.1080p.BluRay.x264-[YTS.AM].mp4
Second list:
1987 - The Princess Bride.mkv

The Protector
First list:
The.Protector.1985.720p.BluRay.H264.AAC-RARBG.mp4
Second list:
1985 - The Protector 1985 1080p BluRay H264 AAC-RARBG.mp4

The Ratings Game
First list:
The Ratings Game (1984) Danny DeVito   Rhea Perlman - Comedy HD.mp4
Second list:
1984 - The Ratings Game 1984 1080p BluRay x265-RARBG.mp4

The Return of Swamp Thing
First list:
The Return of Swamp Thing (1989) HD Heather Locklear Dick Durock Comedy Superhero FREE FULL MOVIE.mp4
Second list:
1989 - The Return Of Swamp Thing.mkv

The Return of the Living Dead
First list:
The.Return.of.the.Living.Dead.1985.REMASTERED.1080p.BRRip.x264.AAC-ETRG.mp4
Second list:
1985 - The Return of the Living Dead 1985 REMASTERED 1080p BluRay H264 AAC-RARBG.mp4

The return of the musketeers
First list:
The return of the musketeers (1989).mkv
Second list:
1989 - The Return of the Musketeers 1989 1080p BluRay H264 AAC-RARBG.mp4

The River
First list:
The River 1984.mp4
The.River.1984.720p.BluRay.x264-[YTS.AM].mp4
Second list:
1984 - The River 1984 REMASTERED 1080p BluRay x265-RARBG.mp4

The Running Man
First list:
The Running Man (1987).avi
The.Running.Man.1987.720p.BluRay.x264-[YTS.AM].mp4
Second list:
1987 - The Running Man.mkv

The Salamander
First list:
The.Salamander.1981.720p.BluRay.x264.AAC-[YTS.MX].mp4
Second list:
1981 - The Salamander 1981 1080p BluRay x265-RARBG.mp4

The Secret Of My Success
First list:
The Secret Of My Success - (1987) Michael J. Fox, Helen Slater.avi
The.Secret.Of.My.Success.1987.720p.BluRay.x264.AAC-[YTS.MX].mp4
Second list:
1987 - The Secret Of My Success.mkv

The Secret Of NIMH
First list:
The.Secret.Of.NIMH.1982.720p.BluRay.x264-[YTS.AM].mp4
Second list:
1982 - The Secret Of Nimh.mkv

The Serpent and the Rainbow
First list:
The Serpent and the Rainbow (1988) - Subt�tulos en Espa�ol - Pel�cula Completa.mp4
Second list:
1988 - The Serpent And The Rainbow 1988 REMASTERED 1080p BluRay x265-RARBG.mp4

The Seventh Sign
First list:
The Seventh Sign - 1988.avi
Second list:
1988 - The Seventh Sign 1988 1080p BluRay x264-[YTS AM].mp4

The Shadow Riders
First list:
The.Shadow.Riders.1982.720p.BluRay.x264.AAC-[YTS.MX].mp4
Second list:
1982 - The Shadow Riders 1982 OAR 1080p BluRay x265-RARBG.mp4

The Shell Seekers
First list:
The Shell Seekers 1989 XviD DvDrip[Eng]-greenbud1969(HDScene-Release).avi
Second list:
1989 - The Shell Seekers 1989 1080p WEBRip x265-RARBG.mp4

The shining
First list:
The.shining.1980.720p.x264.mkv
Second list:
1980 - The Shining.mkv

The Stuff
First list:
The Stuff 1985 4k.mp4
Second list:
1985 - The Stuff 1985 1080p BluRay x265-RARBG.mp4

The Sure Thing
First list:
The Sure Thing - 1987.avi
The.Sure.Thing.1985.BRRip.XviD.MP3-XVID.avi
Second list:
1985 - The Sure Thing.mkv

The Survivors
First list:
The.Survivors.1983.DVDRip.XviD.AC3-MAJESTiC.avi
Second list:
1983 - The Survivors 1983 1080p WEBRip x265-RARBG.mp4

The Terminator
First list:
The.Terminator[1984].avi
Second list:
1984 - The Terminator.mkv

The Thing
First list:
The Thing[1982].avi
Second list:
1982 - The Thing.mkv

The Transformers The Movie
First list:
The.Transformers.The.Movie.1986.720p.BluRay.x264-[YTS.AG].mp4
Second list:
1986 - The Transformers The Movie 1986 REMASTERED 1080p BluRay x265-RARBG.mp4

The Unbearable Lightness Of Being
First list:
The.Unbearable.Lightness.Of.Being.1988.720p.WEBRip.x264.AAC-[YTS.MX].mp4
Second list:
1988 - The Unbearable Lightness Of Being.mkv

The Untouchables
First list:
The Untouchables (1987).mp4
The.Untouchables.1987.720p.BrRip.x264.BOKUTOX.YIFY.mp4
Second list:
1987 - The Untouchables.mkv

The Verdict
First list:
The.Verdict.1982.720p.BluRay.x264.AAC-[YTS.MX].mp4
Second list:
1982 - The Verdict.mkv

The War of the Roses
First list:
The.War.of.the.Roses.1989.BRRip.XviD.MP3-RARBG.avi
Second list:
1989 - The War of the Roses 1989 1080p BluRay x265-RARBG.mp4

The Warrior And The Sorceress
First list:
The.Warrior.And.The.Sorceress.1984.720p.BluRay.x264.AAC-[YTS.MX].mp4
Second list:
1984 - The Warrior and the Sorceress 1984 1080p BluRay H264 AAC-RARBG.mp4

The Wicked Lady
First list:
The Wicked Lady (1983).mkv
Second list:
1983 - The Wicked Lady 1983 WEB-DL x264-RARBG.mp4

The Wild Life
First list:
The.Wild.Life.1984.720p.BluRay.x264.AAC-[YTS.MX].mp4
Second list:
1984 - The Wild Life 1984 1080p BluRay H264 AAC-RARBG.mp4

The Witches Of Eastwick
First list:
The.Witches.Of.Eastwick.1987.720p.BluRay.x264-[YTS.AG].mp4
The.Witches.Of.Eastwick.1987.BRRip.XviD.MP3-RARBG.avi
Second list:
1987 - The Witches Of Eastwick.mkv

The wizard
First list:
The wizard (1989).mp4
Second list:
1989 - The Wizard.mkv

The World According to Garp
First list:
The.World.According.to.Garp.1982.720p.WEB-DL.H264.AAC-MAJESTiC.mp4
Second list:
1982 - The World According to Garp 1982 1080p BluRay x265-RARBG.mp4

The Worst Witch
First list:
The.Worst.Witch.1986.480p.DVDRip.x264.AAC-[YTS.MX].mp4
Second list:
1986 - The Worst Witch 1986 internal dvdrip x264-regret.mkv

THE WRAITH
First list:
THE WRAITH - 1987 - (Charlie Sheen).avi
Second list:
1986 - The Wraith 1986 1080p Blu-ray h265  hdr 10bit EAC3 6ch-mdc.mkv

The Year Of Living Dangerously
First list:
The.Year.Of.Living.Dangerously.1982.720p.BluRay.x264.AAC-[YTS.MX].mp4
Second list:
1982 - The Year Of Living Dangerously 1982 1080p BluRay x265-RARBG.mp4
My name's Victor but do feel free to call me Vic!

❤️ Support on Patreon @ www.patreon.com/paradisusio

GitHub: github.com/paradisusio

🌟 Good projects deserve support 🌎🌍🌏

✉ Email / Extend your PayPal support ❤️: paradisusvic@gmail.com
« Last Edit: May 16, 2024, 05:22 PM by paradisusvic »

compn

  • Supporting Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 54
    • View Profile
    • Donate to Member
Re: comparing two big different lists of strings/filenames
« Reply #9 on: May 17, 2024, 02:23 AM »
super crash!

works ok with list1 / list2 / list3

but trying my lists, i get a crash. my lists may have unicode (or just non english codepage) characters in the filenames. i dont need to compare these filenames, and would rather have them ignored.

attached is a sample filename which crashes

running sed "s/[^\x00-\x7F]//g" list.txt
seems to fix the issue and allows me to use the program on my list.

as for matching... well. there are problems. the year has to be matched. but i do like that years are sometimes matched because sometimes movie years will be incorrect from filename to filename. a release date vs a production date or theatrical release date. so i dont know what i want here. i've seen years be off by 3 or even 8 years from what imdb claims. not sure this can be fixed, its an imdb issue

Alice
First list:
Alice [1982]
Alice [1991]
Second list:
Alice (1988).mkv

Alice in Wonderland
First list:
Alice in Wonderland [1999]
Alice in Wonderland [2010]
Second list:
Alice in Wonderland (1903).mkv

All Quiet on the Western Front
First list:
All Quiet on the Western Front [1979]
Second list:
All Quiet on the Western Front (1930).mkv

but these didnt match. the following might be useful for fuzzy match testing?

list1
Child's Play [1988]
Child's Play 2 [1990]
Child's Play 3 [1991]
Child's Play Sidney Lumet, 1972
Necronomicon
Necronomicon: Book of Dead [1994]
The Necronomicon [2009]
RiffTrax - The Psychotronic Man (1979) mp4
The Psychotronic Man -  The Psychotronic Man 1980 Movie FULL HD (480p_25fps_H264-128kbit_AAC)  srt
The Phantom Creeps [1939]
ROTOR_divx avi

list2
01 Child’s Play (1988) 3 Commentaries.mkv
03 Childs Play 3 (1991).mkv
Necronomicon (1993).mkv
Psychotronic Man.mp4
R.O.T.O.R..mkv
Phantom Creeps.mp4


(its why i wanted to ignore words like "the". because sometimes they use the "the" and sometimes "not".
« Last Edit: May 17, 2024, 03:26 AM by compn »

paradisusvic

  • Participant
  • Joined in 2024
  • *
  • Posts: 73
  • Call me Vic!
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: comparing two big different lists of strings/filenames
« Reply #10 on: May 17, 2024, 09:07 AM »
Thanks for your reply

So, the next batch of functionality should be:

- Fix Unicode file names.

- Strip "the" from the beginning of movie titles.

- Use year of movie when comparing.

Please confirm  :Thmbsup:
My name's Victor but do feel free to call me Vic!

❤️ Support on Patreon @ www.patreon.com/paradisusio

GitHub: github.com/paradisusio

🌟 Good projects deserve support 🌎🌍🌏

✉ Email / Extend your PayPal support ❤️: paradisusvic@gmail.com
« Last Edit: May 17, 2024, 09:17 AM by paradisusvic »

compn

  • Supporting Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 54
    • View Profile
    • Donate to Member
Re: comparing two big different lists of strings/filenames
« Reply #11 on: May 17, 2024, 11:10 AM »
fuzzy matching is the next feature.

paradisusvic

  • Participant
  • Joined in 2024
  • *
  • Posts: 73
  • Call me Vic!
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: comparing two big different lists of strings/filenames
« Reply #12 on: May 17, 2024, 11:15 AM »
fuzzy matching is the next feature.

Got it! I've already found code to fix foreign titles:

https://gist.github.com/andyraddatz/e6a396fb91856174d4e3f1bf2e10951c

e.g. as per your example:

Woman and Gramophone Johannes Stjärne Nilsson & Ola Simonsson, 2000

Stjärne => Stjarne

Cheers!
My name's Victor but do feel free to call me Vic!

❤️ Support on Patreon @ www.patreon.com/paradisusio

GitHub: github.com/paradisusio

🌟 Good projects deserve support 🌎🌍🌏

✉ Email / Extend your PayPal support ❤️: paradisusvic@gmail.com
« Last Edit: June 02, 2024, 11:43 AM by paradisusvic »

compn

  • Supporting Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 54
    • View Profile
    • Donate to Member
Re: comparing two big different lists of strings/filenames
« Reply #13 on: May 17, 2024, 02:56 PM »
i think fuzzy matching will fix pretty much all these issues.

if you need more sample list just do a dir /a /s > list1.txt and compare it to the same list. good for stress testing mem and cpu usage as well.

compn

  • Supporting Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 54
    • View Profile
    • Donate to Member
Re: comparing two big different lists of strings/filenames
« Reply #14 on: May 18, 2024, 02:49 AM »
another feature:
a count of matched/unmatched strings would be nice
auto saving of matches/unmatched to default .txt names
drag and drop lists?
command line interface if possible ?
« Last Edit: May 18, 2024, 03:09 AM by compn »

compn

  • Supporting Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 54
    • View Profile
    • Donate to Member
Re: comparing two big different lists of strings/filenames
« Reply #15 on: May 18, 2024, 03:07 AM »
i thought up a solution to different films having different years.

i think having a "year mismatch" output list :D

paradisusvic

  • Participant
  • Joined in 2024
  • *
  • Posts: 73
  • Call me Vic!
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: comparing two big different lists of strings/filenames
« Reply #16 on: May 21, 2024, 10:51 AM »
Hello & good day again! I'm back in the saddle & pushing the latest code to GitHub  :Thmbsup:

Let's build incrementally. Right now I'm separating content vs function words, mostly as per the first columns from the list at:

https://www.edu.uwo.ca/about/faculty-profiles/stuart-webb/_docs/essential-word-list.pdf



We'll address the "bells & whistles" (drag & drop, auto saving, etc.) once the main list comparison functionality is complete, with both direct and fuzzy matches identified per movie.

Cheers & many thanks again!
My name's Victor but do feel free to call me Vic!

❤️ Support on Patreon @ www.patreon.com/paradisusio

GitHub: github.com/paradisusio

🌟 Good projects deserve support 🌎🌍🌏

✉ Email / Extend your PayPal support ❤️: paradisusvic@gmail.com
« Last Edit: May 31, 2024, 08:57 AM by paradisusvic »

compn

  • Supporting Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 54
    • View Profile
    • Donate to Member
Re: comparing two big different lists of strings/filenames
« Reply #17 on: May 22, 2024, 02:05 AM »
i forgot to say that i am happy with your progress , and your designs so far.

i look forward to exclusion ability for better matching :)

i dont need fuzzy matching first , but you kept asking so i go for it :D

paradisusvic

  • Participant
  • Joined in 2024
  • *
  • Posts: 73
  • Call me Vic!
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: comparing two big different lists of strings/filenames
« Reply #18 on: May 23, 2024, 10:36 AM »
Thanks for the positive words of encouragement!

... the year has to be matched. but i do like that years are sometimes matched because sometimes movie years will be incorrect from filename to filename. a release date vs a production date or theatrical release date. so i dont know what i want here.

Are you familiar with The Open Movie Database / OMDb?

They have an API with a free quota that can be used to determine the year of a movie.

Website: https://www.omdbapi.com/

Free API (1,000 daily limit): https://www.omdbapi.com/apikey.aspx

I've been thinking of adding support for this API. What do you say? :)
My name's Victor but do feel free to call me Vic!

❤️ Support on Patreon @ www.patreon.com/paradisusio

GitHub: github.com/paradisusio

🌟 Good projects deserve support 🌎🌍🌏

✉ Email / Extend your PayPal support ❤️: paradisusvic@gmail.com
« Last Edit: May 24, 2024, 08:29 AM by paradisusvic »

compn

  • Supporting Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 54
    • View Profile
    • Donate to Member
Re: comparing two big different lists of strings/filenames
« Reply #19 on: May 24, 2024, 12:13 AM »
no, i prefer just having a third output list with mismatched years.

relying on a 3rd party server will break always.

paradisusvic

  • Participant
  • Joined in 2024
  • *
  • Posts: 73
  • Call me Vic!
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: comparing two big different lists of strings/filenames
« Reply #20 on: May 24, 2024, 08:33 AM »
i prefer just having a third output list with mismatched years.

Sure! New version gets the option for listing collisions :Thmbsup:
My name's Victor but do feel free to call me Vic!

❤️ Support on Patreon @ www.patreon.com/paradisusio

GitHub: github.com/paradisusio

🌟 Good projects deserve support 🌎🌍🌏

✉ Email / Extend your PayPal support ❤️: paradisusvic@gmail.com
« Last Edit: June 02, 2024, 11:45 AM by paradisusvic »


paradisusvic

  • Participant
  • Joined in 2024
  • *
  • Posts: 73
  • Call me Vic!
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: comparing two big different lists of strings/filenames
« Reply #22 on: May 27, 2024, 11:22 AM »
Currently adding a reusable list of movie years, to set it once & have it fetched/cached for all the subsequent queries.

It's a small comma-separated list to edit by hand, with the format: <title>,<year>.
My name's Victor but do feel free to call me Vic!

❤️ Support on Patreon @ www.patreon.com/paradisusio

GitHub: github.com/paradisusio

🌟 Good projects deserve support 🌎🌍🌏

✉ Email / Extend your PayPal support ❤️: paradisusvic@gmail.com
« Last Edit: June 02, 2024, 11:46 AM by paradisusvic »

compn

  • Supporting Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 54
    • View Profile
    • Donate to Member
Re: comparing two big different lists of strings/filenames
« Reply #23 on: May 27, 2024, 01:11 PM »
having years reusable wont help though. at least not that i can see. these are all different films with the same titles.

see the alice movie results:
Alice
First list:
Alice [1982]
Alice [1991]
Second list:
Alice (1988).mkv

Alice in Wonderland
First list:
Alice in Wonderland [1999]
Alice in Wonderland [2010]
Second list:
Alice in Wonderland (1903).mkv

its best to have a mismatched-year list.  or its fine to just leave it as is for now. year matching is not high priority. and i like the year matching how it is right now. :)

i look forward to next updated version soon! i am in need of this program more than i thought. especially because of the crash filename bug!
« Last Edit: May 27, 2024, 01:28 PM by compn »

paradisusvic

  • Participant
  • Joined in 2024
  • *
  • Posts: 73
  • Call me Vic!
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: comparing two big different lists of strings/filenames
« Reply #24 on: May 27, 2024, 04:21 PM »
Thanks for the input :Thmbsup:

Added a new "collisions" list to the tabs on ALPHA 2 (GUI is enhanced).

MovieList-compn_ALPHA-2.png

Giving some extra love to app's details right now :-*

Cheers!
My name's Victor but do feel free to call me Vic!

❤️ Support on Patreon @ www.patreon.com/paradisusio

GitHub: github.com/paradisusio

🌟 Good projects deserve support 🌎🌍🌏

✉ Email / Extend your PayPal support ❤️: paradisusvic@gmail.com
« Last Edit: June 02, 2024, 11:47 AM by paradisusvic »