*********************************************
** BubbleUPnP Server Synology Package V0.1 **
**         - created by winxi -            **
**        - inspired by patters -          **
*********************************************

   --------------------
   |      ABOUT       |
   --------------------
BubbleUPnP Server is an application suitable for running at a low-powered NAS device, as it's a pleasure to have its useful features available 24/7. BubbleUPnP Server is developed by Michael Pujos. Please refer to its documentation at http://www.bubblesoftapps.com/bubbleupnpserver/.
This package allows easy installation of BubbleUPnP Server at Synology devices using its native user interface (DSM). Creation was inspired by the Synology packages maintained py patters. Take a look at his blog http://pcloadletter.co.uk/ for further information.

   --------------------
   |   REQUIREMENTS   |
   --------------------
* This package will work with DSM 3.1 and onwards. However, you are recommended to use the latest firmware with your Disk Station (DS).
* BubbleUPnP Server Synology package requires Java 6 (or higher) to be installed. You are recommended to use the famous 'Java SE for Embedded package for Synology NAS' by patters for Marvell Kirkwood and Intel CPUs, see http://wp.me/pVshC-z5.
* BubbleUPnP Server Synology package requires 'User Home Service' to be enabled in the DSM user control panel.
* If you have a manual installation of BubbleUPnPServer running at your DS, make sure to remove it before installing this package.

   --------------------
   |      USAGE       |
   --------------------
DSM 'Package Center' enables you to ...
* install BubbleUPnP Server: The installer will check for a Java installation and for the 'User Home Service' to be enabled. 
* start/stop BubbleUPnP Server: When BubbleUPnP Server is started, a corresponding icon will appear in the main menu of DSM, which links to the configuration web interface. Give BubbleUPnP Server some seconds to start up before entering the configuration.
* uninstall BubbleUPnP Server: When uninstalling BubbleUPnP Server, it will be entirely removed from the system and settings, image cache and playlists will be lost.
* upgrade BubbleUPnP Server: If a new version is available, you can uprade by simply installing it without removing the old version. You will be prompted to choose wether to keep the old settings or to perform a fresh install.
* view the log: You can directly view the log of the current session.

   --------------------
   |     FEATURES     |
   --------------------
* BubbleUPnP Server Synology Package will create the daemon user 'bubbleupnp' to run BubbleUPnP Server. This results in different benefits:
-> BubbleUPnP Server will be executed by the daemon user and thus won't have root permissions.
-> The password for the daemon user will be generated randomly. Of course, you can change it if you want to.
-> The application data of BubbleUPnP Server is stored in the daemon user's home-directory and thus is directly accessible through the DSM file browser (navigate to /homes/bubbleupnp). This is especially useful to fetch logfiles without the need to log on to the DS via telnet or SSH.
* BubbleUPnP Server Synology Package extracts the log of the running session out of both the rotated log-files when navigating to Package Center -> BubbleUPnP Server -> More -> Log. The current log will be saved to synoCurrent.log.

   --------------------
   |      NOTES       |
   --------------------
* BubbleUPnP Server requires ffmpeg for transcoding to work. ffmpeg comes preinstalled with DSM, but with limited codec support. If you encounter problems with transcoding, you may consider installing a different verion of ffmpeg.
* A DSM upgrade does not affect the BubbleUPnP Server installation, but it may harm the Java installation. If you have problems running BubbleUPnP Server after a DSM upgrade, please reinstall the Java package.