Skip to content

Commit db12c62

Browse files
committed
picons creation for VDR VNSI
1 parent de28234 commit db12c62

File tree

213 files changed

+115
-15
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

213 files changed

+115
-15
lines changed

group_vars/all

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
picons_dir: /usr/local/share/picons

install.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ SETUPROOT=$(pushd $(dirname $0) > /dev/null; pwd -P)
55
pushd $SETUPROOT
66

77
# Run ansible playbooks
8-
ansible-playbook system.yml remote.yml lcd.yml vdr.yml kodi.yml kodi_config.yml
8+
ansible-playbook system.yml remote.yml lcd.yml vdr.yml picons.yml kodi.yml
99

1010
# Run old setup routines
1111
sudo ./bin/setup.sh

kodi.yml

+16-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,25 @@
11
---
22
- hosts: all
3-
become: yes
43
tasks:
54
- name: Add Team KODI stable repository
5+
become: yes
66
apt_repository:
77
repo='ppa:team-xbmc/ppa' state=present
88
- name: Install KODI
9+
become: yes
910
apt:
1011
pkg=kodi state=installed update_cache=true
12+
- name: Ensure config path(s) exist
13+
file:
14+
path: "~/.kodi/userdata"
15+
state: directory
16+
recurse: yes
17+
- name: configure KODI
18+
copy:
19+
src: "{{ item }}"
20+
dest: "~/.{{ item }}"
21+
mode: 0644
22+
backup: yes
23+
with_items:
24+
- kodi/userdata/Lircmap.xml
25+
- kodi/userdata/LCD.xml
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<settings>
2+
<setting id="autochannelgroups" value="false" />
3+
<setting id="convertchar" value="true" />
4+
<setting id="handlemessages" value="false" />
5+
<setting id="host" value="127.0.0.1" />
6+
<setting id="iconpath" value="" />
7+
<setting id="port" value="34890" />
8+
<setting id="priority" value="2" />
9+
<setting id="timeout" value="3" />
10+
<setting id="timeshift" value="1" />
11+
<setting id="wol_mac" value="" />
12+
</settings>

kodi_config.yml

-13
This file was deleted.

picons.sh

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
#!/bin/bash -e
2+
3+
echo "Setting up channel icons for Kodi VDR VNSI plugin ..."
4+
5+
SETUPROOT=$(pushd $(dirname $0) > /dev/null; pwd -P)
6+
7+
PICONS_SOURCE_DIR=$SETUPROOT/source
8+
PICONS_OUT_DIR=$SETUPROOT/vnsi
9+
10+
# Get repo
11+
if [ ! -d "$PICONS_SOURCE_DIR" ]
12+
then
13+
git clone https://github.com/picons/picons-source.git $PICONS_SOURCE_DIR
14+
fi
15+
16+
pushd $PICONS_SOURCE_DIR
17+
18+
git pull
19+
rm -rf build-input/* build-output/*
20+
echo '256x256;226x226;light;transparent' > build-input/backgrounds.conf
21+
cp -fv /var/lib/vdr/channels.conf build-input/
22+
./1-build-servicelist.sh srp
23+
./2-build-picons.sh srp
24+
rm -rf $PICONS_OUT_DIR
25+
mkdir -p $PICONS_OUT_DIR
26+
tar xvf build-output/binaries-srp/*.symlink.tar.xz --directory $PICONS_OUT_DIR
27+
mv $PICONS_OUT_DIR/srp*/* $PICONS_OUT_DIR/
28+
popd
29+
30+
echo "Done."

picons.yml

