Menu

#8 Unable to Play Streams (even example ones)

open
nobody
None
5
2005-11-26
2005-11-26
No

I was unable to play any streams, even the included
Classical, Country and Jazz streams, using byRequest
and my TiVo. I could play MP3s that lived on my
machine without problem, checked that I had mplayer,
lame, etc. installed, and double-checked that I could
play the stream URLs on my Linux box (e.g., via
mplayer).

Poking around, adding some addToLog() calls, I
discovered that "temppath" in audio.c was unset. It
appears that it probably DOES get set if "XMRADIO" is
#define'd.

Simply adding another "strcpy(temppath,path);"
outside of the #ifdef/#endif block fixed it:

if( isMpeg && isInternetRef( path ) )
{
strcpy(temppath,path); /* Copy path to a work
buffer */
addToLog( "temppath: '%s'\n", temppath );

for( cp = temppath; *cp; cp++ )
{
if( strncmp( cp, "http://", 7 ) == 0 )
...

Thanks! Working great so far!

Discussion


Log in to post a comment.

MongoDB Logo MongoDB