NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 33 34 35 36 37 … 93 Next »
Who turned on the music?

 
  • 0 Vote(s) - 0 Average
Who turned on the music?
ACTCMS
Offline

Posting Freak

UK
Posts: 2,730
Threads: 101
Joined: Jun 2007
#1
2008-03-24, 06:22 PM
While a playlist is active, is there a way to find out what app (music library/netradio/etc) started the playlist? Also can I find out what's in NowPlaying?

Sorry - wrong subforum - was meant for Developers - finger trouble or addled brain or something...
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,671
Threads: 767
Joined: Nov 2003
#2
2008-03-24, 06:32 PM
ACTCMS Wrote:While a playlist is active, is there a way to find out what app (music library/netradio/etc) started the playlist?
No. The app doesnt keep track of what requested the music playback.

Quote:Also can I find out what's in NowPlaying?
If your plugin supports IEventNotification then it should be notified of which song begins playing, and when it stops.
ACTCMS
Offline

Posting Freak

UK
Posts: 2,730
Threads: 101
Joined: Jun 2007
#3
2008-03-24, 06:42 PM
sub Wrote:No. The app doesnt keep track of what requested the music playback.

If your plugin supports IEventNotification then it should be notified of which song begins playing, and when it stops.
Ta.

When I say NowPlaying, I'm referring to what is in @NowPlaying.

Also for netradio, is there an easy way to find out the station name?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,671
Threads: 767
Joined: Nov 2003
#4
2008-03-24, 06:49 PM
Sorry, no, there isnt currently a way to get this info. The API lets you set the value, but not query it.
ACTCMS
Offline

Posting Freak

UK
Posts: 2,730
Threads: 101
Joined: Jun 2007
#5
2008-03-24, 06:52 PM
sub Wrote:Sorry, no, there isnt currently a way to get this info. The API lets you set the value, but not query it.
Thanks for that - saves me wasting time looking...
ACTCMS
Offline

Posting Freak

UK
Posts: 2,730
Threads: 101
Joined: Jun 2007
#6
2008-03-25, 02:17 AM (This post was last modified: 2008-03-25, 02:21 AM by ACTCMS.)
I've just had a very pleasant stroll down a brand new path (as usual I left a trail of string, so I was able to get back)

I tuned in to "The Eagle @ 181.fm - Real Classic Rock" and logged "IEventNotification" activity - turns out that round about the time they put out their station message (after every two songs), the "CurrentAudioTrack eventText" shows the station name for between about 5 and 15 seconds before changing to the new song.

So the station name is there, and could possibly be extracted from the stream by assuming that any song less than say 25 secs was the station title - not clever...

There will be some way of doing it - but not tonight...

Anyway, although I didn't find what I was looking for, I did see some interesting things on the way - and I had fun... is it time I was getting out more again...
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Accessing music file metadata in C# bgowland 6 3,271 2013-01-26, 05:14 AM
Last Post: bgowland
  visible="!@hasImage & folder.jpg in Music not working Jaggy 0 1,204 2012-02-10, 10:29 PM
Last Post: Jaggy
  Building a list of files in media folders (npvr Music and Videos) bgowland 2 1,859 2012-02-05, 10:29 AM
Last Post: bgowland
  What music player is used? cncb 1 1,550 2011-08-01, 08:02 PM
Last Post: sub
  Detecting when Music Playlist is stopped (Ctrl-S) ACTCMS 6 2,840 2011-06-19, 07:52 PM
Last Post: sub
  How can I reset the Music plugin's database? mkenyon2 1 1,894 2009-10-15, 06:43 PM
Last Post: psycik
  Common Music/Video Inset? reven 9 4,284 2008-12-09, 03:16 AM
Last Post: JavaWiz
  Music API? brturn 24 7,814 2008-04-11, 11:42 PM
Last Post: ACTCMS
  Music Albums 2 - Feature request to the author smelcher 8 2,586 2006-12-16, 05:42 PM
Last Post: mcfrojd
  faking shuffle in music playback groover km 3 1,753 2006-10-01, 06:08 AM
Last Post: reven

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

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

Linear Mode
Threaded Mode