Results 1 to 5 of 5

Thread: Looking for RADIO Flag

  1. #1
    Variable Bitrate GF-ler's Avatar
    Join Date
    Aug 2005
    Location
    germany
    Posts
    341

    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. #2
    FLAC Sal R.'s Avatar
    Join Date
    Aug 2006
    Location
    Sun Diego
    Posts
    1,448
    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

  3. #3
    Variable Bitrate GF-ler's Avatar
    Join Date
    Aug 2005
    Location
    germany
    Posts
    341
    Quote 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.

  4. #4
    FLAC Sal R.'s Avatar
    Join Date
    Aug 2006
    Location
    Sun Diego
    Posts
    1,448
    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

  5. #5
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,818
    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."

Similar Threads

  1. RR picking up Album Art
    By robsch in forum Road Runner
    Replies: 5
    Last Post: 01-14-2007, 06:02 PM
  2. Replies: 7
    Last Post: 03-12-2006, 09:19 PM
  3. Replies: 2
    Last Post: 02-04-2005, 10:15 AM
  4. Anyone understand Java ? I need help.
    By frodobaggins in forum Software & Software Development
    Replies: 31
    Last Post: 05-24-2004, 10:53 PM

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
  •