Firmware: A-410 [01 Apr. 2014] | A-400 [12 Mar. 2014] | C-300 [13 Feb. 2014] | A-300 [24 Feb. 2014] | C-200 [11 July 2013] | A-200/A-210 [11 July 2013] | Popbox V8 [3 Dec 2013]

Just got your NMT | WIKI has the answers | Search the forum | Forum Rules/Policy | Firmware & Official NMT News | Popcornhour manuals



User(s) browsing this thread: 1 Guest(s)
Thread Closed 
NMT Explorer 1.0.4, open-source alternative to myiHome (IIS web application)
02-06-2009, 12:59 PM (This post was last modified: 09-18-2011 04:16 PM by tal.aloni.)
Post: #1
NMT Explorer 1.0.4, open-source alternative to myiHome (IIS web application)
This is a nifty web application I developed for myself, as an alternative to myiHome.

it's targeted for advanced users, who wish to utilize a server oriented and flexible solution compared to myiHome.

Requirements:
----------------
+ IIS 6 / 7 (Windows XP Pro x64 / Windows Home Server / Windows Server 2003 / Windows Server 2008)
Note: IIS 5.1 (Windows XP Pro) does not *officially* support files > 4GB, but can be used as well.
+ .Net Framework 2.0

Limitations:
---------------
+ Does not include UPnP capabilities, you can use upnp2http for UPnP support. (recommended).
+ Virtual directories are hidden, unless a physical directory with the same name exist (the content of the virtual will be listed, this is similar to the default IIS browsing behavior)
+ Virtual directory listing support require that you run the application under the default web site.

