Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can’t record stream - Java error
02-04-2016, 10:45 (This post was last modified: 02-04-2016 10:47 by Leixuros.)
Post: #1
Can’t record stream - Java error
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.
Find all posts by this user
Quote this message in a reply
02-04-2016, 11:10
Post: #2
RE: Can’t record stream - Java error
What is the URL for the 'rbb' stream that you are trying to record?
Find all posts by this user
Quote this message in a reply
02-04-2016, 11:45 (This post was last modified: 02-04-2016 11:46 by Leixuros.)
Post: #3
RE: Can’t record stream - Java error
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?
Find all posts by this user
Quote this message in a reply
02-04-2016, 12:34
Post: #4
RE: Can’t record stream - Java error
(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.
Find all posts by this user
Quote this message in a reply
02-04-2016, 13:33
Post: #5
RE: Can’t record stream - Java error
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.aka...turradio_m

For me this is a miracle. Wink
Find all posts by this user
Quote this message in a reply
02-04-2016, 14:09
Post: #6
RE: Can’t record stream - Java error
(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.aka...turradio_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.
Find all posts by this user
Quote this message in a reply
18-04-2016, 22:31
Post: #7
RE: Can’t record stream - Java error
(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.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)