Results 1 to 7 of 7

Thread: Radio Preset Help

  1. #1
    High Voltage blk02si's Avatar
    Join Date
    Jul 2005
    Location
    Motorcity
    Posts
    2,263
    Blog Entries
    1

    Radio Preset Help (solved) ; radio_player.skin - Help

    I am trying to finish up my carwings HD radio menu and I've come to a halt while trying to figure out a few things.

    1st I am trying to do what is shown in the screencap from rrskineditor. Set up a label to show what preset 1,2,3 etc is.

    I have the "FMPRESET;PRESETx" code attached to the preset buttons, but I want the station frequency (i.e. 96.3) to show up (via label?) to the right of the button so you know what is set.

    Sal's skin does this very elegantly, and I am trying to use his code to figure it out by he uses many variables and I get lost in them.

    I'm also trying to figure out how to have a FM-1, FM-2, AM-1, etc. "bank" for the preset buttons. I am pretty sure this needs to be done with variables.

    Right now I am more concerned with getting the frequency to show up after setting it. I looked through RRskincommands but it seems it will only put them in a list. Anyone have a good way to do this?
    Attached Images Attached Images  
    Build Things, it keeps your brain busy.

    AutoPC v1 (Retired) - AutoPC v2 (in progress) - www.shocknet.us

  2. #2
    MGD
    MGD is offline
    FLAC
    Auto Apps:loading...
    MGD's Avatar
    Join Date
    Feb 2005
    Location
    Los Angeles
    Posts
    1,756
    Look at my preset skin here. You get the idea.

    HD Radio Test Skin

  3. #3
    High Voltage blk02si's Avatar
    Join Date
    Jul 2005
    Location
    Motorcity
    Posts
    2,263
    Blog Entries
    1
    Thanks MGD, this is exactly the example I was looking for.

    Let HD coding resume!
    Build Things, it keeps your brain busy.

    AutoPC v1 (Retired) - AutoPC v2 (in progress) - www.shocknet.us

  4. #4
    High Voltage blk02si's Avatar
    Join Date
    Jul 2005
    Location
    Motorcity
    Posts
    2,263
    Blog Entries
    1
    Thanks MGD, preset code is finished.

    Now I'm having another bizarre issue my radio_player.skin will not turn my tuner on.

    Very strange, every other skin I have turns on the HD tuner fine, presets work great.

    For some reason carwings will not turn the tuner on. The only way to use the HD menu on the carwings skin is to go to a different skin launch an HD menu, then swap skins to carwings. Everything works perfect then. For some reason though the carwings skin will not activate the tuner. I've worked on the code for a few hours and am stumped. Can a couple of you guys proof read this code and see if you can see any reason it would not turn on the tuner. I think I'm just missing something. . .

    Anyway here is my RADIO_PLAYER.SKIN, looks correct or not?

    Code:
    RoadRunner Skin
    RRScreen radio_player
    radio_off.jpg,radio_off.jpg,radio_on.jpg,radio_down.jpg
     
    /Labels
    L,498,93,186,33,255,255,255,20,"Arial","=$FMP01$","LEFT"
    L,509,170,186,33,255,255,255,20,"Arial","=$FMP02$","LEFT"
    L,514,239,186,33,255,255,255,20,"Arial","=$FMP03$","LEFT"
    L,516,314,186,33,255,255,255,20,"Arial","=$FMP04$","LEFT"
    L,512,385,186,33,255,255,255,20,"Arial","=$FMP05$","LEFT"
    L,501,458,186,33,255,255,255,20,"Arial","=$FMP06$","LEFT"
    L,13,81,279,30,140,140,140,14,"Arial","HDARTIST1","SCROLL-LEFT"
    L,224,455,20,20,255,90,0,12,"Arial:B","BYIND;HDACTIVE;<<HDSUBCOUNT",
    L,223,486,20,20,255,90,0,12,"Arial:B","BYIND;HDACTIVE;<<HDSUB",
    L,12,121,288,30,255,90,0,14,"Arial","HDTITLE1","SCROLL-LEFT"
    L,12,162,299,30,140,140,140,14,"Arial","HDARTIST2","SCROLL-LEFT"
    L,11,203,309,30,255,90,0,14,"Arial","HDTITLE2","SCROLL-LEFT"
    L,28,485,184,20,255,255,255,12,"Arial","BYIND;HDACTIVE;<<=CURRENT HD STREAM:",
    L,328,517,113,20,255,255,255,12,"Arial","=PRESET FM-1",
    L,28,456,184,20,255,255,255,12,"Arial","BYIND;HDACTIVE;<<=STREAMS AVAILABLE:",
    L,17,370,303,34,255,255,255,14,"Arial","RDSNAME","SCROLL-LEFT"
    L,15,253,305,105,255,90,0,72,"Arial","FREQUENCE","LEFT"
    L,23,562,41,24,255,255,255,14,"Arial","VOLUME",
    L,613,560,92,24,255,255,255,16,"Arial","DATE",
    L,710,561,66,23,255,255,255,16,"Arial","TIME",
     
    /Buttons
    B,186,25,20,20,"SCAN",
    B,11,9,75,52,"MINIMIZE",
    B,674,9,118,52,"EXIT",
    B,544,546,67,54,"load;skin_browser.skin",
    B,478,543,67,56,"SETVARBYCODE;HDCHAN;HDSUB||SETVARBYCODE;HDCOUNT;HDSUBCOUNT||EVAL;HDCHAN;1+(($HDCHAN$)%($HDCOUNT$-1))||HDSUB;$HDCHAN$",
    B,410,543,67,57,"MUTE",
    B,341,543,67,57,"TUNE",
    B,273,543,67,57,"SEEKUP",
    B,206,543,67,57,"SEEKDOWN",
    B,138,543,67,57,"VOL-",
    B,65,543,72,57,"VOL+",
    B,344,446,100,52,"FMPRESET;PRESET6||SETVARBYCODE;FMP06;FREQUENCE||SAVETOSKIN;FMP06;$FMP06$",
    B,361,374,100,52,"FMPRESET;PRESET5||SETVARBYCODE;FMP05;FREQUENCE||SAVETOSKIN;FMP05;$FMP05$",
    B,366,300,100,52,"FMPRESET;PRESET4||SETVARBYCODE;FMP04;FREQUENCE||SAVETOSKIN;FMP04;$FMP04$",
    B,361,228,100,52,"FMPRESET;PRESET3||SETVARBYCODE;FMP03;FREQUENCE||SAVETOSKIN;FMP03;$FMP03$",
    B,353,157,100,52,"FMPRESET;PRESET2||SETVARBYCODE;FMP02;FREQUENCE||SAVETOSKIN;FMP02;$FMP02$",
    B,342,82,100,52,"FMPRESET;PRESET1||SETVARBYCODE;FMP01;FREQUENCE||SAVETOSKIN;FMP01;$FMP01$",
     
    /Indicators
    I,418,554,47,33,"MUTE:b"
    I,624,9,47,53,"PHONE_CONNECTED_PHOCO"
    I,578,12,44,45,"ONLINE"
    I,510,8,63,55,"HDACTIVE"
    
    END
    Build Things, it keeps your brain busy.

    AutoPC v1 (Retired) - AutoPC v2 (in progress) - www.shocknet.us

  5. #5
    FLAC Sal R.'s Avatar
    Join Date
    Aug 2006
    Location
    Sun Diego
    Posts
    1,448
    What other skins have you tried using?

    The only thing I can think of is the first two lines:

    RoadRunner Skin
    RRScreen radio_player

    Have you tried changing it back to the old:

    MEDIACAR Skin
    MEDIACAR "radioplayer" Skin

    and see what happens?

    idk
    Pico-ITX / XP Home with EWF-HORM / RR v12/02/2009 / Winamp v5.13 / RRMedia v1.2.2

  6. #6
    High Voltage blk02si's Avatar
    Join Date
    Jul 2005
    Location
    Motorcity
    Posts
    2,263
    Blog Entries
    1
    Treid your suggestion, same deal.

    So far I can use shock skin, MMIv2, New Age, DFX2, and MGD's test skin.

    I must have a line of code or a file that RR doesn't like somewhere..
    Build Things, it keeps your brain busy.

    AutoPC v1 (Retired) - AutoPC v2 (in progress) - www.shocknet.us

  7. #7
    High Voltage blk02si's Avatar
    Join Date
    Jul 2005
    Location
    Motorcity
    Posts
    2,263
    Blog Entries
    1
    Wow finally figured it out!

    The radio_player.skin MUST have a "S" code in it.

    Even though im not using a list it RR still wanted to see that S in the code, now it works great. Success!
    Build Things, it keeps your brain busy.

    AutoPC v1 (Retired) - AutoPC v2 (in progress) - www.shocknet.us

Similar Threads

  1. Radio module Infill G4 and SILAB
    By SUNAJ in forum Centrafuse
    Replies: 7
    Last Post: 12-18-2007, 04:14 PM
  2. RR 03-06-05 - Radio Preview ...
    By guino in forum Road Runner
    Replies: 37
    Last Post: 07-04-2005, 01:58 PM
  3. Replies: 3
    Last Post: 05-26-2004, 04:08 AM

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
  •