NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 2 3 4 5 6 … 93 Next »
Resuming a video

 
  • 0 Vote(s) - 0 Average
Resuming a video
cncb
Offline

Senior Member

Posts: 729
Threads: 112
Joined: Aug 2011
#11
2015-09-23, 09:44 PM
Can you only use this method when running in the web client because I can't get it to work when running in NPVR? I assume "position" is supposed to be number of seconds (integer)?
My Plugins: PhotoFilter, MusicMonkey, Windows Desktop Gadget
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#12
2015-09-23, 09:48 PM
It'll also work with plugins running in NPVR. Yes, it's a number of seconds.
cncb
Offline

Senior Member

Posts: 729
Threads: 112
Joined: Aug 2011
#13
2015-09-26, 02:06 PM
Is there any more metadata that can be passed on to Kodi? For example, the title of the video, thumbnail, etc. so it can be displayed in the Kodi OSD during playback?
My Plugins: PhotoFilter, MusicMonkey, Windows Desktop Gadget
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,767
Threads: 954
Joined: May 2006
#14
2015-09-26, 10:07 PM
cncb Wrote:Resume from the Recordings list popup works from the web client so is it using something special?


My personal implementation of webclient specifically gets and set the resume points

cncb Wrote:Is there any more metadata that can be passed on to Kodi? For example, the title of the video, thumbnail, etc. so it can be displayed in the Kodi OSD during playback?

In what context do you want to use this?

Martin
cncb
Offline

Senior Member

Posts: 729
Threads: 112
Joined: Aug 2011
#15
2015-09-26, 10:24 PM
mvallevand Wrote:In what context do you want to use this?

My plugin plays an MKV file via PlayVideoFile(). The Kodi OSD just shows "title" and a blank thumbnail during playback so I was hoping there might be a way to pass this metadata for the OSD the same way you can pass the resume point.
My Plugins: PhotoFilter, MusicMonkey, Windows Desktop Gadget
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,767
Threads: 954
Joined: May 2006
#16
2015-09-26, 11:41 PM
It wouldn't be too hard to extend x-newa's interface to Kodi JSON to scan a movie library subfolder before playback.

Martin
cncb
Offline

Senior Member

Posts: 729
Threads: 112
Joined: Aug 2011
#17
2015-09-26, 11:57 PM
I already have all the metadata so is it not possible to pass this information on to the Kodi player for the current file temporarily without a scan? It seems that is what X-Newa does for TV recordings?
My Plugins: PhotoFilter, MusicMonkey, Windows Desktop Gadget
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,767
Threads: 954
Joined: May 2006
#18
2015-09-27, 01:19 AM
cncb Wrote:I already have all the metadata so is it not possible to pass this information on to the Kodi player for the current file temporarily without a scan? It seems that is what X-Newa does for TV recordings?

Again as in my earlier post sub would have to make a change for me to get the needed data.

Martin
cncb
Offline

Senior Member

Posts: 729
Threads: 112
Joined: Aug 2011
#19
2016-10-30, 03:10 PM
sub, it would be great if I could send at least the title to Kodi. Any chance you could add this maybe using the same mechanism as the resume point? Thanks.
My Plugins: PhotoFilter, MusicMonkey, Windows Desktop Gadget
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#20
2016-10-30, 04:38 PM
I'm not sure exactly what you're asking for.

When you play a recording via Kodi webclient, it's already passing the title, subtitle, description.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): « Previous 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Video streaming URL and parameters? cncb 1 1,758 2021-10-22, 06:58 PM
Last Post: sub
  Extras device - using hardware video encoder gdogg371 6 3,143 2021-03-09, 12:18 AM
Last Post: gdogg371
  Loading Local Video Files Syler 25 6,326 2021-03-07, 09:20 PM
Last Post: Syler
  How to tell when video playback has finished in web client? cncb 6 4,200 2015-09-29, 08:07 PM
Last Post: cncb
  VIdeo playback from plugin mvallevand 5 3,420 2015-08-06, 10:43 PM
Last Post: sub
  Inset Video - Stop mvallevand 2 2,050 2013-08-07, 09:57 PM
Last Post: mvallevand
  Video Library Fanart Transparency tieke 7 3,846 2013-01-09, 08:23 AM
Last Post: tieke
  NMT Video Playback - does it receive start/stop events psycik 8 3,356 2012-07-15, 10:01 PM
Last Post: mvallevand
  Resume or Restart dialog for video psycik 6 2,970 2011-12-22, 02:52 AM
Last Post: mvallevand
  sample video overlay plugin source code? reven 2 2,325 2011-10-03, 12:42 AM
Last Post: reven

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode