Jump to content


Photo

FrontView+ [for Windows]iMon replacement, NowPlaying 2nd Screen

iMon LCD 2ndScreen SecondScreen Soundgraph Thermaltake Silverstone

  • Please log in to reply
528 replies to this topic

#41 jjstecchino OFFLINE  

jjstecchino

    Advanced Member

  • Members
  • 95 posts
  • Local time: 10:17 PM

Posted 10 April 2016 - 08:00 AM

3. Remote Control
- Should and does work on my system.  (haven't made any changes to this code)

Other emby playback devices such as Web etc do - and FrontView controls those fine (or it did when I last tested :)
Tested: Emby Home Theatre 2 does support remote control and FrontView and works fine on my system (version 2.0.0 and updated to 2.1.6 always functioning correctly)  Correctly pausing, stopping going forward etc..

 

May be issue of application startup - Frontview needs emby client running on startup as that is when it checks for remote support.

To test close frontview and restart, and retest Remote commands.  If that fixes - look at timing of startup apps etc
 

If yours doesn't - need log I suspect. :)
 

Cheers

 

Glenn

 

It may be a startup order issue. I have both frontview+ and emby set to startup on windows logon, I suspect that frontview is starting before emby. I'll check and let you know



#42 jjstecchino OFFLINE  

jjstecchino

    Advanced Member

  • Members
  • 95 posts
  • Local time: 10:17 PM

Posted 10 April 2016 - 10:59 AM

RE: Remote control

 

Confirmed it is a startup order problem. If I start emby theater first it works just fine. This is however a problem as emby usually start last in order to have focus and be controlled with the remote. Would it be possible for frontview to continue checking for a frontend if one is not found on startup? This would solve the problem.

 

On a different note I was able to compile and run frontview on VS15 after disabling the security check for the project. I would love to help adding some new themes of different colors just as imon has, so that the look of the screen can be customized to the display color of the other AV component.

 

PS what is your time zone?


Edited by jjstecchino, 10 April 2016 - 12:02 PM.


#43 jjstecchino OFFLINE  

jjstecchino

    Advanced Member

  • Members
  • 95 posts
  • Local time: 10:17 PM

Posted 10 April 2016 - 03:00 PM

If you like to add to frontview setup, I made skins of different color similar to iMon. I just photoshopped the default background to give similar consistency. I am including my skin directory but it is larger than I can upload here.

 

Here is a dropbox link http://www.dropbox.c...b/Skin.zip?dl=0


  • Xzener likes this

#44 GlennNZ OFFLINE  

GlennNZ

    Advanced Member

  • Members
  • 319 posts
  • Local time: 08:17 AM
  • LocationAustralia

Posted 10 April 2016 - 05:19 PM

RE: Remote control

Confirmed it is a startup order problem. If I start emby theater first it works just fine. This is however a problem as emby usually start last in order to have focus.

PS what is your time zone?


Thanks. Will have a look at code when can - prob next few days - might be possible to change - although seem to remember was reason for this. Other option is delay start to Frontview - quite a few free apps to control startup order.

Time zone wise - GMT -10, was about 4am when you wrote this!

If you like to add to frontview setup, I made skins of different color similar to iMon. I just photoshopped the default background to give similar consistency. I am including my skin directory but it is larger than I can upload here.

Here is a dropbox link http://www.dropbox.c...b/Skin.zip?dl=0


Yes - can make or update skins without code needed.
Just need to duplicate and rename skin directory in program files -then can alter any part - new skin can be selected in settings.
Will download and have look at yours today - to large to include with setup - but happy to include link for separate download.

How is the focus solution? Seems pretty robust at my testing.

Thumbnails -> likely secondary to folder setup I presume -> but need log.

Finally if making any code changes need to fork at Github and update your code at your fork - then can push if needed.

Glenn

#45 jjstecchino OFFLINE  

jjstecchino

    Advanced Member

  • Members
  • 95 posts
  • Local time: 10:17 PM

Posted 10 April 2016 - 10:40 PM

Remote control, start order and recheck if client not detected -> would be a much cleaner solution if handled by front view rather than relying on external apps to change startup order. If Emby is already full screen, front view starting last would steal focus and display the Windows start bar. Requiring to mouse click on Emby to restore focus.

Focus issue seems to be resolved in the last update

Skins -> I just modified the background image of the default skin, but I had to duplicate everything else in the default skin for each different skin hence the size. Don't know if there is a different solution to avoid duplication of common resources.

I forked the repo and reading the code.

Get -10 -> Australia?

Edited by jjstecchino, 10 April 2016 - 10:43 PM.


#46 GlennNZ OFFLINE  

GlennNZ

    Advanced Member

  • Members
  • 319 posts
  • Local time: 08:17 AM
  • LocationAustralia

Posted 10 April 2016 - 11:26 PM

Hi

Remote issue is to control need to have SessionID for that emby client/session.  Doesnt exists before Emby client actually starts.  Could have it check a lot later/delay this check and will have a look into that.  But presently sorts all this out at the time of connection to the remote client/server with all the hand-shaking, authority etc - and then lets remote API know whether supports remote or not.  Was attempting to remove remote button display if remote not supported

 

Could set API SupportsRemote setting to always true for Emby Remote - and then run later check for SessionID 2 minutes or so after startup.  Will have a look at options - other issue is currently check for remote support may return false or true - could make the bool variable nullable and have a null,false,true and recheck periodically only if null.

 

Good about focus.

 

Just your thumbnails left.

 

Glenn

 

(Sorry though you knew Australia - its in the sideline)


Edited by GlennNZ, 11 April 2016 - 12:21 AM.


#47 GlennNZ OFFLINE  

GlennNZ

    Advanced Member

  • Members
  • 319 posts
  • Local time: 08:17 AM
  • LocationAustralia

Posted 11 April 2016 - 02:14 AM

Hi

 

Skin:

Happy to link to first page - probably needs a readme as to where to put the files - into %appdata% etc.

If Dropbox durable link can post that or use another?

 

 

Remote Control

Fixed.  New files to replace here - updates to 1.111

Pretty easy fix - change bool to nullable bool - true, false or null.  Only if SupportsRemote null & remote command attempted recheck if client running and whether supports remote.

 

Full Setup file Version 1.111

https://www.mediafir...uuw6dvwkwdmhbiy

 

 

Just thumbnails left to go?

 

 

Glenn

Attached Files


Edited by GlennNZ, 11 April 2016 - 02:47 AM.


#48 jjstecchino OFFLINE  

jjstecchino

    Advanced Member

  • Members
  • 95 posts
  • Local time: 10:17 PM

Posted 11 April 2016 - 02:22 PM

Hello Glenn, thank you for working at this. I look forward to try the new version as I get home.

 

Regarding the skins, if you like you can place the file in mediafire with the other for consistency, also I dont know how much bandwidth dropbox allow with the free account.

For each skin the only thing changed is the background image, which in itself is quite small. This could be addressed by the installer program, which after install can duplicate the default skin directory for as many skin backgrounds are needed and then just copy the background images in the right place. In this way only a few images will need to be included in the package. I dont think the installer code included in github, is it? If you add it to the repository and If you dont mind I'll take a stab at coding that? Otherwise I can write a batch file to do that.

 

The thumbnails started to work after I started frontview after the emby client. My bad if I didnt tell you.

 

Overall frontview+ is working very well. The only other thing I noticed is the weather city selection does not work. For me did not do any search based on the city name. I had to change the weather code in the xml.

 

Another feature I think it would be nice is a setting in the xml to change the timing and amount of dimming of the frontview screen when playing a movie. I personally would like to leave it undimmed a little bit longer and dont dim quite as much (on my screen it is practically black). I realized this is personal preference, hence the setting. I would like to try to do it myself, if you dont mind. I may not be able to succeed as I find the programming techniques used to write front view quite advanced for my amatourish programming level. 



#49 GlennNZ OFFLINE  

GlennNZ

    Advanced Member

  • Members
  • 319 posts
  • Local time: 08:17 AM
  • LocationAustralia

Posted 11 April 2016 - 07:51 PM

Hello Glenn, thank you for working at this. I look forward to try the new version as I get home.

 

Regarding the skins, if you like you can place the file in mediafire with the other for consistency, also I dont know how much bandwidth dropbox allow with the free account.

For each skin the only thing changed is the background image, which in itself is quite small. This could be addressed by the installer program, which after install can duplicate the default skin directory for as many skin backgrounds are needed and then just copy the background images in the right place. In this way only a few images will need to be included in the package. I dont think the installer code included in github, is it? If you add it to the repository and If you dont mind I'll take a stab at coding that? Otherwise I can write a batch file to do that.

 

The thumbnails started to work after I started frontview after the emby client. My bad if I didnt tell you.

 

Overall frontview+ is working very well. The only other thing I noticed is the weather city selection does not work. For me did not do any search based on the city name. I had to change the weather code in the xml.

 

Another feature I think it would be nice is a setting in the xml to change the timing and amount of dimming of the frontview screen when playing a movie. I personally would like to leave it undimmed a little bit longer and dont dim quite as much (on my screen it is practically black). I realized this is personal preference, hence the setting. I would like to try to do it myself, if you dont mind. I may not be able to succeed as I find the programming techniques used to write front view quite advanced for my amatourish programming level. 

 

Hi

A Bit of time today - so thought would have a look

 

Thumbnails

Load do download/cache in the background so can take a while to show up.  I haven't changed anything with regards file handling.

 

But regarding your two requests;

Basically your two requests FrontView supports now, already without any code changes neeed

 

Time to Dim

Setting in xml File

  <DimmingTimer>15</DimmingTimer>

Time from start of playback when Dimming occurs.

 

Amount and timeframe of Dim

Is a Skin setting.

In Animations.xml skin file  - admittedly somewhat harder to change - but easy to have a few skins with different Dim levels to suit.

    <Storyboard x:Key="stb_ShowDimming">
        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="grd_Dimming" Storyboard.TargetProperty="(UIElement.Opacity)">
            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
            <SplineDoubleKeyFrame KeyTime="00:00:05" Value="0.5"/>

As Above - here I have changed the Default Value to 0.5  (from 0.9) and also made the dim occur over 5 seconds.

 

I have figured out to move this to main settings.xml file  -- xaml is a bit of a pain/wouldn't suggest you start on that.  

Have changed my currenly unpublished version of the code - to add a DimAmount to Settings xml file.  

Depending on the skin setting it will then use this for amount of Dim.

 

Skins

They to big file wise I agree.  

I use a NSIS compiler for the installer which is somewhat custom according to my directories/where files are. 

You are right could copy the same files over multiple times - but that would make FrontView take up 200MB of disk space!

 

Could have stand alone installer for the skins, dropping them into %appdata% /FrontView+/Skin  ?

Something like would do the job I suspect - and is really easy to use.  (I started with it before NSIS)

http://www.installsimple.com/

 

Will have a look at code and see if can have code check Default if another skin missing a piece - suspect this will be big deal given xaml though.  (Basically have looked and is not possible without really re-writing)

 

Weather

Yep - the yahoo weather locationID search website that was used is closed and there doesn't seem to be alternative to search for location ID.

Yahoo has also moved on to using WOIED.

So unless weather and classes re-written - will have to enter locationID in XML

 

Well have used up the bit of free-time recoding the weather city search bit - unfortunately Yahoo API is quite limited and most of the locations found don't appear in Yahoo's xml api - so essentially you can't use them for weather/forecast.  So took the far bigger step of rewriting the Weather engine API completely to use WUnderground API (currently its using my API Key)  All looking good, new icons amongst other data.  Just have to add optional API Key setting in xml file in case using my Key API max's out the number of allowed free requests   (free one allows 500/day).  Pretty easy to get your own and free.  Will sort out those details and then post update.

 

 

Glenn

 

 

Glenn

 

(I attached edited Animation.xml skin file - but pretty straight forward to change as above)

Attached Files


Edited by GlennNZ, 12 April 2016 - 02:41 AM.


#50 GlennNZ OFFLINE  

GlennNZ

    Advanced Member

  • Members
  • 319 posts
  • Local time: 08:17 AM
  • LocationAustralia

Posted 15 April 2016 - 10:06 PM

Release 1.113

WEATHER API Completely  rewritten - do need Wunderground API Key however!  (free, easy access)
 
Link in Setting Page
Completely rewritten Weather API - Moved to Wunderground
New Weather Icons, Backgrounds
Search works - huge range of location options; given Wunderground
 
57119dd664fed_Weathersearch.png
 
5711ba3a4e060_WeatherApiSettings.png
 
57119df6a4c79_WeatherForecast.png
 
 
Release 1.112
Add Xml Settings <DimAmount> value from 0 to 1 (eg. 0.5, or 0.9) amount of Dim applied to screen
(setting also adjustable with Skin Animation.xml file) Depending on skin may override Settings.xml setting.
 
 
Weather side of things may need some testing (!)  Thanks for your help.
 
 
 
Plus:
 
Skins:
Courtesy of 
jjstecchino

Skins for FrontView+ Compatible with new/or old weather;

Download from here:  (Install setup.exe file)
https://www.mediafir...2n17c6is845ztlq

 

Thanks

 

 
 
 
Glenn

Edited by GlennNZ, 16 April 2016 - 12:38 AM.


#51 GlennNZ OFFLINE  

GlennNZ

    Advanced Member

  • Members
  • 319 posts
  • Local time: 08:17 AM
  • LocationAustralia

Posted 17 April 2016 - 02:32 AM

Further Release 1.114

 
Minor changes for WeatherAPI (Changes Icons depending on current Sunset or not for both current and Forecast){Rightly or wrongly for Forecast} Happy to have feedback.
(current Icons can be changed - they are a skin item within Skin directory - wide range of icons to choose from online)
 
EMBY remote Update:  Fix for Updated Trailers Change/Server Update/Backwards compatible
 
Add DimAmount and Time of Dim /Dim Time to Settings screens. (as below)
57132daf93cea_DimSettingsscreen.png
 
 
 
 
Thanks
 
Glenn
 
 


#52 jjstecchino OFFLINE  

jjstecchino

    Advanced Member

  • Members
  • 95 posts
  • Local time: 10:17 PM

Posted 18 April 2016 - 07:09 AM

Glenn, thank you for the good work. Frontview+ really brought back new life to an otherwise great but useless case.

I have been out of town, but I look forward to try the new version as I get home.

Also I have been trying to learn the NSIS compiler as it would allow the flexibility of just including the background image in the setup file (keeping it small), select just the skins you want to install (thus limiting the install size) and do all the necessary copying from the default skin at install time.

Also I am going to try a different photoshop technique on the background images to achieve a more consistent look. Any particular color you may think it should be included?

 

On a different note on the acquiring remote control function if not detected at startup. I found that the 2 minutes delay works but it is inconvenient. If you turn on the system (TV, PC, Receiver using the media remote controller (mine is a harmony)) with the pc set up to start in sequence iMon, then FrontView+, then emby so that this one is full screen and has focus (so that it can be controlled by the harmony remote without needing mouse or keyboard to restore focus), If you try to select a movie from the case screen, the remote function have not activated yet. Could the check for SupportsRemote null & remote command attempted recheck if client running and whether supports remote be delayed maybe 30 sec, then performed at a shorter interval say 10-15 sec, maybe repeated 20 times before estabilishing that no remote is available for good? This should give the emby client time to start and connect to the server. This may work better to make the remote function available sooner, unless the call to SupportRemote is very expensive in terms of time it takes to complete in which case it may not work well. Are there many clients that do not support remote functions or it can be assumed that remote control is almost always available and that the likely scenario is that the client has not started yet? Would an xml setting to force remote functions always available, if you know they are, a useful thing?

 

Just food for thoughts

 



#53 GlennNZ OFFLINE  

GlennNZ

    Advanced Member

  • Members
  • 319 posts
  • Local time: 08:17 AM
  • LocationAustralia

Posted 18 April 2016 - 07:15 AM

Hi (quick reply from phone)
Think have fixed the remote issue a few builds up (1.111 I think - sorry - a few posts since but have been busy!).

 

Startup order or delay shouldn't matter all should work now.
(Changed variable SupportRemote to nullable bool - giving null, true or false. Rechecks if attempt at remote command when null. Seems to have fixed order)

On re-reading your post - presume this is with fixed 1.111 version?

If so Didn't think about starting playback from playlist/select movie screen - will add check for supportsRemote null in that routine when can.

Good luck on the skins - NSIS would allow smaller files - does seem difficult to get to gripes with.  (There are a few opensource wizard's for NSIS which can simplify.)

Glenn



Sent from my iPhone using Tapatalk


Edited by GlennNZ, 18 April 2016 - 09:18 PM.


#54 jjstecchino OFFLINE  

jjstecchino

    Advanced Member

  • Members
  • 95 posts
  • Local time: 10:17 PM

Posted 20 April 2016 - 04:25 PM

Hello Glenn, I finally had a chance to try 1.114. The remote part seems to work well. The weather however is giving me problems.

As I go to the weather setup screen, I put in my WU api key (I know it works as I use it on my raspberry PI controlled sprinkler system).

I can search for my town and I can find it without issues. I select it and then I push on select location ID. In the search box I see in parenthesis after my town followed a "/q/' followed by zipcode.1.99999. After I click on select location ID, on the location text box I see only "/q/" without zip..., instead of the city name. I saved the settings anyway and on the setting.xml file there is indeed the correct WU city code (zip.1.99999).

 

The right upper corner of the screen shows the current temperature but no weather icon. If I double click to bring up the weather screen nothing happens.

 

I checked the logs with trace enabled and I do not see any errors under weather. under cache\weather there are up to date and correctly formed json files for the weather and the forecast. 

 

If you want to try on your system the location is greenwood, sc, zip 29646



#55 GlennNZ OFFLINE  

GlennNZ

    Advanced Member

  • Members
  • 319 posts
  • Local time: 08:17 AM
  • LocationAustralia

Posted 20 April 2016 - 04:47 PM

Thanks for the feedback.

It may be because you are using the (older) non default skin which doesn't have the new weather icons?

(I have updated your 'skin pack' downloadable above/first page with the new weather icons - but these skin changes are new for the new weather so won't work with your already modified skins )



Glenn

Edited by GlennNZ, 22 April 2016 - 02:51 AM.


#56 jjstecchino OFFLINE  

jjstecchino

    Advanced Member

  • Members
  • 95 posts
  • Local time: 10:17 PM

Posted 22 April 2016 - 09:59 AM

Thanks for the feedback.

It may be because you are using the (older) non default skin which doesn't have the new weather icons?

(I have updated your 'skin pack' downloadable above/first page with the new weather icons - but these skin changes are new for the new weather so won't work with your already modified skins )



Glenn

 

 

 

It was just that. Updated  the icons and works fine



#57 jjstecchino OFFLINE  

jjstecchino

    Advanced Member

  • Members
  • 95 posts
  • Local time: 10:17 PM

Posted 22 April 2016 - 01:24 PM

What do you think about an option to hide the front view+ icon in the tray, instead of having it conspicuously on the task bar? 



#58 GlennNZ OFFLINE  

GlennNZ

    Advanced Member

  • Members
  • 319 posts
  • Local time: 08:17 AM
  • LocationAustralia

Posted 22 April 2016 - 11:40 PM

What do you think about an option to hide the front view+ icon in the tray, instead of having it conspicuously on the task bar? 

 

No problem.

 

Build 1.115 attached - which does just that - setting in xml file 

https://www.mediafir...w8nubvruu5mjz44

 

Just to confirm - Remote control all good?  I haven't added checks from within the playlist function - but on my testing seems to work, presumably picked up earlier.  If any issues let me know.

 

Glenn



#59 jjstecchino OFFLINE  

jjstecchino

    Advanced Member

  • Members
  • 95 posts
  • Local time: 10:17 PM

Posted 23 April 2016 - 02:33 PM

Remote all good on 1.114. Weather ok as well



#60 GlennNZ OFFLINE  

GlennNZ

    Advanced Member

  • Members
  • 319 posts
  • Local time: 08:17 AM
  • LocationAustralia

Posted 24 April 2016 - 11:48 PM

Release 1.116
Remove Emby Virtual episodes from local database
Fix for some Trace logging if no remote
Change TV Show sort to order by latest episodes - selection in Library Settings
(Order TV Shows by Show-  but those with latest episode first)
 
eg.
571d9353be00d_NewSettings.png
 
Eg. Sort order based on Episode Date
 
571d937518674_NewEpisodeorderSort.png
 
 
 
Download from MediaFire
 
 
 
Glenn
 
 






Also tagged with one or more of these keywords: iMon, LCD, 2ndScreen, SecondScreen, Soundgraph, Thermaltake, Silverstone

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users