Bug 271701 - audio/ncspot: Update to 0.13.2
Summary: audio/ncspot: Update to 0.13.2
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Rodrigo Osorio
URL: https://github.com/hrkfdn/ncspot/rele...
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-29 07:34 UTC by Nuno Teixeira
Modified: 2023-05-30 11:22 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (rodrigo)


Attachments
Update to 0.13.2 (79.89 KB, patch)
2023-05-29 07:34 UTC, Nuno Teixeira
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nuno Teixeira freebsd_committer freebsd_triage 2023-05-29 07:34:04 UTC
Created attachment 242473 [details]
Update to 0.13.2

Update to 0.13.2

Sugestion:

- Move cargo list to Makefile.crates for a cleaner Makefile
- Use default termios (standalone library directly talking to the TTY) [1]
- Delete ncurses dependency (USES)
- Use multiple-choice for backend, where at least one option must be enabled [2]

ChangeLog:
https://github.com/hrkfdn/ncspot/releases/tag/v0.13.2
https://github.com/hrkfdn/ncspot/releases/tag/v0.13.1

[1] I found ncurses having strange behavior on console and x11 (e.g. wrong selection highlights on menus) For my surprise, termios show menus correctly on console and x11. No need on ncurses depends.

[2] Program needs at least one backend or the two to compile and run correctly. If compiled with no backend, it gives warning at compile and playing music shows a lot of glyphs and strange symbols.

This my first attempt using a spotify client and I found this one the easiest to configure with simple login (user and pass) and with a cute and clever interface.

I did tried others (spotify-qt, spotify-tui, etc) and no sound at all. Still diging to find whats wrong.

Thanks
Comment 1 Rodrigo Osorio freebsd_committer freebsd_triage 2023-05-29 14:03:37 UTC
(In reply to Nuno Teixeira from comment #0)
Thanks for the port improvements.

Regarding other spotify ports:

spotify-qt : I use it as a "remote" command to control spotifyd deamon.
spotifyd is a headless spotify player I installed on my laptop and a RPI
connected to my home HI-FI. This way I can switch music from my pc to the
HI-FI system or my phone.

I use spotify-tui a long time ago but, as far as I remember it works well,
but I didn't like the token mechanism required to use it.
Comment 2 commit-hook freebsd_committer freebsd_triage 2023-05-29 14:21:28 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=679af423b16e12a09aac8f0125656ffc96b90e73

commit 679af423b16e12a09aac8f0125656ffc96b90e73
Author:     Rodrigo Osorio <rodrigo@FreeBSD.org>
AuthorDate: 2023-05-29 13:34:37 +0000
Commit:     Rodrigo Osorio <rodrigo@FreeBSD.org>
CommitDate: 2023-05-29 14:06:30 +0000

    audio/ncspot: Update to 0.13.2

    Port changes:
      - Move cargo list to Makefile.crates for a cleaner Makefile
      - Use default termios (standalone library directly talking to the TTY)
      - Delete ncurses dependency (USES)
      - Use multiple-choice for backend, where at least one option must be enabled
        by default we only enable PORTAUDIO so this change has no effect on people
        using ncspot from packages.

    Full app changeLog:
      https://github.com/hrkfdn/ncspot/releases/tag/v0.13.2
      https://github.com/hrkfdn/ncspot/releases/tag/v0.13.1

    PR:             271701
    Reported by:    eduardo

 audio/ncspot/Makefile              | 396 +--------------------------------
 audio/ncspot/Makefile.crates (new) | 435 +++++++++++++++++++++++++++++++++++++
 audio/ncspot/distinfo              | 424 ++++++++++++++++++++++--------------
 3 files changed, 704 insertions(+), 551 deletions(-)
Comment 3 Rodrigo Osorio freebsd_committer freebsd_triage 2023-05-29 14:22:21 UTC
Committed, thanks
Comment 4 Nuno Teixeira freebsd_committer freebsd_triage 2023-05-30 11:22:19 UTC
Hello!

Thanks very much for commit.
I'm having a great experience with ncspot and also looking for more information on make it work with bitperfect at https://github.com/hrkfdn/ncspot/issues/931

That are rumours about hifi lossless streaming comming out so it was really nice that it works with bitperfect.

Next week I will post on forums and check if hselasky@ could help on this one.

Thanks