Does anyone know how to capture the programme description and save it to a file with the same name as the recording and in the same folder. I record radio dramas and listen to them when I am out walking the dog and I would like to capture the programme description so I can get some information about the item I am listening to.
Generally there shouldn’t be a permission issue in OSMC as tvheadend is also run as user osmc. So if you manually run the script from command line successful it should also work from tvheadend. Did you made the script executable?
To check the permission/owner for the destination directory run ls -lah /target/folder
I did a quick try:
echo $2 > /home/osmc/Movies/$1.nfo
And then in the postrecording /home/osmc/tv_script %b %d
This successfully creates a file in /home/osmc/Movies with the original_filename.nfo and the description as the contents.