Skip to content

Commit

Permalink
Detection des sons non playable : on skip au suivant si un son n'a pa…
Browse files Browse the repository at this point in the history
…s demarre au bout de 5s
  • Loading branch information
Cerdic committed Jul 28, 2018
1 parent 62075e8 commit be7f6f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion squelettes/javascript/pouetradio.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ function scroll_sound(soundlink) {
function check_sound_playing() {
var playing = jQuery('a.playing');
// si on est playing c'est que le son est bon on peut annuler le watching
if (timeoutBadSound) {
if (timeoutBadSound && !player.paused) {
console.log('check_sound_playing, cancel watch_if_playable_sound');
clearTimeout(timeoutBadSound);
timeoutBadSound = null;
Expand Down
2 changes: 1 addition & 1 deletion squelettes/mes_options.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

define('_POUET_RADIO_VERSION','0.9.1');
define('_POUET_RADIO_VERSION','0.9.2');
define('_DIR_PLUGINS_SUPPL',_DIR_RACINE . 'squelettes/plugins/');


Expand Down

0 comments on commit be7f6f0

Please sign in to comment.