hrkfdn / ncspot

Cross-platform ncurses Spotify client written in Rust, inspired by ncmpc and the likes.
BSD 2-Clause "Simplified" License
5.08k stars 211 forks source link

Cannot Login to ncspot #1548

Open h3athen opened 2 weeks ago

h3athen commented 2 weeks ago

I am running Windows, Windows Terminal and Nushell

I installed it using winget

after running ncspot.exe it prompts me to the login screen. Even with my valid credentials, I gives me : Bad Credentials

lukebarone commented 1 week ago

The winget version is only 1.0.0. I think there needs to be a workflow to update winget as well when new binaries are released

EDIT: The how to is listed here, but may need some tweaking:

name: Publish to WinGet
on:
  release:
    types: [released]
jobs:
  publish:
    runs-on: windows-latest
    steps:
      - name: Get version
        id: get-version
        run: |
          # Finding the version from release name
          $VERSION="${{ github.event.release.name }}" -replace '^.*/ '
          "version=$VERSION" >> $env:GITHUB_OUTPUT
        shell: pwsh
      - uses: vedantmgoyal9/winget-releaser@main
        with:
          identifier: hrkfdn.ncspot
          version: ${{ steps.get-version.outputs.version }}
          token: ${{ secrets.WINGET_TOKEN }}
          installers-regex: 'windows-x86_64\.zip$'
h3athen commented 1 week ago

Thank you for the info. I'll go with building the repo and also look into the Winget workflow

SkullCarverCoder commented 1 week ago

Just to chime in , it's also happening on Linux Build , I guess it has to be something regarding some change in Spotify side.

SkullCarverCoder commented 1 week ago

Just to chime in , it's also happening on Linux Build , I guess it has to be something regarding some change in Spotify side.

It was indeed the version , updating fixed the issue