Commit Graph

216 Commits

Author SHA1 Message Date
aditya-K2
175b694a4d Implementing Simple Buffer Searching
Searching the Global Database although is enough but I have felt a need to have a
quick and fast search option to search the current buffer.

Buffer Search is also one of the views It can be only turned on if the File Browser
has focus. ( Thinking of making it global ). The Searching is done
through the fuzzy module. FileNode now implements the Source Interface.
The Changed Function of the Search Bar checks for text changes and then
modifies the Matches Variable which is used by the Update Function to
Draw the Results. The Results have the Matching Characters Highlighted
Differently. Maximum of 15 results are displayed to avoid lag. Upon
Selecting the Result through the Search Bar navigation is possible and
selection of the item is done the same way it works for file Browser.
After Selection the Focus is returned Back to the File Browser. For The
Tracks only the title is used for searching.
2021-12-26 00:18:23 +05:30
aditya-K2
659becf3fb chore: minor changes 2021-12-24 21:15:17 +05:30
Aditya Kurdunkar
9390fbf46e
Merge pull request #17 from aditya-K2/pages
Significant Refactoring
2021-12-24 15:50:41 +05:30
aditya-K2
0118886d5e chore: Added More Informative Comments 2021-12-24 15:46:42 +05:30
aditya-K2
79872cac08 Update: Readme 2021-12-24 07:00:32 +05:30
aditya-K2
6405bebeed minor formatting change 2021-12-23 21:12:09 +05:30
aditya-K2
130af3aa0e Update Documentation 2021-12-23 20:49:25 +05:30
aditya-K2
f56eb1cf1f Removing Globals
Globals are no longer needed instead I am connecting each part with (
what were previously ) globals. Also Renaming SetRenderer to
ConnectRenderer which describes the name more precisely
2021-12-23 20:20:27 +05:30
aditya-K2
b587f5acfd moving notification to notification package inside ui 2021-12-23 00:16:07 +05:30
aditya-K2
33603e1450 Better Focusing Model
Previously I was using the InsidePlaylist and InsideSearchView boolean
values which was a very hacky and unscalable way. Instead I am using a
focus map which can be queried to check which view has focus. Also the
Pages Implementation is kind of on hold because it has a lot of problems
for e.g resizing doesn't seem to work as I imagined. I am keeping that
Idea on hold right now.
2021-12-22 23:49:16 +05:30
aditya-K2
5031477cf8 Rename : fileBrowser.go -> files.go 2021-12-22 21:43:45 +05:30
aditya-K2
f56169cbd3 moving notification to ui package 2021-12-22 21:20:01 +05:30
aditya-K2
6390039ea9 moving lastfm.go render.go imageUtils.go to the new render package 2021-12-22 21:19:37 +05:30
aditya-K2
6b7fff82b7 minor changes in formatting 2021-12-22 20:42:05 +05:30
aditya-K2
0d9227e019 moving app.go progressbar.go to the new ui package 2021-12-22 20:39:01 +05:30
aditya-K2
a54bfc4948 moving client.go filebrowser.go to the new client package 2021-12-22 19:56:57 +05:30
aditya-K2
d1306f194f Making r (Renderer) Global RENDERER 2021-12-22 17:54:14 +05:30
aditya-K2
7bb59ef102 chore: Update Readme 2021-12-19 17:43:28 +05:30
aditya-K2
6ccd90b36b minor changes 2021-12-19 01:43:22 +05:30
aditya-K2
3eb2138ed5 chore: Update AUR package 2021-12-17 02:34:07 +05:30
aditya-K2
0db49ca23d added aur package 2021-12-17 01:35:13 +05:30
aditya-K2
03e0dc40ab Merge branch 'master' of github.com:aditya-K2/goMP 2021-12-17 01:07:31 +05:30
aditya-K2
ae1b05c203 RENAME : goMP -> gomp
Renaming goMP to gomp as it feels kind of awkward to have two upper case
letters in a name of cli program.
2021-12-17 01:06:18 +05:30
Aditya Kurdunkar
3892a14ead Set theme jekyll-theme-midnight 2021-12-17 00:30:33 +05:30
Aditya Kurdunkar
f365986c89 Set theme jekyll-theme-leap-day 2021-12-15 10:38:27 +05:30
Aditya Kurdunkar
8931f2270b Set theme jekyll-theme-dinky 2021-12-15 10:31:40 +05:30
aditya-K2
d1f8751af8 moving gh-pages to docs folder 2021-12-15 10:26:24 +05:30
aditya-K2
1e31d56dc7 deprecated: CACHE_FILE 2021-12-14 14:39:03 +05:30
Aditya Kurdunkar
de10c59bea
Merge pull request #16 from aditya-K2/cache
Better way to cache
2021-12-14 14:33:29 +05:30
aditya-K2
65182b2b42 minor changes 2021-12-14 14:30:31 +05:30
aditya-K2
cf3101d778 Merging Master 2021-12-14 14:29:07 +05:30
aditya-K2
fee7c6dc4d Update README 2021-12-13 21:04:45 +05:30
aditya-K2
bd08b3be24 Moving Documentation to Github Pages 2021-12-13 20:10:06 +05:30
Aditya Kurdunkar
6537621766
Update README.md 2021-12-13 20:01:47 +05:30
Aditya Kurdunkar
a8949f7549
Rename settingup.md to index.md 2021-12-13 20:01:22 +05:30
aditya-K2
b59f0ada12 Rename App.go -> app.go 2021-12-13 01:46:49 +05:30
aditya-K2
da47c9b10c Moving imageUtils.go to utils package 2021-12-13 01:43:20 +05:30
aditya-K2
9b60cbc98e Moving utils.go to utils package 2021-12-13 01:35:40 +05:30
aditya-K2
bc3e5b6741 Updated Documentation 2021-12-13 00:15:53 +05:30
aditya-K2
75d5d13fbe Checking for the / at the back 2021-12-13 00:15:16 +05:30
aditya-K2
73aebcd0a0 Added Check for / at the end in directory names 2021-12-13 00:13:16 +05:30
aditya-K2
2e1e0938c0 Merge branch 'master' of github.com:aditya-K2/goMP into cache 2021-12-13 00:10:55 +05:30
aditya-K2
9190d37c64 minor changes 2021-12-10 02:31:47 +05:30
aditya-K2
cf9b492f59 Better Documentation 2021-12-10 02:20:37 +05:30
aditya-K2
536b12cf66 Update sample_config 2021-12-09 09:38:59 +05:30
aditya-K2
0bd47c5d3f New Copy Function 2021-12-09 02:34:49 +05:30
aditya-K2
13b07bf7f7 Update in the Rendering Routine
With the updates in the caching mechanism we check if the file exists in
cache if yes then extractedImagePath now points to that path else
we generate the name for the image and pass the image to extractImage
and it passes the default value if no embedded image was found and
checks in the lastfm api and the rest works the same.
2021-12-09 02:32:02 +05:30
aditya-K2
10566d87a1 No Need to Load and Write Cache now. 2021-12-09 02:30:59 +05:30
aditya-K2
1d9fe23b00 if the image is not extracted copy the default image to the image path and return the path to the default image for checking the lastfm api 2021-12-09 02:29:53 +05:30
aditya-K2
62bcda33cb Setting up Defaults 2021-12-09 02:28:42 +05:30