Commit Graph

283 Commits

Author SHA1 Message Date
Sasha Koshka cc6aad66c6 Fix some absurd capitalization as well as insta-crashing when config files are absent 2024-01-20 20:28:53 +00:00
Sasha Koshka 6e4c3fb452 Oh my god 2022-10-14 02:34:37 -04:00
Sasha Koshka fde0ad89f7 Oops 2022-10-14 02:34:14 -04:00
Sasha Koshka d9b7d09962 Updated readme with new screenshot etc 2022-10-14 02:33:46 -04:00
Sasha Koshka 22e9aaf60e Made it look cooler 2022-10-14 02:30:44 -04:00
aditya-K2 fb2e2a831e Added Artist, Album fields to FileNode 2022-10-08 02:51:22 +05:30
aditya-K2 b53e051694 No Need to call ProgressFunction again 2022-10-08 02:39:54 +05:30
aditya-K2 387f01f531 Using utils.Print instead of fmt.Println 2022-10-04 01:51:16 +05:30
aditya-K2 06da246c3a Using QueueUpdateDraw() instead of Draw()
The Draw() function still seems to slow down the App
Hence Using QueueUpdateDraw() this makes it a little faster

The Problem now is that the ProgressBar constantly makes request to mpd
which in turn causes the slow down.
2022-10-03 15:37:26 +05:30
aditya-K2 79841c1b91 Update: Readme 2022-09-20 19:17:42 +05:30
Aditya Kurdunkar c95f194a90
Merge pull request #35 from aditya-K2/playlist
Update to Playlist
2022-09-20 19:09:21 +05:30
aditya-K2 ddb1557142 Expanding Home Directory for NETWORK_ADRESS 2022-09-15 00:06:18 +05:30
aditya-K2 71d87e85c4 Update: sample_config.yml 2022-09-14 23:36:31 +05:30
aditya-K2 3effda228b Using utils.GetNetwork 2022-09-14 20:42:28 +05:30
aditya-K2 503701691b Change deleteSongFromPlaylist and clearPlaylist 2022-09-14 19:51:06 +05:30
aditya-K2 fdd390a731 Fixing Slow down of Playlists mentioned @ #20
As mentioned at https://github.com/aditya-K2/gomp/issues/20#issuecomment-1142443829

The Slow Down was caused due to constant calls to the MPD Server for
playlist info. Using Watcher to handle playlist event changes.

