Bug #2137

Race condition in icecast player on double clicking skip forward (All platforms)

Added by Leonid Protasov almost 7 years ago. Updated almost 7 years ago.

Status:FixedStart date:05/07/2014
Priority:HighDue date:
Assignee:Andreas Smas% Done:

100%

Category:Audio
Target version:4.6
Found in version:All (long staying) Platform:Linux

Description

To reproduce, open shoutcast plugin, and play any radio, then quickly change to the next and so on. You often get that race message. Looks like probing is still trying old stream while player switched to newly selected...

Radio [DEBUG]: http://yp.shoutcast.com/sbin/tunein-station.pls?id=102286 content-type: audio/x-scpls;charset=ISO-8859-1
Radio [DEBUG]: http://yp.shoutcast.com/sbin/tunein-station.pls?id=102286 is a .pls playlist based on content
libav [DEBUG]: Unable to find stream info using mimetype audio/mpeg, retrying with probe
Radio [ERROR]: Unable to open http://yp.shoutcast.com/sbin/tunein-station.pls?id=102286 -- Unable to probe file: Operation not permitted
Radio [DEBUG]: http://yp.shoutcast.com/sbin/tunein-station.pls?id=298757 content-type: audio/x-scpls;charset=ISO-8859-1
Radio [DEBUG]: http://yp.shoutcast.com/sbin/tunein-station.pls?id=298757 is a .pls playlist based on content
Radio [DEBUG]: Starting playback of http://188.165.129.245:8090
audio [DEBUG]: Codec changed to mp3 (0x15001)

Associated revisions

Revision f5902781
Added by Andreas Smas almost 7 years ago

icecast: Don't log streaming error if cancelled

Fixes #2137

Change included in version 4.5.391

History

#1 Updated by Leonid Protasov almost 7 years ago

Sometimes it just log Operation not permitted. So there are at least two points where the race condition occurs.

#2 Updated by Leonid Protasov almost 7 years ago

  • Subject changed from Race condition in icecast player (All platforms) to Race condition in icecast player on double clicking skip forward (All platforms)

To reproduce just load any music plugin. Start playing and press and hold skip forward button on the remote. Or double click skip forward. Log will flood with errors.

#3 Updated by Andreas Smas almost 7 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Also available in: Atom PDF