Announcement

Collapse
No announcement yet.

XM online service

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

    #31
    This works really well, good work! I notice alot of albums the album name will be uppercase eg; "WHO MADE WHO" instead of "Who Made Who" ...is it possible to modify the script to make it appear properly? not a big deal either way..its working fine and grabbing the data like it should.

    This would be great with cover art lookup from amazon or sloth radio lookup http://www.slothradio.com/covers/

    Thanks again to all the people that worked on this!

    Comment


      #32
      Originally posted by Ncrypt
      This works really well, good work! I notice alot of albums the album name will be uppercase eg; "WHO MADE WHO" instead of "Who Made Who" ...is it possible to modify the script to make it appear properly? not a big deal either way..its working fine and grabbing the data like it should.

      This would be great with cover art lookup from amazon or sloth radio lookup http://www.slothradio.com/covers/

      Thanks again to all the people that worked on this!
      Hmm.

      I think the slothradio search has definite potential... I haven't had time at all to look into the amazon query structure, but we could tweak the script to just feed the information to that website and grab the first CD cover it returns.

      It wouldn't be 100% perfect due to the differences in how Amazon and XM might format the album name, but it'd be pretty close, I think. It'll probably be a week or two, but I'll work on that, Ncrypt... good find.

      Additionally, I think we can rig the script to handle the capitalization issue, but it'd be dumb logic... If you had a band with weird caps "THe aMaZiNG BaND" it obviously wouldn't know to do that... you could have just the first letter "The amazing band," or maybe the first letter of each word "The Amazing Band." I'd have to cobble a way to look for spaces and capitalize the next letter or something. Let me chew on that.

      Comment


        #33
        Thanks sacarino...good luck!

        Comment


          #34
          Multiple Copies of XaMpD running

          I have been trying to set up XaMpD using the scripts in Bryan's email above and am having a wierd problem. When I use the "login" script (copied below), XaMpD launches and plays three times (I have the same song playing three times separated by a fraction of a second). As shown, the script is using the hs.launch command, and that command appears three times. I would have thought that the second instance of the hs.launch command in the script would have simply passed a parameter to the application rather than launch another copy, but I could also understand someone wanting to be able to run three separate copies of an application.

          Obviously, I want only one copy of XaMpD to be running and want to be able to send it commands.

          Anyone have an idea what is going on here?

          Thanks for any help!
          Matt

          Comment


            #35
            Oops, forgot the script...

            sub main()

            'logging into the XM server
            hs.launch "c:\progra~1\xampd\xampd.exe", "login"
            hs.waitsecs 2

            'starting XM stream
            hs.setdevicestatus "P1", "2"
            hs.setdevicestring "P1", "Play"
            hs.launch "c:\progra~1\xampd\xampd.exe", "play"

            'setting XM Online status online
            hs.setdevicestatus "x8","2"
            hs.setdevicestring "x8", "Online"

            'clearing out status variables for channel, etc.
            hs.setdevicestring "x1","<img src=xmradio.gif>"
            hs.setdevicestring "x2","Updating Info"
            hs.setdevicestring "x3","Updating Info"
            hs.setdevicestring "x4","Updating Info"
            hs.setdevicestring "x5","Updating Info"
            hs.setdevicestring "x6","<img src=xmradio.gif>"
            hs.setdevicestring "x7","Login"

            'starting event to get xm info
            hs.EnableEvent("XM Radio Info")

            hs.waitsecs 2
            hs.launch "c:\progra~1\xampd\xampd.exe", "channel " & ChannelID

            end sub

            Comment


              #36
              I've been using the scripts from a awhile now, but just getting into wanting to use the logo graphic in mainlobby.

              I can see the path to the correct .swf file in the hs device x1 and I've subscribed to the device in MainLobby and also see the correct path in MLServer - but how do you get the graphic to display in a button. I've tried to put {{mlhsplugin_x1}} in the label field and also tried to place it in the graphic box but all I get is the listing of the path - not the graphic.

              I need help with this one. Thanks.
              Regards, Bob

              Comment


                #37
                Originally posted by itanic
                I've tried to put {{mlhsplugin_x1}} in the label field and also tried to place it in the graphic box but all I get is the listing of the path - not the graphic.
                You've got the right idea to put the {{mlhsplugin_ID#}} in the label field, now all you need to do is make the button type a JPGloader0001.

                I'm not sure if there's any other way to do this, but I just check the "Reload every second" box for the JPG Image or Flash line (which yields a button type of JPGLoaderTimed01Sec) and then just uncheck it again to get the JPGloader0001.

                It *should* work for you after that.

                Comment


                  #38
                  Originally posted by Matt B
                  I have been trying to set up XaMpD using the scripts in Bryan's email above
                  [snip]
                  Anyone have an idea what is going on here?
                  Matt, did you ever figure this out?

                  Comment


                    #39
                    That did it,

                    Thanks Shane
                    Regards, Bob

                    Comment


                      #40
                      I'm restarting my entire HS setup - I had a 1.7 system running, blew out a hard drive, and am starting over with 2.x.

                      I had Xampd running in conjunction with my HS setup, but wasn't completely happy with it. I did not use any scripts mentioned in this page (my setup predated all of this talk).

                      Anyway, has anyone found a similar application to use for this? It really appears that the author has given up any updates to Xampd, and it's only a matter of time before it stops working.

                      Comment


                        #41
                        XM Data file missing!

                        Need just a little help here....


                        Was working on getting these scrips running.. Got HS to login and out but I can not get any channel data. In the read file it's looking for a file called

                        singledata.txt

                        I have looked every where for it. Even did a file search.. It just plan does not exist... Everything else works with the XM player!


                        Help..
                        Thanks

                        Ed

                        Comment


                          #42
                          Ed,

                          Check out post #12 of this thread. You need to edit your registry to get the data files.
                          Bryan
                          Software/Hardware: Win10 Pro, HS 3 Pro, HS Touch, Echo, Edgeport/4, Z-Net w/88 Devices, Insteon PLM w/19 Devices, Nest, GC-100-6, W800RF32A, WS-2080 Weather Station (KMADRACU10)
                          Plug-in/Scripts: Alexa API, BLBackup, BLGData, BLLED, BLLock, BLRF, BLTVGuide, Blue Iris, BLUPS, Current Cost 3P, DirectTV, FitbitSeer, Insteon, Nest, Pushover 3P, Random, Restart, Tasker, UltraGCIR3, UltraWeatherWU, Z-Wave

                          Comment


                            #43
                            Originally posted by edwilloughby
                            Was working on getting these scrips running.. Got HS to login and out but I can not get any channel data. In the read file it's looking for a file called singledata.txt
                            You need to create a new DWORD in the registry at HKEY_CURRENT_USER\Software\mOmo productions\XaMpD with a name of "Homeseer" (don't use quotes). Set the value to 1.

                            Here's a screen shot for you to see how it should look.
                            Attached Files
                            Last edited by sacarino; May 12, 2008, 09:26 PM. Reason: stupidity?

                            Comment


                              #44
                              Missed it..

                              Thanks guys, Knew I missed something..

                              Ed

                              Comment


                                #45
                                Got it going, But!

                                Thanks for the help with thr reg change. That got most things working.

                                The only remainding issue for me is the station logo's. I have tried every combination of path in the script I can think of and all I can get is a fairly large white box (flas box). I have inclided my read.txt file if anyone can help.

                                Thanks

                                Ed
                                Attached Files

                                Comment

                                Working...
                                X