Bug 2947 - slimserver does not find mplayer.sh (alienbbc) when it is installed in the Bin directroy
: slimserver does not find mplayer.sh (alienbbc) when it is installed in the Bi...
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: RPM
: 6.5b1
: PC Debian Linux
: P2 normal (vote)
: ---
Assigned To: KDF
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-02-07 09:56 UTC by John Gorst
Modified: 2006-02-08 18:19 UTC (History)
0 users

See Also:
Category: ---


Attachments
use OSDetect::dirsFor (949 bytes, patch)
2006-02-07 19:09 UTC, KDF
Details | Diff
log output with with d_paths selected after applying proposed patch (23.13 KB, text/plain)
2006-02-08 15:26 UTC, Andrew Monks
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Gorst 2006-02-07 09:56:32 UTC
Ubuntu breezy
Slimserver 6.5b1 .deb package
Alienbbc 1.01

When enabling file type RTSP in 'file types' slimserver would complain it could not find mplayer.sh despite it being in /usr/share/slimserver/Bin with appropraite user/group/permissions

If I copied mplayer.sh to /usr/bin then slimserver would find it and alienbbc would run.

Is this a bug in slimserver or the slimserver deb package not setting up the appropriate places to look for binary apps.
Comment 1 KDF 2006-02-07 10:03:09 UTC
if you are unsure of where this bug lies, youshould bring this up in the beta forum in order to determine this.
Comment 2 KDF 2006-02-07 19:09:39 UTC
Created attachment 1131 [details]
use OSDetect::dirsFor

I'm on debian, but don't have it set up from the deb.  This should work.  I had to add a check for handling the Bin dir, however.
Comment 3 Andrew Monks 2006-02-08 15:26:47 UTC
Created attachment 1134 [details]
log output with with d_paths selected after applying proposed patch

Attached output is generated when changing settings on servers settings - filetypes after applying the proposed patch.

Only a short mention of mplayer.sh now that it is found
Comment 4 KDF 2006-02-08 16:33:17 UTC
thanks andrew.  I should be able to merge this into the builds tonight.
Comment 5 KDF 2006-02-08 18:19:38 UTC
committed to trunk at change 6153