Commit graph

33 commits

Author SHA1 Message Date
52802e5c1f
Update LICENSE 2025-02-09 18:40:52 +01:00
qorg11
8acb4f75e0
Added (sort of) tab completion (could be better), if someone knows how to use perl's readline, i'll be glad to recieve patches.
Also added error handling for the :s and :i command if nothing is passed.
2021-11-22 19:19:12 +01:00
qorg11
a7ce2c272e
Added documentation directly in the script rather than a manpage 2021-11-18 09:30:48 +01:00
qorg11
7f46f9c9e8
Add short arguments 2021-11-18 08:56:37 +01:00
qorg11
e10fff11e4
Add option and flag to pass flags to the video player 2021-11-17 16:59:45 +01:00
qorg11
2c7e7fd5c3
Added the GPL copypasta to the main file 2021-11-17 09:06:12 +01:00
qorg11
bbd11a98dd
Updated manpage 2021-11-17 09:04:55 +01:00
qorg11
7fb0431a7e
Renamed peertube-cli.pl to peertube-cli 2021-11-16 17:00:12 +01:00
qorg11
9ed4428186
Print help message if not a number or a command given 2021-11-11 17:07:04 +01:00
qorg11
fab2687a5b
Apparently fixed but mpv takes a while to load 2021-11-08 15:14:39 +01:00
qorg11
71209f7156
trying to fix videos that don't play (according to Chocobozzz in irc this happens because
these videos have no webtorrent file. And they don't seem to play well enough in mpv but it works for some reason in vlc)
2021-11-08 15:05:41 +01:00
qorg11
e3b03cc592
remove the no argument provided print because i'ts useless 2021-11-08 13:43:04 +01:00
qorg11
2c26e2e5f9
print the videos the instance shows in the manpage if no args given 2021-11-08 13:37:28 +01:00
qorg11
d1b4062bb3
reset counter to 0 if it is less than 0 (negative numbers give errors) and print the label instace of id (so you get 720p instead of 720) 2021-11-08 11:56:35 +01:00
qorg11
e9bf6bb063
wew lad 2021-11-07 20:10:47 +01:00
qorg11
3fe6bcab0a
Add manpage 2021-11-07 18:34:57 +01:00
qorg11
68c6083370
Remove warnings 2021-11-07 15:44:30 +01:00
qorg11
7f3c79c6d8
Now you can pass an URL to the the thing and it will play the video 2021-11-07 15:24:48 +01:00
qorg11
d0faacb85a
Added :s and :i option
:s allows you to perform another search without having to restart peertube-cli
:i allows you to change the instance you're searching it withotu having to restart peertube-cli.  It will perform your last search automatically. So if you want to change something you'll have to use :s
2021-11-03 19:53:19 +01:00
qorg11
51f2a408d9
trying to fixbug #2 2021-11-03 16:59:39 +01:00
qorg11
670731eddf
Tring to bugfix 2021-11-03 16:26:45 +01:00
qorg11
7d59a23052
Add 1; at the end of config file so perl won't complain 2021-11-03 14:39:52 +01:00
qorg11
61659865f2
die if no config file is loaded 2021-11-03 14:32:30 +01:00
qorg11
5e82137665
make the pass of paremeters to the play_video function bettee 2021-11-02 22:27:07 +01:00
qorg11
a62b6763b7
Prettier output, previous page and print the video author 2021-11-02 21:58:56 +01:00
qorg11
5e1b977cf2
License the software under the GPL 2021-11-02 16:07:33 +01:00
qorg11
cea5ba8ea9
damn you emacs 2021-11-02 15:55:13 +01:00
qorg11
4c0590d7fa
Fix bugs when there are more than 15 results. Set default limit to 25 per page. If you press 'N' it will
show you the next page which more results.
2021-11-02 14:44:55 +01:00
qorg11
b385b10b24
new todo 2021-11-02 14:16:33 +01:00
qorg11
992b9abcf9
yet another fix to the readme :^) 2021-11-02 13:48:10 +01:00
qorg11
827a861238
Fix readme 2021-11-02 13:47:33 +01:00
qorg11
fe0c45665b
Added config file which allows the user to select instance, video player and resolution
Also added a trick and documentation to the readme.
2021-11-02 13:45:42 +01:00
qorg11
3a575bbe3e
Initial commit. Seems to work 2021-11-02 12:23:41 +01:00