https://github.com/aufau/justin-player
Another journal entry - another state-of-the-art bash script allowing you to avoid Adobe's
excellent software.
Twitch.tv's flash player has been terrible recently - huge cpu load, framedrops and slow buffering.
livestreamer (and the little script I wrote) fixed the situation when it comes to live streams but watching recorded vods was still pain in the a**. Until now.
justin-player is a CLI program created to browse, watch and
download videos recorded on justin.tv, twitch.tv and other sites using
justin.tv api.
justin-player doesn't support watching live streams because there is
already excellent tool for this job - livestreamer
<https://github.com/chrippa/livestreamer>
Usage is very straightforward (I hope). Just type justin-player --help
or launch the program and read instructions.
You can set your favorite media player, download directory and results
per page in configuration file. You may need to fine tune some of your
player's caching parameters. The config file should go to one of these
locations:
~/.config/justin-player.conf
~/.justin-player.conf
$XDG_CONFIG_HOME/justin-player.conf
Report bugs to <email@host.com>
Feature requests, suggestions and comments are also welcomed :-)
fau
Here are few ttyshots for you enjoyment:
1. 125 FPS May League - First Groups - Group D2 - agent _ash twister xronya funnyb checkmate_ (2013-05-16 17:04:56 UTC)
2. 125 FPS May League - First Groups - Group D2 - agent _ash twister xronya funnyb checkmate_ (2013-05-16 16:35:00 UTC)
3. 125 FPS May League - First Groups - Group D2 - agent _ash twister xronya funnyb checkmate_ (2013-05-16 16:04:56 UTC)
4. 125 FPS May League - First Groups - Group D2 - agent _ash twister xronya funnyb checkmate_ (2013-05-16 15:34:54 UTC)
5. 125 FPS May League - CZM games soon! (2013-05-15 19:32:54 UTC)
6. 125 FPS May League - CZM games soon! (2013-05-15 19:02:50 UTC)
7. 125 FPS May League - CZM games soon! (2013-05-15 18:32:51 UTC)
8. 125 FPS May League - CZM games soon! (2013-05-15 18:02:50 UTC)
9. 125 FPS May League - CZM games soon! (2013-05-15 17:32:49 UTC)
10. 125 FPS May League - First Groups - Group C - Pavel Guismo Reaper 060718 Arseny Antonio_by - 18:00 CEST (2013-05-15 17:02:48 UTC)
11. 125 FPS May League - First Groups - Group C - Pavel Guismo Reaper 060718 Arseny Antonio_by - 18:00 CEST (2013-05-15 16:32:48 UTC)
12. 125 FPS May League - First Groups - Group C - Pavel Guismo Reaper 060718 Arseny Antonio_by - 18:00 CEST (2013-05-15 16:02:46 UTC)
13. 125 FPS May League - First Groups - Group C - Pavel Guismo Reaper 060718 Arseny Antonio_by - 18:00 CEST (2013-05-15 15:32:45 UTC)
14. WGA - nEu vs RED (CTF Style) (2013-05-14 19:55:26 UTC)
15. WGA - nEu vs RED (CTF Style) (2013-05-14 19:25:26 UTC)
16. WGA - nEu vs RED (CTF Style) (2013-05-14 18:55:25 UTC)
17. WGA - nEu vs RED (CTF Style) (2013-05-14 18:25:20 UTC)
18. WGA - nEu vs RED (CTF Style) (2013-05-14 17:55:19 UTC)
19. 125 FPS May League - 1st Group Stages - Group B: p0ni Matr0x kRoNic plazmaistar only_toxic base_ (2013-05-14 17:25:13 UTC)
20. 125 FPS May League - 1st Group Stages - Group B: p0ni Matr0x kRoNic plazmaistar only_toxic base_ (2013-05-14 16:55:11 UTC)
Select one or more videos to play (:h for help)
>
Select one or more videos to play (:h for help)
> :h
:n(ext) : next page
:b(ack) : previous page
<number> : play video <number>
2 5 6 8 1 : play videos in corresponding order
1-4 : play videos 1 2 3 4
4..1 : play videos 4 3 2 1
7-5 4 1..3 : play videos 7 6 5 4 1 2 3
:d 2 8-5 12 : download videos in corresponding order
:c 3-1 30 2 : copy videos' links to clipboard and primary selection in
corresponding order
:q : quit
Notes:
1. Command-line provides standard readline navigation (Ctrl-a, Ctrl-e etc.)
and history (arrows, Ctrl-p, Ctrl-n etc.) shortcuts.
Press enter to continue...
61. FACEIT TV - QL Sunday Spring Cup #1: Cypher vs. twister (Semi) (2013-04-14 15:09:52 UTC)
62. FACEIT TV - QL Sunday Spring Cup #1: dem0n vs. Cooller (QTR) (2013-04-14 14:39:51 UTC)
63. FACEIT TV - QL Sunday Spring Cup #1: matr0x vs. evil (QTR) (2013-04-14 14:09:50 UTC)
64. FACEIT TV - QL Sunday Spring Cup #1: p0ni vs. baksteen (Ro16) (2013-04-14 14:04:54 UTC)
65. FACEIT TV - QL Sunday Spring Cup #1: p0ni vs. baksteen (Ro16) (2013-04-14 13:34:51 UTC)
66. FACEIT TV - QL Sunday Spring Cup #1 (2013-04-14 13:04:51 UTC)
67. FACEIT TV - QL Sunday Spring Cup #1 Live at 15:30 CEST (2013-04-14 12:34:45 UTC)
68. FACEIT TV (2013-04-07 19:53:51 UTC)
69. FACEIT TV (2013-04-07 19:23:49 UTC)
70. FACEIT TV - QL Winter Season Finale (Cypher vs. pavel - Grand Final) (2013-04-07 18:53:52 UTC)
71. FACEIT TV - QL Winter Season Finale (dem0n vs. pavel - Semi Final) (2013-04-07 18:23:51 UTC)
72. FACEIT TV - QL Winter Season Finale (dem0n vs. pavel - Semi Final) (2013-04-07 17:53:51 UTC)
73. FACEIT TV - QL Winter Season Finale (dem0n vs. pavel - Semi Final) (2013-04-07 17:23:49 UTC)
74. FACEIT TV - QL Winter Season Finale (Cooller vs. Cypher - Semi Final) (2013-04-07 16:53:49 UTC)
75. FACEIT TV - QL Winter Season Finale (Cooller vs. Cypher - Semi Final) (2013-04-07 16:23:46 UTC)
76. FACEIT TV - QL Winter Season Finale (pavel vs. twister - Group B) (2013-04-07 15:53:45 UTC)
77. FACEIT TV - QL Winter Season Finale (pavel vs. evil - Group B) (2013-04-07 15:23:48 UTC)
78. FACEIT TV - QL Winter Season Finale (pavel vs. evil - Group B) (2013-04-07 14:53:44 UTC)
79. FACEIT TV - QL Winter Season Finale (Cypher vs. twister - Group B) (2013-04-07 14:23:44 UTC)
80. FACEIT TV - QL Winter Season Finale (Cypher vs. evil - Group B) (2013-04-07 13:53:45 UTC)
Select one or more videos to play (:h for help)
> :d 73-71
--2013-05-18 22:01:16-- http://store22.media22.justin.tv/archives/201...355429.flv
Resolving store22.media22.justin.tv (store22.media22.justin.tv)... 199.9.249.245
Connecting to store22.media22.justin.tv (store22.media22.justin.tv)|199.9.249.245|:80... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 653715326 (623M), 652468503 (622M) remaining [video/x-flv]
Saving to: ‘/home/witold//pobieranie/FACEIT TV - QL Winter Season Finale (dem0n vs. pavel - Semi Final) (2013-04-07 17:23:49 UTC).flv’
3% [==> ] 21,547,685 303KB/s eta 27m 11s
[ ] 1. FACEIT TV (2013-06-02 21:41:17 UTC)
[ ] 2. FACEIT TV - Sunday Spring Cup #5 [US] (Champion: rapha) (2013-06-02 21:11:17 UTC)
[+] 3. FACEIT TV - Sunday Spring Cup #5 [US] (Grand Final: rapha vs. DaHanG) (2013-06-02 20:41:14 UTC)
[*] 4. FACEIT TV - Sunday Spring Cup #5 [US] (rapha vs. ZeRo4 - Ro4) (2013-06-02 20:11:16 UTC)
[*] 5. FACEIT TV - Sunday Spring Cup #5 [US] (DaHanG vs. chance - Ro4) (2013-06-02 19:41:16 UTC)
[ ] 6. FACEIT TV - Sunday Spring Cup #5 [US] (chance vs. jok0 - Ro8) (2013-06-02 19:11:14 UTC)
[ ] 7. FACEIT TV - Sunday Spring Cup #5 [US] (DaHanG vs. rey - Ro8) (2013-06-02 18:41:14 UTC)
[ ] 8. FACEIT TV - Sunday Spring Cup #5 [US] (id_ vs. FienD - Ro16) (2013-06-02 18:11:15 UTC)
[ ] 9. FACEIT TV - Sunday Spring Cup #5 [US] (2013-06-02 17:41:15 UTC)
[*] 10. FACEIT TV - Sunday Spring Cup #8 (Grand Final: strenx vs. dem0n) (2013-06-02 17:11:11 UTC)
[*] 11. FACEIT TV - Sunday Spring Cup #8 (Grand Final: strenx vs. pavel) (2013-06-02 16:55:04 UTC)
[*] 12. FACEIT TV - Sunday Spring Cup #8 (dem0n vs. pavel - Ro4) (2013-06-02 16:25:05 UTC)
[*] 13. FACEIT TV - Sunday Spring Cup #8 (Cooller vs. strenx - Ro4) (2013-06-02 15:55:03 UTC)
[ ] 14. FACEIT TV - Sunday Spring Cup #8 (p0ni vs. pavel - Ro8) (2013-06-02 15:25:05 UTC)
[ ] 15. FACEIT TV - Sunday Spring Cup #8 (Cypher vs. dem0n - Ro8) (2013-06-02 14:55:06 UTC)
[ ] 16. FACEIT TV - Sunday Spring Cup #8 (Cypher vs. dem0n - Ro8) (2013-06-02 14:25:05 UTC)
[ ] 17. FACEIT TV - Sunday Spring Cup #8 (dem0n vs. baksteen - Ro16) (2013-06-02 13:55:05 UTC)
[ ] 18. FACEIT TV - Sunday Spring Cup #8 (Sev3n vs. dazatar - Ro32) (2013-06-02 13:25:01 UTC)
[ ] 19. FACEIT TV - Sunday Spring Cup #8 live at 15:30 CEST (2013-06-02 13:00:03 UTC)
[ ] 20. FACEIT TV - May Championship (Champions: NiP Gaming) (2013-05-30 23:09:55 UTC)
Select one or more videos to play (:h for help)
>
There are still some features I have in mind but I've decided that it's enough for myself. If you are using it then let me know and I may release v1.1 one day.
There may be some bugs - I didn't test it enough. Please let me know about them.
I enjoyed writing it and learned few nice bash tricks in the progress. I hope you enjoy it too :-)
# Update: Version 1.1 with Cygwin compatibility is out
# Update: Version 1.2 with bugfixes and minor changes. I hope it's bugfree now. Next release with mentioned features will probably be rewritten in python.
# Update: Version 1.3 with managing and playing videos from disk. From now on justin-player is avaible on github:
https://github.com/aufau/justin-player
Download links:
justin-player-1.3.tar.gz (
zip)
|
Mon |
Tue |
Wed |
Thu |
Fri |
Sat |
Sun |
|
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |