Skip to content

Commit

Permalink
REMOVE: corrections feature
Browse files Browse the repository at this point in the history
GOG has a better matching algorithm now and a new back-end database tool.  From what I can tell, this feature is no longer needed.
  • Loading branch information
jshackles committed Aug 27, 2020
1 parent 91581d0 commit a7899e7
Show file tree
Hide file tree
Showing 44 changed files with 66 additions and 197 deletions.
1 change: 0 additions & 1 deletion 3do_9d81c0ec-5646-4b1a-b809-e7e61e1d3577/corrections.py

This file was deleted.

10 changes: 3 additions & 7 deletions 3do_9d81c0ec-5646-4b1a-b809-e7e61e1d3577/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import subprocess
import sys
import json, urllib.request, os, os.path
import user_config, corrections
import user_config
import datetime
import logging
import time
Expand Down Expand Up @@ -51,14 +51,10 @@ def update_game_cache(self):
rom_path = entry["path"].split("#")[0]
if os.path.abspath(user_config.rom_path) in os.path.abspath(rom_path) and os.path.isfile(rom_path):
provided_name = entry["label"].split(" (")[0]
if provided_name in corrections.correction_list:
correct_name = corrections.correction_list[provided_name]
else:
correct_name = provided_name
game_list.append(
Game(
correct_name,
correct_name,
provided_name,
provided_name,
None,
LicenseInfo(LicenseType.SinglePurchase, None)
)
Expand Down
1 change: 0 additions & 1 deletion 3ds_f6acd3ed-2c31-47d6-bae4-07b6714c1e55/corrections.py

This file was deleted.

10 changes: 3 additions & 7 deletions 3ds_f6acd3ed-2c31-47d6-bae4-07b6714c1e55/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import subprocess
import sys
import json, urllib.request, os, os.path
import user_config, corrections
import user_config
import datetime
import logging
import time
Expand Down Expand Up @@ -51,14 +51,10 @@ def update_game_cache(self):
rom_path = entry["path"].split("#")[0]
if os.path.abspath(user_config.rom_path) in os.path.abspath(rom_path) and os.path.isfile(rom_path):
provided_name = entry["label"].split(" (")[0]
if provided_name in corrections.correction_list:
correct_name = corrections.correction_list[provided_name]
else:
correct_name = provided_name
game_list.append(
Game(
correct_name,
correct_name,
provided_name,
provided_name,
None,
LicenseInfo(LicenseType.SinglePurchase, None)
)
Expand Down
1 change: 0 additions & 1 deletion atari_830528d9-e621-48e9-8ed4-e03a4853843e/corrections.py

This file was deleted.

10 changes: 3 additions & 7 deletions atari_830528d9-e621-48e9-8ed4-e03a4853843e/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import subprocess
import sys
import json, urllib.request, os, os.path
import user_config, corrections
import user_config
import datetime
import logging
import time
Expand Down Expand Up @@ -51,14 +51,10 @@ def update_game_cache(self):
rom_path = entry["path"].split("#")[0]
if os.path.abspath(user_config.rom_path) in os.path.abspath(rom_path) and os.path.isfile(rom_path):
provided_name = entry["label"].split(" (")[0]
if provided_name in corrections.correction_list:
correct_name = corrections.correction_list[provided_name]
else:
correct_name = provided_name
game_list.append(
Game(
correct_name,
correct_name,
provided_name,
provided_name,
None,
LicenseInfo(LicenseType.SinglePurchase, None)
)
Expand Down
1 change: 0 additions & 1 deletion dc_5d181ffd-48dc-4330-aa58-6f646e76a5c8/corrections.py

This file was deleted.

10 changes: 3 additions & 7 deletions dc_5d181ffd-48dc-4330-aa58-6f646e76a5c8/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import subprocess
import sys
import json, urllib.request, os, os.path
import user_config, corrections
import user_config
import datetime
import logging
import time
Expand Down Expand Up @@ -51,14 +51,10 @@ def update_game_cache(self):
rom_path = entry["path"].split("#")[0]
if os.path.abspath(user_config.rom_path) in os.path.abspath(rom_path) and os.path.isfile(rom_path):
provided_name = entry["label"].split(" (")[0]
if provided_name in corrections.correction_list:
correct_name = corrections.correction_list[provided_name]
else:
correct_name = provided_name
game_list.append(
Game(
correct_name,
correct_name,
provided_name,
provided_name,
None,
LicenseInfo(LicenseType.SinglePurchase, None)
)
Expand Down
1 change: 0 additions & 1 deletion gb_4345afe1-a2c3-4c58-93d3-373c53a90a92/corrections.py

This file was deleted.

10 changes: 3 additions & 7 deletions gb_4345afe1-a2c3-4c58-93d3-373c53a90a92/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import subprocess
import sys
import json, urllib.request, os, os.path
import user_config, corrections
import user_config
import datetime
import logging
import time
Expand Down Expand Up @@ -51,14 +51,10 @@ def update_game_cache(self):
rom_path = entry["path"].split("#")[0]
if os.path.abspath(user_config.rom_path) in os.path.abspath(rom_path) and os.path.isfile(rom_path):
provided_name = entry["label"].split(" (")[0]
if provided_name in corrections.correction_list:
correct_name = corrections.correction_list[provided_name]
else:
correct_name = provided_name
game_list.append(
Game(
correct_name,
correct_name,
provided_name,
provided_name,
None,
LicenseInfo(LicenseType.SinglePurchase, None)
)
Expand Down
1 change: 0 additions & 1 deletion gba_16a78ef5-fba6-4629-b83c-ef47adab5aab/corrections.py

This file was deleted.

10 changes: 3 additions & 7 deletions gba_16a78ef5-fba6-4629-b83c-ef47adab5aab/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import subprocess
import sys
import json, urllib.request, os, os.path
import user_config, corrections
import user_config
import datetime
import logging
import time
Expand Down Expand Up @@ -51,14 +51,10 @@ def update_game_cache(self):
rom_path = entry["path"].split("#")[0]
if os.path.abspath(user_config.rom_path) in os.path.abspath(rom_path) and os.path.isfile(rom_path):
provided_name = entry["label"].split(" (")[0]
if provided_name in corrections.correction_list:
correct_name = corrections.correction_list[provided_name]
else:
correct_name = provided_name
game_list.append(
Game(
correct_name,
correct_name,
provided_name,
provided_name,
None,
LicenseInfo(LicenseType.SinglePurchase, None)
)
Expand Down
1 change: 0 additions & 1 deletion gbc_9b53fc85-af7c-4ce2-af31-0d95234d783a/corrections.py

This file was deleted.

10 changes: 3 additions & 7 deletions gbc_9b53fc85-af7c-4ce2-af31-0d95234d783a/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import subprocess
import sys
import json, urllib.request, os, os.path
import user_config, corrections
import user_config
import datetime
import logging
import time
Expand Down Expand Up @@ -51,14 +51,10 @@ def update_game_cache(self):
rom_path = entry["path"].split("#")[0]
if os.path.abspath(user_config.rom_path) in os.path.abspath(rom_path) and os.path.isfile(rom_path):
provided_name = entry["label"].split(" (")[0]
if provided_name in corrections.correction_list:
correct_name = corrections.correction_list[provided_name]
else:
correct_name = provided_name
game_list.append(
Game(
correct_name,
correct_name,
provided_name,
provided_name,
None,
LicenseInfo(LicenseType.SinglePurchase, None)
)
Expand Down
1 change: 0 additions & 1 deletion jaguar_b9773549-9c20-4729-b23d-f683762ce73a/corrections.py

This file was deleted.

10 changes: 3 additions & 7 deletions jaguar_b9773549-9c20-4729-b23d-f683762ce73a/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import subprocess
import sys
import json, urllib.request, os, os.path
import user_config, corrections
import user_config
import datetime
import logging
import time
Expand Down Expand Up @@ -51,14 +51,10 @@ def update_game_cache(self):
rom_path = entry["path"].split("#")[0]
if os.path.abspath(user_config.rom_path) in os.path.abspath(rom_path) and os.path.isfile(rom_path):
provided_name = entry["label"].split(" (")[0]
if provided_name in corrections.correction_list:
correct_name = corrections.correction_list[provided_name]
else:
correct_name = provided_name
game_list.append(
Game(
correct_name,
correct_name,
provided_name,
provided_name,
None,
LicenseInfo(LicenseType.SinglePurchase, None)
)
Expand Down
8 changes: 0 additions & 8 deletions n64_a3824d31-c2d3-4a1a-b321-7d0764da5513/corrections.py

This file was deleted.

10 changes: 3 additions & 7 deletions n64_a3824d31-c2d3-4a1a-b321-7d0764da5513/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import subprocess
import sys
import json, urllib.request, os, os.path
import user_config, corrections
import user_config
import datetime
import logging
import time
Expand Down Expand Up @@ -52,14 +52,10 @@ def update_game_cache(self):
rom_path = entry["path"].split("#")[0]
if os.path.abspath(user_config.rom_path) in os.path.abspath(rom_path) and os.path.isfile(rom_path):
provided_name = entry["label"].split(" (")[0]
if provided_name in corrections.correction_list:
correct_name = corrections.correction_list[provided_name]
else:
correct_name = provided_name
game_list.append(
Game(
correct_name,
correct_name,
provided_name,
provided_name,
None,
LicenseInfo(LicenseType.SinglePurchase, None)
)
Expand Down
1 change: 0 additions & 1 deletion ncube_602422b9-ced5-476e-911a-7fa0adf0f7f7/corrections.py

This file was deleted.

10 changes: 3 additions & 7 deletions ncube_602422b9-ced5-476e-911a-7fa0adf0f7f7/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import subprocess
import sys
import json, urllib.request, os, os.path
import user_config, corrections
import user_config
import datetime
import logging
import time
Expand Down Expand Up @@ -51,14 +51,10 @@ def update_game_cache(self):
rom_path = entry["path"].split("#")[0]
if os.path.abspath(user_config.rom_path) in os.path.abspath(rom_path) and os.path.isfile(rom_path):
provided_name = entry["label"].split(" (")[0]
if provided_name in corrections.correction_list:
correct_name = corrections.correction_list[provided_name]
else:
correct_name = provided_name
game_list.append(
Game(
correct_name,
correct_name,
provided_name,
provided_name,
None,
LicenseInfo(LicenseType.SinglePurchase, None)
)
Expand Down
1 change: 0 additions & 1 deletion nds_4704ed29-f516-4fd8-8477-ddbcdb7cedfc/corrections.py

This file was deleted.

10 changes: 3 additions & 7 deletions nds_4704ed29-f516-4fd8-8477-ddbcdb7cedfc/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import subprocess
import sys
import json, urllib.request, os, os.path
import user_config, corrections
import user_config
import datetime
import logging
import time
Expand Down Expand Up @@ -51,14 +51,10 @@ def update_game_cache(self):
rom_path = entry["path"].split("#")[0]
if os.path.abspath(user_config.rom_path) in os.path.abspath(rom_path) and os.path.isfile(rom_path):
provided_name = entry["label"].split(" (")[0]
if provided_name in corrections.correction_list:
correct_name = corrections.correction_list[provided_name]
else:
correct_name = provided_name
game_list.append(
Game(
correct_name,
correct_name,
provided_name,
provided_name,
None,
LicenseInfo(LicenseType.SinglePurchase, None)
)
Expand Down
6 changes: 0 additions & 6 deletions nes_e2c630e1-3cbe-4dbd-9235-5e6a2d2955ad/corrections.py

This file was deleted.

10 changes: 3 additions & 7 deletions nes_e2c630e1-3cbe-4dbd-9235-5e6a2d2955ad/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import subprocess
import sys
import json, urllib.request, os, os.path
import user_config, corrections
import user_config
import datetime
import logging
import time
Expand Down Expand Up @@ -51,14 +51,10 @@ def update_game_cache(self):
rom_path = entry["path"].split("#")[0]
if os.path.abspath(user_config.rom_path) in os.path.abspath(rom_path) and os.path.isfile(rom_path):
provided_name = entry["label"].split(" (")[0]
if provided_name in corrections.correction_list:
correct_name = corrections.correction_list[provided_name]
else:
correct_name = provided_name
game_list.append(
Game(
correct_name,
correct_name,
provided_name,
provided_name,
None,
LicenseInfo(LicenseType.SinglePurchase, None)
)
Expand Down
1 change: 0 additions & 1 deletion nwii_2d0e97ac-0406-4e5f-a85b-ab5b1a042cba/corrections.py

This file was deleted.

10 changes: 3 additions & 7 deletions nwii_2d0e97ac-0406-4e5f-a85b-ab5b1a042cba/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import subprocess
import sys
import json, urllib.request, os, os.path
import user_config, corrections
import user_config
import datetime
import logging
import time
Expand Down Expand Up @@ -51,14 +51,10 @@ def update_game_cache(self):
rom_path = entry["path"].split("#")[0]
if os.path.abspath(user_config.rom_path) in os.path.abspath(rom_path) and os.path.isfile(rom_path):
provided_name = entry["label"].split(" (")[0]
if provided_name in corrections.correction_list:
correct_name = corrections.correction_list[provided_name]
else:
correct_name = provided_name
game_list.append(
Game(
correct_name,
correct_name,
provided_name,
provided_name,
None,
LicenseInfo(LicenseType.SinglePurchase, None)
)
Expand Down
1 change: 0 additions & 1 deletion pce_c0ffd4b8-41c3-46b8-b0f7-5f4e4bafc68a/corrections.py

This file was deleted.

Loading

0 comments on commit a7899e7

Please sign in to comment.