+54
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
---
2+
- hosts: all
3+
tasks:
4+
- name: Install all stuff needed to create picons
5+
become: yes
6+
apt:
7+
pkg: "{{ item }}"
8+
state: installed
9+
update_cache: false
10+
with_items:
11+
- git
12+
- binutils
13+
- pngquant
14+
- imagemagick
15+
- librsvg2-bin
16+
- jq
17+
- name: Ensure target path(s) exist
18+
become: yes
19+
file:
20+
path: "{{ picons_dir }}"
21+
state: directory
22+
mode: 0755
23+
recurse: yes
24+
- name: copy creation script
25+
become: yes
26+
copy:
27+
src: picons.sh
28+
dest: "{{ picons_dir }}/picons.sh"
29+
mode: 0755
30+
backup: no
31+
- name: Create picons
32+
become: yes
33+
shell: "{{ picons_dir }}/picons.sh 2>&1 > {{ picons_dir }}/picons.log"
34+
- name: Ensure Kodi's VNSI config path(s) exist
35+
file:
36+
path: "~/.kodi/userdata/addon_data/pvr.vdr.vnsi"
37+
state: directory
38+
recurse: yes
39+
- name: create Kodi's VNSI config file
40+
copy:
41+
src: "{{ item }}"
42+
dest: "~/.{{ item }}"
43+
mode: 0644
44+
backup: yes
45+
force: no
46+
with_items:
47+
- kodi/userdata/addon_data/pvr.vdr.vnsi/settings.xml
48+
- name: Configure picons path
49+
lineinfile:
50+
path: "~/.kodi/userdata/addon_data/pvr.vdr.vnsi/settings.xml"
51+
regexp: '.*<setting id="iconpath".*'
52+
line: '<setting id="iconpath" value="{{ picons_dir }}/vnsi" />'
53+
backrefs: yes
54+
backup: yes

tools/tvlogos/13th Street.png

-9.04 KB
Binary file not shown.

tools/tvlogos/13th-Street.png

-9.04 KB
Binary file not shown.

tools/tvlogos/3sat HD.png

-4.52 KB
Binary file not shown.

tools/tvlogos/3sat-HD.png

-4.52 KB
Binary file not shown.

tools/tvlogos/3sat.png

-5.67 KB
Binary file not shown.

tools/tvlogos/Anixe HD.png

-7.08 KB
Binary file not shown.

tools/tvlogos/Anixe SD.png

-7.45 KB
Binary file not shown.

tools/tvlogos/Anixe-HD.png

-7.08 KB
Binary file not shown.

tools/tvlogos/Anixe-SD.png

-7.45 KB
Binary file not shown.

tools/tvlogos/BBC.png

-2.58 KB
Binary file not shown.

tools/tvlogos/BR alpha.png

-8.66 KB
Binary file not shown.

tools/tvlogos/BR-alpha.png

-8.66 KB
Binary file not shown.

tools/tvlogos/BR.png

-4.79 KB
Binary file not shown.

tools/tvlogos/CNBC.png

-12 KB
Binary file not shown.

tools/tvlogos/CNN.png

-8.42 KB
Binary file not shown.

tools/tvlogos/DMAX HD.png

-2.31 KB
Binary file not shown.

tools/tvlogos/DMAX-HD.png

-2.31 KB
Binary file not shown.

tools/tvlogos/DMAX.png

-7.26 KB
Binary file not shown.

tools/tvlogos/Das Erste HD.png

-4.62 KB
Binary file not shown.

tools/tvlogos/Das Erste.png

-6.19 KB
Binary file not shown.

tools/tvlogos/Das Vierte.png

-31.9 KB
Binary file not shown.

tools/tvlogos/Das-Erste-HD.png

-4.62 KB
Binary file not shown.

tools/tvlogos/Das-Erste.png

-6.19 KB
Binary file not shown.

tools/tvlogos/Das-Vierte.png

-31.9 KB
Binary file not shown.

tools/tvlogos/Deluxe Music.png

-11.6 KB
Binary file not shown.

tools/tvlogos/Deluxe-Music.png

-11.6 KB
Binary file not shown.

tools/tvlogos/Discovery Channel.png

-7.18 KB
Binary file not shown.

tools/tvlogos/Discovery-Channel.png

-7.18 KB
Binary file not shown.

tools/tvlogos/Disney Channel.png

-41 KB
Binary file not shown.

