Justin TV is a streaming service that uses the broken flash concept in order to allow you to view channels.
Unfortunately it's the only source of Arabic movies, series and shows.
I wrote a GStreamer source that retrieves the channel information and uses libRTMP to connect to the Justin streaming server. The rest is handled by GStreamer ;-)
If you want to watch http://www.justin.tv/ammartv for example, you simply do
gst-launch-0.10 playbin uri=jtv://ammartv
The 2nd plugin is a Totem plugin that indirectly utilizes the GStreamer source.
Given a language code (ar or en or ...), it will download the list of channels in that language and shows them in Totem's side panel. One can then easily double click on a channel and simply watch it. I originally wanted to do the Totem plugin in python but the inability to do asynchronous callback based HTTP requests prevented me :-(
Be warned that the code is of course a bit buggy and needs a lot of cleanups, it's been years since I coded anything in Gtk and that Justin might find out and either block the source somehow or even change the protocol but let's wait until that happens ;-)
- 108770 views
Add new comment