Logo files now in channels directory using sftp but not after some permissions hell, I have learned a lot through this! Thanks for the assistance Martin.
I can see the logos in the live TV selection page but not in the guide but that's progress. Also see a bunch of what i presume to be the vexed orphan .ts files in the recordings directory. I will school myself on scripts and see if i can get the postEPGupdate thing happening.
The livetv orphans seem to be a linux thing. I'm recording to a NFS share which also might be some if the issue to but the simple solution is to add a line in your PostUpdateEPG.sh to delete them. If you haven't found them yet scrips go into "/var/opt/nextpvr/scripts/" in linux.
Here's my code if it helps which deletes all .ts files older than 300 min in the livetv directory when PostUpdateEPG.sh runs each day.
Code:
#!/bin/bash
# delete all .ts files in the livetv directory that are older than 300 minutes
# when the PostUpdateEPG.sh runs each day to eliminate orphan files.
find /home/npvr/livetv/*.ts -type f -mmin +300 -exec rm {} \;
NextPVR V6.1.4.230625 - Ubuntu 22.04 VM / 4 core / 8Gb memory
HDHR Prime X2 / HDFX-2 /Schedule Direct / 2X Pi4 + & 3X Pi3 LibreELEC Kodi clients
Server - TrueNAS/ SuperMicro MBD-X10SL7-F MB / Xeon E3-1246 / 32Gb Unbuffered ECC / 8 X 4TB RAIDZ2
2022-02-08, 07:27 PM (This post was last modified: 2022-02-08, 07:28 PM by Armsp0.)
(2022-02-08, 05:59 PM)snagglewest Wrote: The livetv orphans seem to be a linux thing. I'm recording to a NFS share which also might be some if the issue to but the simple solution is to add a line in your PostUpdateEPG.sh to delete them. If you haven't found them yet scrips go into "/var/opt/nextpvr/scripts/" in linux.
Here's my code if it helps which deletes all .ts files older than 300 min in the livetv directory when PostUpdateEPG.sh runs each day.
Code:
#!/bin/bash
# delete all .ts files in the livetv directory that are older than 300 minutes
# when the PostUpdateEPG.sh runs each day to eliminate orphan files.
find /home/npvr/livetv/*.ts -type f -mmin +300 -exec rm {} \;
The levels of support in this forum are exceptional, thank you
(2022-02-08, 05:59 PM)snagglewest Wrote: The livetv orphans seem to be a linux thing. I'm recording to a NFS share which also might be some if the issue to but the simple solution is to add a line in your PostUpdateEPG.sh to delete them. If you haven't found them yet scrips go into "/var/opt/nextpvr/scripts/" in linux.
Here's my code if it helps which deletes all .ts files older than 300 min in the livetv directory when PostUpdateEPG.sh runs each day.
Code:
#!/bin/bash
# delete all .ts files in the livetv directory that are older than 300 minutes
# when the PostUpdateEPG.sh runs each day to eliminate orphan files.
find /home/npvr/livetv/*.ts -type f -mmin +300 -exec rm {} \;
The levels of support in this forum are exceptional, thank you
Ok I have created the shell script PostUpdateEPG.sh in the scripts folder and run it manually to check it works and it does, will NextPVR run these scripts so long as they exist or is it necessary to place a call in the script to run the thing after the update, if so what would that look like?