Announcement

Collapse
No announcement yet.

Looking for RADIO Flag

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

  • Looking for RADIO Flag

    I read the notes twice, but find no Flag which is TRUE or FALSE if the RADIO is ON/OFF.
    Same with AUDIOPLAYER ON/OFF. VIDEOPLAYER is not Important.

    Because i can leave the Radio Skin with active Radio, it would be nice to have the Information which Station and Songtitle momentary is active... showing in the TopMedialine. If the Radio is OFF it should show the Artist and Songtitle of the AudioPlayer.

    Is it possible to shift these information in VAR, and how it goes ?

    SONGTITLE + ARTIST
    or
    RDS..SONGTITLE + RDS...STATION


    Or is Flash the only way ?

  • #2
    I did it by assigning variables to radio and audio.

    If audio is active, media info will display, ID3 tag data.

    If radio is active, it will display radio information.

    Code:
    /, L, x, y, w, h, color R;RGB, G, B, font size;FONT, font name, Code;LABELCODES, Tooltip;LABELALIGNMENT
    L01,3,24,152,20,#MAINR#,#MAING#,#MAINB#,#DIGISIZE01#,#DIGIFONT01#,"BYVAR;medstat;TIME<<= <<= <<= ","LEFT"
    L01,3,35,152,20,#MAINR#,#MAING#,#MAINB#,#DIGISIZE01#,#DIGIFONT01#,"BYVAR;medstat;= <<TIME<<TIME<<TIME","LEFT"
    L02,155,9,490,45,#TAGR#,#TAGG#,#TAGB#,#TAGSIZE01#,#TAGFONT01#,"BYVAR;medstat;TAGTITLE<<=FM||PRESET||= ||FREQUENCE<<=FM||PRESET||= ||FREQUENCE<<=FM||PRESET||= ||FREQUENCE","SCROLL-CENTER"
    L03,645,24,152,20,#MAINR#,#MAING#,#MAINB#,#DIGISIZE01#,#DIGIFONT01#,"BYVAR;medstat;DATE<<= <<= <<= ","RIGHT"
    L03,645,35,152,20,#MAINR#,#MAING#,#MAINB#,#DIGISIZE01#,#DIGIFONT01#,"BYVAR;medstat;= <<DATE<<DATE<<DATE","RIGHT"
    L04,3,47,152,20,#MAINR#,#MAING#,#MAINB#,#DIGISIZE01#,#DIGIFONT01#,"BYVAR;medstat;KHZ<<= <<= <<= ","LEFT"
    L05,155,48,490,23,#TAGR#,#TAGG#,#TAGB#,#TAGSIZE02#,#TAGFONT01#,"BYVAR;medstat;TAGARTIST||= - ||TAGALBUM<<RDSTEXT<<RDSTEXT<<RDSTEXT","SCROLL-CENTER"
    L06,645,47,152,20,#MAINR#,#MAING#,#MAINB#,#DIGISIZE01#,#DIGIFONT01#,"BYVAR;medstat;KBPS<<= <<= <<= ","RIGHT"
    
    "MMIAUDIO","SAVELASTRADIO||BYVAR;medstat;SAVERADIOPST<<RECALLAUDIOPST<<RECALLAUDIOPST<<RECALLAUDIOPST||SETVAR;medstat;0||AUDIO"
    "MMIVIDEO","BYVAR;medstat;SAVEAUDIOPST<<SAVERADIOPST<<SAVERADIOPST<<SAVERADIOPST||VIDEO"
    "MMIDVD","BYVAR;medstat;SAVEAUDIOPST<<SAVERADIOPST<<SAVERADIOPST<<SAVERADIOPST||DVD"
    "MMIRADIO","BYVAR;medstat;SAVEAUDIOPST<<<<<<||BYVAR;medstat;SETVAR;medstat;$lastradiofunc$<<<<<<||RADIO"
    Pico-ITX / XP Home with EWF-HORM / RR v12/02/2009 / Winamp v5.13 / RRMedia v1.2.2

    Comment


    • #3
      Originally posted by Sal R. View Post
      I did it by assigning variables to radio and audio.

      If audio is active, media info will display, ID3 tag data.

      If radio is active, it will display radio information.


      [/CODE]
      thanks for your quick answer, can you tell me the screen its working in ?

      i thought it gives an output flag like PLAY..PAUSE..STOP also for RADIO..AUDIO or VIDEO and iam to blind for finding.

      Comment


      • #4
        I set it up so that it works on all screens that display media information outside of radio/audio skins.

        There's nothing built in RR to switch label information that depends on the selected media playing.

        Going to have to give the skin some "intelligence" to know what media information to display.

        The flags only work for audio IIRC.
        Pico-ITX / XP Home with EWF-HORM / RR v12/02/2009 / Winamp v5.13 / RRMedia v1.2.2

        Comment


        • #5
          You can execute commands based on the current mode using exectbl:

          "SETMODE","SETVAR;MODE;1",FM
          "SETMODE","SETVAR;MODE;2",XM
          "SETMODE","SETVAR;MODE;2",SR
          "SETMODE","SETVAR;MODE;0"

          The above will set "MODE" to 0 when in audio, 1 when in Radio, 2 when in sat radio. then you can use the variable wherever you want .
          Ride Runner RR's Myspace

          "Being happy is not about having what you want, it's about wanting what you have."
          "The best things in life are always free - but that doesn't mean money can't buy you good things."

          Comment

          Working...
          X