Bug #2512

canonicalUrl supplied via videoparams wont work in duktape mode

Added by Leonid Protasov over 8 years ago. Updated over 8 years ago.

Status:FixedStart date:01/23/2015
Priority:HighDue date:
Assignee:Andreas Smas% Done:


Category:Ecmascript & Duktape
Target version:4.10
Found in version:4.9.93 Platform:Linux


Try baskino plugin for example. Play something and you will see that pos is not shown at the item duration. Works properly on js.

Associated revisions

Revision ba04c9c5
Added by Andreas Smas over 8 years ago

ecmascript/page.js: Fix typo when parsing videoparams in page.appendItem

Fixes #2512


#1 Updated by Andreas Smas over 8 years ago

  • Status changed from New to Need feedback

I browse


The first item addes has URL


So no canonicalUrl present

But when playing, it plays:

vp [DEBUG]: Playing 'videoparams:{"title":"Джон Уик | John Wick","imdbid":"tt2911666","sources":[{"url":"hls:http://moonwalk.cc/video/57bb9c3534e7aa77/index.m3u8"}]}', primary

So the metadata gets bound to:


Thus, there is a mismatch for the kvstore..

As can be seen when turning on kvstore debug:

Keys are read from

kvstore         [DEBUG]: GET DB url=baskino:indexURL:http%3A//baskino.com/actors/%25CA%25E8%25E0%25ED%25F3+%25D0%25E8%25E2%25E7/ key=restartposition domain=1 value=UNSET

after exiting video keys are written to:

kvstore         [DEBUG]: SET DB url=hls:http://moonwalk.cc/video/57bb9c3534e7aa77/index.m3u8 key=restartposition domain=1 value=216734 rc=0

I think this is a bug in the plugin somehow.

#2 Updated by Leonid Protasov over 8 years ago

I'm sorry, that's true the bug is in plugin. But if you try multifile videos in liveleak plugin - the bug is there.


#3 Updated by Andreas Smas over 8 years ago

  • Status changed from Need feedback to Fixed
  • % Done changed from 0 to 100

Also available in: Atom PDF