-
Notifications
You must be signed in to change notification settings - Fork 494
Detect new brands: Singtech, Maze Speed, Sunny, True Slim, OASYS, TEENO, v-mobile, Aspera, Vision Touch, NOBUX, Hitech and Detect devices for existing brands: MSI, Siragon, FireFly, Blu, SFR, Starmobile, Starlight, iBrit, Sico, Casper, Lenovo, Maxwest, STF Mobile, Karbonn, Evercoss, ZTE, Sky, Alba, Azumi, Hisense, Inco, Lava, Alcatel, öwn, Videocon, EXO, Forstar, iBall, Wink #6708
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
feat(device) detect new brand Subor models: S5, 2019, K10 Plus feat(device) detect new brand SuperTab models: K7, A10, S7G feat(device) detect new brand Suzuki models: SumoPad 8100, ECOPad 7, SumoPad 10 feat(device) detect brand Sugar model: F7, C9, C7 feat(device) detect brand TrekStor model: SurfTab Theatre 13.4" (ST13416-1)
…V08B, DMTAB-IN08A), Big Tab HD 20.0" (DMTAB-NV20A), Big Tab HD 24.0" (DMTAB-NV24A), Barbie Tab 7.0" (NBTY07SMKG), Fisher Price Learning Tab 7.0" (NBFP07PMKG), 2S Tab (SNB02-NV7A), 2 Tab (NABI2-NV7A)
feat(device) detect brand Digiland models: DL9002, DL7006, DL8006 feat(device) detect brand Goophone models: S4 Mega, I9, I6 feat(device) detect brand Kyocera model: Urbano Progresso feat(device) detect brand Sony model: Walkman Z1000
…la X, Stella Omega feat(device) detect brand Starlight model: Star Mix 2 feat(device) detect brand Zuum models: Stellar Pro, Stellar, Stellar Plus, Stellar Mini, Stellar M1, Stellar P1
…0 Plus, X8 Pro+, A5X Max, X99
feat(device) detect brand Dune HD model: Solo 4k feat(device) detect brand Philco model: General Android TV
…, Speed X2 Plus, Speed A2
feat(device) detect brand Chuwi models: Vi10, Vi10 Plus, Vi10 Pro
…apphire H50S, Sapphire H7S, Sapphire H90 feat(device) detect brand Siragon model: SP-5150 feat(device) detect brand FireFly Mobile models: Super Sweet, Sweet Mini feat(device) detect brand Blu models: Studio G HD feat(device) detect brand SFR models: StarXtrem 5, StarXtrem 6, StarXtrem 2, StarXtrem 4, StarXtrem 3
…-508, SSB-504R, SSB-500, SSB-408D feat(device) detect new brand Sunny models: SS4G9 Mira, SS4G7 Sole, SS4G1 Luna, SS4G8 Nora, SS4G6 Lola feat(device) detect brand Starmobile model: Play Click feat(device) detect brand Starlight model: Rome X feat(device) detect brand iBrit models: Speed (SI51), Speed Plus (SI52) feat(device) detect brand Sico models: Pro 3 (SSR3-1-51-5M), Diamond (SSD-1-53-13M), Plus 2 feat(device) detect new brand True Slim models: SSB-508E, SSB-508D
feat(device) detect brand Lenovo models: Vibe S3i, Vibe S5i, Vibe S6i, Vibe S6i Plus, Vibe S7i, Vibe S2i, Vibe V7
feat(device) detect new brand TEENO models: S9, A1, S11 feat(device) detect new brand v-mobile models: J7, XS Pro
… Wren feat(device) detect brand Maxwest model: Nitro 4s feat(device) detect brand STF Mobile model: Slay II feat(device) detect brand Karbonn model: Titanium S5 feat(device) detect brand Evercoss model: A5Z issue matomo-org#5702
feat(device) detect brand Karbonn model: Alfa A114 Quad feat(device) detect brand Maxwest model: Astro X4 feat(device) detect brand ZTE model: Leo Q2 (V769M) feat(device) detect brand Sky models: Platinum 4.0, Platinum 5.0 Plus issue matomo-org#5702
feat(device) detect brand Alba models: 10 Tablet, 4 feat(device) detect brand Azumi Mobile model: A50 Style Plus feat(device) detect brand Hisense model: Smartfren Andromax U2 (EG98) feat(device) detect brand Inco model: Plain 2S feat(device) detect brand Karbonn model: Aura Power 4G Plus feat(device) detect brand Lava model: A97 2GB Plus feat(device) detect brand Alcatel model: Kora A576CC feat(device) detect brand öwn model: Smart Plus LTE feat(device) detect brand Blu models: Tank Xtreme 4.0", Pure XR, Pure Mini issue matomo-org#5702
…, Amaze S5 Plus, Amaze S5, Amaze S6 Plus, Amaze S1, Amaze S5 4G, Amaze S6 feat(device) detect brand Videocon models: Infinium Z45 Amaze, Infinium Z45 Dazzle, Infinium Z45Q Star feat(device) detect brand EXO model: Wave i101b feat(device) detect brand Forstar model: Amosta 3G5 feat(device) detect brand iBall models: Andi Wink 4G, Andi 5G Blink 4G feat(device) detect brand Wink models: Primo, Highway, City S, Glory, World SE, Share SE, Glory SE issue matomo-org#5702
To remove the duplicates, I used the following solution: <?php declare(strict_types=1);
include __DIR__ . '/../vendor/autoload.php';
$remove = [];
$result = [];
$has = [];
$file = $argv[1];
$array = Spyc::YAMLLoad($file);
foreach ($array as $item) {
$useragent = $item['user_agent'];
if (!in_array($useragent, $has)) {
$has[] = $useragent;
$result[] = $item;
} else {
$remove[] = $item;
}
}
echo "NEW ITEMS ==========\n\n\n\n";
echo Spyc::YAMLDump($result, 2, 0);
echo "\n\n\n\n";
echo "REMOVE ITEMS ==========\n\n\n\n";
echo Spyc::YAMLDump($remove, 2, 0); |
sgiehl
reviewed
Mar 22, 2021
sgiehl
approved these changes
Apr 13, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
this PR merge after #6702