Configuration transfer?
Added by Neil Carter about 1 month ago
Greetings:
I've been using Tvheadend (version 4.2.4, I think) for several years now, just as an OTA DVR, with two USB tuners, on a Raspberry Pi running Raspbian (Stretch, I think). About a week ago I rebooted the Pi, as it had been a while, and for whatever reason, it no longer boots. I used a tool called Ext2Explorer to copy the contents of the SDCard to my local NAS, so everything should be saved off I think.
I have two questions to start with, we'll go from there -
1. Is there a Raspberry Pi guru on here who might be able to assist with bringing this little box back from the dead? If not, I'll have to rebuild. Which leads to the next question...
2. Is there a way to copy and then import the current configuration to a new build, so as not to have to go through sorting out the digital channels, frequencies, etc, again?
Thank you, all, in advance!!
Neil
Replies (10)
RE: Configuration transfer?
-
Added by Flole Systems 30 days ago
Just copy the config directory to the new installation, and then it should just work.
RE: Configuration transfer?
-
Added by Neil Carter 29 days ago
Thank you for the response!
However, I have to ask for clarification as there are several config directories under /var/lib/hts/.hts/tvheadend. Am I looking in the right place?
Neil
RE: Configuration transfer?
-
Added by Flole Systems 29 days ago
Sounds correct, the entire tvheadend directory should be copied.
RE: Configuration transfer?
-
Added by Neil Carter 12 days ago
Sorry for the delay, death in the family...
I wound up having to rebuild from scratch and the tvheadend backup I had created turned out to not include the /var/lib/hts/.hts/tvheadend directory I need! Not sure what happened there.
So, I am having to configure from scratch. It's been a while since I last did this, and it's not very straight-forward to those who don't play with this frequently. The issue I'm facing now is there do not appear to be any channels showing up in the UI. Both adapters appear correctly, as adapter0 and adapter1. They are Hauppauge WinTV-HVR 950Q Hybrid TV sticks. They are properly recognized, I think, in the dmesg output, attached here as dmesg.txt.
I was able to copy the old firmware files from the backup, at /lib/firmware, to the same location on the new build:
dvb-fe-xc4000-1.4.1.fw
dvb-fe-xc5000-1.6.114.fw
dvb-fe-xc5000c-4.1.30.7.fw
dvb-usb-dib0700-1.20.fw
dvb-usb-it9135-01.fw
dvb-usb-it9135-02.fw
dvb-usb-terratec-h5-drxk.fw
Thoughts? As always, any assistance is GREATLY appreciated!!
Thank you!
Neil
PS -- Found a tool called w_scan, installed it, and ran it like w_scan -c US > w_scan.out, which I've also attached. This appears to me as though the tuners are working, as they find a bunch of my normal channels. Again, why are they not showing up in the tvheadend UI? I'm missing something...
dmesg.txt (43.6 KB) dmesg.txt | |||
w_scan.out (3.99 KB) w_scan.out |
RE: Configuration transfer?
-
Added by Flole Systems 12 days ago
I suggest checking the "old" location: /home/hts/.hts
RE: Configuration transfer?
-
Added by Neil Carter 12 days ago
That directory does not exist in my backup. In fact, the only directory in /home is 'pi'. (And yes, I performed the backup as root)
btw, the new build is 4.3-2155~gfe4df311d
Please check the PS added to the previous post
RE: Configuration transfer?
-
Added by Jonas Lang 12 days ago
I suggest reading this. It’s extensive but informative and is Hauppauge Dual HD related and covers most of the bases
https://tvheadend.org/boards/5/topics/50200
RE: Configuration transfer?
-
Added by Neil Carter 6 days ago
I've gotten things working, fairly well, but have a few lingering questions:
1. File sizes are roughly one third what similar programs recorded on the same channel used to be, on the old system. I'm assuming this is a reduction in resolution somehow. Are there any settings for this? I have found none. Or, could this be a driver issue? I'm recording using the default pass format (.ts)
2. Is there any way to get the UI to work with different date string formats? It currently requires DD.MM.YYYY and being in the US, the local normal is MM.DD.YYYY. I personally use YYYY.MM.DD
3. Is there a setting to save the selected columns being displayed in a particular window? It keeps adding removed columns back in when logging in the next time
Thank you!
RE: Configuration transfer?
-
Added by Jonas Lang 6 days ago
Assuming you’re not using a transcoding profile the .ts files will only be as big as they are recorded, HD being larger than SD, raw transport streams.
Just make sure your locales are set correctly for your region.
https://tvheadend.org/issues/5081
I’ve never needed to manipulate columns in the TVH UI but try reading this
https://tvheadend.org/boards/5/topics/33968
For any other answers try searching the forum as most of your questions have probably already been addressed.
RE: Configuration transfer?
-
Added by Neil Carter 5 days ago
OK
Thank you, everyone! At least it's working