2012-10-03, 19:57
OutlerAdam-
I just updated mythicalLibrarian for the first time in at least a year. Now I am running into a small issue. Prior to the update, I would run a user job that runs handbrake to re-encode the video after the file has been renamed and transfered, and then the script MythDataDeleter to remove the info from the DB if the Handbrake job completed. Mythicallibrarian would still be listed as running in the job queue until Handbrake and MythDataDeleter completed. I previously used the 'SYMLINK=Move' setting.
After the update, it appears that I can skip the MythDataDeleter step, as you have the option for 'SYMLINK=Disabled', which can remove the DB info. However, when I run mythicalLibrarian now it moves the file to the proper location, begins Handbrake, and then deletes all references to the file from MythTV..... including the job that is running in the queue. Handbrake is still currently running if I do 'top', so it's not actually killing the job.....but MythTV no longer knows this job is active, and this may prevent me from queuing up a batch of videos that I need to rename/re-encode (I think I may end up with multiple Handbrake sessions trying to run at once).
Is there any way that I can correct this? Maybe delay the removal of Database information until after the User Job is complete?
Thanks.
{Edit} In the meantime, I just went back to using 'SYMLINK=MOVE' and MythDataDeleter {/EDIT}
I just updated mythicalLibrarian for the first time in at least a year. Now I am running into a small issue. Prior to the update, I would run a user job that runs handbrake to re-encode the video after the file has been renamed and transfered, and then the script MythDataDeleter to remove the info from the DB if the Handbrake job completed. Mythicallibrarian would still be listed as running in the job queue until Handbrake and MythDataDeleter completed. I previously used the 'SYMLINK=Move' setting.
After the update, it appears that I can skip the MythDataDeleter step, as you have the option for 'SYMLINK=Disabled', which can remove the DB info. However, when I run mythicalLibrarian now it moves the file to the proper location, begins Handbrake, and then deletes all references to the file from MythTV..... including the job that is running in the queue. Handbrake is still currently running if I do 'top', so it's not actually killing the job.....but MythTV no longer knows this job is active, and this may prevent me from queuing up a batch of videos that I need to rename/re-encode (I think I may end up with multiple Handbrake sessions trying to run at once).
Is there any way that I can correct this? Maybe delay the removal of Database information until after the User Job is complete?
Thanks.
{Edit} In the meantime, I just went back to using 'SYMLINK=MOVE' and MythDataDeleter {/EDIT}