tools/tvlogos/Disney Cinemagic.png

-63.7 KB
Binary file not shown.

tools/tvlogos/Disney Junior.png

-9.86 KB
Binary file not shown.

tools/tvlogos/Disney SD.png

-41 KB
Binary file not shown.

tools/tvlogos/Disney XD.png

-7.43 KB
Binary file not shown.

tools/tvlogos/Disney-Channel.png

-41 KB
Binary file not shown.

tools/tvlogos/Disney-Cinemagic.png

-63.7 KB
Binary file not shown.

tools/tvlogos/Disney-Junior.png

-9.86 KB
Binary file not shown.

tools/tvlogos/Disney-XD.png

-7.43 KB
Binary file not shown.

tools/tvlogos/Eurosport HD.png

-9.88 KB
Binary file not shown.

tools/tvlogos/Eurosport-HD.png

-9.88 KB
Binary file not shown.

tools/tvlogos/Eurosport.png

-11.2 KB
Binary file not shown.

tools/tvlogos/Fox.png

-5.19 KB
Binary file not shown.

tools/tvlogos/Heimatkanal.png

-26.7 KB
Binary file not shown.

tools/tvlogos/Junior.png

-6.49 KB
Binary file not shown.

tools/tvlogos/KIKA HD.png

-5.57 KB
Binary file not shown.

tools/tvlogos/KiKA HD.png

-5.57 KB
Binary file not shown.

tools/tvlogos/KiKA-HD.png

-5.57 KB
Binary file not shown.

tools/tvlogos/KiKA.png

-6.05 KB
Binary file not shown.

tools/tvlogos/MDR.png

-5.54 KB
Binary file not shown.

tools/tvlogos/MGM.png

-36 KB
Binary file not shown.

tools/tvlogos/MTV.png

-4.07 KB
Binary file not shown.

tools/tvlogos/Motorvision TV.png

-6.3 KB
Binary file not shown.

tools/tvlogos/Motorvision-TV.png

-6.3 KB
Binary file not shown.

tools/tvlogos/N24 HD.png

-2.76 KB
Binary file not shown.

tools/tvlogos/N24-HD.png

-2.76 KB
Binary file not shown.

tools/tvlogos/N24.png

-2.82 KB
Binary file not shown.

tools/tvlogos/NDR HD.png

-3.24 KB
Binary file not shown.

tools/tvlogos/NDR-HD.png

-3.24 KB
Binary file not shown.

tools/tvlogos/NDR.png

-2.84 KB
Binary file not shown.

tools/tvlogos/Nat Geo Wild.png

-3.95 KB
Binary file not shown.

tools/tvlogos/Nat Geo.png

-5.66 KB
Binary file not shown.

tools/tvlogos/Nat-Geo-Wild.png

-3.95 KB
Binary file not shown.

tools/tvlogos/Nat-Geo.png

-5.66 KB
Binary file not shown.

tools/tvlogos/Nick Comedy.png

-17.5 KB
Binary file not shown.

tools/tvlogos/Nick-Comedy.png

-17.5 KB
Binary file not shown.

tools/tvlogos/Pro7 HD.png

-2.42 KB
Binary file not shown.

tools/tvlogos/Pro7 Maxx.png

-3.5 KB
Binary file not shown.

tools/tvlogos/Pro7-HD.png

-2.42 KB
Binary file not shown.

tools/tvlogos/Pro7-Maxx.png

-3.5 KB
Binary file not shown.

tools/tvlogos/Pro7.png

-2.6 KB
Binary file not shown.

tools/tvlogos/RTL Crime HD.png

-7.73 KB
Binary file not shown.

tools/tvlogos/RTL Crime.png

-10.9 KB
Binary file not shown.

tools/tvlogos/RTL HD.png

-4.63 KB
Binary file not shown.

tools/tvlogos/RTL Living HD.png

-5.15 KB
Binary file not shown.

tools/tvlogos/RTL Living.png

-9.85 KB
Binary file not shown.

