NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 18 19 20 21 22 … 93 Next »
nowplaying?

 
  • 0 Vote(s) - 0 Average
nowplaying?
nappysolo
Offline

Junior Member

Posts: 41
Threads: 4
Joined: Jan 2007
#1
2010-08-24, 11:03 PM
Getting my feet wet with plugin development by creating a little audio app. I can play audio files from my plugin, and "now playing" shows on the main menu and screen saver, but I have been unable to figure out how to make it appear on my plugin screen. I have browsed the libraries and all the code samples I could find, but nothing has jumped out at me. Is this a skin configuration item, or do I need to add something to my code? Can anyone point me in the right direction? Thanks.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#2
2010-08-24, 11:53 PM
The now playing info should appear automatically on all screens.

If you want to know the current song though, you can implement the IEventNotification interface, and call EventBus.AddListener(this), and you'll be notified of stuff like songs starting.
nappysolo
Offline

Junior Member

Posts: 41
Threads: 4
Joined: Jan 2007
#3
2010-08-25, 12:30 AM
Thanks for the quick response. The notification sounds like a nice feature, I'll take a closer look.

Still puzzled by "now playing", though, since you say it's supposed to be automatic. It shows on the main menu, and the native music library and net radio screens, but not on any other screens, including mine.

Something to do with Windows 7 X64 perhaps?
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,766
Threads: 954
Joined: May 2006
#4
2010-08-25, 12:37 AM
Sounds like you are writing for GB-PVR and not N-PVR

Martin
nappysolo
Offline

Junior Member

Posts: 41
Threads: 4
Joined: Jan 2007
#5
2010-08-25, 12:43 AM
Yes, that is correct. I started this project some months ago, and thought I would just finish it up before making the jump to NPVR and starting over. Is this a known limitation in GBPVR?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#6
2010-08-25, 12:53 AM
GBPVR only showed this stuff on the main menu by default, and plugins would need to explicitly add code to show 'now playing' info.

This all happens automatically in NPVR.
nappysolo
Offline

Junior Member

Posts: 41
Threads: 4
Joined: Jan 2007
#7
2010-08-25, 01:21 AM
Ok, thanks. This was the only issue I had left, so it sounds like I might as well switch over now.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  @nowPlaying field question ACTCMS 7 2,839 2008-05-01, 05:02 AM
Last Post: bgowland

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

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

Linear Mode
Threaded Mode