Sponsored links

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


Reply
 
Share Thread Tools Display Modes
Old 05-08-2009, 04:45 PM   #1
FLAC
 
EL CAMINO's Avatar
 
Join Date: Jul 2005
Location: upland california us
Posts: 1,012
EL CAMINO is on a distinguished road
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).
EL CAMINO is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 05-08-2009, 04:51 PM   #2
Terminal flasher
 
Sonicxtacy02's Avatar
 
Join Date: Sep 2004
Location: Woodbridge, VA
Posts: 6,307
Sonicxtacy02 has a spectacular aura aboutSonicxtacy02 has a spectacular aura about
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
__________________
03 Acura RSX Coupe
Developer of: RRFusion, MovieTimes.NET, (new)RRMail, RRShoutcast, & RRVehicle Maintenance
Currently working on: RRVehicle Maintenance

Last edited by Sonicxtacy02; 05-08-2009 at 04:54 PM.
Sonicxtacy02 is offline   Reply With Quote
Old 05-08-2009, 04:56 PM   #3
FLAC
 
EL CAMINO's Avatar
 
Join Date: Jul 2005
Location: upland california us
Posts: 1,012
EL CAMINO is on a distinguished road
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.
EL CAMINO is offline   Reply With Quote
Old 05-09-2009, 10:25 AM   #4
RoadRunner Mastermind
 
guino's Avatar
 
Join Date: Nov 2004
Location: Vitória, ES - Brazil
Posts: 9,060
guino will become famous soon enoughguino will become famous soon enough
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."
guino is offline   Reply With Quote
Old 05-09-2009, 07:03 PM   #5
FLAC
 
EL CAMINO's Avatar
 
Join Date: Jul 2005
Location: upland california us
Posts: 1,012
EL CAMINO is on a distinguished road
will try that, thanks guino.
EL CAMINO 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 On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
heavy-duty OBD standards support question Michael2006 Engine Management, OBD-II, Engine Diagnostics, etc. 0 01-07-2007 05:13 AM
Any in-dash monitor with built in FM Radio QUESTION. ??? 74Camaro LCD/Display 2 05-02-2006 06:15 PM
Forum Etiquette Enforcer Newbie 5 01-09-2006 06:58 PM
Paint And Polish Question gboy Fabrication 8 08-13-2005 08:22 PM
FM Card Question.... Superbike1k Car Audio 1 05-16-2005 10:03 AM



All times are GMT -5. The time now is 04:52 AM.


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