tools/tvlogos/RTL Passion HD.png

-8.41 KB
Binary file not shown.

tools/tvlogos/RTL Passion.png

-18 KB
Binary file not shown.

tools/tvlogos/RTL-Crime-HD.png

-7.73 KB
Binary file not shown.

tools/tvlogos/RTL-Crime.png

-10.9 KB
Binary file not shown.

tools/tvlogos/RTL-HD.png

-4.63 KB
Binary file not shown.

tools/tvlogos/RTL-Living-HD.png

-5.15 KB
Binary file not shown.

tools/tvlogos/RTL-Living.png

-9.85 KB
Binary file not shown.

tools/tvlogos/RTL-Passion-HD.png

-8.41 KB
Binary file not shown.

tools/tvlogos/RTL-Passion.png

-18 KB
Binary file not shown.

tools/tvlogos/RTL.png

-5.85 KB
Binary file not shown.

tools/tvlogos/RTL2 HD.png

-3.87 KB
Binary file not shown.

tools/tvlogos/RTL2-HD.png

-3.87 KB
Binary file not shown.

tools/tvlogos/RTL2.png

-46.4 KB
Binary file not shown.

tools/tvlogos/RTLnitro.png

-3.76 KB
Binary file not shown.

tools/tvlogos/Radio Bremen TV.png

-4.57 KB
Binary file not shown.

tools/tvlogos/Radio-Bremen-TV.png

-4.57 KB
Binary file not shown.

tools/tvlogos/Regio TV.png

-4.44 KB
Binary file not shown.

tools/tvlogos/Regio-TV.png

-4.44 KB
Binary file not shown.

tools/tvlogos/SR.png

-3.94 KB
Binary file not shown.

tools/tvlogos/SWR HD.png

-3.99 KB
Binary file not shown.

tools/tvlogos/SWR-HD.png

-3.99 KB
Binary file not shown.

tools/tvlogos/SWR.png

-4.6 KB
Binary file not shown.

tools/tvlogos/Sat.1 Gold.png

-11.7 KB
Binary file not shown.

tools/tvlogos/Sat.1 HD.png

-15.6 KB
Binary file not shown.

tools/tvlogos/Sat.1 emotions.png

-10.3 KB
Binary file not shown.

tools/tvlogos/Sat.1-Gold.png

-11.7 KB
Binary file not shown.

tools/tvlogos/Sat.1-HD.png

-15.6 KB
Binary file not shown.

tools/tvlogos/Sat.1-emotions.png

-10.3 KB
Binary file not shown.

tools/tvlogos/Sat.1.png

-43.9 KB
Binary file not shown.

tools/tvlogos/ServusTV HD.png

-13.4 KB
Binary file not shown.

tools/tvlogos/ServusTV-HD.png

-13.4 KB
Binary file not shown.

tools/tvlogos/ServusTV.png

-12.8 KB
Binary file not shown.

tools/tvlogos/Sixx HD.png

-5.49 KB
Binary file not shown.

tools/tvlogos/Sixx-HD.png

-5.49 KB
Binary file not shown.

tools/tvlogos/Sixx.png

-4.96 KB
Binary file not shown.

tools/tvlogos/Sky Action.png

-9.64 KB
Binary file not shown.

tools/tvlogos/Sky Bundesliga.png

-8.58 KB
Binary file not shown.

tools/tvlogos/Sky Cinema +1.png

-9.3 KB
Binary file not shown.

tools/tvlogos/Sky Cinema +24.png

-9.01 KB
Binary file not shown.

tools/tvlogos/Sky Cinema.png

-9.98 KB
Binary file not shown.

tools/tvlogos/Sky Comedy.png

-9.57 KB
Binary file not shown.

tools/tvlogos/Sky Emotion.png

-9.15 KB
Binary file not shown.

tools/tvlogos/Sky Hits.png

-10.1 KB
Binary file not shown.

tools/tvlogos/Sky Krimi.png

-13.6 KB
Binary file not shown.

