Librarcy

From NMTWiki

Jump to: navigation, search

Image:Redvsmall.jpg Difficult - for advanced users, may require detailed technical knowledge, use at your own risk!

Image:warning.png Do NOT attempt to do this unless you know what you are doing. Do this at your own risk, it may erase all content in worst case. This is not an officially supported feature.

Applicable only for the following:
PCH NMT models: A100/110/B110
Others NMT's: HDX/eGreat

This application could be ported to C200 series if there is enough call to do so from users. Please let lundman know if that is the case.

Librarcy is a libc interjection library that transparently adds support of RAR archives. It intercepts the calls to list-directories (and adds the files contained in RAR archives) as well as opening and reading files contained in RAR archive. After Librarcy has been loaded, if the Popcorn Hour interface GUI application is restarted, all RAR archives will appear directly as available media to play.

Due to some complications with automatically restarting the Popcorn Hour interface, Librarcy is currently not featured in the Community_Software_Installer.

Due to this, manual restart is needed, which makes Librarcy more of an advanced utility.

Librarcy home page: [1]

Installation instructions: after connecting to your PCH using telnet or similar; paste these commands:

cd /tmp
wget http://lundman.net/ftp/librarcy/librarcy.so.0.1.0
wget http://lundman.net/ftp/librarcy/unrar
chmod 755 unrar
killall sybhttpd gaya
cd /opt/sybhttpd
env LD_PRELOAD=/tmp/librarcy.so.0.1.0 ./sybhttpd /opt/sybhttpd &
export LIBRARCY_BUFSIZE=525312
env LD_PRELOAD=/tmp/librarcy.so.0.1.0 gaya
Personal tools