Bug 15166 - squeezeplay.sh didn't launch correctly jive
: squeezeplay.sh didn't launch correctly jive
Status: CLOSED FIXED
Product: SB Desktop
Classification: Unclassified
Component: OS
: 7.5.x
: PC Ubuntu Linux
: P2 normal (vote)
: 7.5.0
Assigned To: Andy Grundman
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-11-21 09:43 UTC by Deverne
Modified: 2010-04-08 17:26 UTC (History)
3 users (show)

See Also:
Category: ---


Attachments
This is a small patch for squeezeplay.sh, to make it work with Alsa (447 bytes, patch)
2009-11-23 11:57 UTC, Deverne
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Deverne 2009-11-21 09:43:38 UTC
When lauching jive using squeezeplay.sh, it appears that jive binary is unable to launch jive_alsa binary:

20091121 17:19:16.859 ERROR  audio.output - decode_alsa_fork:169 execv failed 2
20091121 17:19:17.359 ERROR  audio.output - decode_alsa_fork:184 jive_alsa failed to start

This may be a PATH problem but adding the directory to PATH didn't solve issue.
So I changed the content of squeezeplay.sh:

Instead of:
$INSTALL_DIR/bin/jive

I put:
cd $INSTALL_DIR/bin
./jive

Then it starts correctly.

Under Gnome (and perhaps KDE), it would be fine to get a .desktop file to launch the application. Here is the content of mine:

#!/usr/bin/env xdg-open

[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Terminal=false
Name[fr_FR]=SqueezePlay
Exec=/opt/squeezeplay/bin/squeezeplay.sh
Comment[fr_FR]=SqueezeBox 
Icon[fr_FR]=/opt/squeezeplay/share/jive/jive/app.png
Name=SqueezePlay
Comment=SqueezeBox 
Icon=/opt/squeezeplay/share/jive/jive/app.png
Comment 1 James Richardson 2009-11-23 09:41:22 UTC
Can you attach a Patch for review
Comment 2 Deverne 2009-11-23 11:57:54 UTC
Created attachment 6336 [details]
This is a small patch for squeezeplay.sh, to make it work with Alsa

My first patch done with:
svn diff squeezeplay_desktop/squeezeplay.sh > squeezeplay.sh.patch
Hope this is OK
Comment 3 SVN Bot 2009-12-21 13:05:34 UTC
 == Auto-comment from SVN commit #8244 to the jive repo by andy ==
 == https://svn.slimdevices.com/jive?view=revision&revision=8244 ==

Fixed bug 15166, patch from Deverne to squeezeplay.sh desktop launch script
Comment 4 Chris Owens 2010-04-08 17:26:27 UTC
This bug has been marked fixed in a released version of Squeezebox Server or the accompanying firmware or mysqueezebox.com release.

If you are still seeing this issue, please let us know!