Results 1 to 6 of 6

Thread: How is ACTIVESOURCEID defined for 3rd Party Plugins?

  1. #1
    Variable Bitrate
    Auto Apps:loading...
    mezz64's Avatar
    Join Date
    Nov 2004
    Location
    PA
    Posts
    379
    Blog Entries
    1

    How is ACTIVESOURCEID defined for 3rd Party Plugins?

    I've noticed that the ACTIVESOURCEID for a 3rd party plugin that has audio functions (RRPandora for example) can change depending on how many other plugins I have installed. Is there a way to define this?

    As it sits now it's hard to use a BYVAR;ACTIVESOURCEID command in a skin when you don't know what the ID will end up as depending on how many plugins the user has installed.

  2. #2
    MySQL Error
    Auto Apps:loading...

    Join Date
    Oct 2004
    Posts
    5,255
    its not...

    activesource ids > 10 are custom sources, and cannot be guaranteed in order as expected.

    the ActiveSourceGUID Variable is guaranteed

    yes, this does elim the use of byvar...
    -Thanks
    Mitch
    www.rush2112.net

    "Did you test it in carwings??"

    Sun, Come shine my way
    May healing waters bury all my pain
    Wind, Carry me home
    The fabric of reality is tearing apart
    The piece of me that died
    Will return To live again

  3. #3
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    8,166
    Blog Entries
    52
    Mezz if you're trying to make your labels compliant with custom sources like pandora then do yourself a favor and simply add 4 or 5 TRACKNAMES to the end of your byvar. Just like what i did with my elite skin hack

    Code:
    L,175,2,450,28,255,255,255,16,"#FONTFAMILY#","BYVAR;ACTIVESOURCEID;=<<TAGTITLE||= - ||TAGARTIST<<RDSTEXT<<TAGTITLE||= - ||TAGARTIST<<TAGTITLE||= - ||TAGARTIST<<TAGTITLE<<=Video File<<TRACKNAME<<TRACKNAME<<TRACKNAME<<TRACKNAME<<TRACKNAME","SCROLL-CENTER",,"DS=1,2,0,0,0"
    Bottom line is to this point mitch and i are the only people that have custom source plugins out, and all of our stuff will comply with the default RR labels. You may be able to do something fancy with the power of RRs commands but there's no real reason to put any more effort than you have to. Web Radio, Shoutcast, Pandora, and future custom sources will heed to this "standard"
    mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
    Find my plugins on the MP3Car App Store!
    Follow Me on Twitter or Facebook
    Live mp3Car Facebook Chat

  4. #4
    MySQL Error
    Auto Apps:loading...

    Join Date
    Oct 2004
    Posts
    5,255
    im trying to come up with a perfect solution... its really like sonic said the built in sources, arnt standardized

    almost a byvar default catch
    -Thanks
    Mitch
    www.rush2112.net

    "Did you test it in carwings??"

    Sun, Come shine my way
    May healing waters bury all my pain
    Wind, Carry me home
    The fabric of reality is tearing apart
    The piece of me that died
    Will return To live again

  5. #5
    Variable Bitrate
    Auto Apps:loading...
    mezz64's Avatar
    Join Date
    Nov 2004
    Location
    PA
    Posts
    379
    Blog Entries
    1
    Yea that's what I ended up doing. I just thought there might be a better way.

  6. #6
    MySQL Error
    Auto Apps:loading...

    Join Date
    Oct 2004
    Posts
    5,255
    yea.. believe me i been thinking...

    right now im debating of the byvar issue... example

    in labels:

    byvar;myvar;=zerothing<<=onething<=twothing

    what happens now when myvar is say 5, is an internal error... and the code tries to process garbage
    i added code to prevent that, but i might make a byvar value > then the number of cases, set to to the last case
    so.. if myvar is 5, the result is "twothing"
    but i havent locked in on that

    but what i did add, is byvarx, and byindx, and improved all the byvar,byvarx,byind,byindx for labels
    -Thanks
    Mitch
    www.rush2112.net

    "Did you test it in carwings??"

    Sun, Come shine my way
    May healing waters bury all my pain
    Wind, Carry me home
    The fabric of reality is tearing apart
    The piece of me that died
    Will return To live again

Similar Threads

  1. Request for Custom Source ACTIVESOURCEID
    By Sonicxtacy02 in forum Road Runner
    Replies: 6
    Last Post: 02-14-2012, 05:07 PM
  2. Manufacturer defined OBD-II values
    By bwallen in forum Engine Management, OBD-II, Engine Diagnostics, etc.
    Replies: 0
    Last Post: 03-28-2011, 05:12 PM
  3. help with ACTIVESOURCEID
    By newmannator in forum Road Runner
    Replies: 4
    Last Post: 12-21-2008, 07:38 PM
  4. Software Defined Radio?
    By walstib in forum Software & Software Development
    Replies: 0
    Last Post: 07-16-2006, 09:23 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •