1) how I gently start/stop/status service unit in librelec: # start vdr: systemctl start service.multimedia.vdr-addon.service # stop vdr: systemctl stop service.multimedia.vdr-addon.service # status vdr: systemctl status service.multimedia.vdr-addon.service # for kodi replace the commands above by kodi.service i.e systemctl "start|stop|status" kodi.service 2) scanning 2.1) the input : fr-poellesauvage k1p:~/tvscan # cat fr-poelleSauvage |grep -v ^# T 554166000 8MHz 3/4 NONE QAM64 8k 1/8 NONE T 562166000 8MHz 3/4 NONE QAM64 8k 1/8 NONE T 594166000 8MHz 3/4 NONE QAM64 8k 1/8 NONE T 602166000 8MHz 3/4 NONE QAM64 8k 1/8 NONE T 642166000 8MHz 3/4 NONE QAM64 8k 1/8 NONE T 778166000 8MHz 3/4 NONE QAM64 8k 1/8 NONE as you can seee above there is 1 line/multiplexi. The most important parameter is the the frequency of the multiplex and requires fine tuning. In France each frequency can take 3 values : k = [-1,0,1,2]*166Kz. (overlapping terrestrial pylones). My terrestrial pylone "poellesauvage" has k=1 and so the actual frequency (554000+166)Khz but my TV shows only 554Mz. This info can found very quickly on the net. 2.2) start the scan: stop vdr and kodi services as explain in 1) (vdr.bin process must be stopped and kodi too (to be sure the dvb frontend is unlocked) scan fr-poelleSauvage -o vdr | tee mychannels.conf 2.2) the ouptut, that I have named "mychannels.conf" for clarity is the graal !!! aka channels.conf k1p:~/tvscan # cat mychannels.conf C8;NTN:554166:I999B8C34D999M64T8G8Y0:T:27500:120:0:0:0:513:0:0:0 BFM TV;NTN:554166:I999B8C34D999M64T8G8Y0:T:27500:320:0:0:0:515:0:0:0 i>TELE;NTN:554166:I999B8C34D999M64T8G8Y0:T:27500:420:0:0:0:516:0:0:0 CSTAR;NTN:554166:I999B8C34D999M64T8G8Y0:T:27500:520:0:0:0:517:0:0:0 Gulli;NTN:554166:I999B8C34D999M64T8G8Y0:T:27500:620:0:0:0:518:0:0:0 TF1;SMR6:562166:I999B8C34D999M64T8G8Y0:T:27500:120:0:0:0:1537:0:0:0 NRJ12;SMR6:562166:I999B8C34D999M64T8G8Y0:T:27500:220:0:0:0:1538:0:0:0 TMC;SMR6:562166:I999B8C34D999M64T8G8Y0:T:27500:620:0:0:0:1542:0:0:0 NT1;SMR6:562166:I999B8C34D999M64T8G8Y0:T:27500:520:0:0:0:1544:0:0:0 LCP;SMR6:562166:I999B8C34D999M64T8G8Y0:T:27500:720:0:0:0:1545:0:0:0 France 2;GR1 B:594166:I999B8C34D999M64T8G8Y0:T:27500:120:0:0:0:257:0:0:0 France 4;GR1 B:594166:I999B8C34D999M64T8G8Y0:T:27500:320:0:0:0:260:0:0:0 France ?;GR1 B:594166:I999B8C34D999M64T8G8Y0:T:27500:520:0:0:0:261:0:0:0 franceinfo ;GR1 B:594166:I999B8C34D999M64T8G8Y0:T:27500:620:0:0:0:262:0:0:0 F3 Lorraine;FTV:594166:I999B8C34D999M64T8G8Y0:T:27500:220:230=fre,231=qad:0:0:288:0:0:0 Vosges T?l?vision;VOSGES TELEVISION:594166:I999B8C34D999M64T8G8Y0:T:27500:720:730=fre:0:0:369:0:0:0 M6;Multi4:602166:I999B8C34D999M64T8G8Y0:T:27500:120:0:0:0:1025:0:0:0 W9;Multi4:602166:I999B8C34D999M64T8G8Y0:T:27500:220:0:0:0:1026:0:0:0 Arte;Multi4:602166:I999B8C34D999M64T8G8Y0:T:27500:320:0:0:0:1031:0:0:0 France 5;Multi4:602166:I999B8C34D999M64T8G8Y0:T:27500:420:0:0:0:1045:0:0:0 6ter;Multi4:602166:I999B8C34D999M64T8G8Y0:T:27500:520:0:0:0:1046:0:0:0 HD1;MHD7:642166:I999B8C34D999M64T8G8Y0:T:27500:120:0:0:0:2561:0:0:0 L'Equipe 21;MHD7:642166:I999B8C34D999M64T8G8Y0:T:27500:220:0:0:0:2562:0:0:0 Ch?rie 25;MHD7:642166:I999B8C34D999M64T8G8Y0:T:27500:320:0:0:0:2563:0:0:0 RMC D?couverte;MHD7:642166:I999B8C34D999M64T8G8Y0:T:27500:420:0:0:0:2564:0:0:0 NUMERO 23;MHD7:642166:I999B8C34D999M64T8G8Y0:T:27500:520:0:0:0:2565:0:0:0 CANAL+;CNH:778166:I999B8C34D999M64T8G8Y0:T:27500:110:0:0:0:769:0:0:0 CANAL+ CINEMA;CNH:778166:I999B8C34D999M64T8G8Y0:T:27500:210:0:0:0:770:0:0:0 CANAL+ SPORT;CNH:778166:I999B8C34D999M64T8G8Y0:T:27500:310:0:0:0:771:0:0:0 PLANETE+;CNH:778166:I999B8C34D999M64T8G8Y0:T:27500:410:0:0:0:772:0:0:0 LCI;CNH:778166:I999B8C34D999M64T8G8Y0:T:27500:510:0:0:0:776:0:0:0 PARIS PREMIERE;CNH:778166:I999B8C34D999M64T8G8Y0:T:27500:610:0:0:0:777:0:0:0 CANAL+;CNH:4294967:I999B8C999D34M64T8G8Y0:T:27500:110:0:0:0:769:8442:10:0 CANAL+ CINEMA;CNH:4294967:I999B8C999D34M64T8G8Y0:T:27500:210:0:0:0:770:8442:10:0 CANAL+ SPORT;CNH:4294967:I999B8C999D34M64T8G8Y0:T:27500:310:0:0:0:771:8442:10:0 PLANETE+;CNH:4294967:I999B8C999D34M64T8G8Y0:T:27500:410:0:0:0:772:8442:10:0 LCI;CNH:4294967:I999B8C999D34M64T8G8Y0:T:27500:510:0:0:0:776:8442:10:0 PARIS PREMIERE;CNH:4294967:I999B8C999D34M64T8G8Y0:T:27500:610:0:0:0:777:8442:10:0 3) where I put mychannels.conf ? k1p:~/tvscan # find /storage -type f -name channels.conf /storage/.kodi/addons/service.multimedia.vdr-addon/config/channels.conf /storage/.kodi/userdata/addon_data/service.multimedia.vdr-addon/config/channels.conf # rename the two instances files if you want preserve them and after cp -p mychannels.conf /storage/.kodi/addons/service.multimedia.vdr-addon/config/channels.conf cp -p mychannels.conf /storage/.kodi/userdata/addon_data/service.multimedia.vdr-addon/config/channels.conf # last step (option) : reorder the channels accordings your country numbering plan or as you like (vi is your friend) # but never do that when kodi/vdr is running. # you can start your magic duo kodi/vdr cf 1) # final note: channels.conf is input/output i.e after the initial scan vdr updates it according changes detected in the the multiplex(s) # so "mychannels.conf" is just a temporary file and the reference is /storage/.kodi/userdata/addon_data/service.multimedia.vdr-addon/config/channels.conf # ENO OF alix88-vdr-scan-setup.txt