KODI. Bagaimana saya merakit pusat media rumah saya yang paling nyaman dan fungsional. Bagian 1

Kandungan:

  1. Penyimpangan lirik





  2. Persyaratan pusat media saya





  3. Perangkat keras, platform perangkat lunak:





    1. Nettop





    2. Kontrol jarak jauh





  4. Sistem operasi





    1. Mempersiapkan dan menginstal Kubuntu 20.04 LTS





    2. Konfigurasi awal, menghapus paket yang tidak perlu dan menginstal paket untuk bekerja dengan sistem





    3. Memasang drive penyimpanan utama





    4. Direktori jaringan





    5. Menginstal dan mengkonfigurasi server VNC





    6. Menyiapkan Profil HDMI di PulseAudio





  5. Instalasi dan konfigurasi dasar KODI





  6. IPTV. Cara menginstal dan mengkonfigurasi layanan mana yang akan dipilih





  7. Perpustakaan KODI. Apa itu dan bagaimana mengaturnya





  8. Elementum dan Burst. Mengonfigurasi tampilan konten torrent online





1. Penyimpangan lirik

Kembali pada hari-hari pertama saya TV dengan Smart TV, saya sering mendapati diri saya berpikir bahwa semua ini tidak benar, tidak nyaman, tidak selalu indah ... Dan ketika semua ini disertai dengan respons yang lama dari OS yang disematkan, crash membutuhkan reboot , pencarian solusi dimulai.





DLNA memenuhi semua kebutuhan untuk sementara waktu, meskipun penggunaannya tidak nyaman. Mereka tidak puas dengan gerakan yang tidak perlu untuk menonton film, dan terutama kebutuhan untuk memiliki komputer yang menyimpan perpustakaan dan hanya melihat konten offline.





Fork Player, , . - IPTV. , , , .





, , KODI. «» , , , .





, , « » . , , , , «» Netflix.





, , . «», KODI, , … KODI - .





2.

, , , , , .





:





  • IPTV. 2021 , . EPG . , .





  • -. , « », .





  • . « » , - .





  • . / .





  • -. .





  • . x86-64. 24/7/365, , .





  • . , GNU/Linux. . , android-. .





3. ,

Android . KODI, . , , LibreELEC Windows 8/10. - , «» , , Windows . 24/7/365 – – , KODI , . - , , Ubuntu KDE Plasma – Kubuntu 20.04 LTS.





, , Raspberry Pi, . ARM-, SD- , .





3.1.

- AliExpress, . - «». , – . , . , . , HDD. .





, :





• - Intel Celeron J1900, 4 , 4 , 2

• - 4 DDR3L 1333

• SSD - 500 (SATA III)

• SSD - 64 (mSata)

• LAN – 1 /

• HDMI 1.4

• VGA

• 2xUSB 2.0

• 2xUSB 3.0









, , . , LA, – 3. 4 – 3 – , . , – 36-40 °, – 48-52 °.







110 . .





3.2.

, / (), . , , G10 , . USB , .





, – Ubuntu. Android . - – .



, Ubuntu KODI . / , Samsung. / /. LED- – , .



, , «» . .





:





  • : "OK" "Volume+". , LED-.





  • : " OK " "Volume-". , LED-.





4.

, .





4.1. Kubuntu 20.04 LTS

Windows , flash- Rufus. , , rufus.ie. ISO- kubuntu.org, 64- (20.04.2 LTS).





, . Wiki Ubuntu. Kubuntu .









sudo apt-get update && sudo apt full-upgrade
      
      



4.2. ,

. midnight commander mcedit, htop – , ssh – , net-tools – , landscape-common - , SSH





sudo apt-get install mc htop ssh net-tools landscape-common
      
      



, DHCP. IP-, - , .









ifconfig
      
      



:





