NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 21 22 23 24 25 … 93 Next »
@songName

 
  • 0 Vote(s) - 0 Average
@songName
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,488
Threads: 963
Joined: May 2006
#1
2009-08-12, 03:11 AM
I'm sure this is really basic for many of you but I'm a bit new at this how do I change the @songName in the screen saver to something that I control?

Martin
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,488
Threads: 963
Joined: May 2006
#2
2009-08-13, 12:58 AM
I was able to answer my own question, it looks like it is

PluginHelperFactory.getPluginHelper().SetAudioDescription(string);

Martin
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,488
Threads: 963
Joined: May 2006
#3
2009-11-18, 04:12 AM
Sub, is there are a way that ACTCMS can extract the value that you call @songName in your screensaver and @nowPlaying in the Now Playing panel for MLPanel?

Martin
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,974
Threads: 770
Joined: Nov 2003
#4
2009-11-18, 04:00 PM
mvallevand Wrote:Sub, is there are a way that ACTCMS can extract the value that you call @songName in your screensaver and @nowPlaying in the Now Playing panel for MLPanel?

Martin
I just checked, and unfortunately no.

They can get notified of the currently playing audio file using the IEventNotification interfaces, but this is unfortunately the filename, not the description set by IPluginHelper.SetAudioDescription().

If you want, I can add a new event for this for the next release though? Its only a two minute change.
ACTCMS
Offline

Posting Freak

UK
Posts: 2,730
Threads: 101
Joined: Jun 2007
#5
2009-11-18, 10:13 PM
sub Wrote:They can get notified of the currently playing audio file using the IEventNotification interfaces, but this is unfortunately the filename, not the description set by IPluginHelper.SetAudioDescription().
For Web Radio, I can see the 'CurrentAudioTrack' and 'CurrentAudioPath' events (showing the filename) when running on the NMT, but I don't see them when running on the PC.

The behaviour of Net Radio, where I get 'CurrentAudioTrack' and 'CurrentAudioPath' events (showing the filename) plus 'playing now' info via 'CurrentAudioTrack' events (on both the NMT and the PC) is much better.

Quote:If you want, I can add a new event for this for the next release though? Its only a two minute change.
Would there be a lot more involved in allowing plugins to issue their own Notify events?
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,974
Threads: 770
Joined: Nov 2003
#6
2009-11-18, 11:01 PM
Quote:Would there be a lot more involved in allowing plugins to issue their own Notify events?
All I was intending to do was add a new event type, which fire when IPluginHelper.SetAudioDescription() is called.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,488
Threads: 963
Joined: May 2006
#7
2009-11-18, 11:01 PM
ACTCMS Wrote:For Web Radio, I can see the 'CurrentAudioTrack' and 'CurrentAudioPath' events (showing the filename) when running on the NMT, but I don't see them when running on the PC.
That's expected, on the PC, I am not using GB-PVR as an audio player, I am just setting the description.

I suppose if you created saved your singleton to a file, I could read it and notify MLPanel of events.

Edit: sub your solution sounds good enough for what we want to achieve.

Martin
ACTCMS
Offline

Posting Freak

UK
Posts: 2,730
Threads: 101
Joined: Jun 2007
#8
2009-11-18, 11:45 PM
sub Wrote:All I was intending to do was add a new event type, which fire when IPluginHelper.SetAudioDescription() is called.
No problem...

mvallevand Wrote:Edit: sub your solution sounds good enough for what we want to achieve.

Martin
Sounds good to me too...

Alex
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,974
Threads: 770
Joined: Nov 2003
#9
2009-11-19, 01:56 AM
Ok, I've added it for the next release.
ACTCMS
Offline

Posting Freak

UK
Posts: 2,730
Threads: 101
Joined: Jun 2007
#10
2009-11-19, 02:02 AM
Nice one... Smile
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


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

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

Linear Mode
Threaded Mode