Cheers I will give that a go later in the week
Hi H0nch0 there yes the above worked, many thanks - I have done some further information gathering on the internet and have a more detailed steps proceedure to get this done if people want to ssh from OSX in to the libreelec box.
I got the steps from H0nch0 and other kodi / openelec / libreelec forums, so I cannot claim to have come up with the steps just pulled them in to a single task flow and show the steps many people do automatically but dont articulate in the solutions.
This information covers VDR and TV Headend clients only, make sure you only have one of the PVR clients enabled. If you have two PVR clients running this will cause problems.
If you have switched from one PVR client to another, make sure the previously used PVR client is fully disabled. There are instructions on the forum on how to do this.
Before doing any of the below please save a copy of your channels.conf file and keep in a safe folder.
Your channel.conf file is normally within linux folders Userdata > addon_data > service.multimedia.vdr-addon > config
____________________________________________________________________________
VDR PVR
- For live TV with VDR you need these add-ons enabled and configured:
- VDR PVR Backend
- VDR VNSI Client
- VDR Configuration
- In the VDR VNSI Client within the configuration option turn on "Create channel groups automatically on the server”, otherwise it gets disabled again after a short time.
- There must be a channels.conf, without the channels.conf VDR will stop if you try to tune to a channel with VNSI.
- Your channel.conf file is normally within linux the folder Userdata > addon_data > service.multimedia.vdr-addon > config
- A good place to start looking for a place to edit you channels.conf file is as H0nch0 shows for DVB-S or channelpedia.yavdr.com or personally edit your channel.conf file with one of the tools available - the only one I could find and used was for windows which i used via boot camp on my mac.
- once you have edited the channel.conf file check its content via a text edit program to check it has only your channels in the channel group order you want.
- When I opened the channels.conf file with the text edit program I personally could see all the channels I had selected in the order i wanted but there was also the other channels not wanted showing in the channels.conf file so I removed/deleted all the channels i did not want and then resaved the channels.conf file
- Once you have located your edited channels.conf file you need to stop Kodi.
- open terminal or other command line tool and ssh in to Kodi by typing [email protected] - XX been the IP number of your kodi set up - and enter your Kodi password
- Then enter the text in bold systemctl stop kodi and press return/enter
- Copy your edited channels.conf file and paste in to the place the channels.conf file is stored in Libreelec
- normally within linux the folders Userdata > addon_data > service.multimedia.vdr-addon > config
- now re start Kodi via ssh by entering the text in bold and press return / enter - systemctl start kodi
- Now enable Live TV in Kodi
- System >Settings >TV >General >Enabled
- Settings >TV > General > Synchronize channel groups with backend(s) - disable, otherwise the TV entry in the main menu disappears after scanning for channels.
- By default VDR scans for channels in the background. It continuously updates the channels.conf file
- This needs to be disabled via System >Settings >TV > Client specific > Client specific settings > VDR OSD
- In the OSD Setup > DVB > Update channels > set to ‘no’
- Reboot system
- Turn off VDR in TV settings
- Clear data in TV settings
- Turn on VDR in TV settings
TVHeadend PVR
- For live TV with tvheadend instead of VDR you need these add-ons enabled:
- TVheadend from the unsupported unofficial OpenELEC repository
- TVheadend HTSP Client configuration is done via a web frontend, browse with for example Firefox to <ip of your Librelec Box>:9981 or your port number if it has been changed
- Disable VDR PVR Backend and VDR VNSI Client.
- TV channels must be mapped (web frontend), otherwise enabling TV in the Kodi settings will not work.
- Enable Live TV in Kodi. System->Settings->TV->General->Enabled.
- System->Settings->TV->General->Clear data may be necessary.
______________________________________________________________________________________________
Before doing any of the below to update the list of channels please save a copy of your channels.conf file and keep in a safe folder.
Please note that if new channels are added to you will need to manually re-scan by changing the setting Synchronize channel groups with backend(s) to enable.
VDR will perform a default rescan for channels in the background and should update the channels.conf file, then you need re-edit your channels.conf file following the above steps.
Hope this helps people.