Skip to content
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

mas search: Error: Unable to parse response as JSON #680

Open
Austin1 opened this issue Dec 26, 2024 · 1 comment
Open

mas search: Error: Unable to parse response as JSON #680

Austin1 opened this issue Dec 26, 2024 · 1 comment

Comments

@Austin1
Copy link

Austin1 commented Dec 26, 2024

mas version

1.8.7

macOS version

15.1

macOS build version

24B2083

Processor

Apple M4

mas installation method

Homebrew core (brew install mas)

mas installation details

Expected behavior

mas search “infuse video player”
austin@austins-mac-mini ~ % mas search “infuse video player"
  1136220934  Infuse • Video Player                           (8.0.8)
  1044549675  Elmedia Video Player                            (8.20)
  1659622164  VidHub -Video Library & Player                  (1.7.14)
  1470926410  OmniPlayer: MKV Video Player                    (2.1.9)
   937759555  Elmedia:universal video player                  (8.20)
  1612400976  Fig Player - play mp4 mkv mp3                   (1.3.16)
  6450330892  Conflux - Video Player                          (1.3.1)
  1065301132  zFuse - Play For Everything                     (1.7.52)

Actual behavior

austin@austins-mac-mini ~ % mas search "infuse video player"
Error: Unable to parse response as JSON: 