tools/tvlogos/Sky Nostalgie.png

-8.88 KB
Binary file not shown.

tools/tvlogos/Sky Select.png

-4.11 KB
Binary file not shown.

tools/tvlogos/Sky Sport Austria.png

-10.7 KB
Binary file not shown.

tools/tvlogos/Sky Sport News HD.png

-10.4 KB
Binary file not shown.

tools/tvlogos/Sky Sport News.png

-11.4 KB
Binary file not shown.

tools/tvlogos/Sky Sport1.png

-13 KB
Binary file not shown.

tools/tvlogos/Sky Sport2.png

-13.2 KB
Binary file not shown.

tools/tvlogos/Sky-Action.png

-9.64 KB
Binary file not shown.

tools/tvlogos/Sky-Bundesliga.png

-8.58 KB
Binary file not shown.

tools/tvlogos/Sky-Cinema-+1.png

-9.3 KB
Binary file not shown.

tools/tvlogos/Sky-Cinema-+24.png

-9.01 KB
Binary file not shown.

tools/tvlogos/Sky-Cinema.png

-9.98 KB
Binary file not shown.

tools/tvlogos/Sky-Comedy.png

-9.57 KB
Binary file not shown.

tools/tvlogos/Sky-Emotion.png

-9.15 KB
Binary file not shown.

tools/tvlogos/Sky-Hits.png

-10.1 KB
Binary file not shown.

tools/tvlogos/Sky-Krimi.png

-13.6 KB
Binary file not shown.

tools/tvlogos/Sky-Nostalgie.png

-8.88 KB
Binary file not shown.

tools/tvlogos/Sky-Select.png

-4.11 KB
Binary file not shown.

tools/tvlogos/Sky-Sport-Austria.png

-10.7 KB
Binary file not shown.

tools/tvlogos/Sky-Sport-News-HD.png

-10.4 KB
Binary file not shown.

tools/tvlogos/Sky-Sport-News.png

-11.4 KB
Binary file not shown.

tools/tvlogos/Sky-Sport1.png

-13 KB
Binary file not shown.

tools/tvlogos/Sky-Sport2.png

-13.2 KB
Binary file not shown.

tools/tvlogos/Spiegel Geschichte.png

-7.96 KB
Binary file not shown.

tools/tvlogos/Spiegel-Geschichte.png

-7.96 KB
Binary file not shown.

tools/tvlogos/Sport1 HD.png

-4.77 KB
Binary file not shown.

tools/tvlogos/Sport1-HD.png

-4.77 KB
Binary file not shown.

tools/tvlogos/Sport1.png

-5.28 KB
Binary file not shown.

tools/tvlogos/Super RTL HD.png

-3.98 KB
Binary file not shown.

tools/tvlogos/Super RTL.png

-4.16 KB
Binary file not shown.

tools/tvlogos/Super-RTL-HD.png

-3.98 KB
Binary file not shown.

tools/tvlogos/Super-RTL.png

-4.16 KB
Binary file not shown.

tools/tvlogos/SyFy.png

-5.53 KB
Binary file not shown.

tools/tvlogos/TNT Serie.png

-16.8 KB
Binary file not shown.

tools/tvlogos/TNT-Serie.png

-16.8 KB
Binary file not shown.

tools/tvlogos/Tele 5 HD.png

-5.79 KB
Binary file not shown.

tools/tvlogos/Tele 5.png

-4.7 KB
Binary file not shown.

tools/tvlogos/Tele-5-HD.png

-5.79 KB
Binary file not shown.

tools/tvlogos/Tele-5.png

-4.7 KB
Binary file not shown.

tools/tvlogos/VIVA HD.png

-3.14 KB
Binary file not shown.

tools/tvlogos/VIVA-HD.png

-3.14 KB
Binary file not shown.

tools/tvlogos/VIVA.png

-3.01 KB
Binary file not shown.

tools/tvlogos/VOX HD.png

-10.7 KB
Binary file not shown.

tools/tvlogos/VOX-HD.png