Features:
------------
1. Runs under IIS, which is a windows service. (you don't have to login to start the server)
2. fully customizable themes though html templates and configuration files. (including language settings)
3. Automatic detection of NMT resolution, and selection of theme resolution accordingly (SD/HD)
4. Open-Source, you can modify the code to fit your needs (C# / ASP.Net 2.0)
5. Support moviejukebox (YAMJ), (an icon will be shown on the homepage if a folder named 'MovieJukebox' exist in the website root directory)
6. Video, Audio and Image files are listed together.
7. Playlist Support: clicking on an audio/image file, will start a playlist of files in the current directory with the same type (audio/image), starting from the file that have been clicked.
8. exclusion of files / directories based on exact or partial text match.

Notes:
---------
1. The default skin has been heavily borrowed from myiHome.
2. Look at the "web.config" and "theme\deepblue\theme.config" and "theme\deepblue\template\" for settings and customization.

Installation instructions: (for experienced users)
------------------------------------------------
1. Install .Net Framework 2.0 / IIS (if not already installed)
2. Enable Asp.Net 2.0 web service extension.
3. Extract the application files to the root of the default web site.
(usually C:\inetpub\wwwroot)
4. by default, IIS will only serve files with 'known' extensions,
you can make IIS serve every type of file by setting 'application/octet-stream' mime-type for extension:'*' (right click on website / directory > Properties > Http headers > Mime types)
+ Note: make sure this setting isn't applied to the 'MovieJukebox' directory, or IIS will serve YAMJ css files as 'application/octet-stream' (instead of 'text/css') and the css won't load on the Popcorn Hour.
5. Add virtual directories linking to your media directories, create physical directories with the same name. (so they will be seen by NMT Explorer)
6. Raise IIS connection timeout value to prevent the PCH from timing out after pausing, by default IIS closes idle connections after 120 seconds,
which means that any pause/resume longer than that will not work,
I suggest setting the value to 3600 seconds:
- In IIS Manager, expand the local computer, expand the Web Sites or FTP Sites folder, right-click a Web site, and click Properties.
- On the Web Site tab, in the Connection timeout box, type the maximum number of seconds that IIS should maintain an idle connection before resetting the connection.
7. Install upnp2http and configure it (or manually add the website to the list of web services in the PCH)

* To speed loading time, It's recommended to cancel "shutdown worker process after being idle for (time in minutes)" under the DefaultAppPool > performance tab.

Screen: ("deepblue" theme, SD):
[Image: NmtExplorer.PNG]


Download:
Application:
http://iknowu.dnsalias.com/files/public/...01.0.4.zip

Source-Code:
http://iknowu.dnsalias.com/files/public/...Source.zip

Version History:

1.0.0:
- Initial Release

1.0.1:
- bugfix: HD resolution detection
- Browse Page has been visually improved
- New Home Page Icons
* Folder Icon is courtesy of Laurent Baumann (http://lbaumann.com), licensed under the CC Attribution-Noncommercial-Share Alike 3.0.
* Film Reel Icon is courtesy of Iconshock (http://www.iconshock.com), license type is Linkware.

1.0.2:
- bugfix: when the application directory is different from the root directory, the playlist generated for images / audio files was referring to the wrong location. (Thanks haggisbingo)

1.0.3:
Bugfix: Playlist generated now include the http server port (Thanks haggisbingo)

1.0.4:
Bugfix: NMT Explorer will no longer crash under IIS 7.x if "IIS Metabase and IIS 6 Configuration Compatibility" is not installed. (However, without this component, virtual directories won't be listed, only physical ones.)

p.s.
if you wish, you can still get the same functionality without using IIS virtual directories by using symbolic links (linkd.exe)
Find all posts by this user
02-08-2009, 12:41 AM
Post: #2
RE: NMT Explorer 1.0.0, open-source alternative to myiHome (IIS web application)
this looks pretty cool. i'm gonna check it out when i get some time. thanks. it's nice to have an open-source alternative to myihome
Find all posts by this user
02-08-2009, 01:03 AM
Post: #3
RE: NMT Explorer 1.0.0, open-source alternative to myiHome (IIS web application)
Nice work.
Since I'm not an experienced user I'm going to sit and wait to see what happens.

PCH A-100

http://www.streamernation.com
Find all posts by this user
02-08-2009, 03:50 AM
Post: #4
RE: NMT Explorer 1.0.0, open-source alternative to myiHome (IIS web application)
Quote:it's nice to have an open-source alternative to myihome

You cut me deep Shrek!
Visit this user's website Find all posts by this user
03-11-2009, 09:05 PM (This post was last modified: 03-12-2009 09:40 AM by Jbwdevos.)
Post: #5
RE: NMT Explorer 1.0.0, open-source alternative to myiHome (IIS web application)
For people who want to use this and are not an expert like me, THIS may come in handy.

Tal.aloni keep up the good work, maybe you can do something with NMTserver... that would be great teaming up with them.

Can not get YAMJ to work, i read the note at point 4 but it still doesn't work.

Also my Popcorn A-100 is on 720p but NMT Explorer loaded the SD skin... so i had to copy the content of the HD skin and then it worked.

For people who are not an expert like me and need help to get it to work... msg me!
Find all posts by this user
03-17-2009, 02:00 PM
Post: #6
RE: NMT Explorer 1.0.0, open-source alternative to myiHome (IIS web application)
1.0.1 has been released, HD resolution detection has been fixed, Thanks for letting me know.
Find all posts by this user
10-10-2009, 08:13 PM
Post: #7
User RE: NMT Explorer 1.0.1, open-source alternative to myiHome (IIS web application)
Ok, I have a virtual directory on a USB drive (F:\HDMovies) and it's set up as a virtual as /HDMovies. Streaming a single movie works without NMTExplorer.

I've installed NMTExplorer on a Windows 2003 Server IIS box both in the inetpub\wwwroot and as a separate virtual but I can never see the above virtual directory. I see other directories that reside within inetpub\wwwroot but not the one I need (/HDMovies).

Am I doing something wrong or is it a limitation of the NMTExplorer???

(02-06-2009 12:59 PM)tal.aloni Wrote:  This is a nifty web application I developed for myself, as an alternative to myiHome.

it's targeted for advanced users, who wish to utilize a server oriented and flexible solution compared to myiHome.

Requirements:
----------------
+ IIS 6 / 7 (Windows XP Pro x64 / Windows Home Server / Windows Server 2003 / Windows Server 2008)
Note: IIS 5.1 (Windows XP Pro) does not *officially* support files > 4GB, but can be used as well.
+ .Net Framework 2.0

Limitations:
---------------
+ Does not include UPnP capabilities, you can use upnp2http for UPnP support. (recommended).
+ Virtual directories are hidden, unless a physical directory with the same name exist (the content of the virtual will be listed, this is similar to the default IIS browsing behavior)
+ Virtual directory listing support require that you run the application under the default web site.

Features:
------------
1. Runs under IIS, which is a windows service. (you don't have to login to start the server)
2. fully customizable themes though html templates and configuration files. (including language settings)
3. Automatic detection of NMT resolution, and selection of theme resolution accordingly (SD/HD)
4. Open-Source, you can modify the code to fit your needs (C# / ASP.Net 2.0)
5. Support moviejukebox (YAMJ), (an icon will be shown on the homepage if a folder named 'MovieJukebox' exist in the website root directory)
6. Video, Audio and Image files are listed together.
7. Playlist Support: clicking on an audio/image file, will start a playlist of files in the current directory with the same type (audio/image), starting from the file that have been clicked.
8. excluding files / directories based on exact or partial text match.

Notes:
---------
1. The default skin has been heavily borrowed from myiHome.
2. Look at the "web.config" and "theme\deepblue\theme.config" and "theme\deepblue\template" for settings and customization.

Installation instructions: (for experienced users)
------------------------------------------------
1. Install .Net Framework 2.0 / IIS (if not already installed)
2. Enable Asp.Net 2.0 web service extension.
3. Extract the application files to the root of the default web site.
(usually C:\inetpub\wwwroot)
4. by default, IIS will only serve files with 'known' extensions,
you can make IIS serve every type of file by setting 'application/octet-stream' mime-type for extension:'*' (right click on website / directory > Properties > Http headers > Mime types)
+ Note: make sure this setting isn't applied to the 'MovieJukebox' directory, or IIS will serve YAMJ css files as 'application/octet-stream' (instead of 'text/css') and the css won't load on the Popcorn Hour.
5. Add virtual directories linking to your media directories, create physical directories with the same name. (so they will be seen by NMT Explorer)
6. Install upnp2http and configure it (or manually add the website to the list of web services in the PCH)

* To speed loading time, It's recommended to cancel "shutdown worker process after being idle for (time in minutes)" under the DefaultAppPool > performance tab.

Screen: ("deepblue" theme, SD):
[Image: NmtExplorer.PNG]


Download:
Application:
http://iknowu.net/files/public/NmtExplor...01.0.1.zip

Source-Code:
http://iknowu.net/files/public/NmtExplor...Source.zip

Version History:

1.0.0:
- Initial Release

1.0.1:
- bugfix: HD resolution detection
- Browse Page has been visually improved
- New Home Page Icons
* Folder Icon is courtesy of Laurent Baumann (http://lbaumann.com/), licensed under the CC Attribution-Noncommercial-Share Alike 3.0.
* Film Reel Icon is courtesy of Iconshock (http://www.iconshock.com), license type is Linkware.
Find all posts by this user
10-10-2009, 10:28 PM
Post: #8
RE: NMT Explorer 1.0.1, open-source alternative to myiHome (IIS web application)
haggisbingo:

tal.aloni Wrote:+ Virtual directories are hidden, unless a physical directory with the same name exist (the content of the virtual will be listed, this is similar to the default IIS browsing behavior)

which basically means: create a physical directory called HDMovies under inetpub\wwwroot. it will be listed and redirect to F:\HDMovies (because of the virtual directory called HDMovies)
Find all posts by this user
[+] 1 user says Thank You to tal.aloni for this post
10-10-2009, 11:36 PM
Post: #9
Wink RE: NMT Explorer 1.0.1, open-source alternative to myiHome (IIS web application)
Excellent! That works perfectly now - thanks for clearing that up..
(10-10-2009 10:28 PM)tal.aloni Wrote:  haggisbingo:


which basically means: create a physical directory called HDMovies under inetpub\wwwroot. it will be listed and redirect to F:\HDMovies (because of the virtual directory called HDMovies)
Find all posts by this user
10-11-2009, 10:05 AM
Post: #10
RE: NMT Explorer 1.0.1, open-source alternative to myiHome (IIS web application)
Some user had a problem with MS IIS with the C-200, whereas it worked for him on the A-110. (Apache, lighttpd, llink etc. works fine)

Anybody here with a C-200 who can verify this case?

I'm sorry but the info provided by the user is very scarce. I don't have Windows myself so I can't reproduce (on any version).
http://www.networkedmediatank.com/showth...?tid=29315

Audio, video, disco - I hear, I see, I learn.
Wiki. Wiki? Wiki!
Find all posts by this user
10-11-2009, 02:35 PM
Post: #11
RE: NMT Explorer 1.0.1, open-source alternative to myiHome (IIS web application)
I have the A-100 and all is working great now, but it's weird IIS doesn't work just on the C-200 since it's just basic HTTP streaming. Maybe they should try NMTExplorer...
(10-11-2009 10:05 AM)dc11ab Wrote:  Some user had a problem with MS IIS with the C-200, whereas it worked for him on the A-110. (Apache, lighttpd, llink etc. works fine)

Anybody here with a C-200 who can verify this case?

I'm sorry but the info provided by the user is very scarce. I don't have Windows myself so I can't reproduce (on any version).
http://www.networkedmediatank.com/showth...?tid=29315
Find all posts by this user
10-12-2009, 08:25 PM
Post: #12
Photo RE: NMT Explorer 1.0.1, PICTURES Problem
I can browse and serve videos great now. However, pictures(jpgs) don't work for some weird reason! I even enabled mime types in that directory for jpgs. It still says it can't serve that picture when I click it. Looking at it in the browser, the url says "http://server/NMTExplorer/MUTE" on ALL images!?

Gotta be something simple I'm doing wrong..Huh

(10-10-2009 10:28 PM)tal.aloni Wrote:  haggisbingo:


which basically means: create a physical directory called HDMovies under inetpub\wwwroot. it will be listed and redirect to F:\HDMovies (because of the virtual directory called HDMovies)
Find all posts by this user
10-17-2009, 12:31 PM
Post: #13
RE: NMT Explorer 1.0.1, PICTURES Problem
(10-12-2009 08:25 PM)haggisbingo Wrote:  Looking at it in the browser, the url says "http://server/NMTExplorer/MUTE" on ALL images

That part is actually OK, there is another parameter that refers to the playlist.


(10-12-2009 08:25 PM)haggisbingo Wrote:  pictures(jpgs) don't work for some weird reason!
the pictures are being accessed through HTTP, please check the IIS logs, and try to access the jpeg url using firefox. (if it's a mime-type problem, firefox will fail to display the picture in the browser, and would offer to download it), otherwise, you may see some useful information regarding the error. (in the logs as well)
Find all posts by this user
10-17-2009, 08:58 PM
Post: #14
RE: NMT Explorer 1.0.1, PICTURES Problem
Ok, Firefox displays it flawlessly while the PCH says it can't display the picture. Here is the iis log entry for the attempted display:
Quote:2009-10-17 19:42:42 192.168.1.164 GET /NMTExplorer/Playlist.aspx DirectoryRelativeUrl=/HDMovies2/temp/pictures/&FileName=Logan's.Run.1976.fanart&Extension=jpg 443 - 192.168.1.163 Syabas/00-00-000000-00-000-400-000/00-000+Firefox/0.8.0++(gaya3+TV+Res1280x720;++Browser+Res1100x656-32bits;++Res1280x720;++mac_addr=00.00.00.00.00.00) 200
It doesn't look like an error... Maybe the resolution or something??

(10-17-2009 12:31 PM)tal.aloni Wrote:  That part is actually OK, there is another parameter that refers to the playlist.


(10-12-2009 08:25 PM)haggisbingo Wrote:  pictures(jpgs) don't work for some weird reason!
the pictures are being accessed through HTTP, please check the IIS logs, and try to access the jpeg url using firefox. (if it's a mime-type problem, firefox will fail to display the picture in the browser, and would offer to download it), otherwise, you may see some useful information regarding the error. (in the logs as well)
Find all posts by this user
10-17-2009, 09:11 PM
Post: #15
RE: NMT Explorer 1.0.1, PICTURES Problem
haggisbingo, you posted the wrong IIS line from the log,
what you posted is the request for the playlist, which contains a list of the jpegs to be displayed.
immediately after it, there should be the request of the PCH for the jpeg file itself.

(if you don't see it, it's possible that for some reason, the PCH look for the picture itself in the wrong place)

use http://pastebin.com/ to post the entire log segment, so we can understand better what's going on.

also, please post the content of the playlist, browse to here to get it: /NMTExplorer/Playlist.aspx?DirectoryRelativeUrl=/HDMovies2/temp/pictures/&FileName=Logan's.Run.1976.fanart&Extension=jpg

Tal
Find all posts by this user
Thread Closed 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  iPhone Remote Control Application ayz 14 5,734 10-04-2010 10:11 AM
Last Post: ayz
  Media server for Windows 7 64bits other than myihome melao 11 4,520 06-08-2010 09:22 PM
Last Post: Bartmannetje
  Is myiHome the only way to stream HTTP? marsyas21 10 4,226 10-27-2009 07:15 PM
Last Post: haggisbingo
  NMT Explorer 1.0.1 - Do pictures work or not?? haggisbingo 2 1,823 10-18-2009 07:49 PM
Last Post: haggisbingo
Brick Alternative File Manager Dr. Oetker 0 1,330 08-27-2009 11:30 PM
Last Post: Dr. Oetker
  UPnP "Play to" (WMP12) alternative Cadish 2 5,254 07-26-2009 03:02 PM
Last Post: dc11ab
  Replacer Of MyiHome abuserkadayf 1 1,963 05-16-2009 11:40 PM
Last Post: chris57
  Is there an alternative to PlayOn? w2irt 5 38,603 05-08-2009 07:25 PM
Last Post: w2irt
  Why would UPNP servers not show in the A100 Media Source page? danjb 1 1,742 05-01-2009 04:24 PM
Last Post: wcsumme
  Changing media source path edszfa 0 934 02-25-2009 07:25 PM
Last Post: edszfa

Forum Jump: