2015-08-18, 12:11
I've recently got Tvheadend running with Kodi on a RasPi and I'm very pleased with it.
One odd thing has me stumped though - can you help?
I'm booting to a USB hard drive (SDA) and have the kodi folders there, one of which is named recordings - that's all fine :-)
When a new recording is created by Tvheadend, it is put into that directory as expected. I do not however want to have all recordings in one huge directory, I'd prefer to have them in sub-directories that are named (e.g. by TV user and then by show etc).
I know Tvheadend does not have the ability to allow me to specify to any great degree where a recording should be placed therefore I am happy to periodically move them manually using the built in file browser. When I've tried this however, the recordings are no longer visible under the TV | Recordings menu.
At first glance, it would seem that Kodi (or probably the Tvheadend client) does not understand sub folders however I know that is not the case because if I configure Tvheadend to file recordings in a sub-directory named with the show title, it does file them correctly and they still appear in the TV | Recordings menu.
I thought it may be a file ownership or permissions problem however I have checked that and changed the file owner and permissions to agree with recordings that Tvheadend has made and filed correctly - no luck.
I then though it was a problem with a file name and location in a database so I have used sqlitebrowser to inspect the kodi database but can't find anything sensible there to change.
Does anyone have any idea where I am going wrong?
One odd thing has me stumped though - can you help?
I'm booting to a USB hard drive (SDA) and have the kodi folders there, one of which is named recordings - that's all fine :-)
When a new recording is created by Tvheadend, it is put into that directory as expected. I do not however want to have all recordings in one huge directory, I'd prefer to have them in sub-directories that are named (e.g. by TV user and then by show etc).
I know Tvheadend does not have the ability to allow me to specify to any great degree where a recording should be placed therefore I am happy to periodically move them manually using the built in file browser. When I've tried this however, the recordings are no longer visible under the TV | Recordings menu.
At first glance, it would seem that Kodi (or probably the Tvheadend client) does not understand sub folders however I know that is not the case because if I configure Tvheadend to file recordings in a sub-directory named with the show title, it does file them correctly and they still appear in the TV | Recordings menu.
I thought it may be a file ownership or permissions problem however I have checked that and changed the file owner and permissions to agree with recordings that Tvheadend has made and filed correctly - no luck.
I then though it was a problem with a file name and location in a database so I have used sqlitebrowser to inspect the kodi database but can't find anything sensible there to change.
Does anyone have any idea where I am going wrong?