Menu

#13 Cannot stream to Exstreamer under 1.44

1.44 (stable)
open-remind
nobody
Server (9)
5
2009-11-09
2008-06-16
Bob White
No

I have two GD systems, one running 1.42-2 and the other running 1.44. They both contain the same files and are connected to the same network and Exstreamer. I have two Palm Vxs, both connected in serial mode to the PC. I've copied the relevent sections of .gdconfig to the 1.44 system (that which sets up the Exstreamer).

Version 1.42 works just fine in this configuration - I can browse the list of songs and play whatever I want to on the Exstreamer. Plays like it's supposed to.

There is something wrong in gdstream.pl in version 1.44, however.

I edited gdstream.pl under both versions to turn on verbose mode so i could get some output telling me what it's doing.

I use the same command line in both systems:

./gdstream.pl -h 192.168.1.52 -p 2020 -b 192000 -f mp3 -s 0 -l 218 -i 3 -c 0 /home/music/00/tr0xbe0ae40e-1.mp3

Under 1.42, I get a continuous stream of packets sent to the exstreamer. After the buffer gets full enough, the Exstreamer plays to the connected speakers.

Under 1.44, about 3-4 buffers get sent and then nothing further happens. I believe the Exstreamer is waiting for more, and GD is waiting for some response back from the Exstreamer. My guess is that both sit there waiting for the other to do something.

There was also some evidence that *something* wasn't getting set up properly. Under 1.44, when I stopped playing the song, GD calls the termination handler in gdstream.pl to kill the various pids. It kills first playd, then gdstream. After that, though, the following lines appeared on the console:

rm: missing operand
Try `rm --help' for more information

I traced these lines of code to gdstream's termination handler. After the pids get killed, the handler executes the following:

close MP3F;
system("rm $pipe");

My guess would be that $pipe is not getting set properly and there's nothing to delete in the termination handler, so it's trying to execute what amounts to system("rm "). $pipe is initialized to a null string, so it's probably not getting set at all.

The code in gdstream.pl is very different between versions 1.42 and 1.44.

Has anyone else encountered this problem? Is anyone else using an Exstreamer? I'll be happy to help debug this.....

Thanks,

Bob

Discussion

  • Gabriel Indurskis

    can someone with an Exstreamer (or other streaming client) confirm this problem? It's been a while since anybody looked at this, sorry Bob!

     
  • Gabriel Indurskis

    • status: open --> open-remind
     

Log in to post a comment.

Monday.com Logo