kodi@kodi-pc:~$ ifconfig
enp1s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.0.19  netmask 255.255.255.0  broadcast 192.168
        inet6 fe80::8461:dcf8:d2c6:2d48  prefixlen 64  scopeid 0x20
        ether 40:62:31:0a:11:a5  txqueuelen 1000  (Ethernet)
        RX packets 3417519  bytes 5024924041 (5.0 GB)
        RX errors 0  dropped 2  overruns 0  frame 0
        TX packets 1059086  bytes 169628765 (169.6 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
      
      



enp1s0, IP- 192.168.0.19.





192.168.0.50 , netplan:





sudo mcedit /etc/netplan/00-installer-config.yaml
      
      



:





network:
 ethernets:
  enp0s3:
   addresses:
    - 192.168.0.50/24
   gateway4: 192.168.0.1
   nameservers:
    addresses: [192.168.0.1, 1.1.1.1]
   optional: true
 version: 2
 renderer: networkd
      
      



:

addresses – IP-,

gateway4 – IP-

nameservers – DNS . - , 1.1.1.1 – DNS Cloudflare





( ifconfig). IP- 192.168.0.50.





, Windows 10 PuTTY SSH-. SSH , 22.





SSH/SFTP- android-

Android, . , , , Termius.









sudo apt remove libreoffice-draw skanlite okular kpat ksudoku kmahjongg kmines kdeconnect konversation krdc ktorrent thunderbird firefox elisa vlc libreoffice-math libreoffice-calc libreoffice-writer usb-creator-kde kwalletmanager
      
      



, apt





sudo apt autoclean && apt clean && apt autoremove
      
      



Google Chrome Firefox





wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i --force-depends google-chrome-stable_current_amd64.deb
      
      



- qBittorrent.





sudo apt install qbittorrent
      
      



4.3.

SSD- (64 500 ). . -, . .





sda1 (ext4). UUID





ls -l /dev/disk/by-uuid
      
      



:





lrwxrwxrwx 1 root root 10  14 18:01 40792859-581c-46cb-be9d-ad9d9e6ce843 -> ../../sdb1
lrwxrwxrwx 1 root root 10  14 18:01 4f311605-04ff-4e66-8121-187f270a51f4 -> ../../sdb5
lrwxrwxrwx 1 root root 10  14 18:01 760198b6-694e-4d6f-b21c-ea0c530398c3 -> ../../sda1
lrwxrwxrwx 1 root root 10  14 18:01 c53e5dd8-c36a-48b1-8591-3aeb4bce60a0 -> ../../sdb7
lrwxrwxrwx 1 root root 10  14 18:01 f09293e9-209e-4dce-ba4f-56d2e33657e8 -> ../../sdb6
      
      



/mnt. (, kodi), ,





sudo mkdir /mnt/kodi
sudo chmod -R 0777 /mnt/kodi
      
      



fstab





sudo mcedit /etc/fstab
      
      







UUID=760198b6-694e-4d6f-b21c-ea0c530398c3 /mnt/kodi ext4 rw,nosuid,nodev,relatime 0 0
      
      



, , .





4.4.

, , 24/7, .





:





  • /mnt/smb – . , android-. Windows 10 , . X-Plore, , .





  • /mnt/kodi/qbittorrent – qBittorrent ( qBittorrent , ). - , -, 24/7. Windows 10.









sudo mkdir /mnt/smb
sudo mkdir /mnt/qbittorrent
sudo chmod -R 0777 /mnt/smb
sudo chmod -R 0777 /mnt/qbittorrent
      
      



«» samba





sudo apt-get install samba
      
      



samba





sudo mcedit /etc/samba/smb.conf
      
      



«» , . :





[smb]
comment = smb
path = /mnt/smb
browsable = yes
writable = yes
guest ok = yes
read only = no
force user = nobody
force group = nogroup
force create mode = 0777
force directory mode = 0777

[kodi-qbittorrent]
comment = kodi-qbittorrent
path = /mnt/kodi/qbittorrent
browsable = yes
writable = yes
guest ok = yes
read only = no
force user = nobody
force group = nogroup
force create mode = 0777
force directory mode = 0777
      
      



samba





sudo /etc/init.d/smbd restart
      
      



.





4.5. VNC-

. SSH- . .





VNC-,





sudo apt install x11vnc
      
      







x11vnc -storepasswd "kodi" /etc/x11vnc.pass
sudo chmod ugo+r /etc/x11vnc.pass
      
      







/usr/bin/x11vnc -noxdamage -shared -dontdisconnect -many -noxfixes -rfbauth /etc/x11vnc.pass -bg
      
      



Real VNC Viewer Windows Android. - 5900.





, VNC- . .









sudo mcedit /usr/bin/VNCserver-start
      
      







#!/bin/sh
/usr/bin/x11vnc -noxdamage -shared -dontdisconnect -many -noxfixes -rfbauth /etc/x11vnc.pass -bg
      
      







sudo chmod u+x /usr/VNCserver-start
      
      



VNC- systemd . , VNC .





, . « » -> « » -> « » -> «». , /usr/VNCserver-start.





4.6. HDMI PulseAudio

- HDMI, , PulseAudio , . . , . - switch-on-port-available PulseAudio





sudo mcedit /etc/pulse/default.pa
      
      







#load-module module-switch-on-port-available
      
      



.





, – Kubuntu 20.04 – . KODI!





5. KODI

KODI. Ubuntu, XBMC ( 2014 ). , 2021 , Ubuntu KODI 18.7, 19.0 «Matrix».





, KODI





sudo add-apt-repository ppa:team-xbmc/ppa
sudo apt update
sudo apt install kodi
      
      



KODI , . . «Yes» PVR IPTV Simple Client, – . – , .





, KODI , // .





Pengaturan / Antarmuka / Regional / Rusia
Settings/Interface/Regional/Russian

«», .





:





  • . , .





  • . // .





  • . . /.





  • – «». // TVDB ( ).





Pengaturan / Antarmuka / Gaya / Sesuaikan gaya
///

. « ». , «» Gismeteo.





Menginstal add-on Gismeteo
Gismeteo

. , . «». – KODI.





Bagian cuaca di layar beranda

« ». . , , , , .





Pengaturan / Antarmuka / Gaya / Sesuaikan gaya / item menu Utama
/// /

«» . . «Skin Backgrounds - …».





Pengaturan / Antarmuka / Gaya / Sesuaikan gaya / Gambar
/// /

- Darkwood Design. , Kodi.tv , - resource.images.skinbackgrounds.arbuzov.zip.





, . , – Estuary, Midnight.





, «//»« ». . .





«» .





«/». «» HTTP . KODI . , .





Pengaturan / Layanan / Manajemen
//

« » . , , , , PVR.





«» «» KODI. . 284 .





Pengaturan / Informasi Sistem / Informasi
/ /

«». , - «-1°C». , .





Pengaturan / Informasi Sistem / Perangkat Keras
/ /

KODI , . advancedsettings.xml. , KODI/Wiki.









mcedit /home/_/.kodi/userdata/advancedsettings.xml
      
      



<advancedsettings>
<cputempcommand>sed -e 's/\([0-9]*\)[0-9]\{3\}.*/\1 C/' /sys/class/thermal/thermal_zone0/temp</cputempcommand>
</advancedsettings>
      
      



KODI, . , , Raspberry Pi .





6. IPTV. ,

IPTV KODI PVR IPTV Simple Client, .





, , , , ?





Terjadi kesalahan saat mencoba mengaktifkan add-on Klien Sederhana PVR IPTV
PVR IPTV Simple Client

, «» ( KODI ).





. deb-. - pkgs.org/download/kodi-pvr-iptvsimple. .





7.5.0Ubuntu 20.04 LTS (Focal Fossa)





wget http://ppa.launchpad.net/team-xbmc/ppa/ubuntu/pool/main/k/kodi-pvr-iptvsimple/kodi-pvr-iptvsimple_7.5.0-1~focal_amd64.deb
sudo dpkg -i ./kodi-pvr-iptvsimple_7.5.0-1_focal_amd64.deb
      
      



KODI, PVR IPTV Simple Client.





, , . , , , , . - «» . . , , , , . , HD , .





- ILookTV. – 1$/. «» , 100 HD-. – . , 25 / - . , . . , , .





, , . . , , .





«» ( , «»). , . «». , , 1800+ . 593 .





, KODI. «/». , m3u8-. - . .





Daftar putar IPTV siap, unduh
IPTV- ,

«/ / PVR/PVR IPTV Simple Client».





«»





«EPG» ():





http://epg.it999.ru/edem.xml.gz
      
      



, +/- .





«Channel Logos» , «Channel logos from XMLTV» « M3U».





KODI. KODI . . , .





Bagian "TV" di layar KODI utama
"" KODI
Daftar saluran, informasi rinci di sebelah kanan
,
Program TV
-
Informasi umum tentang saluran juga harus muncul di bagian "Informasi Sistem / Layanan PVR"
« / PVR»

7. KODI.

KODI . . // .. -, , , , , , ... -, , . , Elementum, .





, , . TVDB .





KinoPoisk . Seppius ( ). ZIP .





, « / / » « »TVDB (new), « » - KinoPoisk.





, . , , :





/mnt/kodi/library/Movies

/mnt/kodi/library/Shows





«///» «». , .





, , – KinoPoisk. , .





. , .





. , Elementum / , . ( ) ///, KODI , . .





8. Elementum Burst. -

, , , - . Elementum – , -. -, , , . , . Burst – Elementum – , .





, . Elementum . - elementum.surge.sh, ( Linux x64).





ZIP, , . KODI Burst – .





Elementum. . , , KODI ( ).





, 500 . , . . .





BitTorrent . . - , .





Burst «/ ». . «» «» 1080p/720p «Screener/SCR», 2K/4K, «» .





Pengaturan Elementum Burst
Elementum Burst

, , . ( , , , ):





:

MegaPeer





( , Burst /):

Rustorka

• NNM-Club

• RuTracker





. – . , - – .





Elementum.





Menu utama add-on Elementum
Elementum

, , «/ » .





– Burst , , .





Daftar Tangan

, Elementum 20-50 ( ) .





, , , . Elementum, , ( + ).





, / Elementum « ».





Menu koteks film / serial TV di Elementum
/ Elementum

, . //, , .





"Acara TV" di layar utama
""
Daftar episode di bagian "Serial"
""
Bagian film di layar utama
""

. , / , « », . , .





Semua film perpustakaan

Pada tahap ini, pengaturan dasar telah selesai, pusat media sudah dapat digunakan dan menikmati tayangan.





Di posting berikutnya, kita akan berbicara tentang kemungkinan kontrol eksternal KODI / Elementum dan qBittorrent menggunakan antarmuka web dan perangkat Android. Dan juga kami akan memperkenalkan fungsi akuntansi lalu lintas ke pusat media kami dengan kemampuan untuk menampilkan dan menganalisis di antarmuka web. Jangan lupa untuk mencadangkan sistem operasi dan KODI itu sendiri.








All Articles