INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2   Go Down

Author Topic: Media Center Remote Control and Streaming Web Application  (Read 49522 times)

mhwlng

  • Regular Member
  • World Citizen
  • ***
  • Posts: 235
  • nothing more to say...
Media Center Remote Control and Streaming Web Application
« on: January 03, 2014, 07:01:24 am »

Use any web browser, on any mobile- or desktop- operating system, to control Media Center and stream audio.

- The Server Application requires :
  • Media Center >= 19.0.127
  • Dotnet Framework >= 4.5.1
  • Internet Information Server (e.g included with Windows 7, 8, 10 pro. Home edition won't work.)

- The Client is any recent web browser on any mobile- or desktop- operating system e.g. :
  • Internet Explorer 10 / Internet Explorer 11 / Edge
  • Recent Chrome or webkit based browser (e.g dolphin) on Android or PC or IOS
  • Recent Firefox
  • Recent Safari on IOS
  • Recent browsers on any operating system should work? (e.g. OSX, Win RT, Windows Phone, Blackberry)

>>>>DOWNLOAD 2.0.1.5<<<<

Installation instructions are in installation notes.txt.

It is possible to download music album (zip) files.

It is possible to play/stream music inside the web browser.

Background art, actor images and various other information is automatically read from online sources and cached locally :
-musicbrainz.org (only to get musicbrainz artist id which is required on fanart.tv)
-fanart.tv
-tvdb.com
-themoviedb.org

Here are a few screenshots (more screenshots at the link below):

Shows Lyrics, Artist Biography, Album Review:



Automatically downloads movie genre images from http://www.flickr.com/photos/fiinix/sets/72157629331864211/ :











On smaller screen sizes (only in portrait mode), the "Browse TV Shows" page automatically switches to banners (from tvdb.com) instead of the regular poster format :



>> more screenshots (mostly taken on a nexus 7) <<

Both chrome on android and safari on ios, have an option 'add to homescreen'.
This option adds an icon to the home screen, which always shows the web page full screen just like a regular app. (as the screenshots show)
Logged

rossp

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 772
Re: remote control web application (screenshots, work in progress)
« Reply #1 on: January 03, 2014, 07:53:37 am »

This looks great, when are you going to release it?

Ross
Logged

connersw

  • Citizen of the Universe
  • *****
  • Posts: 661
Re: remote control web application (screenshots, work in progress)
« Reply #2 on: January 14, 2014, 03:59:27 pm »

Excited to see how this turns out.  The screen shots here and in the Gizmo Play Now screen thread look fantastic. 
Logged

rafverhoogen

  • Junior Woodchuck
  • **
  • Posts: 52
Re: remote control web application (screenshots, work in progress)
« Reply #3 on: January 20, 2014, 04:06:07 am »

this is realy nice work.
i'm very curious how you have set up navigation paths, i'm working on a Gizmo version myself, and have some difficulties to set up some way of natural navigation and yet stay in the same screen !!
Logged

rafverhoogen

  • Junior Woodchuck
  • **
  • Posts: 52
Re: remote control web application (screenshots, work in progress)
« Reply #4 on: January 20, 2014, 09:47:40 am »

I follow the same type of navigation for music (only music in my server)
it is more the navigation between eg :

- changing where to play
- moving to lyrics or other information (i see that you use tabs as i do)
- how much info in the playlist
- switch playlist and now playing
that kind of info.

Can i also ask what the technology behind it is.  I'm working on full HTML/CSS/JAVASCRIPT for min so it is platform independent
Logged

Ekpen

  • Citizen of the Universe
  • *****
  • Posts: 686
Re: remote control web application
« Reply #5 on: February 08, 2014, 07:15:39 pm »

I have added a download link to the first post

Server requires dotnet 4.5.1 and Internet Information Server. (For example on Windows 7 pro or Windows 8 pro.)

Client requires IE10 / IE11 / Recent Chrome On Android or PC / Recent Safari on IOS / Other recent browser.

Greetings:

I read the notes text. It does not say where to install. Will be be under plugin or a standalone  folder?
Thanks.
George
Logged

mhwlng

  • Regular Member
  • World Citizen
  • ***
  • Posts: 235
  • nothing more to say...
Re: remote control web application
« Reply #6 on: February 09, 2014, 01:55:19 am »

This application runs under Internet Information Server, not media center.
So, it works differently from webgizmo.

The installation notes show : "copy files to c:\inetpub\wwwroot\somedirectory"
"c:\inetpub\wwwroot" should already exist when Internet Information Server is installed.

but you can install the application anywhere you want (ASSUMING That Internet Information Server is ALREADY installed)..
In that case, the access rights to this other directory will probably have to be changed,
otherwise the web application won't have write access to the selected directory.
(usually : you need to give IIS_IUSRS & NETWORK SERVICE full access)
Logged

Ekpen

  • Citizen of the Universe
  • *****
  • Posts: 686
Re: remote control web application
« Reply #7 on: February 09, 2014, 01:08:57 pm »

This application runs under Internet Information Server, not media center.
So, it works differently from webgizmo.

The installation notes show : "copy files to c:\inetpub\wwwroot\somedirectory"
"c:\inetpub\wwwroot" should already exist when Internet Information Server is installed.

but you can install the application anywhere you want (assuming Internet Information Server is installed)..
In that case, the access rights to this other directory will probably have to be changed,
otherwise the web application won't have write access to the selected directory.
(usually : you need to give IIS_IUSRS & NETWORK SERVICE full access)

Thanks.
George
Logged

Ekpen

  • Citizen of the Universe
  • *****
  • Posts: 686
Re: remote control web application
« Reply #8 on: February 15, 2014, 05:36:08 pm »

I updated the application (1.0.0.3) to cache all images from [fanart.tv, tmdb.org, thetvdb.com, flickr.com] on the web server

Thanks for the update.
I will go back to retrace my settings or set up I did before this new update.
I did the install as you directed, every aspect of install was ok I think, but when it gets to " Web services",  I got lost.
I will download this new version and re-install.
Note: I am getting very soon a 12.2 Samsung 2014 Galaxy  note Pro. I hope I can use the web browser in it to use with this  remote control software of yours.
Again, will re-install and get back with details.

George
Logged

mhwlng

  • Regular Member
  • World Citizen
  • ***
  • Posts: 235
  • nothing more to say...
Re: remote control web application
« Reply #9 on: February 16, 2014, 02:31:15 am »

George, there is no reference to "Web Service" in the installation notes?
you need to install "Internet Information Services"
If you don't have a directory "c:\inetpub\wwwroot" then it is not installed.
If you have a 'home' version of your operating system, then you cannot use this software.
Logged

Ekpen

  • Citizen of the Universe
  • *****
  • Posts: 686
Re: remote control web application
« Reply #10 on: February 20, 2014, 03:15:07 pm »

George, there is no reference to "Web Service" in the installation notes?
you need to install "Internet Information Services"
If you don't have a directory "c:\inetpub\wwwroot" then it is not installed.
If you have a 'home' version of your operating system, then you cannot use this software.

Greetings:

Yes, I mis quoted what you have in the installation notes. I had to do several 3rd party installs. I guess, old age is catching up on me <grin>.

I am already on Windows 8.1 64 bit. I have activated extra IIS features long time ago.

In fact your versions 1 and 3, I was able to do the install on my HTPC . through the localhost testing, all I get is music, Movies and playing now . I could not get the rest like TV, Control, trend, and weather. Also  in the localhost testing, either Firefox or Chrome, I was expecting  to see the flac folders on my drive and the Iso folders.

When I tried to use my Samsung Galaxy note (first gen)  to test it, either Firefox or Chrome, it just stays on the screen.

I then deleted the mcserverremote folder containing the earlier version, then I put in version 4, without doing the web config. because for almost 3 days or so, we have had Internet disruption due to weather issues. The ISP guy had to come to my house to check the line.
Now with version 5, I will try to do a new copy over to the folder and proceed with the set up.
I will try to read the updates on the installation notes if any this time.

In the web config file, any other items that may help me get this to function properly?

I will update you.

Thanks again,

George.
Logged

mhwlng

  • Regular Member
  • World Citizen
  • ***
  • Posts: 235
  • nothing more to say...
Re: Media Center Remote Control Web Application
« Reply #11 on: February 20, 2014, 03:26:02 pm »

1) Control, trend, and weather menu options are not available. They are unrelated to media center.

