Announcement

Collapse
No announcement yet.

Music/Song Ratings

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

  • Music/Song Ratings

    Is it possible to view or update song ratings within Streetdeck?
    My old Worklog

  • #2
    no
    StreetDeck.com Developer (I am Chuck)
    Get StreetDeck at http://www.streetdeck.com
    The Official StreetDeck Forums have moved, please visit us at http://www.streetdeck.com/forum for official support for Streetdeck.

    Comment


    • #3
      OK...well what I am thinking is a script that connects to an MS Access DB that has the ratings/media info, does a select based on the title/artist and returns the song record.

      Then add a slider or set of buttons to the module that update the ratings field based on the position of the slider. It would read the position/value of the slider/button and update the record.

      So when you go to a song that already has a rating, the slider would position itself according to the rating value.

      Is this doable? I can figure out everything...so far...except for how to get the current song title and artist from Streetdeck. The module wouldn't modify the song rating, but it would keep the info in a separate db...
      My old Worklog

      Comment


      • #4
        You can get the current media information using the App.GetDynamicStringValue api call, but we haven't exposed the media player api yet so it would be limted to the current playing media only.
        StreetDeck.com Developer (I am Chuck)
        Get StreetDeck at http://www.streetdeck.com
        The Official StreetDeck Forums have moved, please visit us at http://www.streetdeck.com/forum for official support for Streetdeck.

        Comment


        • #5
          As long as I can get the current song I'll be happy. Can you give a little more info on that call?

          For example, if I want to get the title and artist values, how would I access them? So if I have 2 labels: "Title" and "Artist", how would I assign the label values using this api call? I'm not a programmer, but I play one on TV...

          Title.Caption = App.getDynamicStringValue(eDLT As enumDynamicLabelType)
          Artist.Caption = App.getDynamicStringValue(eDLT As enumDynamicLabelType)

          What values do I put in the parens?
          My old Worklog

          Comment


          • #6
            You can look up all the enumerations in the StreetDeck IDL file:
            http://www.mp3car.com/vbulletin/showthread.php?t=82048

            YOu would use eDLTMediaTitle and eDLTMediaArtist.
            StreetDeck.com Developer (I am Chuck)
            Get StreetDeck at http://www.streetdeck.com
            The Official StreetDeck Forums have moved, please visit us at http://www.streetdeck.com/forum for official support for Streetdeck.

            Comment


            • #7
              geez...If I would have started to use the intellisense a littl emore it would have popped right up! Thanks for the nudge in the right direction. I don't know if anybody else has any mods up and coming, but hopefully I get this working and posted for everybody to check out.

              Again, thanks for the help!
              My old Worklog

              Comment

              Working...
              X