PDA

View Full Version : AlienBBC V0.92 problem (Mandrake 10.1) - N.B. long email



Lawrence Blackham
2005-01-18, 05:48
Hi

I recently moved Slimserver from Windows to Linux and all was well
including AlienBBC V0.12 (which is brilliant BTW thank you to everyone
involved with the plugin). However, I have recently 'upgraded' to
AlienBBC V0.91 & V0.92 and cannot get them to work. From the slimserver
AlienBBC appears to start but either:-

1.

plays with no sound or

2.

with no sound until 5-10 seconds into whatever is chosen and then
after a short pause it appears to re-attempt to play the stream
from zero seconds again and then this loop just continues with no
sound.

With my very limited knowledge of Linux (I'm using Mandrake 10.1) I have
tried to investigate further. I have tried running ./slimserver.pl
-d_plugin and get the following output:-

2005-01-18 12:10:37.4025 Requiring Plugins::RadioIO plugin.

2005-01-18 12:10:37.4331 Requiring Plugins::Picks plugin.

2005-01-18 12:10:37.5257 Requiring Plugins::DateTime::Plugin plugin.

2005-01-18 12:10:37.5443 Requiring Plugins::Rescan plugin.

2005-01-18 12:10:37.5700 Requiring Plugins::SavePlaylist plugin.

2005-01-18 12:10:37.5910 Requiring Plugins::LineX plugin.

2005-01-18 12:10:37.6381 Requiring Plugins::SlimTris plugin.

2005-01-18 12:10:37.6674 Requiring Plugins::Snow plugin.

2005-01-18 12:10:37.7348 Requiring Plugins::Alien::Plugin plugin.

Subroutine HTML::Entities::decode_entities redefined at
/usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 253,
<DATA> line 1.

2005-01-18 12:10:38.0600 Requiring Plugins::Shooter plugin.

2005-01-18 12:10:38.0873 Requiring Plugins::RssNews plugin.

2005-01-18 12:10:38.1609 Requiring Plugins::ShoutcastBrowser plugin.

2005-01-18 12:10:38.2937 Requiring Plugins::Live365 plugin.

2005-01-18 12:10:38.4081 Registering screensaver Datetime Screensaver

2005-01-18 12:10:38.4091 Registering screensaver LineX Screensaver

2005-01-18 12:10:38.4098 Registering screensaver Snow Screensaver

2005-01-18 12:10:38.4147 Registering screensaver RSS News Ticker

2005-01-18 12:10:38.4178 Adding RadioIO to menu: RADIO

2005-01-18 12:10:38.4184 Adding Picks to menu: RADIO

2005-01-18 12:10:38.4190 Adding SlimTris to menu: GAMES

2005-01-18 12:10:38.4196 Adding Alien::Plugin to menu: RADIO

2005-01-18 12:10:38.4201 Adding Shooter to menu: GAMES

2005-01-18 12:10:38.4207 Adding RssNews to menu: PLUGINS

2005-01-18 12:10:38.4211 Adding ShoutcastBrowser to menu: RADIO

2005-01-18 12:10:38.4216 Adding Live365 to menu: RADIO

2005-01-18 12:10:38.4233 Registering screensaver Now Playing (Jump back
on wake.)

2005-01-18 12:10:41.5375 RSS Feed Info:

2005-01-18 12:10:41.5385 BBC News World Edition,
http://news.bbc.co.uk/rss/newsonline_world_edition/front_page/rss091.xml

2005-01-18 12:10:41.5394 CNET News.com, http://news.com.com/2547-1_3-0-5.xml

2005-01-18 12:10:41.5401 New York Times Home Page,
http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml

2005-01-18 12:10:41.5410 RollingStone.com Music News,
http://www.rollingstone.com/rssxml/music_news.xml

2005-01-18 12:10:41.5418 Slashdot, http://slashdot.org/index.rss

2005-01-18 12:10:41.5426 Yahoo! News: Business,
http://rss.news.yahoo.com/rss/business

2005-01-18 12:10:41.5434

MPlayer 1.0pre6-3.4.1 (C) 2000-2004 MPlayer Team

CPU: Intel Pentium III Katmai/Pentium III Xeon Tanner (Family: 6,
Stepping: 2)

Detected cache-line size is 32 bytes

CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0

Compiled with runtime CPU detection - WARNING - this is not optimal!

To get best performance, recompile MPlayer with
--disable-runtime-cpudetection.


77 audio & 188 video codecs

Opening joystick device /dev/input/js0

Can't open joystick device /dev/input/js0 : No such file or directory

mplayer: could not connect to socket

mplayer: No such file or directory

======= WAVE Format =======

Format Tag: 28515 (0x6F63)

Channels: 2

Samplerate: 44100

avg byte/sec: 32041

Block align: 465

bits/sample: 16

cbSize: 26

Unknown extra header dump: [5d] [0] [10] [0] [15] [0] [d1] [1] [10] [0]
[1] [0] [0] [3] [8] [0] [0] [20] [0] [0] [0] [0] [0] [2] [0] [4]

===========================

This didn't tell me very much so I tried to run mplayer on it's own as
it is called from slimserver i.e. mplayer -vo null -really-quiet -cache
128 -af resample=44100:0:1 -ao p
cm -aofile /dev/fd/3 rtsp://rmv8.bbc.net.uk/radio2/r2_radcliffemon.ra

Again no sound but looking at the -ao/-aofile options I saw that the
/dev/fd didn't exist  is this unusual? By removing the -ao/-aofile
options mplayer works fine. I tried (probably naively) to create the fd
directory and use touch to create an empty file called '3'. Rerunning
mplayer with '-ao pcm -aofile /dev/fd/3' there was still no sound from
slimserver but the '3' file does fill up and if I subsequently run the
command 'mplayer /dev/fd/3' I do get sound.

Can someone please suggest what I should try next?

Thanks

Lawrence



--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.7.0 - Release Date: 17/01/2005

Daniel Cohen
2005-01-18, 08:08
On 18/1/05 at 12:48 pm +0000, Lawrence Blackham wrote
>I recently moved Slimserver from Windows to Linux and all was well
>including AlienBBC V0.12 (which is brilliant BTW thank you to
>everyone involved with the plugin). However, I have recently
>'upgraded' to AlienBBC V0.91 & V0.92 and cannot get them to work.
From the slimserver AlienBBC appears to start but either:-
>
> 1.
>
> plays with no sound or


I am using a Mac, and the old AlienBBC (0.11)

I found a program playing with no sound today (first time I have had
any trouble). A bit of juggling got the program playing. I quit
mplayer (for some reason there seemed to be three copies running),
and then tried again and all was well.


--
Daniel Cohen

Bill Burns
2005-01-18, 12:39
Daniel Cohen wrote:

> I am using a Mac, and the old AlienBBC (0.11)
>
> I found a program playing with no sound today (first time I have had any
> trouble). A bit of juggling got the program playing. I quit mplayer (for
> some reason there seemed to be three copies running), and then tried
> again and all was well.

Meant to mention that with AlienBBC 0l.92 running on the 5.4 latest
nightly on WinXP, I see multiple copies of mplayer running - I have five
at the moment, only one of which shows any activity in Task Manager.

--
Bill Burns
Long Island NY USA
mailto:billb (AT) ftldesign (DOT) com

Triode
2005-01-18, 14:35
Bill, do you have multiple copies of socketwrapper.exe too?

----- Original Message -----
From: "Bill Burns" <billb (AT) ftldesign (DOT) com>
To: "Slim Devices Discussion" <discuss (AT) lists (DOT) slimdevices.com>
Sent: Tuesday, January 18, 2005 7:39 PM
Subject: [slim] AlienBBC V0.92 problem (Mandrake 10.1) - N.B. long email


> Daniel Cohen wrote:
>
>> I am using a Mac, and the old AlienBBC (0.11)
>>
>> I found a program playing with no sound today (first time I have had any
>> trouble). A bit of juggling got the program playing. I quit mplayer (for
>> some reason there seemed to be three copies running), and then tried
>> again and all was well.
>
> Meant to mention that with AlienBBC 0l.92 running on the 5.4 latest
> nightly on WinXP, I see multiple copies of mplayer running - I have five
> at the moment, only one of which shows any activity in Task Manager.
>
> --
> Bill Burns
> Long Island NY USA
> mailto:billb (AT) ftldesign (DOT) com
>

Triode
2005-01-18, 14:39
Lawrence

Mandrake 10.1 should include /dev/fd - this is a special file directory which creates filenames for filehandles. Please remove the
file you added and try the following:

Could you do:
ls -l /dev/fd
should see something like:
lrwxrwxrwx 1 root root 13 Jan 16 18:31 /dev/fd -> /proc/self/fd/

If so try:
echo hello > tmpfile
cp tmpfile /dev/fd/3 3>&1 1>&2

Do you see "hello" on the console - if so the /dev/filesystem works OK.

----- Original Message -----
From: "Lawrence Blackham" <blacklaw (AT) btconnect (DOT) com>
To: <discuss (AT) lists (DOT) slimdevices.com>
Sent: Tuesday, January 18, 2005 12:48 PM
Subject: [slim] AlienBBC V0.92 problem (Mandrake 10.1) - N.B. long email


> Hi
>
> I recently moved Slimserver from Windows to Linux and all was well including AlienBBC V0.12 (which is brilliant BTW thank you to
> everyone involved with the plugin). However, I have recently 'upgraded' to AlienBBC V0.91 & V0.92 and cannot get them to work.
> From the slimserver AlienBBC appears to start but either:-
>
> 1.
>
> plays with no sound or
>
> 2.
>
> with no sound until 5-10 seconds into whatever is chosen and then
> after a short pause it appears to re-attempt to play the stream
> from zero seconds again and then this loop just continues with no
> sound.
>
> With my very limited knowledge of Linux (I'm using Mandrake 10.1) I have tried to investigate further. I have tried running
> ./slimserver.pl -d_plugin and get the following output:-
>
> 2005-01-18 12:10:37.4025 Requiring Plugins::RadioIO plugin.
>
> 2005-01-18 12:10:37.4331 Requiring Plugins::Picks plugin.
>
> 2005-01-18 12:10:37.5257 Requiring Plugins::DateTime::Plugin plugin.
>
> 2005-01-18 12:10:37.5443 Requiring Plugins::Rescan plugin.
>
> 2005-01-18 12:10:37.5700 Requiring Plugins::SavePlaylist plugin.
>
> 2005-01-18 12:10:37.5910 Requiring Plugins::LineX plugin.
>
> 2005-01-18 12:10:37.6381 Requiring Plugins::SlimTris plugin.
>
> 2005-01-18 12:10:37.6674 Requiring Plugins::Snow plugin.
>
> 2005-01-18 12:10:37.7348 Requiring Plugins::Alien::Plugin plugin.
>
> Subroutine HTML::Entities::decode_entities redefined at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 253,
> <DATA> line 1.
>
> 2005-01-18 12:10:38.0600 Requiring Plugins::Shooter plugin.
>
> 2005-01-18 12:10:38.0873 Requiring Plugins::RssNews plugin.
>
> 2005-01-18 12:10:38.1609 Requiring Plugins::ShoutcastBrowser plugin.
>
> 2005-01-18 12:10:38.2937 Requiring Plugins::Live365 plugin.
>
> 2005-01-18 12:10:38.4081 Registering screensaver Datetime Screensaver
>
> 2005-01-18 12:10:38.4091 Registering screensaver LineX Screensaver
>
> 2005-01-18 12:10:38.4098 Registering screensaver Snow Screensaver
>
> 2005-01-18 12:10:38.4147 Registering screensaver RSS News Ticker
>
> 2005-01-18 12:10:38.4178 Adding RadioIO to menu: RADIO
>
> 2005-01-18 12:10:38.4184 Adding Picks to menu: RADIO
>
> 2005-01-18 12:10:38.4190 Adding SlimTris to menu: GAMES
>
> 2005-01-18 12:10:38.4196 Adding Alien::Plugin to menu: RADIO
>
> 2005-01-18 12:10:38.4201 Adding Shooter to menu: GAMES
>
> 2005-01-18 12:10:38.4207 Adding RssNews to menu: PLUGINS
>
> 2005-01-18 12:10:38.4211 Adding ShoutcastBrowser to menu: RADIO
>
> 2005-01-18 12:10:38.4216 Adding Live365 to menu: RADIO
>
> 2005-01-18 12:10:38.4233 Registering screensaver Now Playing (Jump back on wake.)
>
> 2005-01-18 12:10:41.5375 RSS Feed Info:
>
> 2005-01-18 12:10:41.5385 BBC News World Edition, http://news.bbc.co.uk/rss/newsonline_world_edition/front_page/rss091.xml
>
> 2005-01-18 12:10:41.5394 CNET News.com, http://news.com.com/2547-1_3-0-5.xml
>
> 2005-01-18 12:10:41.5401 New York Times Home Page, http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml
>
> 2005-01-18 12:10:41.5410 RollingStone.com Music News, http://www.rollingstone.com/rssxml/music_news.xml
>
> 2005-01-18 12:10:41.5418 Slashdot, http://slashdot.org/index.rss
>
> 2005-01-18 12:10:41.5426 Yahoo! News: Business, http://rss.news.yahoo.com/rss/business
>
> 2005-01-18 12:10:41.5434
>
> MPlayer 1.0pre6-3.4.1 (C) 2000-2004 MPlayer Team
>
> CPU: Intel Pentium III Katmai/Pentium III Xeon Tanner (Family: 6, Stepping: 2)
>
> Detected cache-line size is 32 bytes
>
> CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
>
> Compiled with runtime CPU detection - WARNING - this is not optimal!
>
> To get best performance, recompile MPlayer with --disable-runtime-cpudetection.
>
>
> 77 audio & 188 video codecs
>
> Opening joystick device /dev/input/js0
>
> Can't open joystick device /dev/input/js0 : No such file or directory
>
> mplayer: could not connect to socket
>
> mplayer: No such file or directory
>
> ======= WAVE Format =======
>
> Format Tag: 28515 (0x6F63)
>
> Channels: 2
>
> Samplerate: 44100
>
> avg byte/sec: 32041
>
> Block align: 465
>
> bits/sample: 16
>
> cbSize: 26
>
> Unknown extra header dump: [5d] [0] [10] [0] [15] [0] [d1] [1] [10] [0] [1] [0] [0] [3] [8] [0] [0] [20] [0] [0] [0] [0] [0] [2]
> [0] [4]
>
> ===========================
>
> This didn't tell me very much so I tried to run mplayer on it's own as it is called from slimserver i.e. mplayer -vo
> null -really-quiet -cache 128 -af resample=44100:0:1 -ao p
> cm -aofile /dev/fd/3 rtsp://rmv8.bbc.net.uk/radio2/r2_radcliffemon.ra
>
> Again no sound but looking at the -ao/-aofile options I saw that the /dev/fd didn't exist  is this unusual? By removing
> the -ao/-aofile options mplayer works fine. I tried (probably naively) to create the fd directory and use touch to create an empty
> file called '3'. Rerunning mplayer with '-ao pcm -aofile /dev/fd/3' there was still no sound from slimserver but the '3' file does
> fill up and if I subsequently run the command 'mplayer /dev/fd/3' I do get sound.
>
> Can someone please suggest what I should try next?
>
> Thanks
>
> Lawrence
>
>
>
> --
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.300 / Virus Database: 265.7.0 - Release Date: 17/01/2005
>
>

Bill Burns
2005-01-18, 14:50
Triode wrote:
> Bill, do you have multiple copies of socketwrapper.exe too?

I was wondering about those. Yes, there's one of them for each mplayer.exe.

One other point; on 0.92 did you eliminate the "Connecting ..." message
when selecting an AlienBBC channel? The display on the SB now doesn't
change when I press the Play button; the channel just starts playing
after a few seconds.

--
Bill Burns
Long Island NY USA
mailto:billb (AT) ftldesign (DOT) com

Neil Sleightholm
2005-01-19, 10:52
There is a bug in the Plugin.pm module - go to the bottom and you will
the lines "EN Connecting..." before the EN there should only be a tab
but there is actually a space then a tab, delete the space and it will
display the text ok. I think Jules is fixing or has fixed this.

Neil

Bill Burns wrote:

> Triode wrote:
> > Bill, do you have multiple copies of socketwrapper.exe too?
>
> I was wondering about those. Yes, there's one of them for each
> mplayer.exe.
>
> One other point; on 0.92 did you eliminate the "Connecting ..."
> message when selecting an AlienBBC channel? The display on the SB
> now doesn't change when I press the Play button; the channel just
> starts playing after a few seconds.

Bill Burns
2005-01-19, 11:41
Neil Sleightholm wrote:
> There is a bug in the Plugin.pm module - go to the bottom and you will
> the lines "EN Connecting..." before the EN there should only be a tab
> but there is actually a space then a tab, delete the space and it will
> display the text ok.

Neil: Yes, that was it.

mplayer/socketwrapper are not being terminated when slim.exe is shut
down. I'm running slim.exe from the command line for the moment, and
when I stopped it to do the fix on Plugin.pm, mplayer.exe and
socketwrapper.exe remained running.

--
Bill Burns
Long Island NY USA
mailto:billb (AT) ftldesign (DOT) com

Bruce Tucker
2005-01-19, 14:26
I often record live radio streams for later playback. Is there a built-in
function or plugin that I'm unaware of that allows you to Fast Forward
within a file?
Bruce

kdf
2005-01-19, 14:40
Quoting Bruce Tucker <tuckerb2 (AT) adelphia (DOT) net>:

> I often record live radio streams for later playback. Is there a built-in
> function or plugin that I'm unaware of that allows you to Fast Forward
> within a file?
> Bruce
>
There is a song scanner plugin available here:
http://www.deane-freeman.com/slimserver/

It allows you to navigate to the plugin while playing a long track, you then
have a BAR graph on the player display that represents 100% of the track
length. UP and DOWN arrows adjust the position within the file, and you can
see the exact time index on line 1. leaving the plugin by pressing LEFT will
move the current song to that position.

It works with long MP3 or WAV files, but suffers the same limits when it comes
to transcoded formats. The time index is not something that the server has
available when sourcing from the external trancoding processes, so the scanning
does not work.

-kdf

Bruce Tucker
2005-01-19, 17:27
KDF and Richard.
Thanks for the references. I had hoped that someone had written a plugin for
this. I just tried it out and it works very nicely for me. And a big
thanks to Kevin Deane-Freeman for his work! It's appreciated.
Bruce

----- Original Message -----
From: "kdf" <slim-mail (AT) deane-freeman (DOT) com>
To: "Slim Devices Discussion" <discuss (AT) lists (DOT) slimdevices.com>
Sent: Wednesday, January 19, 2005 1:40 PM
Subject: [slim] Fast Forwarding within a file


> Quoting Bruce Tucker <tuckerb2 (AT) adelphia (DOT) net>:
>
>> I often record live radio streams for later playback. Is there a
>> built-in
>> function or plugin that I'm unaware of that allows you to Fast Forward
>> within a file?
>> Bruce
>>
> There is a song scanner plugin available here:
> http://www.deane-freeman.com/slimserver/
>
> It allows you to navigate to the plugin while playing a long track, you
> then
> have a BAR graph on the player display that represents 100% of the track
> length. UP and DOWN arrows adjust the position within the file, and you
> can
> see the exact time index on line 1. leaving the plugin by pressing LEFT
> will
> move the current song to that position.
>
> It works with long MP3 or WAV files, but suffers the same limits when it
> comes
> to transcoded formats. The time index is not something that the server
> has
> available when sourcing from the external trancoding processes, so the
> scanning
> does not work.
>
> -kdf
>

kdf
2005-01-19, 19:00
Quoting Bruce Tucker <tuckerb2 (AT) adelphia (DOT) net>:

> KDF and Richard.
> Thanks for the references. I had hoped that someone had written a plugin for
> this. I just tried it out and it works very nicely for me. And a big
> thanks to Kevin Deane-Freeman for his work! It's appreciated.
> Bruce

you are welcome. glad you have found it useful :)
-kdf