2) If your (web)gizmo views are organized differently from what is described in the installation notes, then it may not work.
that is probably why TV didn't work for you. please see the requirements in the installation notes.

If you want to keep your existing views unchanged for (web)gizmo, then you can create new views and set up these new view names accordingly in web.config

3) Every time that you install a new version, you have to set up the settings in web.config again.
The default settings won't connect to media center!
Don't copy web.config from a previous version.

All web.config options are described in the installation notes.
(Most options are OFF by default, so you need to manually switch on the options that you want to use.)

4) A log.txt file is created in the web application directory with error messages.
It may contain clues to any configuration issue.

5) If the web application works via localhost and not on your phone (I assume via wifi on the same network as the phone),
that could have many reasons?

For example : The firewall on the web application pc may prevent external access via port 80.





Logged

Ekpen

  • Citizen of the Universe
  • *****
  • Posts: 686
Re: Media Center Remote Control Web Application
« Reply #12 on: February 20, 2014, 03:30:05 pm »

Thanks, that was quick. I have to check what I have in my various views.

 version 5 is in now. Will proceed to  look at web.config file again.
take care,

George
Logged

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10939
Re: Media Center Remote Control Web Application
« Reply #13 on: February 24, 2014, 08:31:30 am »

In an upcoming build, the MCWS/v1/Browse/Image function should behave more sanely, and directly return a high-resolution artwork, and not only on the second call (or a bit randomly at that).
Hope that makes your live easier!
Logged
~ nevcairiel
~ Author of LAV Filters

