MinimServer Forum
Can’t record stream - Java error - Printable Version

+- MinimServer Forum (https://forum.minimserver.com)
+-- Forum: MinimServer (/forumdisplay.php?fid=1)
+--- Forum: MinimStreamer (/forumdisplay.php?fid=11)
+--- Thread: Can’t record stream - Java error (/showthread.php?tid=3032)



Can’t record stream - Java error - Leixuros - 02-04-2016 10:45

When I try to use a scheduled recording, I get just an Java error and that’s it. The log file reads:

MinimStreamer: scheduled recording task rbb+1142-1143
Chain: error starting chain
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
at java.lang.String.charAt(String.java:658)
at org.jstreamer.lib.HTTPSource.doStart(HTTPSource.java:164)
at org.jstreamer.lib.HTTPSource.start(HTTPSource.java:90)
at org.jstreamer.core.ChainSource.start(ChainSource.java:46)
at org.jstreamer.core.ChainImpl.startLinks(ChainImpl.java:79)
at org.jstreamer.core.ChainImpl.start(ChainImpl.java:55)
at com.minimstreamer.Streamer$Recorder$Recording.start(Streamer.java:1915)
at com.minimstreamer.Streamer$Recorder$Recording$1.runAsync(Streamer.java:1809)
at com.minimstreamer.Streamer$TimerTaskAsync$1.run(Streamer.java:1425)
MinimStreamer: recording task rbb+1142-1143 has completed
MinimStreamer: removed recording task rbb+1142-1143


What does it mean? I get the same result when I try to record the stream directly. I can listen to it without problems.


RE: Can’t record stream - Java error - simoncn - 02-04-2016 11:10

What is the URL for the 'rbb' stream that you are trying to record?


RE: Can’t record stream - Java error - Leixuros - 02-04-2016 11:45

Thank you for quick your reply. In the meantime I found out that this is the problem. They provide two URLs. One is suited for playing the stream via Minim Streamer, the other one for recoding via Minim Streamer. That’s really strange, but now I know that recording with Minim Streamer works quite well.

Just one more question: Is it possible to specify the date for the recording? If I want to record something tomorrow, can I program this today?


RE: Can’t record stream - Java error - simoncn - 02-04-2016 12:34

(02-04-2016 11:45)Leixuros Wrote:  Thank you for quick your reply. In the meantime I found out that this is the problem. They provide two URLs. One is suited for playing the stream via Minim Streamer, the other one for recoding via Minim Streamer. That’s really strange, but now I know that recording with Minim Streamer works quite well.

Just one more question: Is it possible to specify the date for the recording? If I want to record something tomorrow, can I program this today?

Please post both URLs. I would like to fix the problem and I need the failing URL to do this. Many thanks!

At present, it isn't possible to specify a future date. You can program a recording for tomorrow if ithe start time is less than 24 hours ahead of the current time. For example, if the current time is 1400 and you program the recording to start at 1300, it will start at 1300 tomorrow.


RE: Can’t record stream - Java error - Leixuros - 02-04-2016 13:33

I can play but not record the stream with this URL:
http://www.kulturradio.de/live.m3u

I can record but not play it with this URL:
http://rbb-mp3-kulturradio-m.akacast.akamaistream.net/7/935/292095/v1/gnl.akacast.akamaistream.net/rbb_mp3_kulturradio_m

For me this is a miracle. Wink


RE: Can’t record stream - Java error - simoncn - 02-04-2016 14:09

(02-04-2016 13:33)Leixuros Wrote:  I can play but not record the stream with this URL:
http://www.kulturradio.de/live.m3u

I can record but not play it with this URL:
http://rbb-mp3-kulturradio-m.akacast.akamaistream.net/7/935/292095/v1/gnl.akacast.akamaistream.net/rbb_mp3_kulturradio_m

For me this is a miracle. Wink

Thanks very much!

I have tried both these streams using MinimStreamer.

The first doesn't play or record for me. I have found the problem and I will fix it in the next MinimStreamer update.

The second plays and records for me. I am not sure why you aren't able to record this stream.


RE: Can’t record stream - Java error - simoncn - 18-04-2016 22:31

(02-04-2016 14:09)simoncn Wrote:  The first doesn't play or record for me. I have found the problem and I will fix it in the next MinimStreamer update.

This problem is now fixed in MinimStreamer 0.5.24. Thanks for reporting the problem and helping me find the cause.