328 Commits

Author SHA1 Message Date
aditya-K2
94cb46c274 Use filepath.Join 2023-05-01 00:14:26 +05:30
aditya-K2
2be33ad27c Embed tview.Table in some structs 2023-04-30 23:03:49 +05:30
aditya-K2
5492f5a2dd Minor Changes 2023-04-29 18:41:12 +05:30
aditya-K2
417c065d93 Update README 2023-04-29 18:23:44 +05:30
aditya-K2
c26fd2b98b Refactor some views 2023-04-29 18:18:50 +05:30
aditya-K2
4170dfbde0 Change default mapping for queue_entry 2023-04-29 18:08:01 +05:30
aditya-K2
d0ac08059b Change documentation for the update mappings API 2023-04-29 17:40:29 +05:30
aditya-K2
30975787b2 Fix error with interface types 2023-04-29 16:05:19 +05:30
aditya-K2
f12f19c130 Remove SetVisualMappings
Setting up normal and visual mappings separately felt redundant.
2023-04-29 15:33:50 +05:30
aditya-K2
5f3d4e6383 Minor formatting changes to playlist notification 2023-04-29 15:33:50 +05:30
aditya-K2
393b3d469f Map View methods and actions 2023-04-29 15:33:50 +05:30
aditya-K2
9b7152eefb Implement Visual and Normal Mode key mappings 2023-04-29 15:33:50 +05:30
aditya-K2
8f5e6cf0cd Add SetVisualAction 2023-04-29 15:33:50 +05:30
aditya-K2
a5dafc778e Check for visual mode first in interactiveView 2023-04-29 15:33:50 +05:30
aditya-K2
3977fdbf8a Implement addToPlaylist for some views 2023-04-29 15:33:43 +05:30
aditya-K2
4eccef48a2 Remove Context related functions from DefaultViewNone 2023-04-29 15:31:29 +05:30
aditya-K2
8d4bb68736 Implement addToPlaylist wrapper 2023-04-29 15:31:29 +05:30
aditya-K2
050ccfbcff Implement openPlaylistMenu 2023-04-29 15:31:29 +05:30
aditya-K2
879da98882 Implement SetVisualMappings and VisualCapture for defView 2023-04-29 15:31:29 +05:30
aditya-K2
81f19959ee Fix panic in liked songs view 2023-04-29 15:31:29 +05:30
aditya-K2
42dea45dbf Update channel message for QueueAlbum 2023-04-29 15:31:29 +05:30
aditya-K2
57daa4b560 Add queue_entry mappings 2023-04-29 15:31:29 +05:30
aditya-K2
156c718cfd Use updated api for spt/get.go 2023-04-29 15:31:29 +05:30
aditya-K2
7e8ea126bd Implement Queue wrapper 2023-04-29 15:31:28 +05:30
aditya-K2
b0a7c9cdb0 Channel based implementation for spt/get.go wrappers 2023-04-29 15:31:28 +05:30
aditya-K2
60cfcde37a Use utils.StrTime instead of formatTime 2023-04-29 15:30:49 +05:30
aditya-K2
aa45a6fd82 Fix bug where visual range used previous selection range if single item was selected 2023-04-29 00:20:32 +05:30
aditya-K2
91f9d638cc Fix #13 2023-04-28 06:57:44 +05:30
aditya-K2
6bcf7d558c Generate CONFIG.md 2023-04-25 23:18:59 +00:00
aditya-K2
87560f0efb Implement play_entry for search view 2023-04-26 04:48:20 +05:30
aditya-K2
3ff51ba5c3 Add progressBar as Next, Previous Actions' refreshable 2023-04-26 04:08:49 +05:30
aditya-K2
62a24db092 Generate CONFIG.md 2023-04-25 22:34:14 +00:00
aditya-K2
1fbb0fd897 Implement Next and Previous 2023-04-26 04:03:36 +05:30
aditya-K2
78b7d13756 Change default timer for Channel notifications to 1 second 2023-04-26 03:40:16 +05:30
aditya-K2
bc1e31de4e Add more clear instructions for colors and mappings in README 2023-04-25 22:23:33 +05:30
aditya-K2
2ebc6e959f Update zmb3/spotify 2023-04-24 13:09:01 +05:30
aditya-K2
baad7e0d34 Fix progressBar not updating when config.HideImage is true 2023-04-24 01:02:14 +05:30
aditya-K2
361deb84ef Generate CONFIG.md 2023-04-21 03:24:30 +00:00
aditya-K2
70dcd06f46 Minor Changes 2023-04-21 08:53:57 +05:30
aditya-K2
e0d3f14b71 Minor changes 2023-04-21 08:25:11 +05:30
aditya-K2
f4921aee69 Fix cover not rendered for same track b/w sessions
There was a bug where the current track if stopped in between the
playback and resumed didn't refresh the cover art (not rendered). This
was happening because of the ctrackID being the same between the
sessions. This commit fixes that.
2023-04-20 15:10:47 +05:30
aditya-K2
853f147956 Check if length of a.albums and a.topTracks > 0
Avoids panic in case where OpenEntry is called when nothing is displayed
on screen. (i.e a.albums || a.topTracks == 0)
2023-04-20 15:03:45 +05:30
aditya-K2
9dec0d08d5 Better Implementation for playlistNav.RefreshState 2023-04-20 15:03:45 +05:30
aditya-K2
71536b6c0b No need to use mutex on progressBar.state 2023-04-20 15:03:45 +05:30
aditya-K2
a3dd7622de ArtistView now refreshes states when artist is set 2023-04-20 15:03:45 +05:30
aditya-K2
3bc9458238 Rename updateRoutine=>progressRoutine 2023-04-20 15:03:45 +05:30
aditya-K2
edaa93de69 Using Updated Ui values 2023-04-20 15:03:45 +05:30
aditya-K2
f7133df79e Refactor ui/app
- As the Ui struct is never accessed out of package it felt very
  redundant to define it as a struct.
- As the Ui struct no longer exists the progress bar now starts with
  ImgX, ImgY as 0 hence adding it to the rectWatcher and drawing it
  after the Ui is drawn.
2023-04-20 15:03:45 +05:30
aditya-K2
9b21d6a8ad Load Playlists in draw func 2023-04-20 15:03:45 +05:30
aditya-K2
762c856574 Set Nav styles while creating the Table 2023-04-20 15:03:45 +05:30