Al ex

  • Citizen of the Universe
  • *****
  • Posts: 551
Re: Media Center Remote Control Web Application
« Reply #14 on: May 28, 2014, 05:40:01 am »

Hi,
this is some great work!

i am trying to install this on my HTPC. I did all as described, but I have two issues:

1) From Installation Notes:

Customize Views for Gizmo & WebGizmo

 Items to Show
  Music
  Movies
  TV Shows
 
* Details for Music
 
  Show Categories In This Order
   Album Artist (auto) -> Library Field 'Album Artist (auto)'  x Grouping -> Grouping Size : 1
   Album Artist (auto) -> Library Field 'Album Artist (auto)'
   Year - Album        -> Library Field 'Year - Album'
 
  Files To Display : Media Type is audio
  
* Details for Movies
 
  Show Categories In This Order
   Genres -> Type=Expression: Expression to group b
 
  Files To Display : Media Sub Type is Movie


--> Each detail like "Album Artist (auto) -> Library Field 'Album Artist (auto)'  x Grouping -> Grouping Size : 1", etc. is a new library item within the "Root Library Item"?


2) After configuration, i donīt know, how to see the results.
When i use the defined URL, I will find an overview-page with various option - see attachement. But no clou, where I can find the results like on your screenshots.


Thanks for clarification!

Logged

mhwlng

  • Regular Member
  • World Citizen
  • ***
  • Posts: 235
  • nothing more to say...
Re: Media Center Remote Control Web Application
« Reply #15 on: May 28, 2014, 05:46:22 am »

1) The grouping is to get a screen in the web application with only letters A...Z.
When clicking on a letter in the web application, you will see all artists that start with that letter.


2)
The picture that you show is the URL that you define in web.config(with the corresponding user name and password).
The web application uses this URL to get the data from media center.

You don't call this URL yourself, the web application does this internally.

You have to call the URL that points to whatever virtual directory you set up in internet information server (IIS) for the web application.






Logged

Al ex

  • Citizen of the Universe
  • *****
  • Posts: 551
Re: Media Center Remote Control Web Application
« Reply #16 on: May 28, 2014, 06:32:57 am »

Thanks for the quick reply MHWLNG!

On 1): fine, now it is configured the right way. I had some initial troubles with the configuration until I found out that I need to "Unnest" item 2 and 3 in order to proceed accordingly...

On 2): well, I tried it now also locally with the URL "http://localhost:52197" to see, what happens. Again, the same result: I am getting diverted to the URL "http://localhost:52197/LibraryServer/", which is the services overview page... Seems I am too stupid to type in the correct URL? :(
Logged

mhwlng

  • Regular Member
  • World Citizen
  • ***
  • Posts: 235
  • nothing more to say...
Re: Media Center Remote Control Web Application
« Reply #17 on: May 28, 2014, 06:35:56 am »

"http://localhost:52197" points to media center, not IIS (the port number 52197 is configurable in media center)

I don't know how you set up IIS ?

If IIS is running, then this should usually show some Microsoft default placeholder screen :

http://localhost

Normally, the url of the web application would be :

http://localhost/somedirectory

Where 'somedirectory' is where you configured the web application.

Normally, the web application files would be in C:\inetpub\wwwroot\somedirectory

If C:\inetpub\wwwroot doesn't exist, then IIS is probably not installed.

Logged

Al ex

  • Citizen of the Universe
  • *****
  • Posts: 551
Re: Media Center Remote Control Web Application
« Reply #18 on: May 28, 2014, 07:11:35 am »

OK that makes totally sense - I am coming closer to the goal :)

ISS is running - ISS placeholder screen shown on http://localhost

I have put the files into the folder "jriver", so my URL is: http://localhost/jriver

Well, obviously there is a problem with the web configuration file - I get this error message:

HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.
Detailed Error Information:
Module      IIS Web Core
Notification      BeginRequest
Handler      Not yet determined
Error Code      0x8007000d
Config Error      Configuration file is not well-formed XML
Config File      \\?\C:\inetpub\wwwroot\jriver\web.config
Requested URL      http://localhost:80/jriver
Physical Path      C:\inetpub\wwwroot\jriver
Logon Method      Not yet determined
Logon User      Not yet determined
Config Source:
    1: <?xml version="1.0" encoding="utf-8"?>
    2: <!--

User ID and password is defined in the web.config. I had to correct the links (took the 52197 out).

Logged

mhwlng

  • Regular Member
  • World Citizen
  • ***
  • Posts: 235
  • nothing more to say...
Re: Media Center Remote Control Web Application
« Reply #19 on: May 28, 2014, 07:23:00 am »

1)
there must be some error in web.config (e.g. perhaps you accidentally removed a quote or something?)
2)
can you try the web.config that I supplied with the web application ? (There WILL be some OTHER error that it can't connect to media center because the url/user/password is wrong in the default file)
3)
Also the URL that is defined in web.config will definitely need the port number in it !
4)
Also, did you follow the instructions re: 'convert to application' and 'Application Pools' as descibed in the installation instructions ?
Without this it won't work!

Logged

Al ex

  • Citizen of the Universe
  • *****
  • Posts: 551
Re: Media Center Remote Control Web Application
« Reply #20 on: May 28, 2014, 12:35:17 pm »

Fantastic! Now I got it working on my localhost for the first time. Actually thatīs how I think the Webgizmo-GUI should look like as a standard! Actually you should charge Jim for your work :) Or Jim should enable a business model, where others can contribute and get paid for it - like Android/iPhone apps... I definitely would pay some bucks for this!

Now the next step for me is to get it running outside of my network. At the moment, I have configured the WEB.CONFIG with this:

      <add key="mcwsserver" value="http://localhost:52197/" />
      <add key="mcwsimgserver" value="http://localhost:52197/" />

(52197 because the standard 52199 is already used for something else)

On my Asus router, i have configured dynamic DNS. The link "http://somethingelse.asuscomm.com:52197/LibraryServer/" works and shows MC outside my home network.
I also have assigned a fixed IP to my HTPC and made port forwarding to this IP for 52197.
Your files are on ISS under /jriver/

Actually - if I understood correctly - this should work now: http://somethingelse.asuscomm.com/jriver
But it is not working. Nada. Connecting forever. Nothing shown.

What did I do wrong?
Logged

mhwlng

  • Regular Member
  • World Citizen
  • ***
  • Posts: 235
  • nothing more to say...
Re: Media Center Remote Control Web Application
« Reply #21 on: May 28, 2014, 12:49:58 pm »

In your router, you have to forward both port 80 and also port 52197 to your pc (with IIS on it)

Then :

http://somethingelse.asuscomm.com/jriver/

should work ok...

(The firewall on your pc must be set up to allow incoming traffic on port 80 and 52197 )

Logged

Al ex

  • Citizen of the Universe
  • *****
  • Posts: 551
Re: Media Center Remote Control Web Application
« Reply #22 on: May 28, 2014, 03:18:51 pm »

Finally managed to handle my router/firewall settings as well. Now all seems to be running.

I like the add on you made very much, great work  - thank you again!  :)
Logged

mhwlng

  • Regular Member
  • World Citizen
  • ***
  • Posts: 235
  • nothing more to say...
Re: Media Center Remote Control Web Application
« Reply #23 on: May 28, 2014, 03:27:02 pm »

I'm glad it's working for you!

(p.s. note that setting the web.config option "mediacenterthumbnailcache" to "True" may improve the performance. (all media center artwork will be cached in the IIS directory))

Also, the "mcwsmoviefirstlevelnameisgenre" and "mcwstvshowfirstlevelnameistvshowname" options may be useful for your situation...
Logged

Al ex

  • Citizen of the Universe
  • *****
  • Posts: 551
Re: Media Center Remote Control Web Application
« Reply #24 on: May 28, 2014, 04:26:41 pm »

Hi, found an issue with the genre settings for MOVIES: in case of multiple genre-setting, not all movies are shown anymore in the correct genre category. Only the first genre is taken. I made a test, and changed all my movies in the "sport" section from "sport; drama" to "drama; sport". Result: genre "sport" disappeared completely.

I think this needs to be changed, but donīt know, what to do:

