Re: GKrellmms - Streaming Live Audio

Chris <[email protected]> Tue, 10 Apr 2018 20:32:23 -0500
Newsgroups gmane.comp.gnome.apps.gkrellm
Message-ID <[email protected]>
--=-FvoT5Vml5jkhQJWqPr4R
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Wed, 2018-04-11 at 09:40 +1000, Adam Nielsen wrote:
> >=20
> > >=20
> > > =C2=A0 ./waf configure --with-ruby-binary=3D/dev/null
> > >=20
> > The above 'configure' line worked Adam. Next step, run ./waf -vv
> > build.
> > No joy there :( Output posted to pastebin.
> The error there is interesting:
>=20
> /usr/bin/ld: src/clients/vistest/ripper.c.3.o: undefined reference to
> symbol 'vorbis_comment_add_tag'
>=20
> This is saying the Ogg Vorbis library (one of the .so files, probably
> in /usr/lib) is missing a function that it's supposed to have,
> according to the corresponding .h file in /usr/include.
>=20
> This is unusual and could mean there's something wrong with the
> version
> of libvorbis installed.=C2=A0=C2=A0I think this is significant because th=
e
> Icecast stream you are unsuccessfully trying to play is also in Ogg
> Vorbis format, so it could also explain why that isn't working if
> there's something wrong with the Vorbis playback library.

Version of libvorbis-dev

apt-cache policy libvorbis-dev
libvorbis-dev:
=C2=A0 Installed: 1.3.5-3ubuntu0.2
=C2=A0 Candidate: 1.3.5-3ubuntu0.2
=C2=A0 Version table:
=C2=A0*** 1.3.5-3ubuntu0.2 500
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0500 http://us.archive.ubunt=
u.com/ubuntu xenial-updates/main
amd64 Packages
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0500 http://security.ubuntu.=
com/ubuntu xenial-security/main
amd64 Packages
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0100 /var/lib/dpkg/status
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A01.3.5-3 500
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0500 http://us.archive.ubunt=
u.com/ubuntu xenial/main amd64=C2=A0
Package

cd /usr/lib
chris@localhost:/usr/lib$ ls -l libvorbis*
lrwxrwxrwx 1 root root=C2=A0=C2=A0=C2=A0=C2=A0=C2=A022 Mar 26 17:20 libvorb=
isidec.so.1 ->
libvorbisidec.so.1.0.3
-rw-r--r-- 1 root root 117696 Mar 26 17:20 libvorbisidec.so.1.0.3

>=20
> Can you play any other .ogg file through XMMS2, in the same way that
> you've successfully played .mp3 files?=C2=A0=C2=A0If that doesn't work ei=
ther
> then we'll know it's a libvorbis issue, but if you can successfully
> play .ogg files with XMMS2 then we'll have to keep hunting.

Yes, I added a .ogg file from my drive, it stayed in the playlist and
played:

xmms2> add /home/chris/snap/dwarf-fortress/2/data/sound/DFINTRO.ogg
xmms2> list
->[1/2] RAINBOW - Stranded (04:32)
=C2=A0 [2/3] RAINBOW - Can't Let You Go (04:24)
=C2=A0 [3/4] RAINBOW - Fool For The Night (04:07)
=C2=A0 [4/5]=C2=A0=C2=A0- DFINTRO.ogg (00:14)

I also tried the mp3 link there:

xmms2> add http://mp3-ac-128.timlradio.co.uk/
xmms2> list
=C2=A0 [1/2] RAINBOW - Stranded (04:32)
=C2=A0 [2/3] RAINBOW - Can't Let You Go (04:24)
=C2=A0 [3/4] RAINBOW - Fool For The Night (04:07)
->[4/5]=C2=A0=C2=A0- DFINTRO.ogg (00:14)

and it would not add.

>=20
> Perhaps the easiest solution for the time being is to figure out how
> to
> disable this 'ripper' plugin, or the whole 'vistest' client, which
> sounds like it won't be so important based on having 'test' in its
> name.
>=20
I'll work on that tomorrow morning Adam and let you know.

> >=20
> > Back to trying to add the icecast link. According to the WiKi it
> > should
> > be easy:
> I think what you're doing is fine.=C2=A0=C2=A0When I try it, it gets adde=
d to
> XMMS2 but then XMMS2 removes it from the playlist almost immediately
> because it can't figure out how to play the audio format, so it
> considers it an unsupported file.=C2=A0=C2=A0In my case the problem is be=
cause
> of
> some of the changes I've made to XMMS2 which I need to fix, so in
> your
> case the cause will almost certainly be different, but without the
> debugging output we won't know.

I still can't understand why when I run xmms2d -vv or without -vv I
get:

xmms2d -vv
=C2=A0INFO: ../src/xmms/log.c:49: Initialized logging system :)
19:56:49 ERROR: ../src/xmms/ipc.c:805: Couldn't setup IPC listening on
'unix:///tmp/xmms-ipc-chris'.
19:56:49 FATAL: ../src/xmms/main.c:538: IPC failed to init!=C2=A0

yet xmms2 will start. Doesn't it us the IPC socket?

>=20
> But I don't think you need to worry about trying different ways of
> adding the URL, I think that part is correct.=C2=A0=C2=A0Also the fact th=
at
> mplayer plays it means you don't need a proxy (but in that snippet
> you
> provided, the "useproxy" option is set to 0 so the proxy is unused,
> which seems correct.)
>=20
> Note that it's better to use the "xmms2 server config" (or for older
> versions "xmms2 config") command rather than editing that XML file
> directly.
>=20
> Cheers,
> Adam.
>=20
--=20
Chris
KeyID 0xE372A7DA98E6705C
31.11972; -97.90167 (Elev. 1092 ft)
19:47:12 up 9:47, 1 user, load average: 0.84, 0.70, 0.53
Description:	Ubuntu 16.04.4 LTS, kernel 4.13.0-38-generic

--=-FvoT5Vml5jkhQJWqPr4R
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEABECAAYFAlrNZagACgkQ43Kn2pjmcFz1/QCbBbX8OupAvRjLUDIJxm0WMK/n
y3UAn2V5P1//bOKZx9Sh2kv5eSw7owO/
=Xcv5
-----END PGP SIGNATURE-----

--=-FvoT5Vml5jkhQJWqPr4R--