topic title: sound terminal
Posts: 8
seuchato
Joined: 27 Sep 2010
#1
Hi all

I am enjoying antix 8.5 on a thinkpad 240 with 192 MB Ram, a 4GB HD and it is running well. I am impressed. I have native keyboard and language, synaptics, in short a perfect distro!

Thanks a lot for that top work, indeed.

I am using the TP240 as a soundterminal. on my server I have Gnump3d and I can trigger playing of songs through links2. All smooth. What I am struggling though is to set up:

a) on toolbar an entry that starts links2 with the gnump3d website
prog"muisic browsing" links2
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://webserver/gnump3d:8888"
linktext was:"http://webserver/gnump3d:8888"
====================================
from a terminal" links2
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://webserver/gnump3d:8888"
linktext was:"http://webserver/gnump3d:8888"
====================================
" works as expected, but not from
the toolbar. How can I fix this
b) I would love to autostart links2 with
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://webserver/gnump3d:8888"
linktext was:"http://webserver/gnump3d:8888"
====================================
whenever the machine boots. I edited the startup file in .icewm dir
...
## Set wallpaper via nitrogen
rm $HOME/.config/nitrogen/bg-saved.cfg
ln -s $HOME/.config/nitrogen/bg-saved-icewm.cfg $HOME/.config/nitrogen/bg-saved.cfg
nitrogen --restore &

## Start links with gnump3d page to browse
links2
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://webserver/gnump3d:8888"
linktext was:"http://webserver/gnump3d:8888"
====================================
&
I never get Links2 to actually launch on boot. How can I fix this?

greetings to all chris
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#2
Not sure. But wouldn't it be

Code: Select all

links2 & 
and underneath links2 &

Code: Select all

http://webserver/gnump3d:8888 &
or
links2 &&
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://webserver/gnump3d:8888"
linktext was:"http://webserver/gnump3d:8888"
====================================
&
Just a guess though.
Posts: 609
dark-D
Joined: 02 Jun 2008
#3
how about this?

Code: Select all

prog"music browsing" roxterm -e links2 http://webserver/gnump3d:8888 
or for links with gui

Code: Select all

prog"music browsing" links2 -g http://webserver/gnump3d:8888 
for startup i guess:

Code: Select all

roxterm -e links2 http://webserver/gnump3d:8888 &
or

Code: Select all

links2 -g http://webserver/gnump3d:8888 &
hope this helps.
Posts: 8
seuchato
Joined: 27 Sep 2010
#4
Thanks ICE-M and rokytnji
ICE-M wrote:how about this?
or for links with gui

Code: Select all

prog"music browsing" links2 -g http://webserver/gnump3d:8888 
for startup i guess:

Code: Select all

links2 -g http://webserver/gnump3d:8888 &
hope this helps.
This works now, great! I did not put the"-g" parameter. What I would still like to do is

- starting links2 in fullscreen mode
The man and -help screens do not list an option to do this, however, th user may do it by
the menu Display/Fullscreen (press f)
- making sure that links2 comes up again if a user would close it by accident.
I guess I will have to write a bash script for that probably checks the for links2

Code: Select all

#!/bin/bash
page=http://webserver/gnump3d:8888
int=2

while true; do

  sleep $int
  running=$(ps -ef | grep links2 | wc -l)
  echo"running = $running"

  if (("$running" <"2" )); then
    links2 -g $page &
  fi
done
save izt in $HOME and call this script in startup like this:

Code: Select all

...
$HOME/loopbrowser &
Add a user that logs in automagically and you have your kiosk music browser. A word on links2 and how to play the music.
I first tried with the xmms and xmms2. Both worked - kind of. I removed them and replaced them by audacious, now it is perfect. in Links2 you will need to set the mime correctly. go to setup/file extensions, add
- extention : m3u
- content type : audio/x-mpegurl
and in setup/associations add
- Label : m3u
- content type : audio/x-mpegurl
- Program : audacious %

greets chris
Posts: 8
seuchato
Joined: 27 Sep 2010
#5
Hi all

Discovered a problem I could not resolve to date. I started in rereading my cd's in flac for long term storage reasons. I still have the mp3 rips avalable on my server. these play withouth problems. However, if I call the album ripped in flac, audacious does not play them. I verified, the server streams out flacs on other clients (amarok, vlc, mplayer), verified the .m3u file's content, checked the server (gnump3d), the very install of audacious (version 2.3.2) : Still audacious does not play flacs
I read about v 1.5.x having a problem with flacs, but that seems to be gon with 2.3. Any one can help?

greez

chris
Posts: 8
seuchato
Joined: 27 Sep 2010
#6
audacity and flac problem, no one an idea?

greez chris
Posts: 516
oldhoghead
Site Admin
Joined: 01 Oct 2007
#7
Don't really know audacious, but maybe you could start it in terminal and see if there are any errors when you try to play flac

cheers,
ohh
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#8
goggles music manager plays flac. Have you installed libflac and flac?