From e765e4113be59b65e64f63d938c199e28ac66cc4 Mon Sep 17 00:00:00 2001 From: lonewolf0708 Date: Mon, 9 Oct 2023 13:42:48 -0400 Subject: [PATCH 1/2] Update plugin.py Updated from Origin Backend to EA App Backend. --- src/plugin.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/plugin.py b/src/plugin.py index 0204736..11f97b5 100755 --- a/src/plugin.py +++ b/src/plugin.py @@ -36,14 +36,14 @@ def is_windows(): LOCAL_GAMES_CACHE_VALID_PERIOD = 5 AUTH_PARAMS = { - "window_title": "Login to Origin", - "window_width": 495 if is_windows() else 480, - "window_height": 746 if is_windows() else 708, - "start_uri": "https://accounts.ea.com/connect/auth" - "?response_type=code&client_id=ORIGIN_SPA_ID&display=originXWeb/login" - "&locale=en_US&release_type=prod" - "&redirect_uri=https://www.origin.com/views/login.html", - "end_uri_regex": r"^https://www\.origin\.com/views/login\.html.*" +"window_title": "Login to EA Play", +"window_width": 495 if is_windows() else 480, +"window_height": 746 if is_windows() else 708, +"start_uri": "https://accounts.ea.com/connect/auth" +"?response_type=code&client_id=EADOTCOM-WEB-SERVER&display=junoWeb/login" +"&locale=en_US&release_type=prod" +"&redirect_uri=https://www.ea.com/ea-play", +"end_uri_regex":r"^https://www\.ea\.com/ea-play.*" } def regex_pattern(regex): return ".*" + re.escape(regex) + ".*" From d664f29c04a8f62836c94b5f8311058b8d39239c Mon Sep 17 00:00:00 2001 From: lonewolf0708 Date: Mon, 23 Oct 2023 23:06:04 -0400 Subject: [PATCH 2/2] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 890dabc..04e07e1 100755 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ -# Origin integration for GOG Galaxy +# EA integration for GOG Galaxy -Allows to import your list of games, achievements and time played. \ No newline at end of file +This plugin allows you to import your list of games, achievements, and time played.