Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: ACTIVESOURCEIDs

  1. #1
    Constant Bitrate besjr69's Avatar
    Join Date
    Feb 2011
    Posts
    123

    ACTIVESOURCEIDs

    I've searched and can't find an answer to this question. Does anyone know where the ACTIVESOURCEIDs are defined or have a listing for them:

    Example 0 - Radio, 2 - XM Radio, 3 - Sirius ...

    My plan is to define an image on my skin that changes based on the ACTIVESOURCEID.

    Bobby


    Sent from my iPhone using Tapatalk

  2. #2
    Constant Bitrate besjr69's Avatar
    Join Date
    Feb 2011
    Posts
    123
    So far I've figured out the following:

    0-HD Radio
    1-FM Radio
    2-XM Radio
    3-Sirius Radio
    4-Audio
    5-Video??

    I read in some documentation there are up to 9 definitions.

    Bobby


    Sent from my iPhone using Tapatalk

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

    Join Date
    Oct 2004
    Posts
    5,258
    "ACTIVESOURCEID" - returns 1 = HD Radio, 2 = Radio, 3 = XM Radio, 4 = Sirius Radio, 5 = Audio(mp3), 6 = Video, 7 = DVD, 8 = TV
    -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

  4. #4
    Variable Bitrate Dartman_71's Avatar
    Join Date
    Feb 2009
    Location
    Finland
    Posts
    425
    and for plugins.

    9 = DVB, 10 = WebRadio

  5. #5
    Constant Bitrate besjr69's Avatar
    Join Date
    Feb 2011
    Posts
    123
    Thanks Mitch and Dartman_71. I have one other questions. In the code below, I'm trying to display a different graphic based on the source ID. Here is a sample:

    IMG,376,546,48,48,"BYVAR;ACTIVESOURCEID;<<ICONS\HD _TUNE.PNG<<ICONS\FM_TUNE.PNG<<ICONS\XM_TUNE.PNG<<I CONS\SR_TUNE.PNG<<ICONS\PLAY.PNG<<ICONS\PLAY.PNG<< ICONS\PLAY.PNG",all

    The code appears to be in the correct syntax, but none of the images are displayed. What am I doing wrong?

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

    Join Date
    Oct 2004
    Posts
    5,258
    there is NO support of byvar in IMG (Images) they are static!

    Indicators yes, and hmm.. i could see a neat use of a multistate indicator here...

    Code:
    + Indicators now support "byvar"
      ex. I,xxx,yyy,hhh,www,"byvar;myuservar;image0.png<<image1.png<<image2.png"
      [Will show image0.png when myuservar is 0 or false, will show image1.png
       when myuservar is 1 or true, and will show image2.png when myuservar is 2]
    Last edited by mitchjs; 07-16-2012 at 10:27 PM.
    -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

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

    Join Date
    Oct 2004
    Posts
    5,258
    oh, and any activesourceid > 9 is ambigous

    10 being web radio isnt always true!

    so.. this concept doesnt work past 10

    but each active source has a GUID
    -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

  8. #8
    Constant Bitrate besjr69's Avatar
    Join Date
    Feb 2011
    Posts
    123
    Mitch,

    Thanks for the replies. You've been a great help. I was able to do it mimicing code on another skin. I used the [I]mage command with the Mask option:

    I,356,540,88,60,"VAR;ACTIVESOURCEID",,,"icons\play _*.png"

    I'm thinking that the "VAR;ACTIVESOURCEID" can be trimmed to simply "ACTIVESOURCEID". In the future, I will use your syntax as it will prevent me from copying and renaming a bunch of files.

    Bobby

  9. #9
    Low Bitrate rtgree01's Avatar
    Join Date
    Aug 2007
    Location
    STL
    Posts
    98
    So.... how does a skin get the GUID?
    How can the skinners do the various things based on the active source? I'd like to see something with a unique ID (guid) for each source that we can byvar or byvarx.

    But.... there are probably only a few uses for something like this...

    Just my 2 cents
    Ryan

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

    Join Date
    Oct 2004
    Posts
    5,258
    "ACTIVESOURCEGUID" is a Uservar, use skintool to view it!

    byvar and byvarx not going to work on it...
    since its not a singular number

    Web Radio's GUID is {97D76E60-0F9A-4328-A1A4-C99967655630}
    -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

Page 1 of 2 12 LastLast

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
  •