Re: [SlimDevices: Unix] MPlayer problems

2009-06-17 Thread nsfw
agillis;425171 Wrote: > We are using this rule for SqueezeSlave (it was posted in another forum > post) > > mp3 flc squeezeslave * > # FRT:{START=-ss %s}U:{DURATION=-endpos %w} > [mplayer.sh] -really-quiet -vc null -vo null $START$ $DURATION$ > -cache 128 -af volume=0,resample=44100:0:1,channels

Re: [SlimDevices: Unix] MPlayer problems

2009-05-21 Thread bpa
The mp3->flac rule doesn't seem to work right. To make sure it is invoked you have to disable native mp3 in which case it seem to break playing mp3 files/streams on hardware players. I also think the problem with playing MP3 files may be associated with mplayer.sh not being able to handle filenam

Re: [SlimDevices: Unix] MPlayer problems

2009-05-21 Thread bpa
mplayer.sh is a shell script - if the MP3 Flac rules works sometimes with the standard mplayer.sh then only shell scripting skills are needed to make the File test branch work. The issue is post 7.3 the number of args can vary and so the "if" has to be a lot more clever than just changing the ar

Re: [SlimDevices: Unix] MPlayer problems

2009-05-20 Thread agillis
I have tried a few different things but the intricacies of SqueezeCenter trancoding elude me. I did change the "if [ -e "${10}" ] ; then" to "if [ -e "${12}" ] ; then" This caused it to work for about 3 seconds then it switched from music to screeching. -- agillis rip, tag, get cover artÂ… All

Re: [SlimDevices: Unix] MPlayer problems

2009-05-20 Thread bpa
In mplayer.sh mainly there was a test to see if the target (i.e. url or filename) exists. If the target exists then it is a file otherwise it is an URL. Code: if [ -e "${10}" ] ; then echo Local File: Launching $app $1 $2 $3 $4 $5 $6 $7 $8 $9 "${10}" ${11} "${12}"

Re: [SlimDevices: Unix] MPlayer problems

2009-05-20 Thread agillis
bpa;425152 Wrote: > I have a vague feeling that SC will not support any rule (even though > the rule appears in Filetypes) which transcodes MP3 to FLAC as every > player support MP3. Furthermore there is no reason to do it. > > SC supports MP3 to MP3 for players which needs lower bitrates. > >

Re: [SlimDevices: Unix] MPlayer problems

2009-05-20 Thread bpa
Why don't you use the WMA stream and let AlienBBC with Mplayer to transcode for Squeezeslave and it will also resample as necessary. http://www.wbur.org/wp-content/themes/wbur/live_stream/windowsmedia.asx or even the OGG stream http://www.wbur.org/wp-content/themes/wbur/live_stream/ogg.m3u --

Re: [SlimDevices: Unix] MPlayer problems

2009-05-20 Thread bpa
I have a vague feeling that SC will not support any rule (even though the rule appears in Filetypes) which transcodes MP3 to FLAC as every player support MP3. Furthermore there is no reason to do it. SC supports MP3 to MP3 for players which needs lower bitrates. What is the NPR URL that is caus

Re: [SlimDevices: Unix] MPlayer problems

2009-05-20 Thread nowork
NPR from WBUR (my local station) http://opml.radiotime.com/StationPlaylist.axd?stationId=27654&us Or shoutcast http://205.234.188.21:80 Since WBUR/Boston originates a lot of content, I want this station. I have looked, found feeds at 32 and 24 KBPS, all chipmunk. These streaming stations chipmu

Re: [SlimDevices: Unix] MPlayer problems

2009-05-20 Thread nowork
Thanks for the follow up. I think I am beginning to understand. The MP3 section was modified when I installed AlienBBC and mplayer. However this is on a vortexbox installation/yum in my efforts to fix local chipmunk. Since I had never used/installed AlienBBC before, I assumed that it was all Ali

Re: [SlimDevices: Unix] MPlayer problems

2009-05-20 Thread bpa
That MP3 ->Flac entry is not part of standard AlienBBC conf file. It could have errors and I think it may not even be supported SC. Who created the entry ? -- bpa bpa's Profile: http://forums.slimdevices.com/member.php?u

Re: [SlimDevices: Unix] MPlayer problems

2009-05-20 Thread nowork
Hi, Sorry if my message was confusing. Changing the RTSP settings have no effect on my MP3 playing. I was not pointing to the RTSP section heading of SqueezeCenter/Settings/Advanced/FileTypes but to the MP3 section heading a few lines above the RTSP section. It is when I change the FLAC set

Re: [SlimDevices: Unix] MPlayer problems

2009-05-20 Thread bpa
> > SqueezeCenter/Settings/Advanced/FileTypes > MP3 has two sections, each with two options > > FLAC - mplayer.sh/flac or disabled > MP3 - native or disabled > This is not correct - can you recheck and if necessary get a screen image. MP3 filetype has only one option - disabled or native R

