Can a UK user of 1.4.5 try the following code change to fix the picking
the min / max rates.

in file DASH.pm about line 515 the code  - change the "*cmp*" to "*<=>*"
(change "bandwdith" sort criteria from text comparison to numeric
comparison)

Code:
--------------------
    
  #
  #  Choose a representation based on speed preference
  #
  
        if ($prefs->get( ($mpd_dynamic ? 'Dashspeed_live' : 'Dashspeed_aod') ) 
) {
                @reps = sort { $b->{'bandwidth'} <=> $a->{'bandwidth'}  } @reps;
        } else {
                @reps = sort { $a->{'bandwidth'} <=> $b->{'bandwidth'}  } @reps;
        }
  my $select_rep = $reps[0];
  
--------------------


------------------------------------------------------------------------
bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=104672

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to