NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 26 27 28 29 30 … 93 Next »
pluginhelper.playvideofile(title,description,filen ame, float position) ??

 
  • 0 Vote(s) - 0 Average
pluginhelper.playvideofile(title,description,filen ame, float position) ??
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#1
2009-01-11, 09:13 AM
hey sub,

is there any chance you can add the ability to start playing a video file at a given position ?

i want to add the ability to "resume" or "start" to my plugin, and want to store the playback position (what gbpvr stores in its database) in my database, so i can stop a movie in one room and resume it in another (my database is shared between all computers, but the gbpvr one is not)
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,677
Threads: 767
Joined: Nov 2003
#2
2009-01-11, 05:39 PM
Ok, I've added this for the next release. I've also updated the VideoStopping event notification to pass the playback position and video duration.
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#3
2009-01-11, 06:48 PM
cool, cheers sub
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#4
2009-01-12, 06:12 AM
sub all works well, except if you pass in a value of "0" it prompts for resume (the only way i can avoid this is to pass in 1 second) - im trying to bypass that prompt (never liked how the video starts and you see a split second then it pops up asking you to resume (understand why it works this way, but always sort of bugged me)
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,677
Threads: 767
Joined: Nov 2003
#5
2009-01-12, 06:21 AM
You might have to pass 1 or -1 to it.
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#6
2009-01-12, 08:52 AM
cheers -1 did the trick
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  PluginHelper.SetPlayerMetaData(Hashtable args) not working alibert 12 4,623 2011-01-23, 05:33 PM
Last Post: sub
  PluginHelper.GetSkinRootDirectory(); returns "skin" and not "skin2" reven 6 2,463 2009-02-11, 03:15 PM
Last Post: sub
  PlayVideoFile() using WMP? whurlston 2 1,417 2008-02-17, 04:48 AM
Last Post: whurlston
  Playback Position Revisited Ommina 4 1,765 2007-11-07, 05:59 AM
Last Post: Ommina
  Obtain Description for recording in database pastro 1 1,340 2007-09-19, 10:26 PM
Last Post: sub
  current position of playing video? reven 4 2,173 2007-09-15, 04:18 PM
Last Post: sub
  onkeydown = play, pluginHelper.IsPlaylistPaused() issue reven 2 1,756 2006-07-04, 09:28 PM
Last Post: reven
  Task Description Font Old Dog 5 2,320 2006-07-02, 06:27 PM
Last Post: sub
  pluginHelper.ReturnToMainMenu(); throws System.OutOfMemoryException: Out of memory. reven 6 2,572 2006-02-21, 08:13 PM
Last Post: reven
  Change task description text? 4zm4r3d02 8 3,038 2006-01-28, 10:58 AM
Last Post: MixMan

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

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

Linear Mode
Threaded Mode