라즈베리파이2 + OSMC + Samba + Transmission

  1. OSMC 설치(http://secrice.com/?p=1063)
    1. https://osmc.tv/download/ 에서 윈도우즈용 설치 프로그램을 다운로드 받는다.
    2. 설치 프로그램을 실행 시킨 후 라즈베리파이에 사용할 MicroSD 카드에 OSMC를 설치한다.
    3. 라즈베리파이에 SD 카드를 넣고 실행 시키면 설치 완료
    4. 아직 한글 지원하지 않이 때문에 한글 ttf 파일을 OSMC 쪽으로 옮겨서 설정 파일을 수정해 줘야 한다.
    5. 이를 위해 Samba 설치
  2. Samba 설치(http://webcreate.tistory.com/301)
    1. sudo apt-get update 
    2. sudo apt-get install samba samba-common-bin
    3. sudo smbpasswd -a osmc
    4. /etc/samba/smb.conf 편집
    5. 아래 내용 추가
    6. [global]
      workgroup = WORKGROUP //네트워크 공유 그룹 설정
      encrypt password = true // 암호 설정
      unix charset = utf-8
      charset = utf-8
      #dos charset = cp949
      [osmc]
      comment = raspberry pi folder
      path = /
      valid user = osmc
      writable = yes
      browseable = yes
    7. service samba restart or # /etc/init.d/samba restart
  3. OSMC 메뉴 한글 표시(http://secrice.com/?p=1109)
    1. sudo service mediacenter stop
    2. 삼바를 통해 복사한 글꼴을 복사
    3. cp NanumGothic.ttf /usr/share/kodi/addons/skin.osmc/fonts
    4. /usr/share/kodi/addons/skin.osmc/16×9/Font.xml 파일 편집
    5. 모든 글꼴을 NanumGothic.ttf 로 수정
    6. System 메뉴에서 언어 변경
  4. 동영상 다운로드를 위해 Transmission 설치(http://songsroom.tistory.com/315)
    1. mkdir ~/incomplete (다운이 완료될 때까지 파일을 저장할 폴더)
    2. mkdir ~/movie (다운이 완료된 파일을 저장할 폴더)
    3. apt-get install transmission-daemon
    4. /etc/init.d/transmission-daemon stop
    5. /etc/transmission-daemon/settings.json 편집
        "download-dir": "/Tdown",
        "incomplete-dir": "/Tdown",
        "rpc-password": "암호",
        "rpc-port": 9091,
        "rpc-username": "아이디",
        "rpc-whitelist-enabled": false,
    6. /etc/init.d/transmission-daemon start

댓글