Also when In SearchView upon adding Artist/Album due to constant change
in playlists there was a slow down. Hence using CommandList for that.
2022-09-13 22:04:39 +05:30
Aditya Kurdunkar bf6939a554
Merge pull request #34 from aditya-K2/iss33
Fixes #33
2022-09-12 23:38:45 +05:30
aditya-K2 29b796a552 Fixes #33
Also mentioned at (https://github.com/aditya-K2/gomp/issues/1#issuecomment-1205090265)

`~` is not expanded to home directory, Hence adding an internal check
for the same.
2022-09-12 23:31:56 +05:30
Aditya Kurdunkar 6830b5379f
Update README.md 2022-09-12 00:27:55 +05:30
aditya-K2 6072025332 Update: docs 2022-09-12 00:14:12 +05:30
Aditya Kurdunkar bc794b3743
Merge pull request #28 from aditya-K2/refactor
Seeking Functionality. Refactoring ProgressBar, FuncMap, and others
2022-09-12 00:02:48 +05:30
aditya-K2 25e74a19ed Merge branch 'master' into refactor 2022-09-11 23:22:29 +05:30
Aditya Kurdunkar 82e29d933e
Update README.md 2022-09-11 23:21:08 +05:30
aditya-K2 dd5a446f1b Move: fileView.go -> fileview.go 2022-09-11 19:38:33 +05:30
aditya-K2 e08e7c9002 Update: README and DOCS 2022-09-11 19:29:01 +05:30
aditya-K2 aee19c1e2f Seek Forward only when playback has been stopped. 2022-09-09 02:00:09 +05:30
aditya-K2 d2e625a4a4 Merge branch 'refactor' into seek 2022-09-09 01:33:28 +05:30
aditya-K2 ba1c6a6898 Rename: CONN -> Conn 2022-09-09 01:33:13 +05:30
aditya-K2 ea3fc105a4 simple seeking implementation 2022-09-09 01:31:51 +05:30
aditya-K2 b2c5575c8b Using `fhs/gompd/v2` 2022-09-09 00:47:26 +05:30
aditya-K2 7f4e1460b8 minor changes 2022-09-07 11:27:20 +05:30
aditya-K2 7e5df526c3 Removed some Connect Functions, some import cycles remain 2022-09-02 01:30:17 +05:30
aditya-K2 4ae005cbe7 No need to use globals as a separate package to avoid import cycles 2022-09-02 01:25:33 +05:30
aditya-K2 49c691e04e Fixes: Nil Reference when Sending Notifications
Also Handling illegal presses in specific Views (PlaylistView,
Searchview)
2022-09-01 00:15:38 +05:30
aditya-K2 ff74bf02ba Initial Implementation of Views 2022-08-31 23:42:15 +05:30
aditya-K2 e86ceaca6a Merge branch 'master' into refactor 2022-08-31 18:42:58 +05:30
aditya-K2 02315f4c17 UPDATE: docs 2022-08-31 18:37:25 +05:30
aditya-K2 5ff27748ae Merge branch 'master' into refactor 2022-08-31 15:19:13 +05:30
Aditya Kurdunkar 0592272d97
Merge pull request #31 from aditya-K2/iss29
Added Functionality to Specify Different Type of Connections e.g a Unix Socket
2022-08-31 14:50:38 +05:30
aditya-K2 d7be3e201d Added Functionality to Specify Different Type of Connections e.g a Unix Socket 2022-08-31 11:28:02 +05:30
aditya-K2 a8959a10e5 Added Info for ProgressBar 2022-08-29 18:04:34 +05:30
aditya-K2 d7044c48b1 New progressBar Primitive
Previous Implementation of progressBar wasn't clean and for a long time
I wanted to make progressBar a Primitive. Which also makes it project
agnostic.

Following changes have been made:

1. Moved `utils.GetText` to `ui.GetProgressGlyph` (As it had no use other
   than for the progressBar
2. Removed the old Implementation of progressBar

How progressBar works as of right now:

All the Values for the progressBar are provided through the
ProgressFunction()

The ProgressFunction should return
Title (Bar's Title), TopText (Box's Title), BarText (The Text Inside the
progressBar), Percentage(Float64 representing the progress Percentage)
2022-08-29 17:36:36 +05:30
aditya-K2 429db5b1e7 Moved notify package 2022-08-29 11:04:12 +05:30
Aditya Kurdunkar dc88d56d77
Merge pull request #27 from aditya-K2/iss26
workaround for #26
2022-08-29 10:28:48 +05:30
aditya-K2 d380f8d2a0 Update sample_config.yml
As mentioned here:
    https://github.com/aditya-K2/gomp/issues/1#issuecomment-1205090265

~ isn't expanded properly. Until further fix I will add this to the
sample_config as acknowledgment for the error.
2022-08-04 17:45:05 +05:30
aditya-K2 73982220a6 workaround for #26 2022-08-04 03:34:04 +05:30
aditya-K2 6c2458b320 Added Feedback Link 2022-07-29 15:04:05 +05:30
Aditya Kurdunkar d4234de58b
Merge pull request #24 from johnallen3d/patch-1
Fix path to config file in index.md
2022-07-29 14:16:43 +05:30
John Allen e246b0ef83
Fix path to config file in index.md 2022-07-10 15:59:07 -04:00
aditya-K2 ccf23a4c13 Handling j, k for an empty playlist (Merge 'err') 2022-05-19 22:52:54 +05:30