Results 1 to 5 of 5

Thread: TAGTITLE, TAGARTIST - Question

  1. #1
    FLAC
    Auto Apps:loading...
    EL CAMINO's Avatar
    Join Date
    Jul 2005
    Location
    upland california us
    Posts
    1,283

    TAGTITLE, TAGARTIST - Question

    is there a way to change the data in this label, from an Extention plugin? i tried to set different data and the result was, "TAGTITLE data and NEW DATA" so in other words, if TAGTITLE use to show "BLACK", then in my plugin i want "TAGTITLE" to show "KASHMIR" what RR is showing is both at the same time. "BLACKKASHMIR", i can change indicators but not this labels. so if is possible i can use some help here,by the way i'm using vb 6.0 in a very basic plugin (RRTube).

  2. #2
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    8,169
    Blog Entries
    53
    Quote Originally Posted by EL CAMINO View Post
    is there a way to change the data in this label, from an Extention plugin? i tried to set different data and the result was, "TAGTITLE data and NEW DATA" so in other words, if TAGTITLE use to show "BLACK", then in my plugin i want "TAGTITLE" to show "KASHMIR" what RR is showing is both at the same time. "BLACKKASHMIR", i can change indicators but not this labels. so if is possible i can use some help here,by the way i'm using vb 6.0 in a very basic plugin (RRTube).
    very simple.. here's how i change "trackname" for rrshoutcast.

    Code:
    Public Function ReturnLabel(ByVal LBL As String, ByVal FMT As String) As String
    
            Select Case LCase(LBL)
                
    
                Case "trackname"
                    If ShoutcastStatus = "Tuned" Then
                        ReturnLabel = RRShoutcastTrackName
                    End If
    
    
    
            End Select
    
        End Function
    This code preserves the TRACKNAME label unless my plugin is "Tuned". And RRShoutcastTrackName is of course a variable set by a timer function. TAGARTIST,TAGNAME, and any other label can be modified from an extension plugin in the same manner
    mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
    Find my plugins on the MP3Car App Store!
    Follow Me on Twitter or Facebook
    Live mp3Car Facebook Chat

  3. #3
    FLAC
    Auto Apps:loading...
    EL CAMINO's Avatar
    Join Date
    Jul 2005
    Location
    upland california us
    Posts
    1,283
    Code:
            Case "tagtitle"
                If Playing Then ReturnLabel = PlayingVid
    if i use this code it wont work, dont know why. all i get is the results i mention before.

  4. #4
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,817
    Try this:

    Code:
            Case "tagtitle"
                If Playing Then ReturnLabel = PlayingVid: LBL = ""
    Basically, you should be careful when overriding label/command codes so that you prevent further processing of the label/command by RR and/or other plugins running. For this, all you have to do is empty the label/command code so nothing else processes it (like above). In the case of sonic, it is possible that it isn't an issue if the trackname was blank.
    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."

  5. #5
    FLAC
    Auto Apps:loading...
    EL CAMINO's Avatar
    Join Date
    Jul 2005
    Location
    upland california us
    Posts
    1,283
    will try that, thanks guino.

Similar Threads

  1. heavy-duty OBD standards support question
    By Michael2006 in forum Engine Management, OBD-II, Engine Diagnostics, etc.
    Replies: 0
    Last Post: 01-07-2007, 05:13 AM
  2. Replies: 2
    Last Post: 05-02-2006, 06:15 PM
  3. Forum Etiquette
    By Enforcer in forum Newbie
    Replies: 5
    Last Post: 01-09-2006, 06:58 PM
  4. Paint And Polish Question
    By gboy in forum Fabrication
    Replies: 8
    Last Post: 08-13-2005, 08:22 PM
  5. FM Card Question....
    By Superbike1k in forum Car Audio
    Replies: 1
    Last Post: 05-16-2005, 10:03 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
  •