mirror of
https://github.com/9001/copyparty.git
synced 2025-08-18 01:22:13 -06:00
and audio seekpoints got floored to ints
This commit is contained in:
parent
d6794955a4
commit
2270c8737a
|
@ -2511,9 +2511,9 @@ function scan_hash(v) {
|
||||||
ts = null;
|
ts = null;
|
||||||
|
|
||||||
if (m.length > 3) {
|
if (m.length > 3) {
|
||||||
var tm = /^&[Tt=0]*([0-9]+[Mm:])?0*([0-9]+)[Ss]?$/.exec(m[3]);
|
var tm = /^&[Tt=0]*([0-9]+[Mm:])?0*([0-9\.]+)[Ss]?$/.exec(m[3]);
|
||||||
if (tm) {
|
if (tm) {
|
||||||
ts = parseInt(tm[1] || 0) * 60 + parseInt(tm[2] || 0);
|
ts = parseInt(tm[1] || 0) * 60 + parseFloat(tm[2] || 0);
|
||||||
}
|
}
|
||||||
tm = /^&[Tt=0]*([0-9\.]+)-([0-9\.]+)$/.exec(m[3]);
|
tm = /^&[Tt=0]*([0-9\.]+)-([0-9\.]+)$/.exec(m[3]);
|
||||||
if (tm) {
|
if (tm) {
|
||||||
|
|
Loading…
Reference in a new issue