logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

2 Pages<12
Options
Go to last post Go to first unread
badgerspit  
#21 Posted : Thursday, April 13, 2017 11:07:31 AM(UTC)
badgerspit

Rank: Newbie

Groups: Registered
Joined: 6/11/2015(UTC)
Posts: 6

Thanks: 2 times
Would definitely love it if someone could help make this Fahrenheit capable? Sorry we are so behind in the US. I remember the big push for Celsius when I was a wee lad in elementary school during the mid 70's, but alas...

I found some XAML code to convert, maybe someone can tinker/fix/ add this to the current wonderful Njastad weather plugin?

[ValueConversion(typeof(double), typeof(double))]
public class FahrenheitToCelsiusConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
if (value == null)
{
throw new ArgumentNullException("value");
}
// Fahrenheit to Celsius
double fahrenheit;
if (double.TryParse(value.ToString(), out fahrenheit))
{
var celsius = (fahrenheit - 32) * 5 / 9;
return celsius;
}

throw new ArgumentException("value must be double");
}

public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
{
if (value == null)
{
throw new ArgumentNullException("value");
}
// Celsius to Fahrenheit
double celsius;
if (double.TryParse(value.ToString(), out celsius))
{
var fahrenheit = celsius * 9 / 5 + 32;
return fahrenheit;
}

throw new ArgumentException("value must be double");
}
DWAM  
#22 Posted : Thursday, April 13, 2017 12:25:12 PM(UTC)
DWAM

Rank: Advanced Member

Groups: Registered
Joined: 3/20/2014(UTC)
Posts: 2,721
Man
France
Location: Bordeaux, France

Thanks: 243 times
Was thanked: 794 time(s) in 589 post(s)
Hi

I guess you'd better ask Njastad to do it as it is "his" app.

Guillaume
doggy  
#23 Posted : Thursday, April 13, 2017 12:43:16 PM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,223
Belgium
Location: Belgium

Thanks: 293 times
Was thanked: 955 time(s) in 790 post(s)
Would this not depend on where one is pulling the data from also ?
do they transmit as C value or F value ?
DWAM  
#24 Posted : Thursday, April 13, 2017 12:55:03 PM(UTC)
DWAM

Rank: Advanced Member

Groups: Registered
Joined: 3/20/2014(UTC)
Posts: 2,721
Man
France
Location: Bordeaux, France

Thanks: 243 times
Was thanked: 794 time(s) in 589 post(s)
The service is based on yr.no
I quickly checked but found no F option.

Even the JS, PHP or XML forecasts seem to be in Celcius only, but all docs are in Norwegian so not easy to say
wtmuradiotv  
#25 Posted : Sunday, June 18, 2017 2:10:14 PM(UTC)
wtmuradiotv

Rank: Advanced Member

Groups: Registered
Joined: 7/4/2015(UTC)
Posts: 65
Man
United States

Thanks: 3 times
Was thanked: 3 time(s) in 3 post(s)
Any updates on this to english version ????? At least customizing



Thremir wrote:
Greetings vMixers!

Me and my brother really like to test the limit of things we are using, therefore we came up with this maybe not so useful for all, but at least we got a good test of what we were capable of making.

We present to you; the vMix WeatherApp



Includes:

- Lower third viewing the weather of selected area in the 4 next days
- Software to control both location, the lower third itself and the color of the lower third effect via a color picker

Please note that these are 2-storyboard animations with both in- and out-effects but out animations only work with vMix 12+

Please supply feature suggestions and other layouts for the templates as I am out of ideas.

The application was developed by my brother Sondre Njåstad, so a big shoutout to him. In addition we want to say that this is a project to support and expand the use of vMix, and that as a 3rd party software, do not contact the official vMix Team about this software.

He will lurk this tread as much as I will as "Sondrey", so any app-related questions will go to him

--DOWNLOAD LINK--
http://shop.njastad.com/...roduct&product_id=51

This would be another part of my "Pack of XAML Lower Thirds / Supers", which you can find here:
http://forums.vmix.com.a....aspx?g=posts&t=2138

Information about source-code and further development found below.

--DONATION LINK--
https://www.paypal.com/c..._button_id=VBKT28CRUAGTQ

Contact us via skype if there should be any questions:

App Dev.:
sondre_njaastad

XAML desginer:
havard_njastad


Cheers

Håvard & Sondre

Users browsing this topic
Guest (2)
2 Pages<12
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.