Code: [Select]
ListItem([genre],0,;)&datatype=[list]

    Cheers
    Logged

    mhwlng

    • Regular Member
    • World Citizen
    • ***
    • Posts: 235
    • nothing more to say...
    Re: Media Center Remote Control Web Application
    « Reply #25 on: May 28, 2014, 04:30:03 pm »

    Does it work the way you want in (web)gizmo?
    Logged

    Al ex

    • Citizen of the Universe
    • *****
    • Posts: 551
    Re: Media Center Remote Control Web Application
    « Reply #26 on: May 28, 2014, 04:33:39 pm »

    No, same issue.

    edited:
    i also created a new library item as test - here it works as it should be. Also with multiple-genres
    Logged

    mhwlng

    • Regular Member
    • World Citizen
    • ***
    • Posts: 235
    • nothing more to say...
    Re: Media Center Remote Control Web Application
    « Reply #27 on: May 28, 2014, 04:38:11 pm »

    Then I don't know, sorry... It's not a problem inside the web application.
     If you can make it work in (web)gizmo then it should also work inside the web application.
    Logged

    Al ex

    • Citizen of the Universe
    • *****
    • Posts: 551
    Re: Media Center Remote Control Web Application
    « Reply #28 on: May 28, 2014, 04:43:52 pm »

    Then I don't know, sorry... It's not a problem inside the web application.
     If you can make it work in (web)gizmo then it should also work inside the web application.

    OK thanks.
    I edited my previous post, donīt know, if you have seen it before answering:


    I also created a new library item as test - here it works as it should be in WebGizmo. Also with multiple-genres. So it seems to me that it is related to the expression setting...
    Logged

    mhwlng

    • Regular Member
    • World Citizen
    • ***
    • Posts: 235
    • nothing more to say...
    Re: Media Center Remote Control Web Application
    « Reply #29 on: May 28, 2014, 04:54:49 pm »

    If it works in webgizmo then it should also work in this application using the same view settings that work for you...
    Logged

    Al ex

    • Citizen of the Universe
    • *****
    • Posts: 551
    Re: Media Center Remote Control Web Application
    « Reply #30 on: May 29, 2014, 03:33:09 am »

    Hi,
    one more issue: on the details page of movies, the film poster is not shown (see screenshot). I think all is configured correctly.

    This is a part of the web.config:

    Code: [Select]
      <appSettings>
    <add key="mcwsserver" value="http://localhost:52197/" />
    <add key="mcwsimgserver" value="http://localhost:52197/" />
    <add key="mcwsmusictoplevelname" value="Music" />
    <add key="mcwstvshowtoplevelname" value="TV Shows" />
    <add key="mcwsmovietoplevelname" value="Movies" />
    <add key="mcwsmoviefirstlevelnameisgenre" value="True" />
    <add key="mcwstvshowfirstlevelnameistvshowname" value="True" />
    <add key="mcwsmusicsmartlistmuststartwithnumber" value="False" />
    <add key="imagecachecheckdays" value="30" />
    <add key="mediacenterthumbnailcache" value="True" />
    <add key="webpages:Version" value="3.0.0.0" />
        <add key="webpages:Enabled" value="false" />
        <add key="PreserveLoginUrl" value="true" />
        <add key="ClientValidationEnabled" value="true" />
        <add key="UnobtrusiveJavaScriptEnabled" value="true" />
      </appSettings>

    And also the JRiver-settings for MOVIES - as attached.


    What could the issue be?
    Logged

    mhwlng

    • Regular Member
    • World Citizen
    • ***
    • Posts: 235
    • nothing more to say...
    Re: Media Center Remote Control Web Application
    « Reply #31 on: May 29, 2014, 03:48:09 am »

    1)
    Is your genre problem (previous post) now solved (by changing the view definition) ?
    2)
    Do you see the movie images one level up from your screenshot ? (so after you click on the genre image)
    3)
    If you are playing a movie, do you see the image on the 'playing' screen ?
    4)
    Can you try to switch mediacenterthumbnailcache to False in web.config ? and see if that makes a difference ?
    5)
    I see in your picture "TV-Shows" while in web.config it is configured as "TV Shows". They have to match.
    6)
    In the web application directory (c:\inetpub\wwwroot\jriver) is a log.txt file
    Are there any errors in there ?
    7)
    Are you running the latest media center 19.0.136 ?
    8 )
    When changing any view settings, you may have to restart media center.
    9)
    what kind of poster images are they (jpg, png)  ? Did you use the built in 'get movie info' function to get them ?
    10)
    when the mediacenterthumbnailcache is True, then all the movie posters should be cached in this directory :
    c:\inetpub\wwwroot\jriver\Content\img\jriver\file

    can you find it (or any other images) in there ?

    Logged

    Al ex

    • Citizen of the Universe
    • *****
    • Posts: 551
    Re: Media Center Remote Control Web Application
    « Reply #32 on: May 29, 2014, 04:10:26 am »

    1) Is your genre problem (previous post) now solved (by changing the view definition) ?
    --> No, I decided to go through all movies and define the best matching genre, which will be at first place, which then will show also the movies in the correct genres in the remote control.

    2) Do you see the movie images one level up from your screenshot ? (so after you click on the genre image)
    --> yes, they are there

    3) If you are playing a movie, do you see the image on the 'playing' screen ?
    --> yes, images is also shown on the playing screen

    4) Can you try to switch mediacenterthumbnailcache to False in web.config ? and see if that makes a difference ?
    --> when I switch to "false", then neither in the details page, nor one level up, the posters are shown now.

    5) I see in your picture "TV-Shows" while in web.config it is configured as "TV Shows". They have to match.
    --> thank you, fixed.

    6) In the web application directory (c:\inetpub\wwwroot\jriver) is a log.txt file Are there any errors in there ?
    -->yes plenty - see attached file

    7) Are you running the latest media center 19.0.136 ?
    --> yes of course :)

    8 ) When changing any view settings, you may have to restart media center.
    --> aware of that and doing it.

    9) what kind of poster images are they (jpg, png)  ? Did you use the built in 'get movie info' function to get them ?
    --> yes, I am using the "get movie info". All info from there. All images are jpg.

    10) when the mediacenterthumbnailcache is True, then all the movie posters should be cached in this directory : c:\inetpub\wwwroot\jriver\Content\img\jriver\file can you find it (or any other images) in there ?
    --> yes, there are plenty of images - all jpg-files I also checked for one specific image, which was not shown on the detail page. I found a relevant image in the directory, so in general, the image is available.
    Logged

    mhwlng

    • Regular Member
    • World Citizen
    • ***
    • Posts: 235
    • nothing more to say...
    Re: Media Center Remote Control Web Application
    « Reply #33 on: May 29, 2014, 04:27:24 am »

    Quote
    Can you try to switch mediacenterthumbnailcache to False in web.config ? and see if that makes a difference ?
    --> when I switch to "false", then neither in the details page, nor one level up, the posters are shown now.

    This is very strange. With the option 'False' it should work exactly the same as (web)gizmo. so if you see the images in there, you should also see it in the web application.

    can you set it to False, restart the PC

    browser on media center pc using http://localhost/jriver
    browser on other pc inside your network
    browser outside your network using http://somethingelse.asuscomm.com/jriver

    The set it to True, restart the PC

    browser on media center pc using http://localhost/jriver
    browser on other pc inside your network
    browser outside your network using http://somethingelse.asuscomm.com/jriver

    Logged

    mhwlng

    • Regular Member
    • World Citizen
    • ***
    • Posts: 235
    • nothing more to say...
    Re: Media Center Remote Control Web Application
    « Reply #34 on: May 29, 2014, 04:32:42 am »

    Just to be sure :

    Have you got more than one media center instance running ?

    If the media center you are connecting to (localhost:52197)

    is a client of another 'main' media center, then the missing image is normal.

    In that case you have to point "mcwsimgserver" to the 'main' media center.
    Logged

    Al ex

    • Citizen of the Universe
    • *****
    • Posts: 551
    Re: Media Center Remote Control Web Application
    « Reply #35 on: May 29, 2014, 04:45:12 am »

    I have only one MC intance running.

    What I further found out:

    can you set it to False, restart the PC
    browser on media center pc using http://localhost/jriver
    browser on other pc inside your network
    browser outside your network using http://somethingelse.asuscomm.com/jriver


    Same network:  http://localhost/jriver WORKS! The posters are also shown on the details page
    Outside network:  http://somethingelse.asuscomm.com/jriver  DOES NOT WORK LIKE DESCRIBED

    The set it to True, restart the PC
    browser on media center pc using http://localhost/jriver
    browser on other pc inside your network
    browser outside your network using http://somethingelse.asuscomm.com/jriver


    Same network:  http://localhost/jriver WORKS! The posters are also shown on the details page
    Outside network:  http://somethingelse.asuscomm.com/jriver  DETAILS PAGE DOES NOT WORK - POSTER NOT SHOWN but OVERVIEW WITHIN GENRE OK - POSTER SHOWN.

    Logged

    mhwlng

    • Regular Member
    • World Citizen
    • ***
    • Posts: 235
    • nothing more to say...
    Re: Media Center Remote Control Web Application
    « Reply #36 on: May 29, 2014, 04:46:52 am »

    This worked yesterday from outside your network :

    http://somethingelse.asuscomm.com:52197/LibraryServer/

    Does that still work, or did you change the port to 80 ?

    If you did, then that is the reason for the problem.

    Some images come from the IIS cache (port 80)

    But some images, (your missing ones) come directly from MC (on port 52197)

    So, you need to forward incoming traffic on BOTH port 80 and 52197


    Logged

    mhwlng

    • Regular Member
    • World Citizen
    • ***
    • Posts: 235
    • nothing more to say...
    Re: Media Center Remote Control Web Application
    « Reply #37 on: May 29, 2014, 04:50:22 am »

    Quote
    can you set it to False, restart the PC
    Outside network:  http://somethingelse.asuscomm.com/jriver  DOES NOT WORK LIKE DESCRIBED

    The set it to True, restart the PC
    Outside network:  http://somethingelse.asuscomm.com/jriver  DETAILS PAGE DOES NOT WORK - POSTER NOT SHOWN but OVERVIEW WITHIN GENRE OK - POSTER SHOWN.

    Are you sure that this isn't the other way around ?

    With the cache True, I would expect all images to work except the one you reported. (i.e. the description in your first post about this)
    Because that screen requests the full resolution image directly from MC on port 52197, bypassing the cache.
    Logged

    Al ex

    • Citizen of the Universe
    • *****
    • Posts: 551
    Re: Media Center Remote Control Web Application
    « Reply #38 on: May 29, 2014, 04:58:47 am »

    Both ports, 80 and 52197 are open, I have verified this with an online port checker.
    http://somethingelse.asuscomm.com:52197/LibraryServer/ works. I see the overview page for the JRiver services.

    Quote
    can you set it to False, restart the PC
    Outside network:  http://somethingelse.asuscomm.com/jriver  DOES NOT WORK LIKE DESCRIBED
    The set it to True, restart the PC
    Outside network:  http://somethingelse.asuscomm.com/jriver  DETAILS PAGE DOES NOT WORK - POSTER NOT SHOWN but OVERVIEW WITHIN GENRE OK - POSTER SHOWN.
    Are you sure that this isn't the other way around ?


    I can confirm that in web.config the mediacenterthumbnailcache = TRUE, and that in this case, on localhost all works as intended. From outside the network, i cannot see the poster on the detail page. On the overview page within the genre, the poster is shown.
    Logged

    Al ex

    • Citizen of the Universe
    • *****
    • Posts: 551
    Re: Media Center Remote Control Web Application
    « Reply #39 on: May 29, 2014, 05:19:11 am »

    I will check at the weekend at the latest. Need to leave now. Thx for your great help!
    Logged

    mhwlng

    • Regular Member
    • World Citizen
    • ***
    • Posts: 235
    • nothing more to say...
    Re: Media Center Remote Control Web Application
    « Reply #40 on: May 29, 2014, 12:21:32 pm »

    I know what the problem is :

    In web.config you have to change :

    Quote
    <add key="mcwsserver" value="http://localhost:52197/" />
    <add key="mcwsimgserver" value="http://localhost:52197/" />

    to

    Quote
    <add key="mcwsserver" value="http://somethingelse.asuscomm.com:52197/" />
    <add key="mcwsimgserver" value="http://somethingelse.asuscomm.com:52197/" />

    Then everything should work ok inside and outside of your network



    Logged

    Al ex

    • Citizen of the Universe
    • *****
    • Posts: 551
    Re: Media Center Remote Control Web Application
    « Reply #41 on: June 01, 2014, 05:22:52 am »

    I know what the problem is :
    In web.config you have to change :
    to
    <add key="mcwsserver" value="http://somethingelse.asuscomm.com:52197/" />
    <add key="mcwsimgserver" value="http://somethingelse.asuscomm.com:52197/" />
    Then everything should work ok inside and outside of your network

    Hi, I am back and have changed as you suggested - seems that all is working now! When I tried it again about 2h later, nothing was shown all of the sudden. I assume there was an issue with caching, so after restarting the HTPC, it works again. Lets see :)

    I would like to invite you for a beer for your great work and help. Do you have a PayPal-account? If yes, pls. send me a PM. Otherwise it would be a "virtual beer" only.

    By the way - something off-topic, attached the place, i have stayed the last three days with some friends: a great medieval castle in the northern parts of Austria - the reason for not being able to answer earlier...
    Logged

    mhwlng

    • Regular Member
    • World Citizen
    • ***
    • Posts: 235
    • nothing more to say...
    Re: Media Center Remote Control Web Application
    « Reply #42 on: June 01, 2014, 05:24:35 am »

    no worries... Glad it works for you...
    Logged

    J-a-k-e

    • World Citizen
    • ***
    • Posts: 117
    Re: Media Center Remote Control Web Application
    « Reply #43 on: June 01, 2014, 07:19:45 pm »

    I've managed to get everything installed and working with the exception of browsing music, for some reason the  0-9, A-Z list grouped tiles display as a single blank column however everything displays correctly once I go into 'A' for example.
    I've configured the security settings to allow access to the folder and all child folders and I've double checked the configuration for 'Music' in jriver. Also the artists do show grouped by number and letter via http://localhost:52199/Gizmo/
    Logged

    mhwlng

    • Regular Member
    • World Citizen
    • ***
    • Posts: 235
    • nothing more to say...
    Re: Media Center Remote Control Web Application
    « Reply #44 on: June 02, 2014, 01:12:40 am »

    I'm sorry, I can't reproduce this.

    1)
    Does the device that you are viewing the screen on have internet access ? (to download the font from google)

    2)
    Did you check another browser on another device type ? (pc, android, ios)

    3)
    Are there any related errors in log.txt ?

    4)
    Can you post some screenshots of the problem and of your music view configuration ?

    5)
    In chrome if you right click on the screen, there is an option 'view page source'. Could you do that for the 'a-z' screen and send me the result ?


    Logged

    J-a-k-e

    • World Citizen
    • ***
    • Posts: 117
    Re: Media Center Remote Control Web Application
    « Reply #45 on: June 02, 2014, 04:58:14 am »

    I just realized that if you look at the screenshot I've attached you can tell that the letters have been stacked up on top of each other on the right side of the blank tiles.
    1 - At this stage I've just been doing things locally as I try to get things up and running on my desktop machine which is the machine that hosts jriver and all my media, so short answer is yes.
    2 - I get the same results when I access my machine from other devices/computers on the network running firefox ie and chrome.
    3 - There's nothing relevant in the log file that I can see.
    4 - I've attached a screenshot of the web app showing the tiles fault (notice the letter stacking on the right hand side) also there's a screenshot of webgizmo and the music configuration from within jriver
    5 - See the attached txt file.
    Logged

    mhwlng

    • Regular Member
    • World Citizen
    • ***
    • Posts: 235
    • nothing more to say...
    Re: Media Center Remote Control Web Application
    « Reply #46 on: June 02, 2014, 05:28:52 am »

    Ok, I see 'Others' appears when you have artist names that start with (e.g.) Norwegian characters.

    In the first post you can download a new version 1.0.0.9
    That simply replaces the text 'Others' with '?' and should fix your problem... (With a translated version of Media Center there would still be a problem.)


    Note that when you replace an older version of the web application, you have to make the necessary changes to web.config again...
    Logged

    J-a-k-e

    • World Citizen
    • ***
    • Posts: 117
    Re: Media Center Remote Control Web Application
    « Reply #47 on: June 02, 2014, 06:00:05 am »

    Ok, I see 'Others' appears when you have artist names that start with (e.g.) Norwegian characters.

    I had my suspicions and I can confirm that this is the case as I was able to track down the one song that I had missed when I downloaded the latest version just now. All is working now.
    Logged

    Al ex

    • Citizen of the Universe
    • *****
    • Posts: 551
    Re:
    « Reply #48 on: June 02, 2014, 04:01:50 pm »

    To update to v9, is it enough to copy the files, and re-adjust the Web.config?

    Edit: because when I do so, itīs not working - page is not loading anymore. Probably it needs to be "re-converted to application" in ISS? But I can't find the link for this anymore...
    Logged

    mhwlng

    • Regular Member
    • World Citizen
    • ***
    • Posts: 235
    • nothing more to say...
    Re: Media Center Remote Control Web Application
    « Reply #49 on: June 03, 2014, 02:03:46 am »

    Yes, if you already have v1.0.0.8 working, just replace all the files and edit web.config again with the same settings that you had in v1.0.0.8 (or copy web.config from your working backup)

    No need to do anything else... (e.g. re-convert to application etc.)  (Assuming that you didn't put the new files in a different subdirectory !)

    Perhaps you put the wrong port number in :

    Quote
    <add key="mcwsserver" value="http://somethingelse.asuscomm.com:52197/" />
    <add key="mcwsimgserver" value="http://somethingelse.asuscomm.com:52197/" />

    or there is a typo in the username/password ?

    or perhaps you didn't overwrite/add all files? (note that some files in v1.0.0.9 have a different name (e.g. jquery has a new version number))

    Maybe log.txt shows some clues ?

    Try to restart the iis pc and also try clearing the cache in the web browser on the client pc.

    Logged
    Pages: [1] 2   Go Up