Re: [SlimDevices: Unix] MPlayer problems

2009-05-20 Thread nowork
Hi, I installed Alien BBC beta and mplayer on my headless linux box, to try to fix chipmunk sounds from SqueezeSlave/local hardware playing NPR 24Kbps radio. I now have different issues playing individual MP3 files. Background - Fedora 10 SqueezeCenter Version: 7.3.3 - 26557 @ Thu May 14 03:07:

Re: [SlimDevices: Unix] MPlayer problems

2009-05-14 Thread jarome
Then it would be good to modify the script to search in both places for mplayer. And yes, squeezecenter cannot log in. -- jarome jarome's Profile: http://forums.slimdevices.com/member.php?userid=1223 View this thread: http

Re: [SlimDevices: Unix] MPlayer problems

2009-05-14 Thread bpa
You might have a point. When Squeezecenter is started during PC startup, it is run as a user squeezecenter but I think that user squeezecenter cannot login and so may not have all the env variables setup as part of a login shell script. -- bpa ---

Re: [SlimDevices: Unix] MPlayer problems

2009-05-14 Thread jarome
SUSE 10.3 is running on my SqueezeCenter Machine. The SUSE auto software install service installs mplayer in /usr/bin. And both that and /usr/local/bin are in my path. You are right about the /usr/local/bin being only for OS X. But the issue may be that SqueezeCenter runs as user squeezecenter (I

Re: [SlimDevices: Unix] MPlayer problems

2009-05-14 Thread bpa
OK - my mistake on the AlienBBC issue. In March besides the mplayer.sh change there were also changes made to the alienBBC custom-convert.conf including one to use $PATH$ instead of $FILE$ (i.e. use a mms url and not xmradio pseudo url) and what value to assign to $PATH$. I thought these chang

Re: [SlimDevices: Unix] MPlayer problems

2009-05-13 Thread jarome
As I read mplayer.sh, it assumes it is in /usr/local/bin. I needed the link. But I changed nothing else in the scripts, especially since they are now automatically installed by the extension installer. The -v was in the manually installed AlienBBC. -- jarome ---

Re: [SlimDevices: Unix] MPlayer problems

2009-05-13 Thread bpa
I'll let this die now but beside the "-v" the URL at the end of the mplayer line is different "-" (i.e. stdin), "Xmradio://78" and a proper URL "mms://". Strange about the mplayer location - for non OSX system, mplayer.sh assumes mplayer is on the path and /usr/bin and /usr/local/bin are normally

Re: [SlimDevices: Unix] MPlayer problems

2009-05-13 Thread jarome
I had to change it to -v for debugging. That was all I did. Now that it is working, I will change it back. On linux, I never get Alien to work out of the box on my SUSE system unless I link its real location (/usr/bin to /usr/local/bin). Aside from that, that is all. -- jarome ---

Re: [SlimDevices: Unix] MPlayer problems

2009-05-13 Thread bpa
It's good to know the fix is applicable for other systems. The AlienBBC is a beta to get feedback on whether the change (amongst others) broke some systems. However the mplayer command lines in the most recent logs are not the same as the mplayer command lines in the first few posts - something h

Re: [SlimDevices: Unix] MPlayer problems

2009-05-13 Thread jarome
Updating AlienBBC did the trick for sure. Everything works now, and I did not much with any of the files. -- jarome jarome's Profile: http://forums.slimdevices.com/member.php?userid=1223 View this thread: http://forums.sli

Re: [SlimDevices: Unix] MPlayer problems

2009-05-13 Thread jarome
I also upgraded Alien on my SUSE 10.3 box, and SoftSqueeze now plays XM there also. -- jarome jarome's Profile: http://forums.slimdevices.com/member.php?userid=1223 View this thread: http://forums.slimdevices.com/showthrea

Re: [SlimDevices: Unix] MPlayer problems

2009-05-13 Thread bpa
player.source log is the useful log and you should set it from the WebUI Settings/Advanced/Logging - not by changing the code. Previous logs showed the url supplied to mplayer as xmradio:. The only significant change for WMA streams in latest AlienBBC was in mplayer.sh with the addition of an l

Re: [SlimDevices: Unix] MPlayer problems

2009-05-13 Thread jarome
Wow. I tried XM on SoftSqueeze again today on my Mac and it worked! What changed? I installed the new beta of AlienBBC 2.5 beta 7.3. Here is my log: XM Radio Online XM Satellite Radio SYMPHONY HALL http://player.xmradio.com/hotstream/metafile.jsp?ch=78&xt=cdDOG8MtRcI%3D&speed=low&prov

Re: [SlimDevices: Unix] MPlayer problems

2009-05-13 Thread wharfrat
bpa Here's the linux log. Its SC 7.3.2. I edited transcoderHelper to set logging player.source at debug. I'm using the custom-convert.conf as above. The player is the controller. I attempt to play a station. Note the full mms path appear at 09-05-13 19:01:26.4854. How do I enable debug on Wind

Re: [SlimDevices: Unix] MPlayer problems

2009-05-12 Thread bpa
To compare Windows vs Linux - can you get a log with player.source set to DEBUG for playing a XM radio stream on Windows through the controller. I don't know how the XM radio URL streams work but perhaps they cannot be opened twice - so that on Windows the stream is opened once and then a byte st

Re: [SlimDevices: Unix] MPlayer problems

2009-05-12 Thread wharfrat
bpa - I'm not sure about that, when I run SC on windows, I can listen on the Duet controller, which means it must be transcoding the XM Stream (mms/wma) to one of the controller's native protocols (mp3, flac). And it works. But not on linux. I tried the following lines in custom-convert.conf wma

Re: [SlimDevices: Unix] MPlayer problems

2009-05-12 Thread bpa
You fix the problem by fixing the plugin - another entry is not the solution - correcting the current entry is the solution. Hardware players can play WMA natively and so no transcoding - Softsqueeze needs transcoding and probably the relevant parts of the plugin / conf files may never been exerc

Re: [SlimDevices: Unix] MPlayer problems

2009-05-12 Thread jarome
Can we fix this by adding an entry to convert.conf? What would this be? This is an issue for Macs also. And I do not understand why hardware SqueezeBoxes work without this problem? Thanks, Jim -- jarome jarome's Profile:

Re: [SlimDevices: Unix] MPlayer problems

2009-05-12 Thread bpa
When you install AlienBBC - it will add the relevant wma to mp3 or flac rules which override the default ones and so you can play WMA stream and files through softsqueeze on Linux and Mac systems. The issue with xmradio plugin is the plugin's protocol handler for "xmradio://" and/or its associat

Re: [SlimDevices: Unix] MPlayer problems

2009-05-12 Thread wharfrat
The XMRadio stream is windows media format / mms. With the server on linux and playing on softsqueeze, squeezecenter looks for as wma to mp3 transcoder and picks up the wmadev line from convert.conf - which is a windows application, hence it doesnt work. Does anyone have a Linux or Mac wma to m

Re: [SlimDevices: Unix] MPlayer problems

2009-05-11 Thread bpa
> > Streaming: Launching mplayer -v -vc null -vo null -cache 128 -af > volume=0 -ao pcm:file=/dev/fd/3 xmradio://78 > The xmradio:// is not a real URL but a pseudo one used within SC - it should have been translated into a real http or mms url so that mplayer can play it. Probably a problem in

Re: [SlimDevices: Unix] MPlayer problems

2009-05-11 Thread jarome
I am trying to get the new experimental XMRadio plugin to work. It does work on "real" squeezeboxes. I just uninstalled Alien manually by removing it from the Plugins directory. I then installed the 2.4 beta version using the extension installer. But I couldn't get it to work: Streaming: Launch

Re: [SlimDevices: Unix] MPlayer problems

2009-05-11 Thread bpa
Ignore the codecs -- where is the URL to be played. When used within SC there should be an URL and not "-". What version of SC are you running ? How did you install AlienBBC ? What version of AlienBBC ? What URL are you trying to play ? How are you trying to play the desired URL ? -- bpa

Re: [SlimDevices: Unix] MPlayer problems

2009-05-11 Thread jarome
jargw:/var/lib/squeezecenter/Plugins/Alien # ls -la total 54 drwxr-xr-x 8 squeezecenter squeezecenter 504 2008-07-29 09:51 . drwxr-xr-x 8 squeezecenter squeezecenter 328 2009-05-11 09:13 .. drwxr-xr-x 2 squeezecenter squeezecenter 992 2008-07-29 09:51 Addons drwxr-xr-x 2 squeezecenter squeezece

Re: [SlimDevices: Unix] MPlayer problems

2009-05-11 Thread bpa
If using AlienBBC replace the "-really-quiet" with "-v" in the custom-convert.conf to get more meaningful message. IF running from a shell prompt - then also enable logging player.source to DEBUG -- bpa bpa's Profile: htt

[SlimDevices: Unix] MPlayer problems

2009-05-11 Thread jarome
I have MPlayer 1.0rc2 installed on OpenSUSE 10.3 (64-bit). But when SqueezeCenter starts, I get Streaming: Launching mplayer -really-quiet -vc null -vo null -cache 128 -af volume=0,resample=44100:0:1,channels=2 -ao pcm:nowaveheader:file=/dev/fd/3 - mplayer: could not connect to socket mplayer: No