SpotX-Official / SpotX-Bash

SpotX Mac and Linux adblocker for the Spotify desktop client, in Bash
MIT License
1.7k stars 58 forks source link

Error with fish shell #8

Closed Aquavortqx closed 1 year ago

Aquavortqx commented 1 year ago

🧐 Have you fully read the README and viewed similar issues?

Сountry of your account

India

What is your Spotify Plan?

Free

Do you have Spicetify installed?

Yes

ℹ Computer information

- Spotify version: spotify 1:1.1.84.716-13
- OS: CachyOS Linux x86_64
- Shell: fish 3.6.0

📝 Description

1.Download the specified version of spotify from the arch aur repo using git clone command and makepkg -si 2.Run the command bash <(curl -sSL https://gist.github.com/jetfir3/e8830cf8deba6a4f15eec094d344f7b1/raw/spotx.sh) --disablesidebarlyrics -p to install spotx-bash 3.The shell comes out with an error. ...

🖥️ Terminal Input/Output

Terminal Input

bash <(curl -sSL https://gist.github.com/jetfir3/e8830cf8deba6a4f15eec094d344f7b1/raw/spotx.sh) --disablesidebarlyrics -p

Terminal Output

fish: Invalid redirection target: bash <(curl -sSL https://gist.github.com/jetfir3/e8830cf8deba6a4f15eec094d344f7b1/raw/spotx.sh) --disablesidebarlyrics -p ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

📸 Screenshots

No response

jetfir3 commented 1 year ago

This isn't a spotx-bash issue but a matter of your shell not handling the suggested command formatting.

A quick google would have pointed you here to explain - https://github.com/fish-shell/fish-shell/issues/5181

You may have to play around with formatting to get the additional arguments sorted as well. You may not actually need the additional arguments you included in the terminal input/output... Spotify v1.1.84 doesn't make use of sidebar lyrics yet and the -p argument is for paid premium users while you listed your account as free-tier.