Exrace wrote:Your subsonic error log might have some clues to why.
Maybe a track in your playlist is corrupted or causing the stream engine to die.
Thanks Exrace for your suggestions. It is much appreciated. I have spent a great deal of time trying to make Android streaming work correctly and encountered many problems:
1- Configuring the router and firewall
2- Streaming switching from WiFi to 3G - fixed by disabling 3G
3- Streaming playlist stopping after after a few songs - after a lot of tests I found out it was happening only when shuffling the playlist - still not solved.
Streaming works fine when not using playlists or when not shuffling playlists.
I don't think my problem it is due to a corrupted track since my playlists are quite large and it is only happening at the beginning, after a few minutes at the most, with shuffled playlists only. Also, I once got a message on my phone that a file was causing Subsonic to stop and I fixed it easily.
As to the Subsonic.log file, looking at it doesn't tell me much. May I ask you to look at it ? Here are the last lines:
[2010-12-25 10:33:21,109] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg) Stream mapping:
[2010-12-25 10:33:21,109] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg) Stream #0.0 -> #0.0
[2010-12-25 10:33:21,109] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg) Press [q] to stop encoding
[2010-12-25 10:33:21,109] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg) size= 1968kB time=11.42 bitrate=1411.2kbits/s
[2010-12-25 10:33:21,624] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg) size= 3976kB time=23.08 bitrate=1411.2kbits/s
[2010-12-25 10:33:22,139] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg) size= 6008kB time=34.88 bitrate=1411.2kbits/s
[2010-12-25 10:33:22,654] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg) size= 8248kB time=47.88 bitrate=1411.2kbits/s
[2010-12-25 10:33:23,168] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg) size= 10488kB time=60.88 bitrate=1411.2kbits/s
[2010-12-25 10:33:23,683] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg) size= 12672kB time=73.56 bitrate=1411.2kbits/s
[2010-12-25 10:33:24,198] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg) size= 14880kB time=86.38 bitrate=1411.2kbits/s
[2010-12-25 10:33:25,056] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg) size= 16264kB time=94.41 bitrate=1411.2kbits/s
[2010-12-25 10:33:25,571] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg) size= 18424kB time=106.95 bitrate=1411.2kbits/s
[2010-12-25 10:33:26,086] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg) size= 20680kB time=120.05 bitrate=1411.2kbits/s
[2010-12-25 10:33:26,600] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg) size= 22832kB time=132.54 bitrate=1411.2kbits/s
[2010-12-25 10:33:27,131] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg) size= 25088kB time=145.64 bitrate=1411.2kbits/s
[2010-12-25 10:33:27,349] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg) size= 26032kB time=151.12 bitrate=1411.2kbits/s
[2010-12-25 10:33:27,349] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)
[2010-12-25 10:33:27,349] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg) video:0kB audio:26032kB global headers:0kB muxing overhead 0.000165%
[2010-12-25 10:33:27,349] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\lame) LAME 3.98.4 32bits (
http://www.mp3dev.org/)
[2010-12-25 10:33:27,349] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\lame) CPU features: MMX (ASM used), SSE (ASM used), SSE2
[2010-12-25 10:33:27,349] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\lame) Using polyphase lowpass filter, transition band: 16538 Hz - 17071 Hz
[2010-12-25 10:33:27,349] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\lame) Encoding <stdin> to <stdout>
[2010-12-25 10:33:27,349] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\lame) Encoding as 44.1 kHz j-stereo MPEG-1 Layer III (11x) 128 kbps qval=3
[2010-12-25 10:33:30,610] INFO PlaylistInputStream - JulesG listening to "PV Oldies - Divers\Devil Or Angel-Bobby Vee.mp3"
[2010-12-25 10:35:51,649] INFO PlaylistInputStream - JulesG listening to "PV Best Of Love - The Biggest of History\Feelings - Morris Albert.mp3"
[2010-12-25 10:36:14,347] INFO PodcastService - Starting scheduled Podcast refresh.
[2010-12-25 10:36:14,347] INFO PodcastService - Completed scheduled Podcast refresh.
Other Extract - Port Forwarding Error ???
[2010-12-26 09:16:12,259] INFO PlaylistInputStream - JulesG listening to "PV Crooners - Divers\Eso Beso-Paul Anka.mp3"
[2010-12-26 09:16:17,358] INFO PlaylistInputStream - JulesG listening to "PV Julio Iglesias - Divers\Latin.mp3 // Note: Last file played
[2010-12-26 09:20:59,254] INFO PlaylistInputStream - JulesG listening to "PI Top 100 of Billboard Instrumental\Skokiaan - Ralph Marterie And His Orchestra.mp3"
[2010-12-26 09:32:34,336] DEBUG NetworkService - Starting PortForwardingTask
[2010-12-26 09:32:37,359] WARN NetworkService - Failed to create port forwarding for port 147.
net.sbbi.upnp.messages.UPNPResponseException: Detailed error code :402, Detailed error description :Invalid Argument
at net.sbbi.upnp.messages.ActionMessageResponseParser.startElement(ActionMessageResponseParser.java:145)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at net.sbbi.upnp.messages.ActionMessage.service(ActionMessage.java:172)
at net.sbbi.upnp.impls.InternetGatewayDevice.addPortMapping(InternetGatewayDevice.java:388)
at net.sourceforge.subsonic.domain.SBBIRouter.addPortMapping(SBBIRouter.java:57)
at net.sourceforge.subsonic.service.NetworkService$PortForwardingTask.execute(NetworkService.java:145)
at net.sourceforge.subsonic.service.NetworkService$Task.run(NetworkService.java:299)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknown Source)
at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Other Extract
[2010-12-26 09:38:12,529] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg) size= 26016kB time=151.02 bitrate=1411.2kbits/s
[2010-12-26 09:38:13,035] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg) size= 28808kB time=167.23 bitrate=1411.2kbits/s
[2010-12-26 09:38:13,517] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg) size= 31760kB time=184.37 bitrate=1411.2kbits/s
[2010-12-26 09:38:13,518] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg)
[2010-12-26 09:38:13,518] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\ffmpeg) video:0kB audio:31760kB global headers:0kB muxing overhead 0.000135%
Other Extract
[2010-12-26 10:00:22,390] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\lame) CPU features: MMX (ASM used), SSE (ASM used), SSE2
[2010-12-26 10:00:22,390] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\lame) Using polyphase lowpass filter, transition band: 16538 Hz - 17071 Hz
[2010-12-26 10:00:22,390] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\lame) Encoding <stdin> to <stdout>
[2010-12-26 10:00:22,390] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\lame) Encoding as 44.1 kHz j-stereo MPEG-1 Layer III (11x) 128 kbps qval=3
[2010-12-26 10:00:26,025] INFO PlaylistInputStream - JulesG listening to "CI Knud Vad - J S Bach Organ Concert\3- BWV 147 Choral 'Jesu Bleibet Meine Freude'.mp3"
[2010-12-26 10:00:31,329] INFO PlaylistInputStream - JulesG listening to "CI Orchestre Symphonique de Montréal - Saint-Saëns, Symphonie pour orgue\2- Allegro Moderato.mp3"
[2010-12-26 10:00:51,657] INFO PlaylistInputStream - JulesG listening to "CI Peter Hurford - Bach Organ Works\BMW 553 - Eight Short Preludes and Fugues - Preludio e Fuga in DO+-Peter Hurford.mp3"
[2010-12-26 10:08:36,327] INFO PlaylistInputStream - JulesG listening to "CI Knud Vad - J S Bach Organ Concert\4- BWV 594 Concerto in C Major.mp3"
Subsonic is a great app and others seem to be able to make it work correctly. I wish I was able to do the same since I invested a lot in creating this 60gb music database with a lot of playlists and it would be nice to be able to listen to it from my phone.
Best regards and have a Merry Christmas
Jules