multimedia

warning: Creating default object from empty value in /data/web/1/000/027/003/273448/htdocs/panticz.de/modules/taxonomy/taxonomy.pages.inc on line 33.

KODI / XBMC / Boxee

Play file
http://192.168.2.3/jsonrpc?request={"jsonrpc":"2.0","id":"1","method":"Player.Open","params":{"item":{"file":"http://url.to.file.jpg"}}}
http://forum.kodi.tv/showthread.php?tid=157996

Google Music addon
http://forum.kodi.tv/showthread.php?tid=200640
https://github.com/vially/googlemusic-xbmc

Send YouTube to Kodi
(set "Video Quality" to "1080p (HD) on Kodi player under System > Settings > Add-ons > Video Add-ons > YouTube)
https://addons.mozilla.org/en-US/firefox/addon/send-to-xbmc/

API

Multimedia

YouTube download
https://github.com/ytdl-org/youtube-dl/releases
wget -q https://github.com/ytdl-org/youtube-dl/releases/download/2019.04.30/youtube-dl -O /tmp/youtube-dl
sudo cp /tmp/youtube-dl /usr/local/sbin/
sudo chmod a+x /usr/local/sbin/youtube-dl
# download audio (mp3) only
youtube-dl --extract-audio --audio-format mp3 -o "%(title)s.%(ext)s" https://www.youtube.com/watch?v=foo
# download whole channel
youtube-dl --extract-audio --audio-format mp3 -o "%(title)s.%(ext)s" -v https://www.youtube.com/user/OpenStackFoundation/videos

TerraTec Aureon 7.1 Space (Optical SPDIF output)

# create /etc/asound.conf
cat <<EOF> /etc/asound.conf
pcm.!default {
	type plug
	slave.pcm {
		type dmix
		ipc_key 1478
		slave {
			pcm "hw:0,1"
	 		format S32_LE
			period_time 0 
			period_size 1024
			buffer_size 8192
		}
	}
}
 
pcm.!iec958 {
   type plug
   slave.pcm "hw:0,1"
}
EOF
 
# test with Mplayer
mplayer -ao alsa:device=iec958 FILE_TO_PLAY
 
# LINKS
http://alsa.opensrc.org/index.php/Ice1724

Install VLC player

wget https://raw.githubusercontent.com/panticz/installit/master/install.vlc.sh -O - | bash -

#!/bin/bash

if [ "$1" == "-n" ]; then
  sudo add-apt-repository -y ppa:videolan/stable-daily
  sudo apt-get update
fi

sudo apt-get install -y vlc
sudo apt-get install -y vlc-plugin-pulse
sudo apt-get install -y browser-plugin-vlc

# set vnc as default media player
sudo sed -i 's|totem.desktop|vlc.desktop|g' /etc/gnome/defaults.list

GeeXbox USB boot (GeeXbox Live CD boot from USB)

#!/bin/bash
 
apt-get install syslinux mbr
 
# optionaly
# mkfs.vfat -n RALLY2 /dev/sdb1
 
install-mbr /dev/sdb
syslinux -f /dev/sdb1
 
sudo mount geexbox-devel-20080507-en.i386.iso /mnt/ -o loop
cp -a /mnt/GEEXBOX/ /media/RALLY2/
sudo umount /mnt
 
cat <<EOF>> /media/RALLY2/syslinux.cfg
LABEL geexbox_hdtv
MENU LABEL Start GeeXboX for HDTV ...
KERNEL /GEEXBOX/boot/vmlinuz
APPEND initrd=/GEEXBOX/boot/initrd.gz root=/dev/ram0 rw rdinit=linuxrc boot=sdb1 lang=en remote=atiusb receiver=atiusb keymap=qwerty splash=silent vga=789 video=vesafb:ywrap,mtrr hdtv
 
LABEL geexbox_hdtv_de

installZattoo.sh

#!/bin/bash
 
sudo su
 
# check for new version
http://zattoo.com/de/download/linux?download=1&version=Linux-i386-deb
 
URL=http://download.zattoo.com/zattoo-3.3.3.20775-i386.deb
wget ${URL} -P /tmp
 
sudo apt-get install libgtkglext1 libxul0d libmozjs0d libxul-common
sudo dpkg -i /tmp/zattoo-*.deb

GeeXboX

Download
Stable - Official GeexBox 1.1 (VESA)

Wiki
Official Wiki
GeeXboX HDTV

Develop
Submitting a Patch - Creation of a patch under Linux

Links
http://gxben.wordpress.com/ - Ben’s Lost World - Diary of a GeeXboX developer

Syndicate content