Missing Recorded Tv in Kodi

Added by Mark M 12 months ago

Hi, There are 8 tv recordings stored on my TVheadend server from 2 series on 2 different channels, yesterday all 8 recordings appeared in kodi
today only 4 of them are appearing. I have checked all the display filters in kodi and there nothing wrong there.
Can anybody give me any idea why these recordings would vanish all of a sudden from kodi but still be viewable from my server?


Replies (11)

RE: Missing Recorded Tv in Kodi - Added by Jonathan Thomson 12 months ago

Does the user logging in to Kodi have permission to access the DVR files? If any recordings were created with a profile the Kodi user doesn't have access to they will be hidden.

Are any of the files listed in the 'Failed Recordings' tab? Recordings regularly disappear on my system due to what I think is a bug where TVHeadend loses contact with where the files are stored momentarily and automatically sets all recordings to 'Failed' with a reason of 'File missing'.

Does a restart of TVHeadend followed by a restart of Kodi resolve the issue (the order you do this is important)?

RE: Missing Recorded Tv in Kodi - Added by Mark M 12 months ago

Hi Jonathan,
Thanks for your reply.
I have double checked your suggestions on my system including rebooting the server and kodi but the files remain missing.
Please check my screenshots to further explain what I mean.

Cheers
Mark

RE: Missing Recorded Tv in Kodi - Added by Jonathan Thomson 12 months ago

That is very bizarre.

If you've got a bit of time to investigate, would you mind posting the dvr log for one item that is showing up in the list and one that's not.

If you go to the root tvheadend directory then into dvr/log you will see a file for each recording that's been completed. From that directory, if you do

egrep -ir --include=* "Coronation Street" | cut -f1,4 | while read line; do cat "$line"; done

This will list the filenames for any log files with 'Coronation Street' in the title and show the file path (which reveals the date/time stamp)

Next use cat to show the full config of the file - pick one or two that are in the Kodi UI and one or two that aren't;

cat ConfigFileNameFromAbove | pastebinit

This will "paste" the content of the file to Ubuntu's Pastebin site - if you'd rather not do that just cat out the file and post the results below (I don't think the logs contain anything privileged though).

Share the URL's of the pastes (or the log files copied into this thread) highlighting which show in Kodi and which don't.

You might need to install pastebinit (which is an uber-useful tool for sharing logs with forums like this) by using

sudo apt-get install pastebinit

I've made a massive assumption that you are using a Debian-derivative to host TVHeadend so if not adjust the instructions above to suit.

RE: Missing Recorded Tv in Kodi - Added by Mark M 12 months ago

I have got all the log files you have request thanks for all your help, hope these files help.
Please let me know if you require any further info.

Log files from Recorded Tv showing in Kodi:

http://pastebin.com/index/XdsES1Ak
http://pastebin.com/index/Prfu6Szp

Log files from Recorded Tv not showing in Kodi:

http://pastebin.com/index/btfr2HxU
http://pastebin.com/index/3p0ZV0ui

RE: Missing Recorded Tv in Kodi - Added by Jonathan Thomson 12 months ago

In one of the files that isn't showing, can you edit it in nano or similar and paste the following into the quotes for the autorec field;

9c4ab07dc65fe9d164cb4f7494b1b463

So

"autorec": "9c4ab07dc65fe9d164cb4f7494b1b463",

Then restart Kodi and see if that specific file shows up.

Both files which aren't showing up have missing data, namely autorec (which is common across all the Coronation Street recordings) and broadcast which seems to be program/recording specific.

Still confused why it's happening but if this gets the files to show in the UI we might be on to something :)

Thanks for sticking with me on this one.

EDIT: I tried doing the opposite (removing the data) on one of my recordings and it made no difference. Colour me confused :(

RE: Missing Recorded Tv in Kodi - Added by Jonathan Thomson 12 months ago

I do have a tip for you though - to make your recordings look a bit neater (and ensure they are always unique) - use a file naming mask. I use

$t/$t$_c_%F_%R$n.$x

...which results in a folder/file structure as such...

/mnt/recordedtv/Emmerdale/Emmerdale_ITV HD_2016-07-26_19-00.ts

You can set this in Configuration > Recording > Digital Video Recorder Profiles > Full Pathname Specification

If nothing else I hope this little tip is useful :D

RE: Missing Recorded Tv in Kodi - Added by Mark M 12 months ago

Thanks Jonathan for your effort, unfortunately though as you guessed the recorded tv files are still missing, seems very strange that the files are no longer visible to kodi when the once were visible, not very wife friendly :(
I will open an issue, to see if anything can be done.
Thanks again for the tip ;)

RE: Missing Recorded Tv in Kodi - Added by Jeroen Teeuw about 1 month ago

Mark M wrote:

Thanks Jonathan for your effort, unfortunately though as you guessed the recorded tv files are still missing, seems very strange that the files are no longer visible to kodi when the once were visible, not very wife friendly :(
I will open an issue, to see if anything can be done.
Thanks again for the tip ;)

Hi did you solved this problem , i have the same problem now ( new recorded programs do not show up in kodi ) ?

RE: Missing Recorded Tv in Kodi - Added by David Mainem 8 days ago

Would also interest me, because i have this problem for the last 2 weeks.

Autorecs show without any problem in Kodi, but if i schedule a recording from the WebIF etc. it gets recorded but is not shown in Kodi.
Any ideas?

RE: Missing Recorded Tv in Kodi - Added by Mark Clarkstone 8 days ago

Guys this may be the cause of your woes.

HTH

RE: Missing Recorded Tv in Kodi - Added by David Mainem 15 minutes ago

Maybe but seems there is no Backport etc. for Krypton afaik.

(1-11/11)