nimcoon.git
2 years agoContinuously keep playing till I press "q"
Joseph Nuthalapati [Tue, 18 Feb 2020 15:30:59 +0000 (21:00 +0530)]
Continuously keep playing till I press "q"

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
2 years agoTODO: Create ncurses-like CLI
Joseph Nuthalapati [Sat, 15 Feb 2020 10:52:49 +0000 (16:22 +0530)]
TODO: Create ncurses-like CLI

2 years agoTODO: Better CLI with curses
Joseph Nuthalapati [Thu, 16 Jan 2020 17:59:30 +0000 (23:29 +0530)]
TODO: Better CLI with curses

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
2 years agoOptimize size of binary to 404 KB
Joseph Nuthalapati [Sun, 12 Jan 2020 07:53:54 +0000 (13:23 +0530)]
Optimize size of binary to 404 KB

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
2 years agoMake extractTitlesAndUrls a func
Joseph Nuthalapati [Sun, 12 Jan 2020 07:53:05 +0000 (13:23 +0530)]
Make extractTitlesAndUrls a func

with some convincing of course!

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
2 years agoMore elegant handling of playing URLs directly
Joseph Nuthalapati [Sun, 12 Jan 2020 06:53:33 +0000 (12:23 +0530)]
More elegant handling of playing URLs directly

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
2 years agoFix .gitlab-ci.yml
Joseph Nuthalapati [Sun, 12 Jan 2020 06:39:32 +0000 (12:09 +0530)]
Fix .gitlab-ci.yml

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
2 years agoci: Run unit tests in pipeline
Joseph Nuthalapati [Sun, 12 Jan 2020 06:34:24 +0000 (12:04 +0530)]
ci: Run unit tests in pipeline

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
2 years agoModularity and Tests
Joseph Nuthalapati [Sun, 12 Jan 2020 06:25:06 +0000 (11:55 +0530)]
Modularity and Tests

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
2 years agoIntroduce a func
Joseph Nuthalapati [Fri, 10 Jan 2020 19:03:00 +0000 (00:33 +0530)]
Introduce a func

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
2 years agoTurns out both vlc and mpv have similar options!
Joseph Nuthalapati [Fri, 10 Jan 2020 18:37:03 +0000 (00:07 +0530)]
Turns out both vlc and mpv have similar options!

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
2 years agoBetter use of execProcess options
Joseph Nuthalapati [Fri, 10 Jan 2020 18:27:42 +0000 (23:57 +0530)]
Better use of execProcess options

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
2 years agoStore player config options in a hashtable
Joseph Nuthalapati [Fri, 10 Jan 2020 17:29:29 +0000 (22:59 +0530)]
Store player config options in a hashtable

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
2 years agoRename to Nim Coon
Joseph Nuthalapati [Fri, 10 Jan 2020 16:48:40 +0000 (22:18 +0530)]
Rename to Nim Coon

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
2 years agoAdd a fullScreen option
Joseph Nuthalapati [Fri, 10 Jan 2020 15:58:47 +0000 (21:28 +0530)]
Add a fullScreen option

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
2 years agoAdd more ideas for naming
Joseph Nuthalapati [Thu, 9 Jan 2020 04:16:09 +0000 (09:46 +0530)]
Add more ideas for naming

2 years agoMoar TODOs!!!
Joseph Nuthalapati [Thu, 26 Dec 2019 11:44:34 +0000 (17:14 +0530)]
Moar TODOs!!!

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
2 years agoAdd additional guard for directPlay
Joseph Nuthalapati [Wed, 25 Dec 2019 15:27:28 +0000 (20:57 +0530)]
Add additional guard for directPlay

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
2 years agoConsolidate playing into one function
Joseph Nuthalapati [Wed, 25 Dec 2019 15:16:34 +0000 (20:46 +0530)]
Consolidate playing into one function

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
2 years agoGet rid of all global state mutation
Joseph Nuthalapati [Wed, 25 Dec 2019 13:11:23 +0000 (18:41 +0530)]
Get rid of all global state mutation

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
2 years agoupdate TODO.org
Joseph Nuthalapati [Wed, 25 Dec 2019 08:13:21 +0000 (13:43 +0530)]
update TODO.org

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
2 years agoBecause org-mode has checkboxes too!
Joseph Nuthalapati [Wed, 25 Dec 2019 08:00:05 +0000 (13:30 +0530)]
Because org-mode has checkboxes too!

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
2 years agoFix YouTube pattern
Joseph Nuthalapati [Tue, 24 Dec 2019 03:53:09 +0000 (09:23 +0530)]
Fix YouTube pattern

