It is currently April 24th, 2024, 11:52 am

RadioNow

Media controls, music players, video and animated visualizers
User avatar
Benjamin Linus
Posts: 163
Joined: July 12th, 2009, 4:05 pm
Location: The Island

Re: RadioNow

Post by Benjamin Linus »

jsmorley wrote: The Artist and Title are working fine for me with the new Libcad.dll and and VLC 2.0. As far as I can tell, all the features I use in the skin are working ok.
:bow:
Thanks for speedy response.
I'll try and establish what's goin' on.
Image
User avatar
jsmorley
Developer
Posts: 22629
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: RadioNow

Post by jsmorley »

Benjamin Linus wrote: :bow:
Thanks for speedy response.
I'll try and establish what's goin' on.
If you are still having issues, let's make sure you and I are in sync. Here is what I am using:

http://dl.dropbox.com/u/4991063/RadioNow.zip

Really needs to be updated to use !CommandMeasure instead of !RainmeterPluginBang, but that won't effect functionality.
User avatar
jsmorley
Developer
Posts: 22629
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: RadioNow

Post by jsmorley »

If you are using RainRadio pretty much as is, here is corrected code to use !CommandMeasure and remove the old "Rainmeter" prefix from a couple of bang names.

Code: Select all

[Rainmeter]
Author=Jeffrey Morley
Update=800

[Metadata]
Name=RadioNow
Config=RadioNow
Description=Rainmeter / NowPlaying skin to listen to ShoutCast internet radio
Instructions=Please see HowTo.txt
Version=FEB 25, 2012
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0

[Variables]
PathToVLC="C:\Program Files (x86)\VideoLAN\VLC\vlc.exe"
PathToRainRadio="#CURRENTPATH#\RainRadio.exe"
PathToStations="#CURRENTPATH#Stations\"

FontFace=Trebuchet MS
LightFontColor=CCCCCCFF
MyFontSize=10

Station1Link=977Hits.pls
Station1Title="977 - All Hits"
Station2Link=SkyFMHits.pls
Station2Title="Sky FM - Hits"
Station3Link=SkyFM70s.pls
Station3Title="Sky FM - The 70's"
Station4Link=97780s.pls
Station4Title="977 - The 80's"
Station5Link=1FM90s.pls
Station5Title="1.FM - The 90's"
Station6Link=181Alternative.pls
Station6Title="181 - Alternative"
Station7Link=idobiRadio.pls
Station7Title="idobi Indi Radio"
Station8Link=BanditRock.pls
Station8Title="Bandit Rock 106.3"

[mPlayer]
Measure=Plugin
Plugin=NowPlaying.dll
PlayerName=CAD
PlayerType=TITLE
PlayerPath=#PathToVLC#
DisableLeadingZero=0
Substitute="":"Select a station"

[mArtist]
Measure=Plugin
Plugin=NowPlaying.dll
PlayerName=[mPlayer]
PlayerType=ARTIST

[mStateButton]
Measure=Plugin
Plugin=NowPlaying.dll
PlayerName=[mPlayer]
PlayerType=STATE
Substitute="0":"Play.png","1":"Pause.png","2":"Play.png"

[mVolume]
Measure=Plugin
Plugin=NowPlaying.dll
PlayerName=[mPlayer]
PlayerType=VOLUME

[MeterBackground]
Meter=IMAGE
ImageName=Images\Background.png
ImageTint=255,255,255,210

[MeterDividerLine1]
Meter=Image
SolidColor=CCCCCC11
X=20
Y=20
W=295
H=2

[MeterStationDisplayBack]
Meter=Image
X=20
Y=30
W=300
H=20
SolidColor=222222FF

[MeterStationDisplay]
Meter=STRING
MeasureName=mPlayer
MeasureName2=mArtist
X=22
Y=32
W=275
H=16
FontFace=Trebuchet MS
FontColor=FFFFFFFF
SolidColor=0,0,0,1
AntiAlias=1
ClipString=1
ToolTipText=[mPlayer]
DynamicVariables=1
Text="%2 - %1"

[MeterDividerLine2]
Meter=Image
SolidColor=CCCCCC11
X=20
Y=140
W=295
H=2

[MeterVolumeIcon]
Meter=Image
ImageName=Images\Volume.png
X=20
Y=155

