Commit Graph

158 Commits

Author SHA1 Message Date
aditya-K2
ae6392094e Add repeat and shuffle 2023-05-17 13:41:40 +05:30
aditya-K2
513861b4fd Rename use_nerd_icons to use_icons
use_nerd_icons meant using special characters to display information. As
in user could use emojis or even strings to display information. The
parameter name seemed kind of misleading. Hence, renaming it.
2023-05-14 01:28:39 +05:30
aditya-K2
82b5355338 Implement setIcons function 2023-05-13 02:22:25 +05:30
aditya-K2
fee1c9b351 Initial Implementation for Nerd Icons 2023-05-13 01:46:24 +05:30
aditya-K2
ac7fd68e4f Check if Artist is actually available 2023-05-13 00:17:17 +05:30
aditya-K2
0ce8f06bd1 Fix: Context Menu re-opened after closing.
When "enter" was pressed (i.e an item was selected) the context menu
did close but was redrawn when the window was resized. This commit fixes
that.
2023-05-13 00:14:55 +05:30
aditya-K2
3eb70184a4 Add Functionality to change image placement while run-time 2023-05-12 02:48:53 +05:30
aditya-K2
8d335235ff Add mutex on CoverArt.RefreshState to avoid drawing multiple images 2023-05-12 01:58:24 +05:30
aditya-K2
e38d6f5593 Remove Debug Notification 2023-05-12 01:36:19 +05:30
aditya-K2
49c38ecf8f Remove GetCurrentView() 2023-05-02 01:18:12 +05:30
aditya-K2
4cde2d1e4c Make open_entry global 2023-05-02 00:34:00 +05:30
aditya-K2
44968982fc Refactoring 2023-05-01 23:46:34 +05:30
aditya-K2
28c2eed747 Implement play_entry for artists_view 2023-05-01 23:05:59 +05:30
aditya-K2
9217b55ece Refactoring 2023-05-01 22:56:43 +05:30
aditya-K2
96cb9f15e8 Alias config.Config to cfg 2023-05-01 14:56:38 +05:30
aditya-K2
9c72ff8c38 Move openDeviceMenu to utils 2023-05-01 14:31:22 +05:30
aditya-K2
c9ee24807e Make progressBar the refreshable for search_view.play_entry 2023-05-01 13:56:50 +05:30
aditya-K2
cc4971543c Embed Pages in Root 2023-05-01 13:09:07 +05:30
aditya-K2
7d20da67d9 Refactoring 2023-05-01 12:55:04 +05:30
aditya-K2
9ed8006a42 Use Flex.GetRect() instead of utils.GetWidth() to get screen width 2023-05-01 01:10:25 +05:30
aditya-K2
ef57b4597b Use "variadic" arguments in SendNotification 2023-05-01 00:31:38 +05:30
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
c26fd2b98b Refactor some views 2023-04-29 18:18:50 +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
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
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
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
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
baad7e0d34 Fix progressBar not updating when config.HideImage is true 2023-04-24 01:02:14 +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