-10.7 KB
Binary file not shown.

tools/tvlogos/VOX.png

-17.6 KB
Binary file not shown.

tools/tvlogos/WDR HD.png

-3.41 KB
Binary file not shown.

tools/tvlogos/WDR-HD.png

-3.41 KB
Binary file not shown.

tools/tvlogos/WDR.png

-3.43 KB
Binary file not shown.

tools/tvlogos/ZDF HD.png

-4.33 KB
Binary file not shown.

tools/tvlogos/ZDF-HD.png

-4.33 KB
Binary file not shown.

tools/tvlogos/ZDF.png

-4.77 KB
Binary file not shown.

tools/tvlogos/ZDF_neo HD.png

-3.33 KB
Binary file not shown.

tools/tvlogos/ZDFinfo HD.png

-6.28 KB
Binary file not shown.

tools/tvlogos/ZDFinfo-HD.png

-6.28 KB
Binary file not shown.

tools/tvlogos/ZDFinfo.png

-6.76 KB
Binary file not shown.

tools/tvlogos/ZDFneo HD.png

-3.33 KB
Binary file not shown.

tools/tvlogos/ZDFneo-HD.png

-3.33 KB
Binary file not shown.

tools/tvlogos/ZDFneo.png

-3.6 KB
Binary file not shown.

tools/tvlogos/arte HD.png

-3.51 KB
Binary file not shown.

tools/tvlogos/arte-HD.png

-3.51 KB
Binary file not shown.

tools/tvlogos/arte.png

-5.25 KB
Binary file not shown.

tools/tvlogos/einsfestival HD.png

-7.43 KB
Binary file not shown.

tools/tvlogos/einsfestival-HD.png

-7.43 KB
Binary file not shown.

tools/tvlogos/einsfestival.png

-8.2 KB
Binary file not shown.

tools/tvlogos/einsplus.png

-5.02 KB
Binary file not shown.

tools/tvlogos/euronews.png

-12.6 KB
Binary file not shown.

tools/tvlogos/hr.png

-6.84 KB
Binary file not shown.

tools/tvlogos/iM1.png

-1.77 KB
Binary file not shown.

tools/tvlogos/joiz.png

-3.98 KB
Binary file not shown.

tools/tvlogos/kabel eins HD.png

-4.84 KB
Binary file not shown.

tools/tvlogos/kabel eins classics.png

-4.13 KB
Binary file not shown.

tools/tvlogos/kabel eins.png

-9.5 KB
Binary file not shown.

tools/tvlogos/kabel-eins-HD.png

-4.84 KB
Binary file not shown.

tools/tvlogos/kabel-eins-classics.png

-4.13 KB
Binary file not shown.

tools/tvlogos/kabel-eins.png

-9.5 KB
Binary file not shown.

tools/tvlogos/n tv.png

-15.9 KB
Binary file not shown.

tools/tvlogos/n-tv.png

-15.9 KB
Binary file not shown.

tools/tvlogos/neo KiKA.png

-13.3 KB
Binary file not shown.

tools/tvlogos/neo-KiKA.png

-13.3 KB
Binary file not shown.

tools/tvlogos/nicktoons.png

-7.74 KB
Binary file not shown.

tools/tvlogos/phoenix HD.png

-4.33 KB
Binary file not shown.

tools/tvlogos/phoenix-HD.png

-4.33 KB
Binary file not shown.

tools/tvlogos/phoenix.png

-4.79 KB
Binary file not shown.

tools/tvlogos/rbb.png

-2.85 KB
Binary file not shown.

tools/tvlogos/tagesschau24.png

-5.2 KB
Binary file not shown.

tools/tvlogos/zdf.kultur HD.png

-3.09 KB
Binary file not shown.

tools/tvlogos/zdf.kultur-HD.png

-3.09 KB
Binary file not shown.

tools/tvlogos/zdf.kultur.png

-3.48 KB
Binary file not shown.

0 commit comments

Comments
 (0)