{
 "resultCount":40,
 "results": [
{"isGameCenterEnabled":false, "screenshotUrls":[], "ipadScreenshotUrls":[], "appletvScreenshotUrls":[], 
"artworkUrl512":"https://is1-ssl.mzstatic.com/image/thumb/Purple211/v4/8a/f9/8c/8af98c50-d843-fd39-a681-98097432b632/AppIconLight-0-0-1x_U007emarketing-0-8-0-0-0-0-85-220.png/512x512bb.jpg", "features":["iosUniversal"], 
"supportedDevices":["MacDesktop-MacDesktop", "iPhone5s-iPhone5s", "iPadAir-iPadAir", "iPadAirCellular-iPadAirCellular", "iPadMiniRetina-iPadMiniRetina", "iPadMiniRetinaCellular-iPadMiniRetinaCellular", "iPhone6-iPhone6", "iPhone6Plus-iPhone6Plus", "iPadAir2-iPadAir2", "iPadAir2Cellular-iPadAir2Cellular", "iPadMini3-iPadMini3", "iPadMini3Cellular-iPadMini3Cellular", "iPodTouchSixthGen-iPodTouchSixthGen", "iPhone6s-iPhone6s", "iPhone6sPlus-iPhone6sPlus", "iPadMini4-iPadMini4", "iPadMini4Cellular-iPadMini4Cellular", "iPadPro-iPadPro", "iPadProCellular-iPadProCellular", "iPadPro97-iPadPro97", "iPadPro97Cellular-iPadPro97Cellular", "iPhoneSE-iPhoneSE", "iPhone7-iPhone7", "iPhone7Plus-iPhone7Plus", "iPad611-iPad611", "iPad612-iPad612", "iPad71-iPad71", "iPad72-iPad72", "iPad73-iPad73", "iPad74-iPad74", "iPhone8-iPhone8", "iPhone8Plus-iPhone8Plus", "iPhoneX-iPhoneX", "iPad75-iPad75", "iPad76-iPad76", "iPhoneXS-iPhoneXS", "iPhoneXSMax-iPhoneXSMax", "iPhoneXR-iPhoneXR", "iPad812-iPad812", "iPad834-iPad834", "iPad856-iPad856", "iPad878-iPad878", "iPadMini5-iPadMini5", "iPadMini5Cellular-iPadMini5Cellular", "iPadAir3-iPadAir3", "iPadAir3Cellular-iPadAir3Cellular", "iPodTouchSeventhGen-iPodTouchSeventhGen", "iPhone11-iPhone11", "iPhone11Pro-iPhone11Pro", "iPadSeventhGen-iPadSeventhGen", "iPadSeventhGenCellular-iPadSeventhGenCellular", "iPhone11ProMax-iPhone11ProMax", "iPhoneSESecondGen-iPhoneSESecondGen", "iPadProSecondGen-iPadProSecondGen", "iPadProSecondGenCellular-iPadProSecondGenCellular", "iPadProFourthGen-iPadProFourthGen", "iPadProFourthGenCellular-iPadProFourthGenCellular", "iPhone12Mini-iPhone12Mini", "iPhone12-iPhone12", "iPhone12Pro-iPhone12Pro", "iPhone12ProMax-iPhone12ProMax", "iPadAir4-iPadAir4", "iPadAir4Cellular-iPadAir4Cellular", "iPadEighthGen-iPadEighthGen", "iPadEighthGenCellular-iPadEighthGenCellular", "iPadProThirdGen-iPadProThirdGen", "iPadProThirdGenCellular-iPadProThirdGenCellular", "iPadProFifthGen-iPadProFifthGen", "iPadProFifthGenCellular-iPadProFifthGenCellular", "iPhone13Pro-iPhone13Pro", "iPhone13ProMax-iPhone13ProMax", "iPhone13Mini-iPhone13Mini", "iPhone13-iPhone13", "iPadMiniSixthGen-iPadMiniSixthGen", "iPadMiniSixthGenCellular-iPadMiniSixthGenCellular", "iPadNinthGen-iPadNinthGen", "iPadNinthGenCellular-iPadNinthGenCellular", "iPhoneSEThirdGen-iPhoneSEThirdGen", "iPadAirFifthGen-iPadAirFifthGen", "iPadAirFifthGenCellular-iPadAirFifthGenCellular", "iPhone14-iPhone14", "iPhone14Plus-iPhone14Plus", "iPhone14Pro-iPhone14Pro", "iPhone14ProMax-iPhone14ProMax", "iPadTenthGen-iPadTenthGen", "iPadTenthGenCellular-iPadTenthGenCellular", "iPadPro11FourthGen-iPadPro11FourthGen", "iPadPro11FourthGenCellular-iPadPro11FourthGenCellular", "iPadProSixthGen-iPadProSixthGen", "iPadProSixthGenCellular-iPadProSixthGenCellular", "iPhone15-iPhone15", "iPhone15Plus-iPhone15Plus", "iPhone15Pro-iPhone15Pro", "iPhone15ProMax-iPhone15ProMax", "iPadAir11M2-iPadAir11M2", "iPadAir11M2Cellular-iPadAir11M2Cellular", "iPadAir13M2-iPadAir13M2", "iPadAir13M2Cellular-iPadAir13M2Cellular", "iPadPro11M4-iPadPro11M4", "iPadPro11M4Cellular-iPadPro11M4Cellular", "iPadPro13M4-iPadPro13M4", "iPadPro13M4Cellular-iPadPro13M4Cellular", "iPhone16-iPhone16", "iPhone16Plus-iPhone16Plus", "iPhone16Pro-iPhone16Pro", "iPhone16ProMax-iPhone16ProMax", "iPadMiniA17Pro-iPadMiniA17Pro", "iPadMiniA17ProCellular-iPadMiniA17ProCellular"], "advisories":[], "kind":"software", "artistViewUrl":"https://apps.apple.com/us/developer/firecore-llc/id577130089?uo=4", 
"artworkUrl60":"https://is1-ssl.mzstatic.com/image/thumb/Purple211/v4/8a/f9/8c/8af98c50-d843-fd39-a681-98097432b632/AppIconLight-0-0-1x_U007emarketing-0-8-0-0-0-0-85-220.png/60x60bb.jpg", 
"artworkUrl100":"https://is1-ssl.mzstatic.com/image/thumb/Purple211/v4/8a/f9/8c/8af98c50-d843-fd39-a681-98097432b632/AppIconLight-0-0-1x_U007emarketing-0-8-0-0-0-0-85-220.png/100x100bb.jpg", "minimumOsVersion":"15.0", "userRatingCountForCurrentVersion":23499, "averageUserRatingForCurrentVersion":4.68475000000000019184653865522705018520355224609375, 
"languageCodesISO2A":["AR", "EU", "BG", "MY", "CA", "HR", "CS", "DA", "NL", "EN", "ET", "FI", "FR", "DE", "EL", "GU", "HE", "HI", "HU", "IT", "JA", "KO", "LV", "NB", "PL", "PT", "RO", "RU", "ZH", "SK", "SL", "ES", "SV", "ZH", "TR", "UK", "VI"], "fileSizeBytes":"142402560", "formattedPrice":"Free", "trackContentRating":"4+", "sellerUrl":"https://firecore.com/infuse", "artistId":577130089, "artistName":"Firecore, LLC", "genres":["Entertainment", "Photo & Video"], "price":0.00, "bundleId":"com.firecore.infuse", "currentVersionReleaseDate":"2024-12-25T13:44:31Z", "releaseDate":"2016-11-21T07:14:59Z", "genreIds":["6016", "6008"], "primaryGenreName":"Entertainment", "primaryGenreId":6016, "isVppDeviceBasedLicensingEnabled":true, "sellerName":"Firecore, LLC", 
"releaseNotes":"FIXED\n- Fixed playback with HTTP redirects\n- Other minor fixes and improvements\n\nFor full release details visit: firecore.com/releases\n\nThanks so much for using Infuse!", "version":"8.0.8", "wrapperType":"software", "currency":"USD", 

Steps to reproduce

mas search “infuse video player"

Additional context

if you don’t include three words, it parses correctly. For example

austin@austins-mac-mini ~ % mas search infuse
  1136220934  Infuse • Video Player                           (8.0.8)
@rgoldberg rgoldberg changed the title Error: Unable to parse response as JSON - when running “mas search" mas search: Error: Unable to parse response as JSON Dec 27, 2024
@rgoldberg
Copy link
Contributor

rgoldberg commented Dec 27, 2024

@Austin1 mas 1.8.8 was just released. It is available for upgrade/install from homebrew-core.

It contains a fix for a JSON parsing issue, which might be the same as the issue you're reporting.

Please let me know if it works or not. If it doesn't work, please provide the full JSON output that doesn't parse properly, then I'll fix the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants