It is currently October 4th, 2024, 10:37 am
NowPlaying plugin - Multiple Media Player Support
-
- Posts: 9
- Joined: January 26th, 2012, 12:12 am
Re: NowPlaying plugin - Multiple Media Player Support
Hi, I have made a webradio skin and I want to be able to see the Artist - Title text but I can't seem to do that on that station. When I try on a different station like SKyFMHits It works perfectly. Any ideas or is it the station that isn't supported?
-
- Developer
- Posts: 2873
- Joined: April 17th, 2009, 12:18 pm
Re: NowPlaying plugin - Multiple Media Player Support
What do you mean by "background for the field"? The whole skin or just one part of it?awem wrote:Greetings, does anyone know a way to check whether a field like artist or title is empty, so the script doesn't display the background for the field? I have a lot of audio files without ID tags, and I hate when the entire player interface pops up even though there's no info to be displayed.
What player and what station?Fujiwara92 wrote:Hi, I have made a webradio skin and I want to be able to see the Artist - Title text but I can't seem to do that on that station. When I try on a different station like SKyFMHits It works perfectly. Any ideas or is it the station that isn't supported?
-
- Posts: 9
- Joined: January 26th, 2012, 12:12 am
Re: NowPlaying plugin - Multiple Media Player Support
I use VLC as the player and the station is a swedish station ( http://www.bandit.se/ ) and I got the link that I use in the .pls file from here: http://www.screamer-radio.com/directory/show/station/185/
-
- Developer
- Posts: 22802
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: NowPlaying plugin - Multiple Media Player Support
While using:Fujiwara92 wrote:I use VLC as the player and the station is a swedish station ( http://www.bandit.se/ ) and I got the link that I use in the .pls file from here: http://www.screamer-radio.com/directory/show/station/185/
[playlist]
numberofentries=1
File1=http://mtg-wms.bahnhof.net/banditsthlm?MSWMExt=.asf
Title1=Bandit Rock 106.3
Length1=-1
As a .pls file for this station works just fine, it does not seem to return the Artist - Song information as ShoutCast stations do. Not sure there is any way to fix this.
-
- Posts: 9
- Joined: January 26th, 2012, 12:12 am
Re: NowPlaying plugin - Multiple Media Player Support
Allright, but is it possible to take the Artist - Title info directly from the site or webradio?
-
- Developer
- Posts: 22802
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: NowPlaying plugin - Multiple Media Player Support
No.Fujiwara92 wrote:Allright, but is it possible to take the Artist - Title info directly from the site or webradio?
-
- Posts: 9
- Joined: January 26th, 2012, 12:12 am
Re: NowPlaying plugin - Multiple Media Player Support
Ok, guess I'll have to do without it, but thanks anyway =)
-
- Posts: 29
- Joined: December 22nd, 2009, 2:49 pm
Re: NowPlaying plugin - Multiple Media Player Support
Is it possible to disable the measures that uses NowPlaying plugin, since i'm not able to disable mine
Nor adding Disabled=1 or do it with a bang [!DisableMeasure mDuration] (called at LeftMouseDownAction on another meter) has anny effect.
Sorry if this has been asked befor didn't read all 50 pages
Code: Select all
Player=WMP
[mDuration]
Measure=Plugin
Plugin=NowPlaying.dll
PlayerName=#Player#
PlayerType=POSITION
UpdateDivider=1
Group=Measures
Sorry if this has been asked befor didn't read all 50 pages
-
- Developer
- Posts: 2873
- Joined: April 17th, 2009, 12:18 pm
Re: NowPlaying plugin - Multiple Media Player Support
It is possible and your code does indeed disable the measure. However, some Rainmeter measures have two values -- a string value and a numerical value.Nooby4Ever wrote:Is it possible to disable the measures that uses NowPlaying plugin, since i'm not able to disable mine
In the case of the NowPlaying duration measure, the string value may be "00:55" while the numerical value is 55. When disabled, the string value will continue to be "00:55", but the numerical value will be 0.
You can check this with a Calc measure (note: your measure name is mDuration, but you use PlayerType=POSITION -- I've used mPosition below):
Code: Select all
[mPositionNumber]
Measure=Calc
Formula=mPosition
-
- Posts: 2
- Joined: January 24th, 2012, 11:44 am
Re: NowPlaying plugin - Multiple Media Player Support
The issue isn't with hiding the skin but with knowing when to do so. As far as I know, the plugin provides no way to check if the ID tags are empty. Anyway, I've solved the problem.poiru wrote: What do you mean by "background for the field"? The whole skin or just one part of it?
For anyone interested, I've made this rather crude lua script that checks if a measure's value is empty: