Sorry, I was too quick to jump the gun. I just added: "CLOSEWINDOW;Radio" to all the buttons leaving the screen
Its funny, I was just working on the same thing when I came across a problem and checked to see if there was a discussion about radio shark already.
Unfortunately radiator does not support it yet and there is still no SDK that I can find. I really like the tuner though for two main reasons: USB audio (no seperate line-in) and AM. Hopefully radiator will support it in the future.
I have done what guino suggested. I made a seperate skin and embedded the program into it. The app looks really messed up if you don't make the dimensions right because it will stretch the background but not the buttons, which is what you see in some of the previous posts. The dimensions are 370x226
This is what it looks like:
My problem is this though... when I click on my tuner button it pauses my MP3 and starts the radio. But when I want to go back I can't stop radioshark, so I hear both MP3 and radio playing at the same time. Is there a way to pause it or to unload radioshark until the tuner button is hit again?
Thanks for your help
Do you mind posting the ini you used on this radioshark screen now that you have it working pretty well so that we can model our own after it? TIA
maiwand, you can try adding "CLOSE||" to your Audio/DVD buttons. For example, change "AUDIO" to "CLOSE||AUDIO".
Edit: Just saw that you already found the solution.
Yeah... I'll post the ini file, but the important part isn't in the INI actually, its the button that calls the skin that radio shark is in. My code from the main screen looks like this:Originally Posted by gork
The tuner skin's INI file is below. I not saying this is the best way by any means, but its working for me:Code:BTUNER,0,116,142,74,"LOAD;Radio_Player.SKIN;Tuner;C:\Program Files\Griffin Technology\radioSHARK\radioSHARK.exe;Radio:,"Tuner"
Code:MEDIACAR Skin MEDIACAR Radio_Player Skin Radio_Off.jpg,Radio_Off.jpg,Radio_On.jpg,Radio_Down.jpg /, A, x, y, w, h, color;RGB A,217,103,370,226, /, B, x, y, w, h, Command;COMMANDCODES, Tooltip B01,0,41,161,75,"AUDIO||Setlabel;!PlayerLabel; MP3/CD Player||CLOSEWINDOW;Radio:", B02,0,116,142,74,"MAIN||CLOSEWINDOW;Radio:", B03,0,190,130,73,,, B04,0,263,127,74,,, B05,0,337,128,78,,, B06,642,41,158,74,,, B07,662,115,138,73,"CLOSEWINDOW;Radio:||LOAD;settings.SKIN;radio;C:\radio.exe;Head Unit Simulator,"Radio" B08,675,188,125,75,,, B09,677,263,123,75,,, B10,677,338,123,75,,, BVol-,0,438,79,41,"VOL-","Volume Down" BVol+,79,438,77,41,"VOL+","Volume Up" BPrev,214,422,81,57,"PREV","Previous", BEject,295,422,65,57,"EJECT","Eject" BPlay,360,422,80,57,"PLAY","Play" BStop,440,422,66,57,"STOP","Stop", BNext,506,422,77,57,"NEXT","Next", BDimmer,720,437,82,42,"GAMMA","Dimmer" LSongInfo,215,382,366,24,255,255,255,13,"Century Gothic:B","TAGARTIST||= - ||TAGTITLE||= - ||TAGALBUM","SCROLL-CENTER" STrackPos,215,407,366,10,228,423,390,15,H,01,"pointer1.gif",7,"SONGPOS","Song Position" LDate,1,2,143,20,255,255,255,14,"Century Gothic:B","TODAY","CENTER",, LTime,653,2,144,20,255,255,255,14,"Century Gothic:B","TIME","CENTER", LStatus,125,407,64,16,255,255,255,11,"Century Gothic:B","STATUS","CENTER" LCurrent,611,386,58,16,255,255,255,11,"Century Gothic:B","CURRENTTRACKTIME","CENTER" LTime,611,406,58,16,255,255,255,11,"Century Gothic:B","TRACKTIME","CENTER" LVolume,71,420,35,17,70,70,70,11,"BankGothic Lt BT","VOLUME","CENTER" IMute,644,437,76,15,"MASTERMUTE:b" IMute,644,452,19,27,"MASTERMUTE:b", IMute,700,452,20,27,"MASTERMUTE:b" BMute,644,437,76,42,"MUTE","Mute" IRepeat,123,380,33,34,"REPEAT" IShuffle,156,380,33,34,"SHUFFLE" END
Word... this is really useful stuff!!! Thanks!
I used the code to make my own temporary skin to test out functionality with the radio shark and it works pretty well.
I added buttons because I don't like the radio shark gui, the buttons are too small to handle quickly on a touch screen.
I have recently purchased the radioshark, and have made a new skin for it, but i am not able to get it to embed. It will open the program, but not within road runner. I have named the application box ATuner within my skin, what do i need to look out for to make it embed correctly?
also, if you right click on the top of radioshark you can go into preferences, and check the box for the large gui. I have found this to be 555 X 310 when sizing it.
I am also using the radioshark, and am working on a skin for it.
I wanted to add some RR buttons. I figured out how to change the presets with the <- and -> arrow keys.
Has anyone figured out any way to do other functions with they keyboard? I am not much of a software programmer, so I don't know what is involved to do this.
In particular, all I really would like in addition to the preset butons is a seek button.
I was just listening to my radioshark when I got up to get a glass of water. My 2 year old decided to press a button on my keyboard when I wasn't looking and it completely shut down the radioshark application (not running in the background). I asked him what button he pressed, and he pointed to the ENTER key.Originally Posted by froop
Well guess what. While radioshark is running, you can press the ENTER key and it will shut down. Then you can open the application and it will resume right where it left off.
Don't know if this is still an issue for anyone, but since it wasn't mentioned in this thread, I thought I would bring it up.