Quantcast
Channel: Airtime Support Discussions on Sourcefabric Forum
Viewing all articles
Browse latest Browse all 1390

[ls-support] separate gtk client from station

$
0
0
Hello,

this is a quite long email Smile questions are at the bottom.

I wanted to deploy the following setup:

1 server (Debian Sarge) as audio braodcast system
- Apache + PHP4 + Postgres ...
- Scheduler
- Storageserver
- WebUI

1 Client (Debian Sarge)
- GTK application (livesupport-studio)

On the client side I don't want to have installed things which are
already installed on the server (apache, php4 ...). apt forces me to
install livesupport-station + -libs even on the client (as a dependency
from livesupport-studio). That's why I thought, that the setup above is
not possible to deploy ... but I'm curious so I tried it anyway (see below).

To make things a bit clear, I'm telling you what I did until now:

1.) Prepare everything on the server pc:

# aptitude

Select livesupport-station and livesupport-libs, but do not install
livesupport-studio, which is not needed on the station. This will
install apache2, php4, postgres and many other packages.

Configure the station:

# vi /opt/livesupport/etc/scheduler.xml

And replace all localhost stanzas with the server name.

# vi /opt/livesupport/var/LiveSupport/storageServer/var/conf.php

And replace 'storageUrlHost' => 'localhost' with the server name.

2.) On the client pc:

# apt-get install livesupport-libs
# dpkg -X livesupport-studio_1.0.2-4_i386.deb /

3.) On the server pc:

# tar cpzfv gtk.tgz /opt/livesupport/etc/gtk-2.0
# scp gtk.tgz user@studio:

4.) On the client pc:

# su -
# cd /
# tar xpzfv ~user/gtk.tgz
# gst-register
# vi /opt/livesupport/etc/gLiveSupport.xml

Replace all stanzas with localhost by the name of the client pc.

Start gLiveSupport.sh as a normal user:

$ /opt/livesupport/bin/gLiveSupport.sh

This leads to a working GTK application which can upload files, add/edit
playlists etc. But when I try to play a soundfile, it says:

``Audio player error:
can't open URL file:///usr/opt/livesupport ...''

which is of course clear, because that file is not on the client pc but
rather on the server pc (storageServer).

Here my questions:
- Is there a possibility to get that file from the storageServer?
- Does the GTK application play that file on the local soundcard or is
it possible to play that file on the servers soundcard(s)?
- Is the setup described above possible? And if not: what are the ``no
go''s of that setup?

Thanks a lot,
Mic

--
http://strg.at
_______________________________________________
ls-support mailing list
ls-support@lists.campware.org
http://lists.campware.org/mailman/listinfo/ls-support

Viewing all articles
Browse latest Browse all 1390

Trending Articles