NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 24 25 26 27 28 … 93 Next »
Video Library clone

 
  • 0 Vote(s) - 0 Average
Video Library clone
jasonbs10
Offline

Member

Posts: 104
Threads: 4
Joined: Mar 2008
#1
2009-01-07, 07:03 AM (This post was last modified: 2009-02-06, 01:48 PM by jasonbs10.)
http://gbpvr.com/pmwiki/pmwiki.php/Plugin/VideosLibrary


I finished cloning the Video Library plugin to my satisfaction. Do I need a wiki account to make it available for src/binary distribution? At the very least, I'll probably post it here tomorrow.

Icons still need to be implemented [by someone] since I don't use them all that much. Are the @thumbnail, @previewImage, and @folderPreviewImage properties supposed to work automatically when subclassing BaseButtonListUiTask or must they be implemented manually using GBPVRUiElement?

Sub, is there any possibility of changing the behavior for storing playback position? Right now it doesn't seem to store position unless a video has been stopped during playback. It would be useful to always store info and make position=(-1|length) or something like that to indicate that playback finished.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,676
Threads: 767
Joined: Nov 2003
#2
2009-01-07, 02:47 PM
You'd need to PM blader_se to get a wiki account.

Quote:Sub, is there any possibility of changing the behavior for storing playback position? Right now it doesn't seem to store position unless a video has been stopped during playback. It would be useful to always store info and make position=(-1|length) or something like that to indicate that playback finished.
Ok, I'll try and add this for the next release.
jasonbs10
Offline

Member

Posts: 104
Threads: 4
Joined: Mar 2008
#3
2009-01-08, 03:59 AM (This post was last modified: 2009-02-06, 01:46 PM by jasonbs10.)
The code is slightly disorganized right now, but here it is anyway (dll and skin included). Comments welcome.

/* New Features:
*
* Create a text file called "gbpvr.link" with one path per line
* to merge the contents of other directories with the current one.
*
* Watched files will appear with a gray font. For now, watched
* means that a video is in the database with position > 10 seconds.
*
* Delete shows what's being deleted when prompting for confirmation.
*
* Faster browsing of large directories over the network.
*
*/
jwb5463
Offline

Junior Member

Posts: 20
Threads: 5
Joined: Jan 2009
#4
2009-01-23, 01:47 PM
Very useful plugin thanks.

Only had a quick play so far, but it mostly works great.
Sometimes doesn't flag a file as watched if I've used IntelliRemote to run it, and doesn't seem to work at all from my Vista 64 client.
No problems at all on the WinXP server though.

I'll do some digging and see if I can spot any causes.
jasonbs10
Offline

Member

Posts: 104
Threads: 4
Joined: Mar 2008
#5
2009-01-23, 08:16 PM
I think that IntelliRemote is a red herring. Until sub changes how things are logged in the database, a show will only become 'watched' if it has been manually stopped at some point during playback (as things are written now). The other problem likely relates to Vista's "compatibility files". The plugin could be using one database while changes are being made to a distinct copy.

I've since made several fixes and added support for thumbnails but I'll wait on uploading a new version until I can optimize things sufficiently.

Sub, is it enough for new plugins to be compatible with Blue or should they also be developed against Slick (and CommunitySkin)?
Fatman_do
Offline

Posting Freak

Posts: 3,482
Threads: 95
Joined: Nov 2005
#6
2009-01-23, 10:35 PM
Blue is the only requirement, the others are optional.
Fatman_do
[SIZE="1"]
HTPC: AMD XP+2500, 512MB DDR (400) ~ Capture Device: Hauppage PVR-150
Storage: 30GB OS & Recording, 160GB Post Processing & Archive
Video Output: HD 32" TV via eVGA Geforce 6200le 256MB AGP DVI-HDMI cable out
Audio Output: Turtle Beach Riviera S/PDIF Optic Output (Digital pass thru only) to Home Theater Receiver[/SIZE]

[SIZE="2"]
Moderator | Tutorials | Community Skin | CommunitySkin-SVN[/SIZE]
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#7
2009-01-24, 12:17 AM
i'm getting error, does it require .net 3.5?

Quote:System.IO.FileNotFoundException: Could not load file or assembly 'System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified.
File name: 'System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
at VideosLibraryPlugin.VideosLibrary.PopulateListWidget()
at VideosLibraryPlugin.VideosLibrary.GetRenderList()
at GBPVRX2.MenuTask.x9006c1ed9ccb79de.GetRenderList()
at GBPVRX2.x0061b801bdf12d35.xdb012c437aec4a40(Boolean xd23bf32f3b17e3be)
at GBPVRX2.x0061b801bdf12d35.xf11d09f6e9e3e55b()
at GBPVRX2.xdd215986d9a64c86.ReturnToMainMenu()
at GBPVRX2.x0061b801bdf12d35.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
jasonbs10
Offline

Member

Posts: 104
Threads: 4
Joined: Mar 2008
#8
2009-01-24, 01:06 AM
I compiled with 3.5 and I'm using version specific stuff like System.Linq. Someone else may have to answer what the means for system requirements but I don't normally have problems installing the latest updates for stuff like this.
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#9
2009-01-24, 02:19 AM
yea, i only had 3.0 installed there...
recording a 3 hr show so will have to wait to reboot...Big Grin
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
jasonbs10
Offline

Member

Posts: 104
Threads: 4
Joined: Mar 2008
#10
2009-01-26, 04:24 AM
Is "BaseButtonListUiTask.SelectedItem(Object o)" et al supposed to return the zeroth item on mouse movement? I'd like to know when a new item is selected by keyboard/mouse but this function appears to produce extraneous callbacks. I could go back to what I was doing before but it wasn't very clean.

Also, I don't see a simple way to have the selected list item stay within a 'viewport' until the user scrolls to the top/bottom and has to display previously offscreen items. How is this done in other plugins (using the aforementioned base class)?
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (5): 1 2 3 4 5 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Video streaming URL and parameters? cncb 1 1,794 2021-10-22, 06:58 PM
Last Post: sub
  Extras device - using hardware video encoder gdogg371 6 3,222 2021-03-09, 12:18 AM
Last Post: gdogg371
  Loading Local Video Files Syler 25 6,451 2021-03-07, 09:20 PM
Last Post: Syler
  Resuming a video imilne 28 14,458 2016-10-30, 09:27 PM
Last Post: mvallevand
  How to tell when video playback has finished in web client? cncb 6 4,228 2015-09-29, 08:07 PM
Last Post: cncb
  VIdeo playback from plugin mvallevand 5 3,447 2015-08-06, 10:43 PM
Last Post: sub
  Inset Video - Stop mvallevand 2 2,066 2013-08-07, 09:57 PM
Last Post: mvallevand
  Video Library Fanart Transparency tieke 7 3,877 2013-01-09, 08:23 AM
Last Post: tieke
  NMT Video Playback - does it receive start/stop events psycik 8 3,373 2012-07-15, 10:01 PM
Last Post: mvallevand
  Resume or Restart dialog for video psycik 6 2,991 2011-12-22, 02:52 AM
Last Post: mvallevand

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

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

Linear Mode
Threaded Mode