DucNg / fip-player

FIP client with metadata
Do What The F*ck You Want To Public License
5 stars 3 forks source link

Nice to have #2

Open DucNg opened 1 year ago

DucNg commented 1 year ago

List of things that could be implemented:

delthas commented 1 year ago

Album arts in mpris: Done

emersion commented 1 year ago

Mouse support

Not yet supported by bubbles: https://github.com/charmbracelet/bubbles/issues/303

Patch to enable mouse events ```diff 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 ```