I've installed subsonic on my ubuntu server but it seems it can't play (nor load) any internet radio (like http://radio.ilovedrumnbass.com:8000/ ).
When i had a youtube video it's ok but it reads it directly from the youtube website not from my subsonic server.
I've read http://forum.subsonic.org/forum/viewtopic.php?t=4058 but this solution seems to stream the radio directly from the original radio's website and is not working with me. (i've installed mplayer)
example with bassdrive radio :
- Code: Select all
user@server$ sudo mplayer -playlist "/transfert/music/dnb.m3u"
MPlayer 1.0rc4-4.4.5 (C) 2000-2010 MPlayer Team
Playing http://38.107.149.28:8888.
Resolving 38.107.149.28 for AF_INET6...
Couldn't resolve name for AF_INET6: 38.107.149.28
Connecting to server 38.107.149.28[38.107.149.28]: 8888...
Name : Bassdrive - Worldwide Drum and Bass Radio
Genre : Techno
Website: http://www.bassdrive.com
Public : yes
Bitrate: 128kbit/s
Cache size set to 320 KBytes
Cache fill: 0.00% (0 bytes)
ICY Info: StreamTitle='Revival Radio Rewind - hosted by Methodus';StreamUrl='';
Cache fill: 10.00% (32768 bytes)
Audio only file format detected.
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
mpg123: Can't rewind stream by 889 bits!
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
Home directory /home/toxine not ours.
AO: [pulse] Init failed: Connection refused
Failed to initialize audio driver 'pulse'
[AO_ALSA] alsa-lib: confmisc.c:768:(parse_card) cannot find card '0'
[AO_ALSA] alsa-lib: conf.c:4170:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
[AO_ALSA] alsa-lib: confmisc.c:392:(snd_func_concat) error evaluating strings
[AO_ALSA] alsa-lib: conf.c:4170:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
[AO_ALSA] alsa-lib: confmisc.c:1251:(snd_func_refer) error evaluating name
[AO_ALSA] alsa-lib: conf.c:4170:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
[AO_ALSA] alsa-lib: conf.c:4649:(snd_config_expand) Evaluate error: No such file or directory
[AO_ALSA] alsa-lib: pcm.c:2208:(snd_pcm_open_noupdate) Unknown PCM default
[AO_ALSA] Playback open error: No such file or directory
Failed to initialize audio driver 'alsa'
[AO SDL] Samplerate: 44100Hz Channels: Stereo Format s16le
[AO SDL] using aalib audio driver.
[AO SDL] Unable to open audio: No available audio device
Failed to initialize audio driver 'sdl:aalib'
Could not open/initialize audio device -> no sound.
Audio: no sound
Video: no video
Exiting... (End of file)
user@server$
logfile :
- Code: Select all
[4/29/11 1:50:34 PM CEST] INFO PlaylistInputStream admin listening to "music/dnb.m3u"
[4/29/11 1:50:34 PM CEST] DEBUG TranscodeInputStream Starting transcoder: [/var/subsonic/transcode/mpstream] [/transfert/music/dnb.m3u]
[4/29/11 1:50:34 PM CEST] DEBUG InputStreamReaderThread (/var/subsonic/transcode/mpstream) mplayer: could not connect to socket
[4/29/11 1:50:34 PM CEST] DEBUG InputStreamReaderThread (/var/subsonic/transcode/mpstream) mplayer: No such file or directory
[4/29/11 1:50:35 PM CEST] DEBUG InputStreamReaderThread (/var/subsonic/transcode/mpstream) mpg123: Can't rewind stream by 726 bits!
any ideas ?
edit: i've already do the
- Code: Select all
echo "nolirc=yes" >> ~/.mplayer/config
