Announcement

Collapse
No announcement yet.

setsource and activesource not working with custom source

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • setsource and activesource not working with custom source

    I'm trying to change the source to the sirius input. From the documentation, I believe that the correct code is

    Code:
    SETSOURCE;SIRIUS
    The issue is that I don't have the proper sirius device. I have found a way to control the oem sirius radio in my car. Everything works great, but I can not get the activesource or activesourceid to change to sirius. I do have a Directed HD radio, and I can setsource to the radio. I can also setsource to audio.

    I am attempting to write a skin that depends on determining which audio source is active. So without this capability, I am stuck.

    Any idea what I have to do to make RR think I have a Sirius device connected?

    Thanks,
    Ryan

  • #2
    Sirius assumes you going to use RR's native Sirius control, which it seems you are not... so.. it will not work...
    your are way out side the box
    -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

    Comment


    • #3
      Originally posted by mitchjs View Post
      Sirius assumes you going to use RR's native Sirius control, which it seems you are not... so.. it will not work...
      your are way out side the box
      I bet your forum subtitle "MySQL Error" must drive the perfectionist in you nuts lol
      mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
      Follow Me on Twitter or Facebook
      Live mp3Car Facebook Chat

      Comment


      • #4
        bah, never noticed
        -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

        Comment


        • #5
          heh...

          I know that I am definitely outside the box....

          I'm guessing that RR is uninterested in allowing custom audio sources (whether by plugin or other means).

          So I'm going to try to find a workaround...

          If I can't figure something out with RR, I'm going to have to look into other options. No offense... I just think that my setup may not be compatible. That sucks because there has been a lot of cool things with it...

          Thanks!
          Ryan

          Comment


          • #6
            its not that rr isnt interested in custom audio sources, its just a very complicated matter...
            nor in most cases is haveing "setsource;customsource" practical
            even in this case here a fail to see the purpose
            course stopping the active source is prob all you want... but you didnt provide any real info on what you are trying to achive
            like i said you are outside the box
            i can help you and even make additions to rr, but i need a clear path of achivement
            and then translate that into code
            i have considered custom sources, but quite frankly no one has asked, the last source i added, DVB, prob 5 people in the world use
            -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

            Comment


            • #7
              Mitch... thanks for keeping me honest... I haven't described exactly what's going on....

              I agree, custom audio sources can be complicated.

              I'll describe my situation.

              I am able to control my car's built in amplifier, steering wheel controls, and sirius radio via the CAN bus. I have removed my head unit and replaced it with a touchscreen monitor, atom based pc running xp, and a microcontroller that interfaces to the car's CAN bus.
              I have developed a RR plugin that emulates everything that the head unit used to do with respect to the CAN bus. I'm now trying to make things pretty with the skin I'm using... I obviously have to modify any skin that I want to use to support my new plugin. I like the look of Elite Wings... but I'm also working on one from scratch.
              I would like to have RR start, and based on a setting stored in the skin, bring up the last audio source. If it was HD Radio, it'll bring up the radio page... If it was MP3 audio, the audio page should come up... Since I can't set RR to Sirius, I can't bring up the Sirius page when starting RR. Also, depending on what source is active, different labels and images should be displayed. Then there is also the ONSOURCECHANGE event that can be handy for a number of reasons. I also would like for the mixer line to mute and unmute the appropriate audio sources.

              I can do a lot of things from within my plugin, and I'm not against it, but it doesn't seem to be the "right" way to do it. For my day job I often have to "find a way" to make things work... so I am not afraid of it... but I like elegant solutions.

              I can think of a few different paths forward....

              1) Make things work from within my plugin
              2) Work with Mitch or Guino to "hijack" the native RR sirius device
              3) Work with Mitch or Guino to add "my" sirius device
              4) Go with another front end

              I'm not sure which path I like best... there are drawbacks to all of them...
              I don't want to make anyone do a lot of work that would only help me... If we were to work on changing RR, I'd prefer to make a generic solution so that everyone can benefit. I'd love to help design it too, but if it's not in the RR development path, I understand.

              Again,
              Thanks for everything!
              Ryan

              Comment


              • #8
                well...

                i can telll you #4 isnt a real option, you will find that out all too quickly, only chance would be OpenMobile... and thats because its very open, but you would be coding alot, it also does about 1/8 or less of what RR does today.

                #2 you could do that, if you did your own siriuscomm.dll that followed existing interface (need to be a good programmer)
                #3 maybe, but too niche
                #1 you could be doing alot now in your plugin... all commands pass thru, so you could react or modify them...
                what you cant do is stop other audio sources cleanly (till yesterday,pm me)


                generally when starting RR, it DOES not go directly to the "source page" it goes to the "menu.skin" ill be it with the last source started(ie. radio, audioplayer, sirius, xm)
                course you can make a command run, which sends it to the screen, "radio"
                your sirius is just ur own command your plug does
                like
                "mysirius"

                and that loads the skin mysirius_player.skin or what not...
                all you need at that point, it to stop any "players/audio sources" and switch yours on...
                and when rr goes to say audioplayer, stops yours

                i have some ideas right now in my head to do a clean "custom source"

                this is beyond the scope of this forum, please PM me and ill give you contact information
                Last edited by mitchjs; 04-15-2011, 08:11 AM.
                -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

                Comment

                Working...
                X