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/08/30 21:36] – jose | informatica:raspberry:mediacenter [2019/01/19 09:52] (current) – jose | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Openelec ====== | ====== Openelec ====== | ||
| + | |||
| ===== Descargar imagen ===== | ===== Descargar imagen ===== | ||
| http:// | http:// | ||
| Line 10: | Line 11: | ||
| Cerramos el disco por si acaso: | Cerramos el disco por si acaso: | ||
| sync | 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 15: | 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 ===== | ===== Primer arranque ===== | ||
| Al ponerla en la Raspberry, la primera vez hace: | Al ponerla en la Raspberry, la primera vez hace: | ||
| Line 59: | Line 79: | ||
| gpu_mem=256 | gpu_mem=256 | ||
| + | |||
| + | ===== Arrancar automáticamente y evitar pantalla negra al salir ===== | ||
| + | https:// | ||
| + | |||
| + | / | ||
| + | |||
| + | < | ||
| + | #!/bin/bash | ||
| + | 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>&1 | ||
| + | $fbset_bin -depth $DEPTH2 > /dev/null 2>&1 | ||
| + | fi | ||
| + | if [ ! -z $xset_bin ] && [ ! -z $xrefresh_bin ]; then | ||
| + | if [ -z $DISPLAY ]; then | ||
| + | DISPLAY=": | ||
| + | fi | ||
| + | |||
| + | $xset_bin -display $DISPLAY -q > /dev/null 2>&1 | ||
| + | if [ " | ||
| + | $xrefresh_bin -display $DISPLAY > /dev/null 2>&1 | ||
| + | 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.1472592989.txt.gz · Last modified: by jose
