The MP3car.com Store The MP3car.com Store    

Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development > Front Ends > Road Runner

Reply
 
LinkBack Thread Tools Display Modes
Old 07-05-2005, 12:56 PM   #1
Constant Bitrate
 
Join Date: Jan 2004
Location: Champaign, IL
Posts: 124
Does XM mode operate as 'RADIO' mode

In my GPS screen, I added a shortcut button to XMMUTE||PLAY, such that RR will either toggle play/pause (if in MP3 mode) or mute XM (if in XM mode). I have noticed that while in XM mode pressing this button seems to activate the scan function. In 'SkinCommands.txt' it describes that this behavior will result while in 'RADIO' mode. I thought this was just for FM radio, does it also apply to XM? What do the PLAY and STOP buttons do for XM -- I'd rather be able to PLAY/PAUSE XM with a single button, hence having implemented XMMUTE. Thanks!
rjoek is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 07-05-2005, 02:43 PM   #2
RoadRunner Mastermind
 
guino's Avatar
 
Join Date: Nov 2004
Location: Vitória, ES - Brazil
Posts: 8,047
Quote: Originally Posted by rjoek
In my GPS screen, I added a shortcut button to XMMUTE||PLAY, such that RR will either toggle play/pause (if in MP3 mode) or mute XM (if in XM mode). I have noticed that while in XM mode pressing this button seems to activate the scan function. In 'SkinCommands.txt' it describes that this behavior will result while in 'RADIO' mode. I thought this was just for FM radio, does it also apply to XM? What do the PLAY and STOP buttons do for XM -- I'd rather be able to PLAY/PAUSE XM with a single button, hence having implemented XMMUTE. Thanks!

NEXT/PREV are supposed to change stations, Stop toggles mute and Play toggles scan mode.. That's what I believe I did, but one way to be sure is to try it.. in any case, I'm thinking stop toggles mute both for FM and XM... I can have a look at the code if you need to be sure..
__________________
Road 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."
guino is offline   Reply With Quote
Old 07-05-2005, 10:01 PM   #3
Constant Bitrate
 
Join Date: Jan 2004
Location: Champaign, IL
Posts: 124
Thanks -- yup, seems like that's the behavior you coded. Only problem is it is not possible to have a one touch PLAY/PAUSE (or MUTE/UNMUTE) in both XM and MP3 modes. Any way to make this behavior the same, as in having PLAY toggle between PLAY and PAUSE in XM as well (instead of MUTE)? Essentially remove the PLAY -> SCAN function?
rjoek is offline   Reply With Quote
Old 07-05-2005, 10:54 PM   #4
RoadRunner Mastermind
 
guino's Avatar
 
Join Date: Nov 2004
Location: Vitória, ES - Brazil
Posts: 8,047
PLAY doesn't have any effect in XM unless you have a playlist in view (works as a "tune" command). I only made it perform "SCAN" because it gives a function to something that otherwise would be useless..

STOP in another hand, has a more simular effect to "MUTE" in XM mode -- specially because there's no control over the resume point of the playback. I will NOT change this behavior simply because it has been this way for FM since the first version that supported it.

In any case, this doesn't prevent you from making the buttons behave differently while XM is active. All you have to do is make a different skin file and add translation codes into ExecTBL.INI .. call it XM_GPS.skin for instance and then make it so the "PLAY" command executes "XMMUTE" on the XM_GPS.skin file. You could easily make the audio player skin load the old gps skin while making the XM skin load the XM_GPS.skin to provide the different functionality. If you don't want to mess with ExecTBL you can simply put the codes you wish to execute in the XM_GPS skin file directly.

All the above are really just options, but if I wanted a mute button so badly I'd just add one to the skin... either that or I'd simply press STOP instead of PLAY while in XM mode .. Since the buttons don't perform the same functions anyway it shouldn't be a big deal to get used to it.

EDIT: I can probably add a "special" command to bahave the way you want it to, but then you'll have two buttons that basically do the same thing in XM mode.
__________________
Road 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."

Last edited by guino; 07-05-2005 at 11:45 PM.
guino is offline   Reply With Quote
Old 07-05-2005, 11:47 PM   #5
Constant Bitrate
 
Join Date: Jan 2004
Location: Champaign, IL
Posts: 124
Thanks for the reply. I had considered these options but wanted to avoid designing separate skins to be called from XM and MP3, respectively. I wish I could detect what mode it is in when, for example, it calls the GPS skin from your original menu.skin. I can design anything I want and it will still not be able to call a GPS skin from some main menu AND assign the correct function buttons for XM and MP3 modes. No biggie, I'll make due. Thanks again.
(responding to your edit -- well, that would be great but it's not that critical. I'm sure you have a lot more pressing issues, I'll be OK without. Thanks!
rjoek is offline   Reply With Quote
Old 07-06-2005, 12:05 AM   #6
RoadRunner Mastermind
 
guino's Avatar
 
Join Date: Nov 2004
Location: Vitória, ES - Brazil
Posts: 8,047
If you know a little of VB, you can either edit the code or make a small plugin to interpret custom commands from the skin and send out the propper commands to RR..

Comming to think of it, it is not a bad idea to add support on exectbl.ini to perform functions based on the active mode (Video/Mp3/FM/XM) ... this would also allow you to do what you want, but it is a lot more flexible than just that on the long run..
__________________
Road 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."
guino is offline   Reply With Quote
Old 07-06-2005, 12:26 AM   #7
RoadRunner Mastermind
 
guino's Avatar
 
Join Date: Nov 2004
Location: Vitória, ES - Brazil
Posts: 8,047
Try this update: http://guino.home.insightbb.com/rr.exe

Open ExecTBL.ini and add this line:

"PLAY","MUTE",XM

You can also make the "STOP" perform somethin else using:

"STOP","<COMMAND>",XM
__________________
Road 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."
guino is offline   Reply With Quote
Old 07-06-2005, 06:49 AM   #8
Constant Bitrate
 
Join Date: Jan 2004
Location: Champaign, IL
Posts: 124
Sweet -- this rocks! I'll try it out tonight.
Thanks,
Ryan.
rjoek is offline   Reply With Quote
Old 07-07-2005, 10:18 AM   #9
Constant Bitrate
 
Join Date: Jan 2004
Location: Champaign, IL
Posts: 124
This worked like a champ -- thanks so much.
Quote: Originally Posted by guino
Comming to think of it, it is not a bad idea to add support on exectbl.ini to perform functions based on the active mode (Video/Mp3/FM/XM) ... this would also allow you to do what you want, but it is a lot more flexible than just that on the long run..

Exactly -- I can think of many other possibilities that this might open up. Thanks again!
rjoek is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Quest for 800x480 ptk LCD/Display 448 04-23-2008 09:30 PM
XM Radio pirate_king00 Road Runner 18 03-15-2005 11:48 AM
XM Radio took off the PCR product page kingtut General Hardware Discussion 7 10-15-2004 07:02 PM
What radio hardware do i need to une the radio mode.. reda4 MediaCar 0 05-05-2004 11:01 PM


All times are GMT -5. The time now is 04:11 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics