Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Nov 2013 19:07:17 +0100
From:      Juergen Lock <nox@jelal.kn-bremen.de>
To:        William Grzybowski <william88@gmail.com>
Cc:        multimedia-list freebsd <freebsd-multimedia@freebsd.org>, Juergen Lock <nox@jelal.kn-bremen.de>, freebsd-python@freebsd.org
Subject:   Re: livestreamer port; anyone want to help porting python-librtmp?
Message-ID:  <20131129180717.GA30379@enceladus10.kn-bremen.de>
In-Reply-To: <CAHtVNLPcq8frsE5YAT=8aU=TyCKTt2YkxX%2Bu_rCDvihPtmS2jg@mail.gmail.com>
References:  <20131128232053.GA19413@enceladus10.kn-bremen.de> <CAHtVNLNeCpFg=D8XgODEDixEBFBE7SvNv8Z9rdoR_An7Zfv0VA@mail.gmail.com> <CAHtVNLPcq8frsE5YAT=8aU=TyCKTt2YkxX%2Bu_rCDvihPtmS2jg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Nov 28, 2013 at 10:42:18PM -0200, William Grzybowski wrote:
> On Thu, Nov 28, 2013 at 9:57 PM, William Grzybowski <william88@gmail.com> wrote:
> > Hi,
> >
> > I can do it, give me a day or so ;)
> 
> 
> Actually, done! :)
> 
> Your livestreamer port looks OK at a quick glance, you can remove
> NO_STAGE, python ports are stage ready.
> 
Thanx!

 Turns out tho python-librtmp needs python singledispatch too:

	https://pypi.python.org/pypi/singledispatch

 Preliminary port:

	http://people.freebsd.org/~nox/tmp/py-singledispatch.shar

 And I updated the livestreamer shar too:

	http://people.freebsd.org/~nox/tmp/livestreamer.shar

Index: multimedia/py-librtmp/Makefile
===================================================================
--- multimedia/py-librtmp/Makefile	(revision 335161)
+++ multimedia/py-librtmp/Makefile	(working copy)
@@ -15,6 +15,7 @@
 
 LIB_DEPENDS=	librtmp.so:${PORTSDIR}/multimedia/librtmp
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cffi>=0:${PORTSDIR}/devel/py-cffi
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}singledispatch>=0:${PORTSDIR}/devel/py-singledispatch
 
 CFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib

 Does this look ok to commit?

 Thanx again, :)
	Juergen

PS: With these livestreamer plays rtmp ustream links too so you can
watch say NASA TV:

	livestreamer http://www.ustream.tv/channel/nasa-hd-tv

(to list the available streams)

	livestreamer http://www.ustream.tv/channel/nasa-hd-tv 360p

(to play one of them in vlc, or:)

	livestreamer -p mplayer http://www.ustream.tv/channel/nasa-hd-tv 360p

(to play the same in mplayer.)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131129180717.GA30379>