19 May '13 - 11:05 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Poll
Question: Why does Auto-reconnect not work on my PC
reinstalled 2 times - 0 (0%)
tried for several hours - 0 (0%)
Total Voters: 0

Pages: [1]
  Reply  |  Print  
Author Topic: Auto-reconnect  (Read 2110 times)
pfiffi51
Posts: 6


« on: 29 Oct '11 - 18:47 »
Reply with quoteQuote

Hi

I've installed XMPlay 3.6 recently and everything works fine.
I use it mostly for radiostreaming. In my country (Thailand) dsl connections
tend to break down several times a day. after an interruption, xmplay does not resume playing automatically, even if the option Auto-reconnect is checked.
what can I do?

thanks for helping me
Logged
Dotpitch
Posts: 2472


« Reply #1 on: 29 Oct '11 - 21:43 »
Reply with quoteQuote

This question should not be a poll.

If your connection breaks, how long does it take for it to be restored?

Auto-reconnect directly tries to reconnect when the stream fails. This is useful if the server is closing the connection, or when there's a temporal hiccup in the network path. If the connection is gone for too long though, XMPlay will mark the stream as dead, because the server doesn't respond at all. (Quick workaround in that case: add a backup audio file to the playlist, for example 30 seconds of silence, and set the playlist to loop.)
Logged
pfiffi51
Posts: 6


« Reply #2 on: 30 Oct '11 - 22:56 »
Reply with quoteQuote

Thanks Dotpitch
Your workaround patch works well in case the Lan-connection is interruptet. it doesn't
work in case of a dsl interruption; in that case XMPlay does not mark the connection as dead, but also does not resume streaming after the connection is reestablished.
stop and play manually resumes streaming immediatly, even if the adsl connection has been down for 1 hour.
sorry for doing wrong things (poll). I'm a rookie in forums and didn't find any other
possibility to place my question.
Logged
Dotpitch
Posts: 2472


« Reply #3 on: 31 Oct '11 - 16:18 »
Reply with quoteQuote

Could you post a screenshot of what XMPlay shows when the connection drops out? Have you unticked Options and stuff > Playlist > 'Stop at dead track' for the workaround?
Logged
pfiffi51
Posts: 6


« Reply #4 on: 2 Nov '11 - 01:48 »
Reply with quoteQuote

yes "stop at dead track" unticked.
noDSL1.jpg: screen after disconnection of dsl line. "quiet5.wav" is not played.
reDSL.jpg:   screen after reconnection of dsl line. streaming is not  auto resumed.
noLan.jpg:   screen after disconnection of Lan cable. "quiet5.wav" is looped until
                 reconnection of Lan cable, then streaming of url is auto resumed.

have a good day! Smiley

* noDSL1.jpg (159.52 KB - downloaded 132 times.)
* reDSL.jpg (159.62 KB - downloaded 129 times.)
* noLan.jpg (160.86 KB - downloaded 127 times.)
Logged
Dotpitch
Posts: 2472


« Reply #5 on: 2 Nov '11 - 06:23 »
Reply with quoteQuote

What network timeout (Options and stuff > Miscellaneous) did you set? If the DSL connection breaks, XMPlay should stop trying to buffer the stream after that interval and continue with the next file.
Logged
pfiffi51
Posts: 6


« Reply #6 on: 2 Nov '11 - 12:30 »
Reply with quoteQuote

my miscellaneous settings

* miscellaneous.jpg (186.11 KB - downloaded 120 times.)
* miscellaneous.jpg (186.11 KB - downloaded 120 times.)
Logged
Dotpitch
Posts: 2472


« Reply #7 on: 2 Nov '11 - 16:46 »
Reply with quoteQuote

I don't really need your whole desktop, just the number Wink.