[MeterVolumeText]
Meter=STRING
MeasureName=mVolume
X=11r
Y=156
W=45
H=16
FontSize=8
FontFace=Trebuchet MS
FontColor=FFFFFF99
AntiAlias=1
ClipString=1
Text="%1%"

[MeterVolumeUp]
Meter=BUTTON
ButtonImage=Images\VolumeUp.png
X=27r
Y=152
LeftMouseUpAction=!Execute [!CommandMeasure "mPlayer" "SetVolume +25"]

[VolumeDown]
Meter=BUTTON
ButtonImage=Images\VolumeDown.png
X=0r
Y=162
LeftMouseUpAction=!Execute [!CommandMeasure "mPlayer" "SetVolume -25"]

[MeterPlay]
Meter=BUTTON
ButtonImage=Images\[mStateButton]
X=10R
Y=155
LeftMouseUpAction=!Execute [!CommandMeasure "mPlayer" "PlayPause"]
DynamicVariables=1

[MeterStopButton]
Meter=Button
ButtonImage=Images\Stop.png
ButtonCommand=!Execute [!CommandMeasure "mPlayer" "ClosePlayer"][!SetOptionGroup Stations StringStyle Normal]
X=5R
Y=154

[MeterOpenWebSite]
Meter=BUTTON
ButtonImage=Images\Open.png
X=280
Y=154
ToolTipText="Go to ShoutCast"
ButtonCommand=!Execute ["http://www.shoutcast.com/"]

[MeterCloseSkin]
Meter=BUTTON
ButtonImage=Images\Close.png
X=300
Y=154
ToolTipText="Exit Skin"
ButtonCommand=!Execute [!CommandMeasure "mPlayer" "ClosePlayer"][!DeactivateConfig "#CURRENTCONFIG#"]

;[STATIONS LEFT]============================================================

[MeterStation1]
Meter=STRING
Group=Stations
X=20
Y=60
FontFace=#FontFace#
FontSize=#MyFontSize#
FontColor=#LightFontColor#
SolidColor=0,0,0,0
Antialias=1
Text=#Station1Title#
LeftMouseDownAction=!Execute [!CommandMeasure "mPlayer" "ClosePlayer"]["#PathToRainRadio#" "#PathToVLC#" "#PathToStations##Station1Link#"][!SetOptionGroup Stations StringStyle Normal][!SetOption MeterStation1 StringStyle BoldItalic]

[MeterStation2]
Meter=STRING
Group=Stations
X=20
Y=1R
FontFace=#FontFace#
FontSize=#MyFontSize#
FontColor=#LightFontColor#
SolidColor=0,0,0,0
Antialias=1
Text=#Station2Title#
LeftMouseDownAction=!Execute [!CommandMeasure "mPlayer" "ClosePlayer"]["#PathToRainRadio#" "#PathToVLC#" "#PathToStations##Station2Link#"][!SetOptionGroup Stations StringStyle Normal][!SetOption MeterStation2 StringStyle BoldItalic]

[MeterStation3]
Meter=STRING
Group=Stations
X=20
Y=1R
FontFace=#FontFace#
FontSize=#MyFontSize#
FontColor=#LightFontColor#
SolidColor=0,0,0,0
Antialias=1
Text=#Station3Title#
LeftMouseDownAction=!Execute [!CommandMeasure "mPlayer" "ClosePlayer"]["#PathToRainRadio#" "#PathToVLC#" "#PathToStations##Station3Link#"][!SetOptionGroup Stations StringStyle Normal][!SetOption MeterStation3 StringStyle BoldItalic]

[MeterStation4]
Meter=STRING
Group=Stations
X=20
Y=1R
FontFace=#FontFace#
FontSize=#MyFontSize#
FontColor=#LightFontColor#
SolidColor=0,0,0,0
Antialias=1
Text=#Station4Title#
LeftMouseDownAction=!Execute [!CommandMeasure "mPlayer" "ClosePlayer"]["#PathToRainRadio#" "#PathToVLC#" "#PathToStations##Station4Link#"][!SetOptionGroup Stations StringStyle Normal][!SetOption MeterStation4 StringStyle BoldItalic]

;[STATIONS RIGHT]============================================================

[MeterStation5]
Meter=STRING
Group=Stations
X=180
Y=60
FontFace=#FontFace#
FontSize=#MyFontSize#
FontColor=#LightFontColor#
SolidColor=0,0,0,0
Antialias=1
Text=#Station5Title#
LeftMouseDownAction=!Execute [!CommandMeasure "mPlayer" "ClosePlayer"]["#PathToRainRadio#" "#PathToVLC#" "#PathToStations##Station5Link#"][!SetOptionGroup Stations StringStyle Normal][!SetOption MeterStation5 StringStyle BoldItalic]

[MeterStation6]
Meter=STRING
Group=Stations
X=180
Y=1R
FontFace=#FontFace#
FontSize=#MyFontSize#
FontColor=#LightFontColor#
Antialias=1
Text=#Station6Title#
LeftMouseDownAction=!Execute [!CommandMeasure "mPlayer" "ClosePlayer"]["#PathToRainRadio#" "#PathToVLC#" "#PathToStations##Station6Link#"][!SetOptionGroup Stations StringStyle Normal][!SetOption MeterStation6 StringStyle BoldItalic]

[MeterStation7]
Meter=STRING
Group=Stations
X=180
Y=1R
FontFace=#FontFace#
FontSize=#MyFontSize#
FontColor=#LightFontColor#
Antialias=1
Text=#Station7Title#
LeftMouseDownAction=!Execute [!CommandMeasure "mPlayer" "ClosePlayer"]["#PathToRainRadio#" "#PathToVLC#" "#PathToStations##Station7Link#"][!SetOptionGroup Stations StringStyle Normal][!SetOption MeterStation7 StringStyle BoldItalic]

[MeterStation8]
Meter=STRING
Group=Stations
X=180
Y=1R
FontFace=#FontFace#
FontSize=#MyFontSize#
FontColor=#LightFontColor#
Antialias=1
Text=#Station8Title#
LeftMouseDownAction=!Execute [!CommandMeasure "mPlayer" "ClosePlayer"]["#PathToRainRadio#" "#PathToVLC#" "#PathToStations##Station8Link#"][!SetOptionGroup Stations StringStyle Normal][!SetOption MeterStation8 StringStyle BoldItalic]
User avatar
Benjamin Linus
Posts: 163
Joined: July 12th, 2009, 4:05 pm
Location: The Island

Re: RadioNow

Post by Benjamin Linus »

:oops:
Sorry Jeff, all resolved now i had installed the new VLC where it shouldn't have been :rolmfao:
Thanks again for radionow it's so useful, does exactly what it says on the tin.
Image
User avatar
jsmorley
Developer
Posts: 22629
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: RadioNow

Post by jsmorley »

I do notice that the "Bandit Rock" station does not seem to display Artist - Title info. Must be something peculiar to the .pls file for that station. All the other stations seem to work right.
User avatar
jsmorley
Developer
Posts: 22629
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: RadioNow

Post by jsmorley »

Benjamin Linus wrote::oops:
Sorry Jeff, all resolved now i had installed the new VLC where it shouldn't have been :rolmfao:
Thanks again for radionow it's so useful, does exactly what it says on the tin.
Good deal.
sajanvjose
Posts: 1
Joined: May 18th, 2012, 1:16 pm

Re: RadioNow

Post by sajanvjose »

:thumbup: great skin... does the job and does it really well... thanks for the effort...
Jazzmatazz123
Posts: 7
Joined: December 5th, 2011, 10:08 pm

Re: RadioNow

Post by Jazzmatazz123 »

hi
after VLC-Update (2.0.2 Twoflower) no Songtitle/Interpret will shown.
Also the Volume ist no longer adjustable

Any hints?
Jazzmatazz123
Posts: 7
Joined: December 5th, 2011, 10:08 pm

Re: RadioNow

Post by Jazzmatazz123 »

ok, it seems to be running if you just type CAD in the empty field in VLC/show settings/Interfacd/Control interfaces/ empty field

further version of VLC 2.0 ? will have a CAD-Now-Playing Box that must be klicked
Jazzmatazz123
Posts: 7
Joined: December 5th, 2011, 10:08 pm

Re: RadioNow

Post by Jazzmatazz123 »

hi
after a new installation of win7-64 and vlc 2.05 (64Bit-Version) the radionow plays my favorite stations. But its not possible to ends the radionow (must kill the vlc-pid) ;-(
(also, the Songtitle/Interpret- INfo will not shown again)

I suppose that your lib will not work with 64 BIt VLC-Version.
or is there a way to run RADIONOW with 64 Bit VLC ?

thanks in advance
Jazzmatazz