]> pere.pagekite.me Git - homepage.git/blob - blog/archive/2018/09/09.rss
Mention the orderbook.
[homepage.git] / blog / archive / 2018 / 09 / 09.rss
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <rss version='2.0' xmlns:lj='http://www.livejournal.org/rss/lj/1.0/'>
3 <channel>
4 <title>Petter Reinholdtsen - Entries from September 2018</title>
5 <description>Entries from September 2018</description>
6 <link>http://people.skolelinux.org/pere/blog/</link>
7
8
9 <item>
10 <title>VLC in Debian now can do bittorrent streaming</title>
11 <link>http://people.skolelinux.org/pere/blog/VLC_in_Debian_now_can_do_bittorrent_streaming.html</link>
12 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/VLC_in_Debian_now_can_do_bittorrent_streaming.html</guid>
13 <pubDate>Mon, 24 Sep 2018 21:20:00 +0200</pubDate>
14 <description>&lt;p&gt;Back in February, I got curious to see
15 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Using_VLC_to_stream_bittorrent_sources.html&quot;&gt;if
16 VLC now supported Bittorrent streaming&lt;/a&gt;. It did not, despite the
17 fact that the idea and code to handle such streaming had been floating
18 around for years. I did however find
19 &lt;a href=&quot;https://github.com/johang/vlc-bittorrent&quot;&gt;a standalone plugin
20 for VLC&lt;/a&gt; to do it, and half a year later I decided to wrap up the
21 plugin and get it into Debian. I uploaded it to NEW a few days ago,
22 and am very happy to report that it
23 &lt;a href=&quot;https://tracker.debian.org/pkg/vlc-plugin-bittorrent&quot;&gt;entered
24 Debian&lt;/a&gt; a few hours ago, and should be available in Debian/Unstable
25 tomorrow, and Debian/Testing in a few days.&lt;/p&gt;
26
27 &lt;p&gt;With the vlc-plugin-bittorrent package installed you should be able
28 to stream videos using a simple call to&lt;/p&gt;
29
30 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
31 vlc https://archive.org/download/TheGoat/TheGoat_archive.torrent
32 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
33
34 &lt;/p&gt;It can handle magnet links too. Now if only native vlc had
35 bittorrent support. Then a lot more would be helping each other to
36 share public domain and creative commons movies. The plugin need some
37 stability work with seeking and picking the right file in a torrent
38 with many files, but is already usable. Please note that the plugin
39 is not removing downloaded files when vlc is stopped, so it can fill
40 up your disk if you are not careful. Have fun. :)&lt;/p&gt;
41
42 &lt;p&gt;I would love to get help maintaining this package. Get in touch if
43 you are interested.&lt;/p&gt;
44
45 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
46 activities, please send Bitcoin donations to my address
47 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
48 </description>
49 </item>
50
51 <item>
52 <title>Using the Kodi API to play Youtube videos</title>
53 <link>http://people.skolelinux.org/pere/blog/Using_the_Kodi_API_to_play_Youtube_videos.html</link>
54 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Using_the_Kodi_API_to_play_Youtube_videos.html</guid>
55 <pubDate>Sun, 2 Sep 2018 23:40:00 +0200</pubDate>
56 <description>&lt;p&gt;I continue to explore my Kodi installation, and today I wanted to
57 tell it to play a youtube URL I received in a chat, without having to
58 insert search terms using the on-screen keyboard. After searching the
59 web for API access to the Youtube plugin and testing a bit, I managed
60 to find a recipe that worked. If you got a kodi instance with its API
61 available from http://kodihost/jsonrpc, you can try the following to
62 have check out a nice cover band.&lt;/p&gt;
63
64 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;curl --silent --header &#39;Content-Type: application/json&#39; \
65 --data-binary &#39;{ &quot;id&quot;: 1, &quot;jsonrpc&quot;: &quot;2.0&quot;, &quot;method&quot;: &quot;Player.Open&quot;,
66 &quot;params&quot;: {&quot;item&quot;: { &quot;file&quot;:
67 &quot;plugin://plugin.video.youtube/play/?video_id=LuRGVM9O0qg&quot; } } }&#39; \
68 http://projector.local/jsonrpc&lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
69
70 &lt;p&gt;I&#39;ve extended kodi-stream program to take a video source as its
71 first argument. It can now handle direct video links, youtube links
72 and &#39;desktop&#39; to stream my desktop to Kodi. It is almost like a
73 Chromecast. :)&lt;/p&gt;
74
75 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
76 activities, please send Bitcoin donations to my address
77 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
78 </description>
79 </item>
80
81 </channel>
82 </rss>