- Some manual refactoring. Couldn't get nimfmt to work

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
2 years agoStream magnet links using peerflix
Joseph Nuthalapati [Mon, 23 Dec 2019 13:47:22 +0000 (19:17 +0530)]
Stream magnet links using peerflix

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
2 years agoAdd dependencies list
Joseph Nuthalapati [Mon, 23 Dec 2019 13:27:06 +0000 (18:57 +0530)]
Add dependencies list

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
2 years agoAdd PeerTube support
Joseph Nuthalapati [Mon, 23 Dec 2019 12:53:22 +0000 (18:23 +0530)]
Add PeerTube support

Now we have two supported video platforms: YouTube and PeerTube

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
2 years agoPlan for some more features
Joseph Nuthalapati [Mon, 16 Dec 2019 08:02:36 +0000 (13:32 +0530)]
Plan for some more features

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
2 years agoAdd option to feel lucky!
Joseph Nuthalapati [Sat, 14 Dec 2019 13:29:07 +0000 (18:59 +0530)]
Add option to feel lucky!

- Skip selection prompt and play the first result

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
2 years agoUse less dangerous ways of joining strings
Joseph Nuthalapati [Fri, 13 Dec 2019 18:11:31 +0000 (23:41 +0530)]
Use less dangerous ways of joining strings

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
2 years agoREADME: Fix markdown table
Joseph Nuthalapati [Fri, 13 Dec 2019 13:38:39 +0000 (19:08 +0530)]
README: Fix markdown table

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
2 years agoSwitch from vlc to cvlc
Joseph Nuthalapati [Fri, 13 Dec 2019 13:25:49 +0000 (18:55 +0530)]
Switch from vlc to cvlc

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
2 years agoAdd option to play music only
Joseph Nuthalapati [Fri, 13 Dec 2019 12:58:31 +0000 (18:28 +0530)]
Add option to play music only

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
2 years agoWishlist: Stream music only
Joseph Nuthalapati [Thu, 12 Dec 2019 13:42:06 +0000 (19:12 +0530)]
Wishlist: Stream music only

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
2 years agoPreferences go into a config file
Joseph Nuthalapati [Wed, 4 Dec 2019 19:17:42 +0000 (00:47 +0530)]
Preferences go into a config file

2 years agostrformat everywhere! 🥳
Joseph Nuthalapati [Wed, 4 Dec 2019 18:47:52 +0000 (00:17 +0530)]
strformat everywhere! 🥳

2 years agoSwitch TODO to markdown
Joseph Nuthalapati [Tue, 3 Dec 2019 17:45:11 +0000 (23:15 +0530)]
Switch TODO to markdown

GitLab currently cannot render org-mode files

2 years agoGet rid of temp HTML file
Joseph Nuthalapati [Tue, 3 Dec 2019 17:32:44 +0000 (23:02 +0530)]
Get rid of temp HTML file

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
2 years agoYouTube links can be played directly
Joseph Nuthalapati [Sun, 1 Dec 2019 22:12:33 +0000 (03:42 +0530)]
YouTube links can be played directly

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
2 years agoDrop mplayer from list of supported players
Joseph Nuthalapati [Sun, 1 Dec 2019 22:00:30 +0000 (03:30 +0530)]
Drop mplayer from list of supported players

Will figure this out later.

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
2 years agoImprove instructions in README
Joseph Nuthalapati [Sun, 1 Dec 2019 14:13:45 +0000 (19:43 +0530)]
Improve instructions in README

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
2 years agoAdd a cute screenshot
Joseph Nuthalapati [Sun, 1 Dec 2019 07:53:16 +0000 (13:23 +0530)]
Add a cute screenshot

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
2 years agoUse stderr.writeLine to print error messages
Joseph Nuthalapati [Sun, 1 Dec 2019 07:13:50 +0000 (12:43 +0530)]
Use stderr.writeLine to print error messages

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
2 years agoUse std/[terminal] library for CLI colors
Joseph Nuthalapati [Sun, 1 Dec 2019 07:09:13 +0000 (12:39 +0530)]
Use std/[terminal] library for CLI colors

Moar colors!!!

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
2 years agoPlay selected video using media player
Joseph Nuthalapati [Thu, 28 Nov 2019 18:14:34 +0000 (23:44 +0530)]
Play selected video using media player

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
2 years agoAdd limit option with default set to 10 results
Joseph Nuthalapati [Thu, 28 Nov 2019 17:41:57 +0000 (23:11 +0530)]
Add limit option with default set to 10 results

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
2 years agoFix .gitlab-ci.yml
Joseph Nuthalapati [Thu, 28 Nov 2019 16:58:27 +0000 (22:28 +0530)]
Fix .gitlab-ci.yml

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
2 years agoDropping the underscore - we're clitube now!
Joseph Nuthalapati [Thu, 28 Nov 2019 16:56:20 +0000 (22:26 +0530)]
Dropping the underscore - we're clitube now!

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
2 years agoAdd terminal colors!!!
Joseph Nuthalapati [Thu, 28 Nov 2019 16:51:54 +0000 (22:21 +0530)]
Add terminal colors!!!

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
2 years agoThrow away the binary
Joseph Nuthalapati [Sat, 5 Oct 2019 08:46:10 +0000 (14:16 +0530)]
Throw away the binary

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
2 years agoUse the latest build from GitlabCI
Joseph Nuthalapati [Sat, 5 Oct 2019 08:45:51 +0000 (08:45 +0000)]
Use the latest build from GitlabCI

2 years agoAdd .gitlab-ci.yml
Joseph Nuthalapati [Sat, 5 Oct 2019 08:33:48 +0000 (08:33 +0000)]
Add .gitlab-ci.yml

2 years agoImprove selection of media player
Joseph Nuthalapati [Sat, 5 Oct 2019 08:26:36 +0000 (13:56 +0530)]
Improve selection of media player

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
2 years agoUse a user-defined type for search results
Joseph Nuthalapati [Sat, 5 Oct 2019 08:06:39 +0000 (13:36 +0530)]
Use a user-defined type for search results

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
2 years agoChange everything to camelCase
Joseph Nuthalapati [Sat, 5 Oct 2019 07:12:40 +0000 (12:42 +0530)]
Change everything to camelCase

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
2 years agoAdd more items to feature list
Joseph Nuthalapati [Sat, 5 Oct 2019 00:57:41 +0000 (00:57 +0000)]
Add more items to feature list

2 years agoAdd LICENSE
Joseph Nuthalapati [Sat, 5 Oct 2019 00:48:36 +0000 (00:48 +0000)]
Add LICENSE

2 years agoCommit the binary to VCS for now
Joseph Nuthalapati [Sat, 5 Oct 2019 00:40:29 +0000 (06:10 +0530)]
Commit the binary to VCS for now

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
2 years agoImplement video search
Joseph Nuthalapati [Sat, 5 Oct 2019 00:19:52 +0000 (05:49 +0530)]
Implement video search

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
2 years agoStart with adding a README
Joseph Nuthalapati [Fri, 4 Oct 2019 22:08:09 +0000 (03:38 +0530)]
Start with adding a README

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>