Not seeing all my recordings
Added by Wes S over 4 years ago
I'm only seeing a couple weeks of recordings using the the web interface to tvheadend or kodi. If I go to the directory where the files are stored I see a couple months worth of recordings.
The rp4 that is running tvheadend has been up for 34 days.
Retention is set to forever.
Any ideas?
Thanks,
Replies (3)
RE: Not seeing all my recordings - Added by Hiro Protagonist over 4 years ago
Try grepping for the filename of one of the files that's not showing up in your dvr/logs dir:
grep /var/spool/pvr/Restored/Restored2020-03-13.mkv .hts/tvheadend/dvr/log/*
Obviously you'll need to modify the paths to suit your setup. You should get a hit, otherwise it means some of your log files have been deleted.
If so, it is possible to re-import your recordings to TVH, but you will lose meta-data, as that's stored in the logs.
RE: Not seeing all my recordings - Added by Wes S over 4 years ago
Yes, there is a correlation between missing files and missing logs.
This is tvheadend on a rpi4. I figured out this morning that my powered usb hub my hdd is plugged into is keeping my pi from rebooting properly. I'm thinking bad things happened the back when I rebooted it.
I added a check for the drive being mounted from this thread:
https://tvheadend.org/boards/4/topics/36488
I'll do some googling now on how to add/import the missing files.
In the future I'll tell the pi to stop and turn off power to pi and usb hub. I'll look for a cable that doesn't back feed power.
Thanks,
Wes
RE: Not seeing all my recordings - Added by Hiro Protagonist over 4 years ago
There's an import script in this thread: https://tvheadend.org/boards/5/topics/41062