informatica:raspberry:mediacenter
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| informatica:raspberry:mediacenter [2016/02/01 14:46] – jose | informatica:raspberry:mediacenter [2019/01/19 09:52] (current) – jose | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== | + | ====== |
| - | # sudo dd bs=4M if=XBian1.0Alpha5.img of=/ | + | |
| + | ===== Descargar imagen ===== | ||
| + | http:// | ||
| + | |||
| + | ==== Crear ISO ==== | ||
| + | Como root: | ||
| + | | ||
| + | Tarda medio minuto aprox. | ||
| + | |||
| + | Cerramos el disco por si acaso: | ||
| + | sync | ||
| + | |||
| + | ===== Copia de seguridad ===== | ||
| + | |||
| + | https:// | ||
| + | |||
| + | Desconozco el motivo, pero en la versión 8.0.4 cuando selecciono la opción para " | ||
| + | |||
| + | Según la documentación pues copio a mano, vía SSH, los siguientes directorios: | ||
| + | |||
| + | < | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | </ | ||
| + | |||
| + | Entiendo que para restaurar tendré que machacar esos directorios. | ||
| ====== Alimentar disco externo USB ====== | ====== Alimentar disco externo USB ====== | ||
| Line 6: | Line 32: | ||
| safe_mode_gpio=4 | safe_mode_gpio=4 | ||
| max_usb_current=1 | max_usb_current=1 | ||
| - | | + | |
| + | Queda montado así: | ||
| + | /dev/sda1 on / | ||
| + | |||
| + | ===== Primer arranque ===== | ||
| + | Al ponerla en la Raspberry, la primera vez hace: | ||
| + | resize / | ||
| + | Y tarda unos minutos. Se reinicia y lista para usar | ||
| + | |||
| + | ==== Cambiar idoma ==== | ||
| + | En System > Appearence > International | ||
| + | |||
| ====== NFS ====== | ====== NFS ====== | ||
| - | OpenELEC:~ # mkdir / | + | **Importante!!!!** el nombre del fichero es el mismo que la ruta del directorio pero cambiando / por - |
| + | | ||
| - | **Importante!!!!** el nombre del fichero es el mismo que la ruta del directorio pero cambiando / por . | + | OpenELEC:~ # mkdir / |
| - | | + | |
| - | + | ||
| OpenELEC:~ # vi / | OpenELEC:~ # vi / | ||
| < | < | ||
| Line 31: | Line 69: | ||
| </ | </ | ||
| - | systemctl enable storage-pelis.mount | + | |
| + | Reiniciamos la raspberry para que lo monte | ||
| + | |||
| + | |||
| + | ====== Xbian ====== | ||
| + | # sudo dd bs=4M if=XBian1.0Alpha5.img of=/ | ||
| + | |||
| + | Algunos vídeos MKV con el codec V_MPEG4/ | ||
| + | gpu_mem=256 | ||
| + | |||
| + | |||
| + | ===== Arrancar automáticamente y evitar pantalla negra al salir ===== | ||
| + | https:// | ||
| + | |||
| + | / | ||
| + | |||
| + | < | ||
| + | # | ||
| + | fbset_bin=`which fbset` | ||
| + | xset_bin=`which xset` | ||
| + | xrefresh_bin=`which xrefresh` | ||
| + | if [ ! -z $fbset_bin ]; then | ||
| + | DEPTH2=`$fbset_bin | head -3 | tail -1 | cut -d " " -f 10` | ||
| + | fi | ||
| + | kodi " | ||
| + | if [ ! -z $fbset_bin ]; then | ||
| + | if [ " | ||
| + | DEPTH1=16 | ||
| + | else | ||
| + | DEPTH1=8 | ||
| + | fi | ||
| + | $fbset_bin -depth $DEPTH1 > /dev/null 2>& | ||
| + | $fbset_bin -depth $DEPTH2 > /dev/null 2>& | ||
| + | fi | ||
| + | if [ ! -z $xset_bin ] && [ ! -z $xrefresh_bin ]; then | ||
| + | if [ -z $DISPLAY ]; then | ||
| + | DISPLAY=": | ||
| + | fi | ||
| + | |||
| + | $xset_bin -display $DISPLAY -q > /dev/null 2>& | ||
| + | if [ " | ||
| + | $xrefresh_bin -display $DISPLAY > /dev/null 2>& | ||
| + | fi | ||
| + | fi | ||
| + | VT=" | ||
| + | if [ " | ||
| + | sudo chvt 7 | ||
| + | sudo chvt " | ||
| + | fi | ||
| + | </ | ||
| + | |||
| + | ==== Arranque automático ==== | ||
| + | Añadir a / | ||
| + | su - pi -c "/ | ||
| + | |||
| + | ====== TVALACARTA ====== | ||
| + | ===== RTVE ===== | ||
| + | Ha dejado de funcionar porque no aparece auth en la url. Hay que cambiar el fichero: | ||
| + | / | ||
| + | |||
| + | Y modificar la línea del replace quitar el auth: | ||
| + | if not video_url.endswith(' | ||
| + | if '?' | ||
| + | video_url = video_url.replace(' | ||
| + | video_url = video_url.replace(' | ||
| + | Quitar solo el auth de la tercera línea | ||
| + | if not video_url.endswith(' | ||
| + | if '?' | ||
| + | video_url = video_url.replace(' | ||
| + | video_url = video_url.replace(' | ||
| + | |||
| + | A veces cambia la url, con el plugin de http headers navego a directo de rtve y me da esta url: | ||
| + | |||
| + | http:// | ||
| + | |||
| + | Lo cambio en: | ||
| + | / | ||
| + | |||
| + | |||
| + | Este el script que saca las urls: | ||
| + | |||
| + | / | ||
| + | |||
| + | ====== Teclas ====== | ||
| + | Para añadir una tecla, modificamos el fichero: | ||
| + | / | ||
| + | Por ejemplo para una playlist: | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | <w mod=" | ||
| + | </ | ||
| + | |||
| + | |||
| + | ====== Actualizar Biblioteca ====== | ||
| + | Desde el Kore, desde el menú Remoto: Mantenimiento de biblioteca / Actualizar biblioteca de Música | ||
| + | |||
| + | Luego en Musica deslizamos pantalla para actualizar o opción refresh | ||
informatica/raspberry/mediacenter.1454337995.txt.gz · Last modified: by jose
