OpenNMP: Difference between revisions
m 1 revision imported |
No edit summary |
||
Line 1: | Line 1: | ||
''by AdNovea - Nov 2009'' | ''by AdNovea - Nov 2009'' | ||
{| width="100%" | |||
|- valign="top" | {| width="100%" border="0" | ||
| width="450"| | |- valign="top" | ||
[[ | | width="450" | | ||
{| width="100%" | [[File:ONMP Home.jpg|thumb|center|400px|OpenNMP Welcome screen]] | ||
|__TOC__ | |||
|<center>[[ | {| width="100%" border="0" | ||
|- | |||
| __TOC__ | |||
| <center>[[File:ONMP logo.png|center|OpenNMP logo]]<small>''OpenNMP logo''</small></center> | |||
|} | |} | ||
| <span style="color: darkgreen; font: normal 12pt Arial;">'''OpenNMP''' is an educational initiative to expand your NMP (''Network Media Player'') features.</span><br><br>Built to offer a development environment* running on an external USB device, OpenNMP is aimed to ease the understanding of the NMP and help in developing new features and applications to expand functionalities. Add-ons applications can be downloaded as plug-ins modules (NPKG).<br><br>OpenNMP is released with some [[#Available_NPKG_Plug-ins|pre-installed NPKG plug-ins]] to offer: | |||
| <span style="color: darkgreen; font: normal 12pt Arial;">'''OpenNMP''' is an educational initiative to expand your NMP (''Network Media Player'') features.</span><br/><br/>Built to offer a development environment* running on an external USB device, OpenNMP is aimed to ease the understanding of the NMP and help in developing new features and applications to expand functionalities. Add-ons applications can be downloaded as plug-ins modules (NPKG).<br/><br/>OpenNMP is released with some [[#Available_NPKG_Plug-ins|pre-installed NPKG plug-ins]] to offer: | |||
{| width="100%" cellspacing="1" cellpadding="1" border="0" | {| width="100%" cellspacing="1" cellpadding="1" border="0" | ||
|- style="background-color: #F4F4FF; font: normal 8pt Arial;" | |- style="background-color: #F4F4FF; font: normal 8pt Arial;" | ||
|<blockquote> | | <blockquote> | ||
* '''List editor''' for YouTube, SHOUTcast, Flickr and Internet Radios | *'''List editor''' for YouTube, SHOUTcast, Flickr and Internet Radios | ||
* '''Programmable A/V Recording''' (RTSP streams with the My-PVR NPKG) | *'''Programmable A/V Recording''' (RTSP streams with the My-PVR NPKG) | ||
* '''Remote Replication''' of the data with a distant QNAP NAS | *'''Remote Replication''' of the data with a distant QNAP NAS | ||
* '''Web Server''' to host websites & web based application (PHP 5 / SQLite) | *'''Web Server''' to host websites & web based application (PHP 5 / SQLite) | ||
* '''Date and Time synchronization''' with NTP server | *'''Date and Time synchronization''' with NTP server | ||
* '''Multi-purpose Scheduler''' | *'''Multi-purpose Scheduler''' | ||
* '''SSL Connection''' (SSH, SCP) | *'''SSL Connection''' (SSH, SCP) | ||
* '''UPnP/DLNA Media Server''' function | *'''UPnP/DLNA Media Server''' function | ||
* '''Internationalization''' (English, Traditional Chinese, French) | *'''Internationalization''' (English, Traditional Chinese, French) | ||
* '''NPKG plugins''' management with remote repository | *'''NPKG plugins''' management with remote repository | ||
* OpenNMP '''system upgrade''' | *OpenNMP '''system upgrade''' | ||
* '''Help''' on NPKG plug-ins | *'''Help''' on NPKG plug-ins | ||
* '''Maintenance''' Web server management | *'''Maintenance''' Web server management | ||
* '''AJAX Debugging console''' | *'''AJAX Debugging console''' | ||
* '''Rich Internet Application interface''' (JQuery) | *'''Rich Internet Application interface''' (JQuery) | ||
* Automatic '''installation script''' | *Automatic '''installation script''' | ||
* ''and much more...'' | *''and much more...'' | ||
* The '''Sample NPKG''' gives the complete file structure to create your own applications | |||
*The '''Sample NPKG''' gives the complete file structure to create your own applications | |||
</blockquote> | </blockquote> | ||
|} | |} | ||
<small>* This environment could be ported on any SOHO servers but has been tailored for the NMP.</small> | <small>* This environment could be ported on any SOHO servers but has been tailored for the NMP.</small> | ||
{| align="left" width="100%" | {| align="left" width="100%" | ||
|- style="background-color: #FFF4F4; font: normal 8pt Arial;" valign="middle" | |- style="background-color: #FFF4F4; font: normal 8pt Arial;" valign="middle" | ||
|[[ | | [[File:Exclamation.png|RTENOTITLE]] | ||
|<span style="color: red"> | | <span style="color: red">'''Please carefully read the section about the [[#Disclaimer|Disclaimer]]'''</span><br/> | ||
OpenNMP runs <u>ONLY</u> on NMP-1000. ''OpenNMP is no longer maintained''.<br> | <span style="color: red">OpenNMP runs <u>ONLY</u> on NMP-1000. ''OpenNMP is no longer maintained''.<br/>NMP-1000P requires OpenNMP+. Read about the [http://wiki.qnap.com/wiki/ASAP ASAP] Application Store to install OpenNMP+</span> | ||
NMP-1000P requires OpenNMP+. Read about the | |||
|} | |} | ||
|} | |} | ||
= Table of content = | |||
= Table of content = | |||
<blockquote> | <blockquote> | ||
* [[OpenNMP_Scheduler | | *[[OpenNMP_Scheduler|'''OpenNMP Scheduler''' - ''Schedule Audio/Video program recordings'']] | ||
* [[OpenNMP_Scripts | | *[[OpenNMP_Scripts|'''OpenNMP Engine''' - ''Details about the OpenNMP architecture and scripts'']] | ||
* [[#Downloads| | *[[#Downloads|'''Download information''']] | ||
<br> | <br/></blockquote> | ||
</blockquote> | |||
= OpenNMP Interface = | = OpenNMP Interface = | ||
<blockquote> | <blockquote> | ||
{|width="100%" | {| width="100%" | ||
|- valign="top" | |- valign="top" | ||
|[[ | | [[File:ONMP RAI.jpg|thumb|center|200px|OpenNMP RAI interface]]<br/> | ||
|<span style="color:darkgreen"><u> | | <span style="color:darkgreen"><u>'''OpenNMP Interface'''</u></span> | ||
OpenNMP support the RIA (''Rich Internet Application'') libraries from JQuery. This made available a large and easy to use set of functionnalities to develop interactive GUI for NPKG applications.<br> | OpenNMP support the RIA (''Rich Internet Application'') libraries from JQuery. This made available a large and easy to use set of functionnalities to develop interactive GUI for NPKG applications.<br/><br/>OpenNMP applications are available in 3 languages: ''English, French'' and ''Traditional Chinese''*<br/><small>* Accept our apologizes for the poor quality of the translation done using an automatic translator.</small> | ||
<br> | |||
OpenNMP applications are available in 3 languages: ''English, French'' and ''Traditional Chinese''*<br> | |||
<small>* Accept our apologizes for the poor quality of the translation done using an automatic translator.</small> | |||
|- valign="top" | |- valign="top" | ||
|[[ | | [[File:ONMP WebServer.jpg|thumb|center|200px|OpenNMP WebServer]]<br/> | ||
|<span style="color:darkgreen"><u> | | <span style="color:darkgreen"><u>'''Web Server'''</u></span> | ||
Host your '''Website''' on your NMP.<br> | Host your '''Website''' on your NMP.<br/>OpenNMP enables PHP-5 and SQLite to create your own website. Despite the modest CPU resources available on the NMP, we have successfully runs some CMS (''Content Management System'') on the NMP.<br/><br/>''We have some MySQL-phpMyAdmin, Joomla and SPIP NPKG plugins but we <u>do not recommend</u> to use MYSQL base applications due to the limited number of resources available.'' | ||
OpenNMP enables PHP-5 and SQLite to create your own website. Despite the modest CPU resources available on the NMP, we have successfully runs some CMS (''Content Management System'') on the NMP.<br> | |||
<br> | |||
''We have some MySQL-phpMyAdmin, Joomla and SPIP NPKG plugins but we <u>do not recommend</u> to use MYSQL base applications due to the limited number of resources available.'' | |||
|- valign="top" | |- valign="top" | ||
|[[ | | [[File:ONMP System.jpg|thumb|center|200px|OpenNMP System configuration]]<br/><br/> | ||
|<span style="color:darkgreen"><u> | | <span style="color:darkgreen"><u>'''System configuration'''</u></span> | ||
The System and Optware NPKGs are the core plug-ins to run OpenNMP. They cannot be removed. They handle basic applications on which other NPKG plug-ins can run.<br> | The System and Optware NPKGs are the core plug-ins to run OpenNMP. They cannot be removed. They handle basic applications on which other NPKG plug-ins can run.<br/>The System NPKG plug-in enables: | ||
The System NPKG plug-in enables: | |||
* Password change | *Password change | ||
* Lighttpd Web Server management | *Lighttpd Web Server management | ||
* Time and Date synchronization (''with NTP server and scheduled tasks'') | *Time and Date synchronization (''with NTP server and scheduled tasks'') | ||
* SSL Connections management (''SSH and SCP'') | *SSL Connections management (''SSH and SCP'') | ||
* Schedule tasks management (''cron jobs'') | *Schedule tasks management (''cron jobs'') | ||
|- valign="top" | |- valign="top" | ||
|[[ | | [[File:ONMP NPKG.jpg|thumb|center|200px|OpenNMP NPKG and upgrade system]]<br/> | ||
|<span style="color:darkgreen"><u> | | <span style="color:darkgreen"><u>'''NPKG and Upgrade'''</u></span> | ||
OpenNMP implements a new plug-ins management system to install features as well as an OpenNMP system upgrade mechanism. NPKG manager handles both manual and automatic installation from a remote NPKG repository. NPKG dependencies, if any, are automatically handled.<br> | OpenNMP implements a new plug-ins management system to install features as well as an OpenNMP system upgrade mechanism. NPKG manager handles both manual and automatic installation from a remote NPKG repository. NPKG dependencies, if any, are automatically handled.<br/>''Be patient! remote accesses take time. Use the console below to monitor the progression.''<br/><br/>The Sample NPKG provided with OpenNMP gives you all required files to develop your own applications and turn them into NPKG for distribution. | ||
''Be patient! remote accesses take time. Use the console below to monitor the progression.''<br><br> | |||
The Sample NPKG provided with OpenNMP gives you all required files to develop your own applications and turn them into NPKG for distribution. | |||
|- valign="top" | |- valign="top" | ||
|[[ | | [[File:ONMP Console.jpg|thumb|center|200px|OpenNMP Debugging logs]]<br/> | ||
|<span style="color:darkgreen"><u> | | <span style="color:darkgreen"><u>'''Monitoring and Debugging'''</u></span> | ||
OpenNMP is an educational initiative and is targeted to learn about the NMP. For this reason, we provide a Sample NPKG to give you the NPKG file structure. A debugging console can monitor the process progression and logs.<br> | OpenNMP is an educational initiative and is targeted to learn about the NMP. For this reason, we provide a Sample NPKG to give you the NPKG file structure. A debugging console can monitor the process progression and logs.<br/>Whenever a process seems to be long to execute, just display the debugging console and access the debugging logs (''System, CGI or Scheduler''). | ||
Whenever a process seems to be long to execute, just display the debugging console and access the debugging logs (''System, CGI or Scheduler''). | |||
|} | |} | ||
</blockquote> | </blockquote> | ||
= Available NPKG Plug-ins = | = Available NPKG Plug-ins = | ||
<blockquote> | <blockquote> | ||
{|width="100%" | {| width="100%" | ||
|- valign="middle" style="background-color: #FFF4F4; font: normal 8pt Arial;" | |||
! width="100" | [[File:Information.png|RTENOTITLE]] | |||
| <br/>They is already a couple of applications available and packaged as NPKG plug-ins for OpenNMP.<br/> | |||
These NPKGs will expand the use of your NAS by implementing additional features.<br/>''Visit the NMP section on the official QNAP forum for latest information about OpenNMP & NPKG developments''.<br/><small>* NPKG pre-installed with OpenNMP</small> | |||
|- | |- | ||
|<br> | | <br/> | ||
|- valign="top" | |||
| [[File:Img-AjaXplorer.png|RTENOTITLE]]<br/><br/> | |||
| <span style="color:darkgreen"><u>'''AJAXPLORER'''</u> *</span> | |||
AjaXplorer is an easy-to-install file explorer for remotely managing files on a web server. Its « rich client » layout and actions make it accessible to any end-user for a variety of purposes: file management/sharing, photo gallery, code browsing, etc. | |||
|- valign="top" | |- valign="top" | ||
|[[ | | [[File:Img-Joomla.png|RTENOTITLE]]<br/><br/> | ||
|<span style="color:darkgreen"><u> | | <span style="color:darkgreen"><u>'''JOOMLA'''</u> - ''Not recommended for NMP-1000''</span> | ||
Joomla makes creating and maintaining Web sites easy for everyone, from total beginners setting up their first site to IT professionals managing enterprise installations.<br/>''Requires MySQL NPKG''. | |||
|- valign="top" | |- valign="top" | ||
|[[ | | [[File:Img-Media Services.png|RTENOTITLE]]<br/><br/> | ||
|<span style="color:darkgreen"><u> | | <span style="color:darkgreen"><u>'''MEDIA SERVICES'''</u> *</span> | ||
'''YouTube, SHOUTcast, Flickr''' and the '''Internet Radio''' require data such as URLs, categories, accounts, etc. Each service has a list which can be edited with the remote control and/or the emulation of the keyboard on the screen but this remains fastidious. You have the capability to edit these lists on your PC thanks to the [http://wiki.qnap.com/wiki/File:ONMP_Services.jpg '''Media Service NPKG'''] Plugin. You are able to add or modify entries, but also to restore the factory default list or your latest list modification. This Plug-in enables the <u>'''Internet radio recording'''</u> if your local regulation permits. Audio streams are split into files named accordingly with the song names. | |||
'' | |||
< | |||
|- valign="top" | |- valign="top" | ||
|[[ | | [[File:Img-My-PVR.png|RTENOTITLE]]<br/><br/> | ||
|<span style="color:darkgreen"><u> | | <span style="color:darkgreen"><u>'''MY-PVR'''</u></span> | ||
''' | My-PVR is a very simple application to <u>'''record video stream'''</u> broadcasted either from DSL ISP channels, IP-CAM, Web-TV or any RTSP streams. To ease the access to your ISP TV channels, you can enter your ISP TV channels playlist (''M3U format''). | ||
|- valign="top" | |- valign="top" | ||
|[[ | | [[File:Img-MySQL.png|RTENOTITLE]]<br/><br/> | ||
|<span style="color:darkgreen"><u> | | <span style="color:darkgreen"><u>'''MYSQL'''</u> - ''Not recommended for NMP-1000''</span> | ||
My- | MySQL is a relational database management system (RDBMS) which has more than several million installations. MySQL stands for "''My Structured Query Language''". The program runs as a server providing multi-user access to a number of databases. You can enable MySQL server as the website database.<br/>''Installs phpMyAdmin as MySQL Administration interface''.<br/><span style="color: darkred">'''WARNING''': After the MySQL installation you MUST RESTART the Web server.</span> | ||
|- valign="top" | |- valign="top" | ||
|[[ | | [[File:Img-PHPSysInfo.png|RTENOTITLE]]<br/><br/> | ||
|<span style="color:darkgreen"><u> | | <span style="color:darkgreen"><u>'''PHPSYSINFO'''</u></span> | ||
PhpSysInfo is a customizable PHP Script that parses /proc, and formats information nicely. It will display information about system facts like Uptime, CPU, Memory, PCI devices, SCSI devices, IDE devices, Network adapters, Disk usage, and more. | |||
|- valign="top" | |- valign="top" | ||
|[[ | | [[File:Img-Remote Backup.png|RTENOTITLE]]<br/><br/> | ||
|<span style="color:darkgreen"><u> | | <span style="color:darkgreen"><u>'''REMOTE BACKUP'''</u> *</span> | ||
When you want to [http://wiki.qnap.com/wiki/File:ONMP_Backup.jpg '''synchronize the local files'''] on your NMP with a remote folder on your NAS server, the Remote Replication function allows you to easily perform this task. QNAP NAS servers have the capability to synchronize with other QNAP devices. Enable the Remote Backup on your NMP then create a new job on your NAS Remote Backup administration page. ''You can plan nightly folder synchronization. Tests report about 2 MB/s transfer rate over gigabit LAN and 1.2 MB/s over WiFi (54Mb/s).'' | |||
|- valign="top" | |- valign="top" | ||
|[[ | | [[File:Img-SPIP.png|RTENOTITLE]]<br/><br/> | ||
|<span style="color:darkgreen"><u> | | <span style="color:darkgreen"><u>'''SPIP'''</u> - ''Not recommended for NMP-1000''</span> | ||
SPIP is a publishing system for the Internet in which great importance is attached to collaborative working, to multilingual environments, and to simplicity of use for web authors. It is free software, distributed under the GNU/GPL licence. This means that it can be used for any Internet site, whether personal or institutional, non-profit or commercial.<br/>''Uses either a SQLite or MySQL database (requires MySQL NPKG)''. | |||
|- valign="top" | |- valign="top" | ||
|[[ | | [[File:Img-VLC.png|RTENOTITLE]]<br/><br/> | ||
|<span style="color:darkgreen"><u> | | <span style="color:darkgreen"><u>'''VLC'''</u> - ''For developers''</span> | ||
The VLC plugin implements a UPnP/DLNA server on your NMP-1000 to share its internal disk multimedia content with others UPnP/DLNA devices. VLC media player is a highly portable multimedia player and multimedia framework capable of reading most audio and video formats (''MPEG-2, MPEG-4, H.264, DivX, MPEG-1, mp3, ogg, aac ...'') as well as DVDs, Audio CDs VCDs, and various streaming protocols.<br/>''More information about [http://www.videolan.org/vlc/ VideoLAN]''. | |||
'' | |||
|- valign="top" | |- valign="top" | ||
|[[ | | [[File:Img-Sample.png|RTENOTITLE]]<br/><br/> | ||
|<span style="color:darkgreen"><u> | | <span style="color:darkgreen"><u>'''SAMPLE'''</u> *</span> | ||
This is an empty NPKG providing the NPKG plug-in file structure as a development basis.<br/>'''Installed by default with OpenNMP, you can remove this Plug-in if you do not intend to use it'''. Additional information about the NPKG development and the file structure are available in the help section of the plug-in. | |||
This is an empty NPKG providing the NPKG plug-in file structure as a development basis.<br> | |||
|} | |} | ||
</blockquote> | </blockquote> | ||
= Installation = | |||
{| width="100%" border="0" | |||
{| width="100%" | |- valign="top" | ||
|- valign="top" | | width="300" | | ||
| width="300"| | [[File:ONMP on KEY.jpg|thumb|center|300px|OpenNMP on USB Stick]]<br/>'''NOTE''': ''We recommend to use the Putty terminal to correctly handle script colorization''.<br/><br/>'''Read more about [[OpenNMP_Scripts#OpenNMP_Installation|Installation & Upgrade]]''' | ||
[[ | |||
<br> | | | ||
'''NOTE''': ''We recommend to use the Putty terminal to correctly handle script colorization''.<br> | #'''Plug an external USB''' storage media (''256 MB minimum'')<br/>- USB Memory stick (<span style="color: #880000; font: bold italic 10pt Arial">ReadyBoost recommended</span>) or USB Hard Disk Drive<br/> | ||
<br> | #Open and log with a '''Telnet console'''<br/>- Enable Remote Login in the NMP Web Administration interface<br/>- Connect to port 13131 with Telnet (''eg. Putty utility'')<br/>- Log with admin (''default password is admin'')<br/> | ||
'''Read more about [[OpenNMP_Scripts#OpenNMP_Installation|Installation & Upgrade]]''' | #'''Extract from OpenNMP archive''' the 3 files "''installer.sh, onmp.tgz and INSTALL''"<br/>- Copy the 3 files into the "''/share/Download''" folder of your NMP-1000 for example<br/>- For "disk-less NMP", plug a second USB thumbdrive and extract on it.<br/>- Read the README file for instructions<br/> | ||
| | #'''Launch the installation''' script from the directory where the archived files have been extracted.<br/>- If OpenNMP already exists, it will be upgraded.<pre># cd /share/Download | ||
</pre> | |||
<pre> | |||
# cd /share/Download | |||
# ./installer.sh | # ./installer.sh | ||
Carefully select the USB device to be used<br/><span style="color: darkred;">'''== ALL DATA ON THE SELECTED USB DRIVE WILL BE ERASED =='''</span> | |||
Carefully select the USB device to be used<br><span style="color: darkred;"> | |||
|} | |} | ||
<blockquote> | <blockquote><br/>Once the installation completed, log to the OpenNMP web interface with your web browser: | ||
<br> | *http: //<your_nmp>:8080/ | ||
Once the installation completed, log to the OpenNMP web interface with your web browser: | *Default account is: '''admin/admin''' | ||
* http: // | <br/>They are few additional options for the installer script:<pre>--force-defaults use default options for questions asked by the installer during upgrade. | ||
* Default account is: '''admin/admin''' | |||
<br> | |||
They are few additional options for the installer script:<pre> | |||
--force-defaults use default options for questions asked by the installer during upgrade. | |||
--force-reinstall allow to reinstall (from scratch) OpenNMP over a previous version | --force-reinstall allow to reinstall (from scratch) OpenNMP over a previous version | ||
-h --help display this help and exit | -h --help display this help and exit | ||
-V --version output version information and exit | -V --version output version information and exit | ||
</pre> | </pre> | ||
== Performances == | == Performances == | ||
== OpenNMP removal== | The QNAP NMP-1000 is a versatile product which offers already a great number of functionalities. Its very smart implementation has enabled the quick development of this opened source application to get even more from the product. OpenNMP will certainly run on future NMP products too. Therefore, we have unleashed our creativity to implement functionalities which today shall run with a limited number of resources (300 MHz CPU / 256 MB RAM shared with the Player applications). Playing with some of the OpenNMP functions might give the feeling of a slow time response. Only enable the features that you really need and use the Debugging console to monitor the progression of slow commands. | ||
== OpenNMP removal == | |||
To completely remove OpenNMP from your NMP you shall open a Telnet console (''not a SSH console because this feature will be removed with OpenNMP'') then: | To completely remove OpenNMP from your NMP you shall open a Telnet console (''not a SSH console because this feature will be removed with OpenNMP'') then: | ||
<pre> | <pre># cd /share/external/USB_DRIVE_xx (where xx stands for A1, B1, etc.. according to your USB device) | ||
# cd /share/external/USB_DRIVE_xx (where xx stands for A1, B1, etc.. according to your USB device) | |||
#.onmp/opennmp.sh remove-all | #.onmp/opennmp.sh remove-all | ||
</pre> | </pre> | ||
This will remove all NPKG and links that have been created by these NPKG as well as data (''e.g. Media services lists will be reseted to values at the date of OpenNMP installation'') including the "hook" | |||
This will remove all NPKG and links that have been created by these NPKG as well as data (''e.g. Media services lists will be reseted to values at the date of OpenNMP installation'') including the "hook" but not the OpenNMP core files on the USB device. You have to reformat your USB device if you want to clear all files. | |||
</blockquote> | </blockquote> | ||
= Known Issues = | = Known Issues = | ||
Despite all the effort devoted to make OpenNMP the best as possible, there are still some remaining issues and limitations we are trying to get rid of. | Despite all the effort devoted to make OpenNMP the best as possible, there are still some remaining issues and limitations we are trying to get rid of. | ||
<blockquote> | <blockquote> | ||
* <span style="color: #880000">Several users have reported issues with '''USB thumbdrives''' whereas USB HDDs are always working proprerly. We recommand to use <u>'''USB ReadyBoost'''</u> thumbdrives which are aimed to support heavy R/W operations whereas low-end cheap USB thumbdrives are targeted for data storage only.</span> | *<span style="color: #880000">Several users have reported issues with '''USB thumbdrives''' whereas USB HDDs are always working proprerly. We recommand to use <u>'''USB ReadyBoost'''</u> thumbdrives which are aimed to support heavy R/W operations whereas low-end cheap USB thumbdrives are targeted for data storage only.</span> | ||
* NPKG upgrade fails. Previous NPKG shall be removed prior to new NPKG version installation | *NPKG upgrade fails. Previous NPKG shall be removed prior to new NPKG version installation | ||
</blockquote> | </blockquote> | ||
= Troubleshooting = | = Troubleshooting = | ||
Here below are the frequently asked questions about troubleshooting: | Here below are the frequently asked questions about troubleshooting: | ||
<blockquote> | <blockquote> | ||
* '''Install aborted because the USB device cannot be unmount'''. This may occur during a re-installation. There are processes still using the USB device which prevent the ''Umount'' command (''e.g. Close Windows explorer pointing to the USB device'').<br>Eject the USB device from the NMP administration interface, or check (''fuser -m /share/USB_DRIVE_x1'') which process is still using the USB device and kill it | *'''Install aborted because the USB device cannot be unmount'''. This may occur during a re-installation. There are processes still using the USB device which prevent the ''Umount'' command (''e.g. Close Windows explorer pointing to the USB device'').<br/>Eject the USB device from the NMP administration interface, or check (''fuser -m /share/USB_DRIVE_x1'') which process is still using the USB device and kill it. | ||
*'''Access to OpenNMP web interface lost'''. If you have modified the Web server port, you must redirect your browser to the new port and relogin. Browser cache may need to be cleared. | |||
</blockquote> | </blockquote> | ||
= Disclaimer = | = Disclaimer = | ||
<blockquote> | <blockquote><span style="color: darkred">'''As of today, OpenNMP is still in <u>Alpha version</u>.'''</span><br/><br/>The OpenNMP development environment is provided under GPL license AS IS*.<br/>By using OpenNMP,<span style="color: red"><u>you endorse the full and sole responsibility for direct and indirect damages and/or losses</u></span>.<br/>You yield any actions against the OpenNMP developers and/or QNAP. OpenNMP is provided for educational purpose only.<br/><br/>'''IMPORTANT:''' To not alter the performances of the Network Media Player, we urge you to stop OpenNMP while playing movies or using the video and audio functionalities. Network activities may take a significant amount of memory or CPU resources and drastically reduce the efficiency of the audio/video processing. Video artifacts and noise can impair the quality of your multimedia content.<br/><small>* OpenNMP has not been fully tested and despite all the attention provided, may open security breaches into your system, or directly/indirectly alter your data.</small></blockquote> | ||
<span style="color: darkred"> | |||
<br> | |||
The OpenNMP development environment is provided under GPL license AS IS*.<br>By using OpenNMP,<span style="color: red"> <u>you endorse the full and sole responsibility for direct and indirect damages and/or losses</u></span>.<br>You yield any actions against the OpenNMP developers and/or QNAP. OpenNMP is provided for educational purpose only.<br> | |||
<br> | |||
< | |||
</blockquote> | |||
= Downloads = | = Downloads = | ||
<blockquote> | <blockquote> | ||
{| width="100%" | {| width="100%" | ||
|- style="background-color: #FFF4F4; font: normal 8pt Arial;" valign="middle" | |- style="background-color: #FFF4F4; font: normal 8pt Arial;" valign="middle" | ||
|[[ | | [[File:Information.png|RTENOTITLE]] | ||
|<span style="color: darkred"> | | <span style="color: darkred">'''IMPORTANT''': Downloads are available from the QNAP Forum for registered members at<br/>[[http://forum.qnap.com/viewtopic.php?f=176&t=21850|The OpenNMP & NPKG Project]].</span> | ||
|} | |} | ||
</blockquote> | </blockquote> | ||
[[Category:Multimedia Applications]] [[Category:NMP-1000]] | |||
[[Category: |
Latest revision as of 18:08, 29 June 2015
by AdNovea - Nov 2009
|
OpenNMP is an educational initiative to expand your NMP (Network Media Player) features. Built to offer a development environment* running on an external USB device, OpenNMP is aimed to ease the understanding of the NMP and help in developing new features and applications to expand functionalities. Add-ons applications can be downloaded as plug-ins modules (NPKG). OpenNMP is released with some pre-installed NPKG plug-ins to offer:
* This environment could be ported on any SOHO servers but has been tailored for the NMP.
|
Table of content
- OpenNMP Scheduler - Schedule Audio/Video program recordings
- OpenNMP Engine - Details about the OpenNMP architecture and scripts
- Download information
OpenNMP Interface
OpenNMP Interface OpenNMP support the RIA (Rich Internet Application) libraries from JQuery. This made available a large and easy to use set of functionnalities to develop interactive GUI for NPKG applications.
OpenNMP applications are available in 3 languages: English, French and Traditional Chinese*
* Accept our apologizes for the poor quality of the translation done using an automatic translator.
Web Server Host your Website on your NMP.
OpenNMP enables PHP-5 and SQLite to create your own website. Despite the modest CPU resources available on the NMP, we have successfully runs some CMS (Content Management System) on the NMP.
We have some MySQL-phpMyAdmin, Joomla and SPIP NPKG plugins but we do not recommend to use MYSQL base applications due to the limited number of resources available.
System configuration The System and Optware NPKGs are the core plug-ins to run OpenNMP. They cannot be removed. They handle basic applications on which other NPKG plug-ins can run.
The System NPKG plug-in enables:
- Password change
- Lighttpd Web Server management
- Time and Date synchronization (with NTP server and scheduled tasks)
- SSL Connections management (SSH and SCP)
- Schedule tasks management (cron jobs)
NPKG and Upgrade OpenNMP implements a new plug-ins management system to install features as well as an OpenNMP system upgrade mechanism. NPKG manager handles both manual and automatic installation from a remote NPKG repository. NPKG dependencies, if any, are automatically handled.
Be patient! remote accesses take time. Use the console below to monitor the progression.
The Sample NPKG provided with OpenNMP gives you all required files to develop your own applications and turn them into NPKG for distribution.
Monitoring and Debugging OpenNMP is an educational initiative and is targeted to learn about the NMP. For this reason, we provide a Sample NPKG to give you the NPKG file structure. A debugging console can monitor the process progression and logs.
Whenever a process seems to be long to execute, just display the debugging console and access the debugging logs (System, CGI or Scheduler).
Available NPKG Plug-ins
They is already a couple of applications available and packaged as NPKG plug-ins for OpenNMP.
These NPKGs will expand the use of your NAS by implementing additional features.
Visit the NMP section on the official QNAP forum for latest information about OpenNMP & NPKG developments.
* NPKG pre-installed with OpenNMP
AJAXPLORER * AjaXplorer is an easy-to-install file explorer for remotely managing files on a web server. Its « rich client » layout and actions make it accessible to any end-user for a variety of purposes: file management/sharing, photo gallery, code browsing, etc.
JOOMLA - Not recommended for NMP-1000 Joomla makes creating and maintaining Web sites easy for everyone, from total beginners setting up their first site to IT professionals managing enterprise installations.
Requires MySQL NPKG.
MEDIA SERVICES * YouTube, SHOUTcast, Flickr and the Internet Radio require data such as URLs, categories, accounts, etc. Each service has a list which can be edited with the remote control and/or the emulation of the keyboard on the screen but this remains fastidious. You have the capability to edit these lists on your PC thanks to the Media Service NPKG Plugin. You are able to add or modify entries, but also to restore the factory default list or your latest list modification. This Plug-in enables the Internet radio recording if your local regulation permits. Audio streams are split into files named accordingly with the song names.
MY-PVR My-PVR is a very simple application to record video stream broadcasted either from DSL ISP channels, IP-CAM, Web-TV or any RTSP streams. To ease the access to your ISP TV channels, you can enter your ISP TV channels playlist (M3U format).
MYSQL - Not recommended for NMP-1000 MySQL is a relational database management system (RDBMS) which has more than several million installations. MySQL stands for "My Structured Query Language". The program runs as a server providing multi-user access to a number of databases. You can enable MySQL server as the website database.
Installs phpMyAdmin as MySQL Administration interface.
WARNING: After the MySQL installation you MUST RESTART the Web server.
PHPSYSINFO PhpSysInfo is a customizable PHP Script that parses /proc, and formats information nicely. It will display information about system facts like Uptime, CPU, Memory, PCI devices, SCSI devices, IDE devices, Network adapters, Disk usage, and more.
REMOTE BACKUP * When you want to synchronize the local files on your NMP with a remote folder on your NAS server, the Remote Replication function allows you to easily perform this task. QNAP NAS servers have the capability to synchronize with other QNAP devices. Enable the Remote Backup on your NMP then create a new job on your NAS Remote Backup administration page. You can plan nightly folder synchronization. Tests report about 2 MB/s transfer rate over gigabit LAN and 1.2 MB/s over WiFi (54Mb/s).
SPIP - Not recommended for NMP-1000 SPIP is a publishing system for the Internet in which great importance is attached to collaborative working, to multilingual environments, and to simplicity of use for web authors. It is free software, distributed under the GNU/GPL licence. This means that it can be used for any Internet site, whether personal or institutional, non-profit or commercial.
Uses either a SQLite or MySQL database (requires MySQL NPKG).
VLC - For developers The VLC plugin implements a UPnP/DLNA server on your NMP-1000 to share its internal disk multimedia content with others UPnP/DLNA devices. VLC media player is a highly portable multimedia player and multimedia framework capable of reading most audio and video formats (MPEG-2, MPEG-4, H.264, DivX, MPEG-1, mp3, ogg, aac ...) as well as DVDs, Audio CDs VCDs, and various streaming protocols.
More information about VideoLAN.
SAMPLE * This is an empty NPKG providing the NPKG plug-in file structure as a development basis.
Installed by default with OpenNMP, you can remove this Plug-in if you do not intend to use it. Additional information about the NPKG development and the file structure are available in the help section of the plug-in.
Installation
NOTE: We recommend to use the Putty terminal to correctly handle script colorization. Read more about Installation & Upgrade |
Carefully select the USB device to be used |
Once the installation completed, log to the OpenNMP web interface with your web browser:
- http: //<your_nmp>:8080/
- Default account is: admin/admin
They are few additional options for the installer script:--force-defaults use default options for questions asked by the installer during upgrade. --force-reinstall allow to reinstall (from scratch) OpenNMP over a previous version -h --help display this help and exit -V --version output version information and exit
Performances
The QNAP NMP-1000 is a versatile product which offers already a great number of functionalities. Its very smart implementation has enabled the quick development of this opened source application to get even more from the product. OpenNMP will certainly run on future NMP products too. Therefore, we have unleashed our creativity to implement functionalities which today shall run with a limited number of resources (300 MHz CPU / 256 MB RAM shared with the Player applications). Playing with some of the OpenNMP functions might give the feeling of a slow time response. Only enable the features that you really need and use the Debugging console to monitor the progression of slow commands.
OpenNMP removal
To completely remove OpenNMP from your NMP you shall open a Telnet console (not a SSH console because this feature will be removed with OpenNMP) then:
# cd /share/external/USB_DRIVE_xx (where xx stands for A1, B1, etc.. according to your USB device) #.onmp/opennmp.sh remove-allThis will remove all NPKG and links that have been created by these NPKG as well as data (e.g. Media services lists will be reseted to values at the date of OpenNMP installation) including the "hook" but not the OpenNMP core files on the USB device. You have to reformat your USB device if you want to clear all files.
Known Issues
Despite all the effort devoted to make OpenNMP the best as possible, there are still some remaining issues and limitations we are trying to get rid of.
- Several users have reported issues with USB thumbdrives whereas USB HDDs are always working proprerly. We recommand to use USB ReadyBoost thumbdrives which are aimed to support heavy R/W operations whereas low-end cheap USB thumbdrives are targeted for data storage only.
- NPKG upgrade fails. Previous NPKG shall be removed prior to new NPKG version installation
Troubleshooting
Here below are the frequently asked questions about troubleshooting:
- Install aborted because the USB device cannot be unmount. This may occur during a re-installation. There are processes still using the USB device which prevent the Umount command (e.g. Close Windows explorer pointing to the USB device).
Eject the USB device from the NMP administration interface, or check (fuser -m /share/USB_DRIVE_x1) which process is still using the USB device and kill it.
- Access to OpenNMP web interface lost. If you have modified the Web server port, you must redirect your browser to the new port and relogin. Browser cache may need to be cleared.
Disclaimer
As of today, OpenNMP is still in Alpha version.
The OpenNMP development environment is provided under GPL license AS IS*.
By using OpenNMP,you endorse the full and sole responsibility for direct and indirect damages and/or losses.
You yield any actions against the OpenNMP developers and/or QNAP. OpenNMP is provided for educational purpose only.
IMPORTANT: To not alter the performances of the Network Media Player, we urge you to stop OpenNMP while playing movies or using the video and audio functionalities. Network activities may take a significant amount of memory or CPU resources and drastically reduce the efficiency of the audio/video processing. Video artifacts and noise can impair the quality of your multimedia content.
* OpenNMP has not been fully tested and despite all the attention provided, may open security breaches into your system, or directly/indirectly alter your data.
Downloads
IMPORTANT: Downloads are available from the QNAP Forum for registered members at
[OpenNMP & NPKG Project].