NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 27 28 29 30 31 … 93 Next »
Common Music/Video Inset?

 
  • 0 Vote(s) - 0 Average
Common Music/Video Inset?
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#1
2008-12-08, 08:39 PM
i was wondering if there is a common inset used between plugins to display the current playing music track etc?

if not anyone interested in creating one (ill do it if theres enough interest).

basically i want it to do/be
- open source
- for music, show album art, artist, album, song, composer, duration, playback position, playstate (pause, play, fastforward (if possibe)).
- for video (not sure if video insets still work in PVRX2, if not this would be future development when/if sub adds it), video inset, title, subtitle, duration, playback position, playstate, is currently recording
- if nothing is playing, just show helpful popup information like things currently recording, how much room left for recordings (in hours/minutes or diskspace), weather? (this would make it dependent on the weather plugin, so dont really want to do it that way... maybe a plugin architecture to do this)
- common skin, the skin would be under Skins2\CommonInset(or whatever its called)\skin.xml, then the inset will appear in the exact same position no matter what plugin you're using (i don't want it bouncing all over the screen)

for plugins to use it, just reference the dll, and add it in the render method.

thoughts/comments/already done?
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#2
2008-12-08, 09:03 PM
Where is this to be displayed??

There's the MLPanel taken over by actcms and jaggy that displays album art etc. But these display as a screen saver.

Panels haven't yet made a return (I don't think) if that's what you are after.
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#3
2008-12-08, 10:03 PM
i was thinking along the lines of this
[Image: screenshots12.jpg]

so bottom left of the screen by default, but skinner could obviously place it anywhere they want.

i basically had this in my plugins back in day, but was hoping to have it more community based and available in every plugin that supported it (and make it extremely easy to support it)
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#4
2008-12-08, 10:34 PM
So is the idea that the getRenderList() method would call a function in this DLL to return the objects associated with the currently playing item?

The plugin developer would only have to include this call, and the appropriate skin definitions to take advantage of the feature. Right?
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#5
2008-12-08, 11:44 PM
JavaWiz Wrote:So is the idea that the getRenderList() method would call a function in this DLL to return the objects associated with the currently playing item?

The plugin developer would only have to include this call, and the appropriate skin definitions to take advantage of the feature. Right?

i was thinking along the lines of this
Code:
ArrayList RenderList = new ArrayList();
// plugins own rendering code
// at the very end
InformationInset.Render(RenderList);
so just pass a reference to the arraylist you're already using.

and that should probably be the only call needed, the skin will be handled automatically in the InformationInset class. and making a static call will then only require the reference, and the call to render in each plugins getRenderList() method.

so extremely easy for a plugin to use it.
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#6
2008-12-09, 01:36 AM
I think this is a great idea for a piece of common functionality. I have kind of stalled on setting up an open source project for much of my code due to work and personal commitments.

I hope to get it started soon though and I think this functionality would be a welcome addition to the tools.
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#7
2008-12-09, 02:29 AM
ok sounds like it doesnt already exist. ill start working on it parallel to my videos, i welcome any suggestions etc. ill shove the code up and make it available through svn, probably on SF or CodePlex (havent used either so any suggestions?)
Fatman_do
Offline

Posting Freak

Posts: 3,482
Threads: 95
Joined: Nov 2005
#8
2008-12-09, 02:47 AM
psycik Wrote:Where is this to be displayed??

There's the MLPanel taken over by actcms and jaggy that displays album art etc. But these display as a screen saver.

Panels haven't yet made a return (I don't think) if that's what you are after.

I may not be thinking the same thing as what you are talking about, but you will find a \Panels folder under Blue and the CommunitySkin, possibly in others as well. They then are defined in the main menu's skin.xml file.
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]
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#9
2008-12-09, 02:54 AM
Fatman_do Wrote:I may not be thinking the same thing as what you are talking about, but you will find a \Panels folder under Blue and the CommunitySkin, possibly in others as well. They then are defined in the main menu's skin.xml file.

Very likely, I never looked in to panels and I didn't really need them..

And it sounds like that was different to what reven was discussing anyway..
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#10
2008-12-09, 03:16 AM
reven Wrote:ok sounds like it doesnt already exist. ill start working on it parallel to my videos, i welcome any suggestions etc. ill shove the code up and make it available through svn, probably on SF or CodePlex (havent used either so any suggestions?)
I have been looking at both of those hosting sites as well as google code. Seems like SourceForge is the most versatile. My stumbling block so far has been determining which open source license makes the most sense. There has been a discussion going on in this thread about which path to take...
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Video streaming URL and parameters? cncb 1 1,783 2021-10-22, 06:58 PM
Last Post: sub
  Extras device - using hardware video encoder gdogg371 6 3,200 2021-03-09, 12:18 AM
Last Post: gdogg371
  Loading Local Video Files Syler 25 6,414 2021-03-07, 09:20 PM
Last Post: Syler
  Resuming a video imilne 28 14,420 2016-10-30, 09:27 PM
Last Post: mvallevand
  How to tell when video playback has finished in web client? cncb 6 4,217 2015-09-29, 08:07 PM
Last Post: cncb
  VIdeo playback from plugin mvallevand 5 3,434 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
  Accessing music file metadata in C# bgowland 6 3,270 2013-01-26, 05:14 AM
Last Post: bgowland
  Video Library Fanart Transparency tieke 7 3,870 2013-01-09, 08:23 AM
Last Post: tieke
  NMT Video Playback - does it receive start/stop events psycik 8 3,367 2012-07-15, 10:01 PM
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