Results 1 to 4 of 4

Thread: Play on screen other than XM.skin causes scan mode to be entered

  1. #1
    Variable Bitrate
    Join Date
    Nov 2006
    Posts
    265

    Play on screen other than XM.skin causes scan mode to be entered

    I have a set of skins that provide a common set of "buttons" that allow direct navigation between screens as well as providing audio support like play, stop, volume control, etc.

    This all works fine except if XM is the current source of audio, I am on a screen other then xm.skin and I press Play.

    Instead of simply doing a Play (even if it's not needed), RR jumps into scan mode presenting each channel with a 10 second separation.

    I looked at modRoadRunner.bas, and to my surprise that is what is coded if the playlist is not being displayed, which it is not.

    My question is "Why?". I don't use or want to use playlists and I only want the list of what is available to be played, channels, album content, etc to be displayed when I go to the appropriate screen.

    I am not complaining as this is clearly WAD but is there a way to by-pass this behavior short of changing the code?

    Regards,
    Jim

  2. #2
    FLAC Sal R.'s Avatar
    Join Date
    Aug 2006
    Location
    Sun Diego
    Posts
    1,448
    The only way I've gotten around that issue is assign a variable to tell RR what media is currently running (i.e. MP3s, radio, etc.)

    Depending on that variable, the functions of my "Standard Commands" would change along with their associated labels.

    Unless RR is updated to automatically change the function of certain buttons depending on the media source, might have to do it in the skin code.

    Another workaround you can do is to tell the button to "jump" back into the XM skin, do what you want, then return to the last screen. Not the cleanest solution tho.

  3. #3
    Variable Bitrate
    Join Date
    Nov 2006
    Posts
    265
    Quote Originally Posted by Sal R. View Post
    The only way I've gotten around that issue is assign a variable to tell RR what media is currently running (i.e. MP3s, radio, etc.)

    Depending on that variable, the functions of my "Standard Commands" would change along with their associated labels.

    Unless RR is updated to automatically change the function of certain buttons depending on the media source, might have to do it in the skin code.

    Another workaround you can do is to tell the button to "jump" back into the XM skin, do what you want, then return to the last screen. Not the cleanest solution tho.
    Sal R.,

    Thank you.

    Do you have any specific code examples. For other reasons I am tracking what is playing but couldn't find an alternative to "PLAY" to cause playing to start of XM. I have been thinking about your second suggestion but would like to avoid it if possible.

    Any help appreciated, I'm on the last pieces of my work and would like to clear this up if I can.

    Regards,
    Jim

  4. #4
    FLAC Sal R.'s Avatar
    Join Date
    Aug 2006
    Location
    Sun Diego
    Posts
    1,448
    Here's a example set of code that is appears on every *.skin of my skin using the INC command titled STANDARDCMDS.skin:
    Code:
    /,INC,File
    INC,FONTCOLORDEFINITIONS.txt
    INC,FONTSYTLEDEFINITIONS.txt
    
    /, B, x, y, w, h, Command;COMMANDCODES, Tooltip
    B01,89,550,89,50,"MUTE",
    B02,178,550,89,50,"BYVAR;medstat;PREV<<FREQ-",
    B03,267,550,89,50,"BYVAR;medstat;PLAY<<SCAN",@STOP@
    B04,356,550,88,50,"BYVAR;medstat;NEXT<<FREQ+",""
    B05,444,550,89,50,"VOL-",""
    B06,533,550,89,50,"VOL+",""
    B07,622,550,89,50,"BYVAR;medstat;SHUFFLE<<TUNE",""
    B08,711,550,89,50,"BYVAR;medstat;REPEAT<<SURF",""
    
    /, L, x, y, w, h, color R;RGB, G, B, font size;FONT, font name, Code;LABELCODES, Tooltip;LABELALIGNMENT
    L07,0,560,89,30,#MAINR#,#MAING#,#MAINB#,#MMINAVBARSIZE01#,#MMINAVBARFONT01#,"=Exit","Center"
    L08,89,560,89,30,#MAINR#,#MAING#,#MAINB#,#MMINAVBARSIZE01#,#MMINAVBARFONT01#,"=Mute","Center"
    L09,178,560,89,30,#MAINR#,#MAING#,#MAINB#,#MMINAVBARSIZE01#,#MMINAVBARFONT01#,"=<<","Center"
    L10,267,560,89,30,#MAINR#,#MAING#,#MAINB#,#MMINAVBARSIZE01#,#MMINAVBARFONT01#,"BYVAR;medstat;=> / II<<=Seek","Center"
    L11,356,560,44,30,#MAINR#,#MAING#,#MAINB#,#MMINAVBARSIZE01#,#MMINAVBARFONT01#,"=>","Right"
    L12,400,560,44,30,#MAINR#,#MAING#,#MAINB#,#MMINAVBARSIZE01#,#MMINAVBARFONT01#,"=>","Left"
    L13,444,560,89,30,#MAINR#,#MAING#,#MAINB#,#MMINAVBARSIZE01#,#MMINAVBARFONT01#,"=Vol -","Center"
    L14,533,560,89,30,#MAINR#,#MAING#,#MAINB#,#MMINAVBARSIZE01#,#MMINAVBARFONT01#,"=Vol +","Center"
    L15,622,560,89,30,#MAINR#,#MAING#,#MAINB#,#MMINAVBARSIZE01#,#MMINAVBARFONT01#,"BYVAR;medstat;=Shuffle<<=Tune","Center"
    L16,711,560,89,30,#MAINR#,#MAING#,#MAINB#,#MMINAVBARSIZE01#,#MMINAVBARFONT01#,"BYVAR;medstat;=Repeat<<=Scan","Center"
    By default and when I select "AUDIO" from the menu, it assigns a value medstat=0.

    When I select "RADIO" from the main menu, it assigns a value medstat=1.

    That way, the btn commands and labels above will change on every skin I'm in depending on whatever media source is currently running. The controller will be the media selected.

    Here's an pic example of what it looks like in my skin:

Similar Threads

  1. Music can still play in video mode
    By Snohead in forum Road Runner
    Replies: 6
    Last Post: 06-12-2006, 04:21 AM
  2. no video in full screen mode
    By arise360 in forum LCD/Display
    Replies: 6
    Last Post: 12-02-2004, 04:44 PM
  3. Replies: 7
    Last Post: 10-20-2004, 02:25 AM
  4. Replies: 4
    Last Post: 06-16-2004, 10:58 AM
  5. Does anyone know if PowerDVD will play in 256 color mode?
    By LESLIEx317537 in forum Software & Software Development
    Replies: 5
    Last Post: 02-02-2002, 01:07 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
  •