참고: http://www.readynas.com/forum/viewtopic.php?f=36&t=57212



1) Do something like this:


cd /tmp/addons

mkdir couchpot

cd couchpot

wget DOWNLOADURLOFADDON


2) extract contents of add-on e.g.


tail -c `head -n 1 PRO-Transmission_1.73b01Light.bin | awk -Fsize= '{print $2}' | cut -d, -f1` PRO-Transmission_1.73b01Light.bin | tar -xv


3) Run the install.sh script


sh install.sh



EX) Subsonic 4.7.04 (4.7 final) 을 수동 설치


wget http://www.readynas.com/contributed/super-poussin/x86/Subsonic_4.7.04.bin


--2013-10-31 13:20:01--  http://www.readynas.com/contributed/super-poussin/x86/Subsonic_4.7.04.bin

Resolving www.readynas.com... 206.16.42.227

Connecting to www.readynas.com|206.16.42.227|:80... connected.

HTTP request sent, awaiting response... 200 OK

Length: 33552384 (32M) [application/octet-stream]

Saving to: `Subsonic_4.7.04.bin'


100%[======================================>] 33,552,384  1.67M/s   in 27s     


2013-10-31 13:20:30 (1.16 MB/s) - `Subsonic_4.7.04.bin' saved [33552384/33552384]


tail -c `head -n 1 Subsonic_4.7.04.bin | awk -Fsize= '{print $2}' | cut -d, -f1` Subsonic_4.7.04.bin | tar -xv


install.sh

remove.sh

addons.conf

files.tgz


sh install.sh 


Get:1 http://www.readynas.com 4.2.24/ Release.gpg [490B]                       

Get:2 http://archive.debian.org etch Release.gpg [1033B]                       

Ign http://www.readynas.com 4.2.24/ Translation-ko       

Hit http://www.readynas.com 4.2.24/ Release

Ign http://archive.debian.org etch/non-free Translation-ko

Hit http://archive.debian.org etch Release   

Ign http://www.readynas.com 4.2.24/ Packages/DiffIndex

Hit http://www.readynas.com 4.2.24/ Packages

Ign http://archive.debian.org etch/non-free Packages/DiffIndex

Hit http://archive.debian.org etch/non-free Packages

Fetched 1523B in 2s (542B/s)

Reading package lists... Done

(Reading database ... 15463 files and directories currently installed.)

Preparing to replace lame 3.97-0.0 (using /tmp/lame_3.97-0.0_i386.deb) ...

Unpacking replacement lame ...

Setting up lame (3.97-0.0) ...

Reading package lists... Done

Building dependency tree       

Reading state information... Done

0 upgraded, 0 newly installed, 0 to remove and 14 not upgraded.

Reading package lists... Done

Building dependency tree       

Reading state information... Done

ffmpeg is already the newest version.

0 upgraded, 0 newly installed, 0 to remove and 14 not upgraded.

(Reading database ... 15463 files and directories currently installed.)

Preparing to replace lame 3.97-0.0 (using /tmp/lame_3.97-0.0_i386.deb) ...

Unpacking replacement lame ...

Setting up lame (3.97-0.0) ...

debconf: delaying package configuration, since apt-utils is not installed

cp: omitting directory `/tmp/subsonic/transcode'

mkdir: cannot create directory `/c/media/Podcast': File exists

mkdir: cannot create directory `/c/media/playlists': File exists

(Reading database ... 15463 files and directories currently installed.)

Preparing to replace lame 3.97-0.0 (using /tmp/lame_3.97-0.0_i386.deb) ...

Unpacking replacement lame ...

Setting up lame (3.97-0.0) ...

Started Subsonic [PID 19571, /c/webroot/subsonic/subsonic_sh.log]


이후 Subsonic 4.8 로 업데이트 하기 위하여 c/webroot/subsonic/subsonic.war 를 4.8로 wget 하여 overwright 하여 작동함을 확인하였다. 


Frontview 관련 UI 는 /etc/frontview/addons 에 존재함.


Uninstall script: /etc/frontview/addons/

ui: /etc/frontview/addons/ui/

bin: /etc/frontview/addons/bin/






Posted by fermi

댓글을 달아 주세요

AirVideo Server Add-on

http://www.readynas.com/forum/viewtopic.php?f=48&t=49079


설치 후 한글 자막 폰트 설정 방법


설정파일 위치: /c/webroot/AirVideo/readynas.properties

Add-on을 설치하면 webroot 라는 CIFS Share 가 자동으로 생기므로 CIFS 로 접근해도 되고, SSH 를 활성화해서 접근해도 됨.

(예를 들면:

path.ffmpeg = ./AirVideo/ffmpeg

path.mp4creator = /usr/local/bin/mp4creator

path.faac = /usr/local/bin/faac

password = 

subtitles.encoding = utf-8

subtitles.font = NanumGothic

#subtitles.size = 130

folders = Media:/c/media/Videos)


JRE에 한글 폰트 추가


AirVideo Server 에 JRE가 포함되어 있음

/c/webroot/AirVideo/jre1.6.0_20/lib/fonts 에 필요한 TTF 폰트를 복사해 넣음.

(예를 들면:

NanumGothic.ttf

NanumGothicBold.ttf

NanumGothicExtraBold.ttf)


fonts.dir 파일을 수정


http://confluence.goldpitcher.co.kr/pages/viewpage.action?pageId=96075806 참고


fonts.dir 파일을 열고 맨 상단 숫자값에 추가하는 폰트수를 더하여 수정 (예를 들면 48 인데 3개 폰트 추가 시 51으로 수정)

fonts.dir 파일 맨 하단에 추가한 폰트파일에 대한 기술내용을 추가 

(예를 들면:

NanumGothic -b&h-nanumgothic-medium-r-normal-0-0-0-0-c-0-ksc5601.1987-0                            

NanumGothicBold -b&h-nanumgothicbold-medium-r-normal-0-0-0-0-c-0-ksc5601.1987-0                    

NanumGothicExtraBold -b&h-nanumgothicextrabold-medium-r-normal-0-0-0-0-c-0-ksc5601.1987-0)


참고:

http://www.devbb.net/viewtopic.php?f=29&t=939

http://theeye.pe.kr/entry/installation-of-iPhone-air-video-server-for-linux-machine

Posted by fermi

댓글을 달아 주세요