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

Nice to have #2

Open
6 of 11 tasks
DucNg opened this issue Dec 14, 2022 · 2 comments
Open
6 of 11 tasks

Nice to have #2

DucNg opened this issue Dec 14, 2022 · 2 comments

Comments

@DucNg
Copy link
Owner

DucNg commented Dec 14, 2022

List of things that could be implemented:

  • Album arts in mpris
  • Restore last played radio instead of the first item of the list
  • CI to build the app on push
  • Makefile to build and install the app
  • Currently playing radio indicator in the gui
  • Song progress bar in the gui
  • Song progress in mpris Add progress bar in mpris #20
  • Change metadata not on delayToRefresh but when song ends (like intended by the API) (seem to be buggy on official client as well)
  • Pause from gui
  • Pause indicator in GUI (change icon next to track name)
  • Mouse support
@delthas
Copy link
Contributor

delthas commented Dec 15, 2022

Album arts in mpris: Done

@emersion
Copy link

Mouse support

Not yet supported by bubbles: charmbracelet/bubbles#303

Patch to enable mouse events
diff --git a/gui/list.go b/gui/list.go
index 98daf9e98dec..3b4a116a1343 100644
--- a/gui/list.go
+++ b/gui/list.go
@@ -120,7 +120,7 @@ func Render(ins *dbus.Instance, mpv *player.MPV, lastRadioIndex int) int {
        m.list.Title = "FIP Radios"
        m.list.Select(lastRadioIndex)
 
-       p := tea.NewProgram(&m, tea.WithAltScreen())
+       p := tea.NewProgram(&m, tea.WithAltScreen(), tea.WithMouseCellMotion())
 
        program = p

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

No branches or pull requests

3 participants