[19. April 2013] A-400 Advanced Network Setup now available | [11 Jan. 2013] Customize your A-400 Home Screen

Firmware: A-400 [13 May 2013] | C-300 [30 Nov. 2012] | A-300 [30 Nov. 2012] | C-200 [21 Jan. 2013] | A-200/A-210 [10 Aug. 2012]

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)
Post Reply 
nmtPYtools 0.3 released
09-23-2011, 02:23 PM
Post: #1
nmtPYtools 0.3 released
I just relased nmtPYtools 0.3.0 on Omertron's website. It has only been tested on 1xx machines so far, but should also work on 2xx machines. You can download the zip files from:

http://mediaplayersite.com/node/212

and install them via CSI (install from file). Later on I'll also add them to my CSI repository.

nmtPYtools is based on the Karrigell webserver framework and offers a toolbox with 3 tools at the moment:

podcasts: a simple way to collect audio and video cast RSS feeds and access the casts from your NMT or PC. Inserting RSS links should best be done from your PC (copy and paste). The podcasts must be compatible with your NMT and offer direct streams (mp3, mp4 etc., no webinterface with flash!). A few feeds are already included, just to show you how it works, but most of them in German. Simply click on "delete" to get rid of them and add your own preferred podcasts.

mediainfo browser: a web interface for the mediainfo program. You can browse all attached disks for media files and get the detailed information which mediainfo supplies. Getting information on movie files may take a while, as mediainfo scans the whole file. To access network drives you need to install NetworkMounter via CSI.

opkg tool: a simple gaya/web interface for opkg (and the older ipkg as well, if still installed). I wrote this tool, because all other gaya/web interfaces had problems on my NMT.

More tools may be added later on by myself or other developers. There is an extended version available for developers (nmtPYtools-dev), which includes Karrigell documentation and demos.

nmtPYtools requires opkg (or the older ipkg in its latest version) to be installed first from CSI. All required packages (Python and its dependancies, mediainfo) will be installed automatically when you install nmtPYtools. This may take a while.

nmtPYtools uses Karrigell's multithreaded webserver on port 8092. The builtin webserver (or lighttpd) is only used to access the gaya web service which will start nmtPYtools, if it is no running yet, or redirect to it, if it is running already. If "start on boot" is activated in CSI, the gaya web interface will be created, but nmtPYtools will not be started automatically, only if you access it from the web services. You can stop the application via "shutdown server" command on the menue page. If you want nmtPYtools to run immediately after booting your NMT, rename the file "autobootx" (inside Apps/nmtPYtools) to "autoboot". If "start on boot" is disabled in CSI, no web service is created. You can still start and use the application, by going to Apps/nmtPYtools with your gaya browser in document mode and select "nmtPYtools.html". There is another html page named "nmtPYtoolsWSinstall.html", which you may use to install the web service to nmtPYtools at any time, without having to use CSI to start the application. Of course, starting and stopping the application via CSI is also possible at any time. If you call one of the html pages and see only the rotating cursor, wait a few seconds and press the STOP/ESC key on your remote. There seems to be a problem with cgi scripts which call other scripts, but it works nevertheless.

You can access nmtPYtools also from your PC with "http://yournmtip:8092/". You can stop the web server of nmtPYtools from your PC, but starting it again is only possible from your NMT.
The administration interface is only accessible from your PC. Admin login is set to:
User: nmtadmin
pw: nmt1234

If you use lighttpd on your NMT, you MUST replace its config files with new ones, which you will find in the folder lighttpdconfigs.

There are two subfolders with different settings:

one uses cgi mode for both shell scripts and php (slower, but needs less memory),

the other one uses cgi for shell scripts and fcgi for php (faster, but requires more memory all the time).

Without replacing your lighttpd config files, the gaya interface will NOT work.

For more support visit the nmtPYtools thread on http://www.networkedmediatank.com.

Guenter Kreidl
Find all posts by this user
Add Thank You Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  NetworkMounter 0.1 released on CSI Niels Leenheer 289 87,272 07-09-2012 07:07 PM
Last Post: andym2009
  Utils v0.0.4 - A110 - Released - Updated 5th July vaidyasr 84 25,130 01-31-2011 01:21 PM
Last Post: dc11ab
  [Apps] SYNK - C200/A200/A210/A110 - Released vaidyasr 0 1,907 01-24-2011 12:47 PM
Last Post: vaidyasr
  NFO Manager v1.0.4 Beta Released Nov 11th - With Dynamic JukeBox vaidyasr 76 31,471 01-12-2011 02:12 PM
Last Post: mfsav2
  NMTWATCHD v1.0 released jorgb 28 9,187 04-06-2010 03:13 AM
Last Post: adamnoddliver
  mvpmcx2 released emveepee 58 27,413 10-21-2009 11:40 PM
Last Post: bozoo
  PMS - Popcorn Music System released iix 34 23,269 09-21-2009 03:05 PM
Last Post: dc11ab
  **New** Networked Media Tank Download Manager v2.0.1 Released (Jan 20) vaidyasr 122 59,213 03-23-2009 12:40 PM
Last Post: leijona
  BTPD 0.15 released Anton Bourbon 11 5,084 02-10-2009 08:12 AM
Last Post: azizi
  IMDBIT 0.5.9 Released wesleyelder 31 10,453 01-20-2009 11:22 PM
Last Post: ktd

Forum Jump: