Ciao, nella pagina di download Downloads - media-translate - CGI/RSS media application for Realtek-based media players (aka RSS Ex 2.0) - Google Project Hosting ci sono anche i tools gawk, udpxy, curl, rtmpdump, xsltproc La traduzione in inglese delle istruzioni per l'installazione dice di usare questi, e probabilmente è il caso di usare proprio le versioni indicate, per evitare errori di traduzione. Questa è la traduzione delle istruzioni per l'installazione. Installation
- Package installed in the directory /usr/local/etc/translate:
Codice:
mkdir -p /usr/local/etc/translate; cd /usr/local/etc/translate
Or, if space available in / usr / local / etc on the player does not allow it, you can create a symbolic link called / usr / local / etc / translate to the real location of files (for example, if / home is ext3 partition) : mkdir-p / home / translate cd / home / translate ln-s / home / translate / usr / local / etc / translate
- Copy to home directory http-server on your player contents of the directory / usr / local / etc / translate / www: cp-rf / usr / local / etc / translate / www / tmp_orig cp-rf / usr / local / etc / translate / www / tmp
Note. Before modifying / tmp_orig, the player is required to allow entry into the root file system (this method is suitable only for the driver with an unprotected write-root partition): mount-o remount, rw /
Note. On some firmwares built home directory http-server can be located in / usr / local / etc / www.
- Optional : At the end add an extra menu item to Internet services: Additional services rss_file ://../ etc / translate / rss / menuEx.rss
The menu item should be added to the file / usr / local / etc / dvdplayer / savedrss / scripts / menu.rss, if the file does not exist, then it should be copied from / usr / local / bin / scripts / menu.rss: mkdir-p / usr / local / etc / dvdplayer / savedrss / scripts cp-i / usr / local / bin / scripts / menu.rss / usr / local / etc / dvdplayer / savedrss / scripts / menu.rss
Support tools For full functionality requires an additional package of the following utilities:
CURL Required to work with some online-services, in particular
IVI.ru .
Included in the package
libcurl to
Optware . ipkg install libcurl
The path to curl utility is written in the variable CURL in translate.conf: CURL = / opt / bin / curl
You can also use the statically linked tool
curl . Example of installation in
/ usr / local / etc / translate / bin: cd / usr / local / etc / translate / bin wget-O -
http://media-translate.googlecode.co...s/curl.tar.bz2 | tar-xj sed-i '/ ^ CURL = / d' .. / etc / translate.conf echo-e '\ nCURL = $ BASEPATH / bin / curl'>> .. / etc / translate.conf
XSLTPROC Required for rapid processing of large xml-files.
Included in the package for
xsltlib Optware . ipkg install xsltlib
The path to the utility is written in the xsltproc variable XSLTPROC in translate.conf: XSLTPROC = / opt / bin / xsltproc
You can also use the statically linked tool
xsltproc . Example of installation in
/ usr / local / etc / translate / bin: cd / usr / local / etc / translate / bin wget-O -
http://media-translate.googlecode.co...ltproc.tar.bz2 | tar-xj sed-i '/ ^ XSLTPROC = / d' .. / etc / translate.conf echo-e '\ nXSLTPROC = $ BASEPATH / bin / xsltproc'>> .. / etc / translate.conf
AWK Required for normal performance of the package. If the interpreter is not in the firmware, you must install it from
Optware : ipkg install gawk
RTMPDUMP Alternative utility to download RTMP stream (instead of the default
flvstreamer ).
The path to the utility is written in the variable rtmpdump RTMPDUMP in translate.conf: RTMPDUMP = / opt / bin / rtmpdump
You can use the statically linked tool
rtmpdump . Example of installation in
/ usr / local / etc / translate / bin: cd / usr / local / etc / translate / bin wget-O -
http://media-translate.googlecode.co...mpdump.tar.bz2 | tar-xj sed-i '/ ^ RTMPDUMP = / d' .. / etc / translate.conf echo-e '\ nRTMPDUMP = $ BASEPATH / bin / rtmpdump'>> .. / etc / translate.conf
Setting
- The main configuration file / usr / local / etc / translate / etc / translate.conf: BASEPATH = / usr / local / etc / translate export AWKPATH = $ BASEPATH / lib:. WGET = / usr / bin / wget CURL = / opt / bin / curl XSLTPROC = / opt / bin / xsltproc STARTPOINT = $ BASEPATH/etc/index.m3u XSPFSCAN = $ BASEPATH / etc / xspf.scan MAINMENU = $ BASEPATH / etc / menu / main.xspf CACHEPATH = / tmp / cached YOUTUBE_HD = yes VIMEO_HD = yes IVI_HD = yes TVIGLE_HD = yes NET_BANDWIDTH = UDPXY_URL = http://127.0.0.1:8080/ TRANSLATE_CGI = http://127.0.0.1/cgi-bin/translate?
Management of HD content to Youtube, Vimeo, Tvigle, Zoomby, VKontakte and IVI by using variables YOUTUBE_HD, VIMEO_HD, TVIGLE_HD, ZOOMBY_HD, VK_HD and IVI_HD respectively. By default, the HD quality.
TRANSLATE_CGI contains url for CGI-module translate. The path must end with a '?'.
STARTPOINT - contains the path to the starting file
XSPF Browser .
- Startup file for XSPF Browser / usr/local/etc/translate/etc/index.m3u: # EXTM3U # EXTINF: -1, HDD Player / Var / hdd / volumes / # EXTINF: -1, USB Player / Var / ramfs / volumes / # EXTINF: -1, Player Playlists / Usr / local / etc / playlist / # EXTINF: -1, FTP Player ftp://127.0.0.1/
Note. All paths to a playlist should end with '/'.