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
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#11
2009-01-26, 05:53 AM
jasonbs10 Wrote: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.
The SelectedItem() callback happens if the active selection in the list moves to a different item (whether mouse click or keyboard/remote event).

Quote: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)?
I'm not sure what you mean. The selected item in the list is always visible, so the list will automatically scroll to show a new set of items if it needs to for the active selection to remain visible.
jasonbs10
Offline

Member

Posts: 104
Threads: 4
Joined: Mar 2008
#12
2009-01-26, 06:17 AM
I'll double check my log output for the first problem - it's unlikely that I would be the first one to notice a problem here.

To hopefully clarify, if I scroll down a few pages and then start pressing 'up', the highlight remains on the bottom-most item. When the first page of items is reached, the highlight will then move up until it meets the first entry. The default Video/Music Plugin behavior is to always have the highlight move to the top of the screen before changing which items are actually on screen.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#13
2009-01-26, 06:22 AM
jasonbs10 Wrote:To hopefully clarify, if I scroll down a few pages and then start pressing 'up', the highlight remains on the bottom-most item. When the first page of items is reached, the highlight will then move up until it meets the first entry. The default Video/Music Plugin behavior is to always have the highlight move to the top of the screen before changing which items are actually on screen.
Sounds like maybe you're not giving the uiList a chance to rerender. Maybe also need call uiList.needsRendering() in your plugin's needsRendering().
jasonbs10
Offline

Member

Posts: 104
Threads: 4
Joined: Mar 2008
#14
2009-01-26, 01:06 PM
Yup, your first hint fixed both problems. Thanks sub.
jwb5463
Offline

Junior Member

Posts: 20
Threads: 5
Joined: Jan 2009
#15
2009-01-28, 10:59 AM
Is there an equivalent of
<ShowDeleteInVideoLibrary>false</ShowDeleteInVideoLibrary>

or any other way to remove the Delete menu option?
jasonbs10
Offline

Member

Posts: 104
Threads: 4
Joined: Mar 2008
#16
2009-01-28, 01:37 PM
I forgot about that option as well as <ConfirmDeleteInVideoLibrary> in the first release. I decided to rewrite most of the code but it should be ready to upload by this weekend.
jasonbs10
Offline

Member

Posts: 104
Threads: 4
Joined: Mar 2008
#17
2009-02-02, 02:59 AM (This post was last modified: 2009-02-06, 01:43 PM by jasonbs10.)
The latest version is attached. I'll wait a bit for bug reports then add a basic wiki page and create a new post in the Plugins forum.

Changes include:

* Dependencies changed so .net 2.0 is now sufficient.
*
* Remembers the on-screen location of selected items when backing
* out of directories. Also remembers after shuffle, delete, etc.
*
* Refreshes directory contents once every few seconds.
stustunz
Offline

Posting Freak

Posts: 5,111
Threads: 112
Joined: Oct 2006
#18
2009-02-02, 03:36 AM
one thing i noticed is that i use a usb hard drive and when thats not plugged in a get the big red_X on the screen like you do on a client machine when it cant find the server
jasonbs10
Offline

Member

Posts: 104
Threads: 4
Joined: Mar 2008
#19
2009-02-02, 04:10 AM
Was there anything obvious in the logs? I'm not sure what would cause the red_X vs just quitting back the the main menu when an error is encountered. In any case, there aren't any checks for the top-level paths coming from config.xml. What does "/settings/VideoLibraryDirectory" look like for you?
jasonbs10
Offline

Member

Posts: 104
Threads: 4
Joined: Mar 2008
#20
2009-02-02, 04:47 AM (This post was last modified: 2009-02-06, 01:45 PM by jasonbs10.)
Try this dll when you get the chance.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

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


Possibly Related Threads…
Thread Author Replies Views Last Post
  Video streaming URL and parameters? cncb 1 1,935 2021-10-22, 06:58 PM
Last Post: sub
  Extras device - using hardware video encoder gdogg371 6 3,408 2021-03-09, 12:18 AM
Last Post: gdogg371
  Loading Local Video Files Syler 25 6,989 2021-03-07, 09:20 PM
Last Post: Syler
  Resuming a video imilne 28 15,095 2016-10-30, 09:27 PM
Last Post: mvallevand
  How to tell when video playback has finished in web client? cncb 6 4,392 2015-09-29, 08:07 PM
Last Post: cncb
  VIdeo playback from plugin mvallevand 5 3,635 2015-08-06, 10:43 PM
Last Post: sub
  Inset Video - Stop mvallevand 2 2,139 2013-08-07, 09:57 PM
Last Post: mvallevand
  Video Library Fanart Transparency tieke 7 4,048 2013-01-09, 08:23 AM
Last Post: tieke
  NMT Video Playback - does it receive start/stop events psycik 8 3,546 2012-07-15, 10:01 PM
Last Post: mvallevand
  Resume or Restart dialog for video psycik 6 3,148 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