I just tried it here, and workaround works as expected (XMPlay waits the timeout length you've set, then plays the backup file and tries again). However, the re-buffering timeout (with XMPlay being stuck at 0% as in your screenshot) seems to be unrelated to the network timeout setting. Ian, what's up with that? Also, do Windows Media streams use their own timeout?
Logged
Ian @ un4seen
Administrator
Posts: 15244


« Reply #8 on: 2 Nov '11 - 17:28 »
Reply with quoteQuote

That ("buffering... 0%") looks like XMPlay is unaware that the connection is down and is expecting more data to eventually arrive. The "Timeout" setting currently only applies to connecting, ie. when opening a stream. I'll look into extending it to cover receiving data too.
Logged
pfiffi51
Posts: 6


« Reply #9 on: 3 Nov '11 - 06:03 »
Reply with quoteQuote

thank you very much guys!
I'm waiting patiently for a possible solution.
Logged
Ian @ un4seen
Administrator
Posts: 15244


« Reply #10 on: 4 Nov '11 - 15:14 »
Reply with quoteQuote

Here's an update to try, in which the "Timeout" setting should also apply to receiving data, ie. the connection will be closed if nothing is received for that length of time...

   www.un4seen.com/stuff/xmplay.exe
Logged
pfiffi51
Posts: 6


« Reply #11 on: 6 Nov '11 - 09:07 »
Reply with quoteQuote

BINGO!! Gee, that was a very quick remedy! It works just perfect. Thank you so much Smiley

Compared to other hotlines and customer services (even paid for ones) your performance is outstanding. I'd like to not only thank you, but also make a donation to your project;
please let me know, how I can do that Kiss
Logged
Ian @ un4seen
Administrator
Posts: 15244


« Reply #12 on: 9 Nov '11 - 15:15 »
Reply with quoteQuote

Donations aren't currently accepted, but thanks for the offer Smiley
Logged
robertcollier4
Posts: 51


« Reply #13 on: 30 Dec '12 - 19:14 »
Reply with quoteQuote

Internet Streaming Timeout = Forever? (or 0)

I like to always have an internet stream playing on my laptop. I often put my laptop on standby when away from my desk for a period of time. When I take the laptop off of standby (even after a few hours) - it would be fantastic if the internet stream would still auto-retry and keep playing. What should happen is that it would play the 3 seconds or so in the buffer - then it would not be able to find the old network stream and it would try to reconnect the network stream.

So could Timeout=0 mean that XMPlay should retry the internet stream no matter how much time has elapsed? Keep trying forever.
Logged
Dotpitch
Posts: 2472


« Reply #14 on: 30 Dec '12 - 21:35 »
Reply with quoteQuote

When I take the laptop off of standby (even after a few hours) - it would be fantastic if the internet stream would still auto-retry and keep playing. What should happen is that it would play the 3 seconds or so in the buffer - then it would not be able to find the old network stream and it would try to reconnect the network stream.
What does XMPlay do now on your machine?

Btw, is your station locked before it goes into standby?
Logged
robertcollier4
Posts: 51


« Reply #15 on: 4 Jan '13 - 17:30 »
Reply with quoteQuote

What does XMPlay do now on your machine?
Btw, is your station locked before it goes into standby?

Right now - if I go into standby for a small period of time (less than a a few minutes) and then resume the laptop - it starts playing the stream again. However for anything longer, such as when I standby and resume after a few hours, it stays stuck at "buffering... 0%" in the time window.
No - I am not using Windows "Lock Computer" feature.
Logged
Dotpitch
Posts: 2472


« Reply #16 on: 5 Jan '13 - 14:53 »
Reply with quoteQuote

... if I go into standby for a small period of time (less than a a few minutes) and then resume the laptop - it starts playing the stream again. However for anything longer, such as when I standby and resume after a few hours, it stays stuck at "buffering... 0%" in the time window.
Is your (wireless?) network connection available directly when you come out of standby after a longer period, or does it take a couple of seconds?
Logged
robertcollier4
Posts: 51


« Reply #17 on: 5 Jan '13 - 15:44 »
Reply with quoteQuote

Is your (wireless?) network connection available directly when you come out of standby after a longer period, or does it take a couple of seconds?

I have my laptop on wired connection and even then it takes about 5 seconds to get a working internet connection again when I come out of standby for a long period of time (probably has to renew DHCP lease or re-negotiate with the router or something). So no, it isn't available directly coming out of standby. With WiFi it could even take up to about 10 seconds to get the internet connection again after standby - but I have my "Internet Streaming Timeout" set to 30 so I would figure this should cover a small period of network dropout.

I am currently using wired connection - and after standby - there is about 5 second wait to get network pings to work again. But after long period of standby with wired connection - XMPlay does not retry network stream and gets stuck at "buffering... 0%".

Basically it would be nice for XMPlay to just keep retrying the network stream over and over again unless I explicitly tell it to stop.

P.S. ("Stop at dead track" is already unchecked for me).
« Last Edit: 5 Jan '13 - 15:48 by robertcollier4 » Logged
Dotpitch
Posts: 2472


« Reply #18 on: 5 Jan '13 - 15:57 »
Reply with quoteQuote

What if you set your internet streaming buffer to 10 or 15 seconds? Then the auto-reconnect won't try to use your dead connection.
Logged
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.18 | SMF © 2013, Simple Machines