Skip to content
This repository has been archived by the owner on Jul 17, 2023. It is now read-only.

Failed to install the MusicXmatch integration #2

Open
dacrab opened this issue Mar 30, 2023 · 4 comments
Open

Failed to install the MusicXmatch integration #2

dacrab opened this issue Mar 30, 2023 · 4 comments

Comments

@dacrab
Copy link

dacrab commented Mar 30, 2023

i got the API from the musicxmatch dev webpage and when i try to install it thru the command it says this : "./install.ps1 : File C:\Users\vagge\install.ps1 cannot be loaded because running scripts is disabled on this system. Fo
r more information, see about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170.
At line:1 char:1

  • ./install.ps1 -mtoken 52c104d8b701d7e5eb9b1066f26ab7f4
  •   + CategoryInfo          : SecurityError: (:) [], PSSecurityException
      + FullyQualifiedErrorId : UnauthorizedAccess"
    
    

idk what causes this issue if anyone can help me i would really appreciate it
thx for your time

@abh80
Copy link
Owner

abh80 commented Mar 31, 2023

You need to use admin powershell, it is reqired to run the script for writing in . files

@dacrab
Copy link
Author

dacrab commented Mar 31, 2023

i am running it as admin both the terminal and the Powershell ( both the version 7 and the version that came pre-installed in the Win11) but still i keep gettin that error

./install.ps1 : File C:\WINDOWS\system32\install.ps1 cannot be loaded because running scripts is disabled on this syste
m. For more information, see about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170.
At line:1 char:1

  • ./install.ps1 -mtoken 52c104d8b701d7e5eb9b1066f26ab7f4
  •   + CategoryInfo          : SecurityError: (:) [], ParentContainsErrorRecordException
      + FullyQualifiedErrorId : UnauthorizedAccess
    
    
    

and also i keep getting an error when i click y(yes) on the "Remove ADs?"

Invoke-WebRequest : 404: Not Found
At line:37 char:5

  • Invoke-WebRequest -UseBasicParsing 'https://raw.githubusercontent ...
    
  • ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebExc
      eption
    • FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand

@abh80
Copy link
Owner

abh80 commented Apr 5, 2023

You can use a work around for this -

  • Download this file and paste in inside spicetify scripts folder
  • At the end of file add this line `var TOKEN = "Your Musixmatch token"
  • Configure Spicetify Scripts to use this

here is docs link https://spicetify.app/docs/advanced-usage/extensions

@dacrab
Copy link
Author

dacrab commented Apr 6, 2023

i mean i really dont now how to do the configuration of the Spicetify Scripts and also idk if I did the command placement right, is there any step-by-step guide on what excactly to do ?

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

No branches or pull requests

2 participants