thefyfy / ScreenlyManager

UWP interface to manage multiple Raspberry with Screenly OSE (@screenly)
53 stars 15 forks source link

Crash after adding new RPi #6

Closed Noreu closed 5 years ago

Noreu commented 5 years ago

Hello,

Release 1.0.15.0 When I add a new RPi, I clik OK on the popup, then the screen crashed. Try with previous version, same error.

Any idea ?

Noreu commented 5 years ago

I have this error : JsonReaderException : Unexpected character encountered while parsing value: S. Path '', line 0, position 0.

Noreu commented 5 years ago

In GetAssetsAsync func from Device.cs, line this.Assets = JsonConvert.DeserializeObject<List<Asset>>(resultJson); doesn't work. The crash is here. resultJson return assets from RPi, no problem here.

Noreu commented 5 years ago

Work after a screenly upgrade. The problem is there a boolean true / false variable for is_active in previous version, and now this variable is 0 / 1.

thefyfy commented 5 years ago

Sorry for delay and thank you for feedbak on your issue.