From bedfb830418cd7780b4b84abcb75638deace7d1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yarob=20Al=20Mostafa=20=28=D9=8A=D8=B9=D8=B1=D9=8F=D8=A8?= =?UTF-8?q?=29?= Date: Thu, 11 Jan 2024 15:07:17 +0300 Subject: [PATCH 1/3] adding Radio Thmanyah as Podcast Catcher --- .gitignore | 2 ++ .vscode/settings.json | 32 ++++++++++++++++++++++++++++++++ regexes.yaml | 12 ++++++++++++ tests/test_ua.yaml | 24 ++++++++++++++++++++++++ 4 files changed, 70 insertions(+) create mode 100644 .vscode/settings.json diff --git a/.gitignore b/.gitignore index 0682a384..3e2e1a93 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,5 @@ node_modules/ package-lock.json *.tgz *.log +.prettierignore + diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000..8068a8a6 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,32 @@ +{ + "workbench.colorCustomizations": { + "[Material Theme Lighter High Contrast]": { + "settings.headerForeground": "#C6FF00", + "menu.selectionForeground": "#C6FF00", + "textLink.foreground": "#C6FF00", + "menubar.selectionForeground": "#C6FF00", + "pickerGroup.foreground": "#C6FF00", + "editorSuggestWidget.highlightForeground": "#C6FF00", + "scrollbarSlider.activeBackground": "#C6FF0050", + "progressBar.background": "#C6FF00", + "notificationLink.foreground": "#C6FF00", + "panelTitle.activeBorder": "#C6FF00", + "breadcrumb.activeSelectionForeground": "#C6FF00", + "settings.modifiedItemIndicator": "#C6FF00", + "list.highlightForeground": "#C6FF00", + "list.activeSelectionForeground": "#C6FF00", + "editor.findMatchBorder": "#C6FF00", + "list.inactiveSelectionForeground": "#0f100f", + "editorWidget.resizeBorder": "#C6FF00", + "activityBarBadge.background": "#C6FF00", + "selection.background": "#C6FF0040", + "editorWidget.border": "#C6FF00", + "statusBarItem.remoteBackground": "#C6FF00", + "activityBar.activeBorder": "#C6FF00", + "tab.activeBorder": "#C6FF00" + }, + "activityBar.background": "#073510", + "titleBar.activeBackground": "#0A4B16", + "titleBar.activeForeground": "#F1FDF4" + } +} \ No newline at end of file diff --git a/regexes.yaml b/regexes.yaml index a8f8e097..603e6d8f 100644 --- a/regexes.yaml +++ b/regexes.yaml @@ -45,6 +45,7 @@ user_agent_parsers: - regex: 'ArcGIS\.Runtime\.(Qt)\.(\d+)\.(\d+)(?:\.(\d+)|)' family_replacement: 'ArcGIS Runtime SDK for $1' + # # CFNetwork Podcast catcher Applications - regex: '^(Luminary)[Stage]+/(\d+) CFNetwork' - regex: '(ESPN)[%20| ]+Radio/(\d+)\.(\d+)\.(\d+) CFNetwork' @@ -68,6 +69,17 @@ user_agent_parsers: family_replacement: 'AudioBoom' - regex: ' (Rivo) RHYTHM' + # Radio Thmanyah Podcast Catcher + - regex: '(Radio Thmanyah)/(\d+)\.(\d+)\.(\d+)' + family_replacement: 'Radio Thmanyah' + - regex: '(Radio Thmanyah ar)/(\d+)\.(\d+)\.(\d+)' + family_replacement: 'راديو ثمانية' + - regex: '(Radio Thmanyah Android)/(\d+)\.(\d+)\.(\d+)' + family_replacement: 'Radio Thmanyah Android' + - regex: '(Radio Thmanyah iOS)/(\d+)\.(\d+)\.(\d+)' + family_replacement: 'Radio Thmanyah iOS' + + # @note: iOS / OSX Applications - regex: '(CFNetwork)(?:/(\d+)\.(\d+)(?:\.(\d+)|)|)' family_replacement: 'CFNetwork' diff --git a/tests/test_ua.yaml b/tests/test_ua.yaml index 2b2bee8c..b5751980 100644 --- a/tests/test_ua.yaml +++ b/tests/test_ua.yaml @@ -8681,3 +8681,27 @@ test_cases: major: '3' minor: '2' patch: '1' + + - user_agent_string: 'Radio Thmanyah/1.0.2' + family: 'Radio Thmanyah' + major: '1' + minor: '0' + patch: '2' + + - user_agent_string: 'Radio Thmanyah ar/1.0.2' + family: 'راديو ثمانية' + major: '1' + minor: '0' + patch: '2' + + - user_agent_string: 'Radio Thmanyah Android/1.0.2' + family: "Radio Thmanyah Android" + major: '1' + minor: '0' + patch: '2' + + - user_agent_string: 'Radio Thmanyah iOS/1.0.2' + family: "Radio Thmanyah iOS" + major: '1' + minor: '0' + patch: '2' From 9526e0dc252c277ccb60c891c2f81a2151788928 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yarob=20Al=20Mostafa=20=28=D9=8A=D8=B9=D8=B1=D9=8F=D8=A8?= =?UTF-8?q?=29?= Date: Thu, 11 Jan 2024 15:12:58 +0300 Subject: [PATCH 2/3] adding VS Code to gitignore --- .gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 3e2e1a93..6fd9f2f9 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,4 @@ package-lock.json *.tgz *.log .prettierignore - +.vscode From 750affc248d175369b615d86caa8959140bc20e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yarob=20Al=20Mostafa=20=28=D9=8A=D8=B9=D8=B1=D9=8F=D8=A8?= =?UTF-8?q?=29?= Date: Thu, 11 Jan 2024 15:15:56 +0300 Subject: [PATCH 3/3] removing VS code from git tracking --- .vscode/settings.json | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index 8068a8a6..00000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "workbench.colorCustomizations": { - "[Material Theme Lighter High Contrast]": { - "settings.headerForeground": "#C6FF00", - "menu.selectionForeground": "#C6FF00", - "textLink.foreground": "#C6FF00", - "menubar.selectionForeground": "#C6FF00", - "pickerGroup.foreground": "#C6FF00", - "editorSuggestWidget.highlightForeground": "#C6FF00", - "scrollbarSlider.activeBackground": "#C6FF0050", - "progressBar.background": "#C6FF00", - "notificationLink.foreground": "#C6FF00", - "panelTitle.activeBorder": "#C6FF00", - "breadcrumb.activeSelectionForeground": "#C6FF00", - "settings.modifiedItemIndicator": "#C6FF00", - "list.highlightForeground": "#C6FF00", - "list.activeSelectionForeground": "#C6FF00", - "editor.findMatchBorder": "#C6FF00", - "list.inactiveSelectionForeground": "#0f100f", - "editorWidget.resizeBorder": "#C6FF00", - "activityBarBadge.background": "#C6FF00", - "selection.background": "#C6FF0040", - "editorWidget.border": "#C6FF00", - "statusBarItem.remoteBackground": "#C6FF00", - "activityBar.activeBorder": "#C6FF00", - "tab.activeBorder": "#C6FF00" - }, - "activityBar.background": "#073510", - "titleBar.activeBackground": "#0A4B16", - "titleBar.activeForeground": "#F1FDF4" - } -} \ No newline at end of file