I have found that starting the wizard again does work, but sometimes it requires several attempts so it will redo the scan for channels. Since I resolved my consistence problem with external USB drive mount, I'm not loosing previous recordings. So for now I'll just run Start wizard multiple times after deleting all channels and muxs.
Posts by jfabernathy
-
-
Well, it's a RP3 B+ running LibreELEC 9.01 latest update. There's no failure or error, so I'm not sure what the logs would show.
The TV Recordings all come from OTA from SiliconDust HDHR Connect. The Video files are all on an external HD connected via USB 2.0.
-
on TV both work, but on Videos, Keyboard C key only shows Play, Queue Item Play next and Add to Favourites.
No delete
-
Using my keyboard I can use the delete key to moved a watched TV recording on Kodi. I'd like to do the same with Video files. However there doesn't seem to be an option under Videos. I know it's not a permission issue.
-
I have LibreELEC 9.01 running on a RP3 B+ with the TVHeadend service and PVR client. It's working except for one thing. This maybe a configuration issue and not a bug, but I don't know how to do what I need.
My RP3 together with my SiliconDust HDHR tuner are mobile. When I move to a new location I want to keep my recordings, but I need to add new TV stations and remove others. What is the proper way to do this without restarting the wizard and loosing everything including my previous recordings. Rerunning the wizard finds all the channels, but removes knowledge of the recordings. The .ts files are still there, but you have to find them as video files.
Any help would be appreciated.
-
I used e2label to assign know labels to each drive and it mounts them using those names under /var/media/.
So that problem is solved. However, if I change the TVH setting to reflect the recordings directory on the sandisk I can not see old existing recordings. it's empty until I record something new. If I use the Kodi Video option instead of TV I can see all those files. I can ssh into libreelec and also see that they are there.
Any ideas??
-
I use LibreELEC on a RP3 B+ with TVHeadend. I have 2 USB drives for recordings. Normally my 128GB Flash drive gets mounted as /var/media/
sda1-usb-SanDisk_Ultra_Fi. I have TVH setup to put the recordings there. I also have a USB external hard drive and it normally comes up as /var/media/
sdb1-ata-TOSHIBA_HDWD120_. It has miscellaneous media files.
Occasionally, when I reboot the RP3 the drives comes up switched.
sda1-ata-TOSHIBA_HDWD120_
sdb1-usb-SanDisk_Ultra_Fi
This messes up the recording settings. Is there a way to force this like /etc/fstab?? I notice there isn't one on LibreELEC 9.01
Jim A
-
Do you have your nfs share mounted or not? If not make proper systemd mount script and mount it undr /media/nfs.
yes I followed the sample in .config/system.d and created a mount script. That worked just fine. It's just that I don't understand how without that mount script I could still traverse the directory tree on the NFS share and view the files in File Manager but the XMLTV script could not read them.
-
Okay, here's the answer for those with similar problems. First I'll say I'm still confused how I can traverse the directory tree and see the file, but still get can't open it.
Somewhere in the archives of issues was a discussion about how to setup a NFS mount on LibreELEC. So if you go to /storage/.config/system.d there is a sample file with instructions on how to mount a NFS share. So once I setup that mount, I could see my files from the command line or the Kodi application. Then I could setup the XMLTV file as part of the Home folder.
It just doesn't make sense that I can walk the share tree and not have the NFS share mounted. I know I have not had to do this in any version fo LibreELEC when setting up TV Shows or Music on NFS Shares.
-
I deleted the TVH server and client and reinstalled. This time I tried SMB. I created the connection by adding a network location with the server's password and username. At that point just like NFS, I could traverse the tree to the file I wanted to use for the XMLTV.xml data and I selected it. In the logs I get an error that it can't open the file.
I cut and pasted the filename path it could not open and dropped it into a similar connection setup on my Mac and it connected successfully to the server and could read the file. This has to be some sort of permission or smb protocol issue.
I could use the same network location to setup TV Shows via a file browse to let Kodi show some saved mp4 videos shows I've saved on the server. This makes no sense to me.
Any guess what it could be???
-
This is strange. After setting it to default, I then reentered the same login and password and now it connected. But this time, I changed the IP address from 127.0.0.1 to 192.168.0.30 which is it's real address for the RP3.
I have no idea why that worked.
-
When I choose Defaults, it blanks out the login and password. Don't I have to match the user and password to the TVH server?
I've setup TVH many times by itself. I use Kodi clients with the TVH client addon and just put in the username and password I used when I setup the TVH server. It sure is different on LibreELEC version of TVH server and client.
-
I started over to reproduce the error and I did. On the server side things are working, but I can't connect via kodi TVH client.
Kodi log with debug turned on. This is just around the login issues.
18:03:27.478 T:1723794288 DEBUG: AddOnLog: Tvheadend HTSP Client: pvr.hts - new connection requested
18:03:27.478 T:1723794288 DEBUG: AddOnLog: Tvheadend HTSP Client: pvr.hts - connecting to 127.0.0.1:9982
18:03:27.482 T:1723794288 DEBUG: AddOnLog: Tvheadend HTSP Client: pvr.hts - connected
18:03:27.483 T:1546994544 DEBUG: AddOnLog: Tvheadend HTSP Client: pvr.hts - sending hello
18:03:27.486 T:1546994544 DEBUG: AddOnLog: Tvheadend HTSP Client: pvr.hts - connected to Tvheadend / 4.2.7-44 ~ LibreELEC Tvh-addon v9.0.118 (HTSPv27)
18:03:27.486 T:1546994544 DEBUG: AddOnLog: Tvheadend HTSP Client: pvr.hts - sending auth
18:03:27.489 T:1546994544 ERROR: AddOnLog: Tvheadend HTSP Client: pvr.hts - Command authenticate failed: Access denied
I had logging on the THV server at the same time:
2019-01-22 18:16:13.296 [ INFO]:htsp: Got connection from 127.0.0.1
2019-01-22 18:16:13.296 [ TRACE]:htsp: 127.0.0.1 - method hello
2019-01-22 18:16:13.296 [ TRACE]:htsp-req: 127.0.0.1 - request '{"clientname":"Kodi Media Center","htspversion":34,"seq":1,"method":"hello"}'
2019-01-22 18:16:13.296 [ INFO]:htsp: 127.0.0.1: Welcomed client software: Kodi Media Center (HTSPv34)
2019-01-22 18:16:13.296 [ TRACE]:htsp-ans: 127.0.0.1 [ Kodi Media Center ] - answer '{"htspversion":27,"servername":"Tvheadend","serverversion":"4.2.7-44 ~ LibreELEC Tvh-addon v9.0.118","challenge":"binary","language":"eng","servercapability":["caclient","tvadapters","satip_client","satip_server","timeshift","trace","libav","caclient_advanced"],"api_version":19,"seq":1}'
2019-01-22 18:16:13.296 [ TRACE]:thread: created thread 1882063024 [tvh:htsp-write / 0x5c408c(0x700de860)]
2019-01-22 18:16:13.297 [ TRACE]:access: jim:<no-user> [ ], conn=0:s0:r0:l2, profile=ANY, dvr=ANY, tag=ANY
2019-01-22 18:16:13.297 [ INFO]:htsp: 127.0.0.1 [ Kodi Media Center ]: Unauthorized access
2019-01-22 18:16:13.297 [ TRACE]:htsp: 127.0.0.1 [ Kodi Media Center ] - method authenticate
2019-01-22 18:16:13.297 [ TRACE]:htsp-req: 127.0.0.1 [ Kodi Media Center ] - request '{"username":"jim","digest":"binary","seq":2,"method":"authenticate"}'
2019-01-22 18:16:13.297 [ TRACE]:htsp-ans: 127.0.0.1 [ Kodi Media Center ] - answer '{"noaccess":1,"seq":2}'
2019-01-22 18:16:14.735 [ TRACE]:http: HTTP/1.1 POST /comet/poll?boxid=d86468b71bd056a2489be13fa42455b64baef008&immediate=0{{Host=192.168.0.30:9981,Connection=keep-alive,Content-Length=58,Authorization=Digest,Origin=http://192.168.0.30:9981,X-Requested-With=XMLHttpRequest,User-Agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36,DNT=1,Content-Type=application/x-www-form-urlencoded,Accept=*/*,Referer=http://192.168.0.30:9981/extjs.html,Accept-Encoding=gzip, deflate,Accept-Language=en-US,en;q=0.9,Cookie=ys-api/mpegts/service=o%3Acolumns%3Da%253Ao%25253Aid%25253Dn%2525253A0%25255Ewidth%25253Dn%2525253A25%255Eo%25253Aid%25253Dn%2525253A1%25255Ewidth%25253Dn%2525253A25%255Eo%25253Aid%25253Dn%2525253A2%25255Ewidth%25253Dn%2525253A25%255Eo%25253Aid%25253Dn%2525253A3%25255Ewidth%25253Dn%2525253A94%255Eo%25253Aid%25253Dn%2525253A4%25255Ewidth%25253Dn%2525253A94%255Eo%25253Aid%25253Dn%2525253A5%25255Ewidth%25253Dn%2525253A94%255Eo%25253Aid%25253Dn%2525253A6%25255Ewidth%25253Dn%
-
is there a libreelec addon for putting the debug log in pastebin?
-
I'm trying to setup the XMLTV part of TVH server with the latest beta. I selected a NFS location where my main NAS has both a NFS and CIFS file that has the daily updated XMLTV data. I can walk the Koki setup down the tree along the nfs path to find the file and select it, but when the TVH server runs the epg internal grabber updates I get an error:
Code2019-01-22 09:35:36.000 xmltv: /storage/.kodi/addons/service.tvheadend42/bin/tv_grab_file: grab /storage/.kodi/addons/service.tvheadend42/bin/tv_grab_file 2019-01-22 09:35:36.007 spawn: Executing "/storage/.kodi/addons/service.tvheadend42/bin/tv_grab_file" 2019-01-22 09:35:36.097 spawn: cat: can't open 'nfs://192.168.0.250/mnt/md1/samba/public/media/zap2xml-data/xmltv.xml': No such file or directory
I'm guess some permission error, but don't know what. this file is accessible from many other systems in the house.
Also I can't seem to make Kodi forget the NFS tree. I thought about running the Windows cifs path, but can't make it forget where it is. I also thought about coping the xmltv.xml file to the downloads directory and changing to local file system, but XMLTV setup is stuck on the nfs tree.
If I can't fix nfs how do I clear the file tree and start over??
-
-
I got the TVH server working by turning on it's debugging feature, which apparently reset and restarted the server. Then I could connect with it via the website config again. Then the client connected finally.
I turned off the debugging and it's still working. Next I completely rebooted the RP3 from ssh console.
Still working. Not what's the issue. Kind of like starting an old carburetor car. Got to hold your foot just right.
-
Where did you install TVH server and client from?
Have you tried deleting the userdata for pvr?
Can you show a debug log of Tvh server when you try to connect using hstp tvh on libre.
I created a USB key with the image on the download link on libreelec.tv website. The one where they announced the new beta. for 8.95.003. I plugged the USB into my RP3B+ and booted it in a normal install. Then I installed TVH server from Libreelec repository, same with Client, but after the server was configured. I configured TVH server from my Macbook using the <IP>:9981 site.
I will test by deleting the userdata for PVR.
I did notice that they Recording configure had a directory in the config for /storage/recordings, but that directory didn't exist so that caused failures when I tried to select a program to record from the website control panel. I ssh'ed in and fixed that so I could record. Could be a permission issue.
When I powered up the system this morning I noticed that the TVH server was not running right. I could not connect via ip:9981. So I turned on debugging and I'll look at all that before replying with logging info.