I am trying to run the Auto Transfers and have everything setup to run on startup. Everything works well but when it tries to do the FFCUT to remove commercials I get a Permission Denied error on the Shell Script that tries to run.
2016_01_28_08:36:47 TOTAL auto matches for 'Living Room' = 1/1
2016_01_28_08:36:47 NOTE: NPL job completed: 0:00:02
2016_01_28_08:36:47 ---DONE--- job=playlist tivo=Living Room
2016_01_28_08:36:59 >> DOWNLOADING FROM 'Living Room' /Applications/kmttg_v2/Hot in Cleveland/s04e24 - The Man That Got Away.TiVo ...
2016_01_28_08:36:59 http://10.0.1.191:80/download/Hot+in+Cleveland.TiVo?Container=%2FNowPlaying&id=95513
2016_01_28_08:41:51 NOTE: /Applications/kmttg_v2/Hot in Cleveland/s04e24 - The Man That Got Away.TiVo: size=2825.96 MB elapsed=0:04:52 (81.18 Mbps)
2016_01_28_08:41:51 ---DONE--- job=javadownload output=/Applications/kmttg_v2/Hot in Cleveland/s04e24 - The Man That Got Away.TiVo
2016_01_28_08:41:54 >> DECRYPTING USING TIVOLIBRE /Applications/kmttg_v2/Hot in Cleveland/s04e24 - The Man That Got Away.TiVo ...
2016_01_28_08:43:12 NOTE: tivolibre job completed: 0:01:18
2016_01_28_08:43:12 ---DONE--- job=tivolibre output=/Applications/kmttg_v2/Hot in Cleveland/s04e24 - The Man That Got Away.mpg
2016_01_28_08:43:12 (Deleted file: /Applications/kmttg_v2/Hot in Cleveland/s04e24 - The Man That Got Away.TiVo)
2016_01_28_08:43:14 >> Running comskip on /Applications/kmttg_v2/Hot in Cleveland/s04e24 - The Man That Got Away.mpg ...
2016_01_28_08:43:14 /Applications/kmttg_v2/comskip/comskip --ini /Applications/kmttg_v2/comskip/comskip.ini "/Applications/kmttg_v2/Hot in Cleveland/s04e24 - The Man That Got Away.mpg"
2016_01_28_08:48:25 NOTE: comskip job completed: 0:05:11
2016_01_28_08:48:25 ---DONE--- job=comskip output=/Applications/kmttg_v2/Hot in Cleveland/s04e24 - The Man That Got Away.edl
2016_01_28_08:48:27 >> Running ffcut on /Applications/kmttg_v2/Hot in Cleveland/s04e24 - The Man That Got Away.mpg ...
2016_01_28_08:48:27 ERROR: Failed to start command: /Applications/kmttg_v2/ffcut6235887937513498790.sh
2016_01_28_08:48:27 ERROR: Cannot run program "/Applications/kmttg_v2/ffcut6235887937513498790.sh": error=13, Permission denied
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I need to see what the file permissions are on the .sh file that gets created. Using command line can you show me the output of doing the following:
ls -alF /Applications/kmttg_v2/*.sh
When kmttg creates the .sh file it does a system call to make it executable using:
chmod +x fileName.sh
So it should be executable. In any case I think I can come up with a workaround which I'll post for you to try later today.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am trying to run the Auto Transfers and have everything setup to run on startup. Everything works well but when it tries to do the FFCUT to remove commercials I get a Permission Denied error on the Shell Script that tries to run.
2016_01_28_08:36:47 TOTAL auto matches for 'Living Room' = 1/1
2016_01_28_08:36:47 NOTE: NPL job completed: 0:00:02
2016_01_28_08:36:47 ---DONE--- job=playlist tivo=Living Room
2016_01_28_08:36:59 >> DOWNLOADING FROM 'Living Room' /Applications/kmttg_v2/Hot in Cleveland/s04e24 - The Man That Got Away.TiVo ...
2016_01_28_08:36:59 http://10.0.1.191:80/download/Hot+in+Cleveland.TiVo?Container=%2FNowPlaying&id=95513
2016_01_28_08:41:51 NOTE: /Applications/kmttg_v2/Hot in Cleveland/s04e24 - The Man That Got Away.TiVo: size=2825.96 MB elapsed=0:04:52 (81.18 Mbps)
2016_01_28_08:41:51 ---DONE--- job=javadownload output=/Applications/kmttg_v2/Hot in Cleveland/s04e24 - The Man That Got Away.TiVo
2016_01_28_08:41:54 >> DECRYPTING USING TIVOLIBRE /Applications/kmttg_v2/Hot in Cleveland/s04e24 - The Man That Got Away.TiVo ...
2016_01_28_08:43:12 NOTE: tivolibre job completed: 0:01:18
2016_01_28_08:43:12 ---DONE--- job=tivolibre output=/Applications/kmttg_v2/Hot in Cleveland/s04e24 - The Man That Got Away.mpg
2016_01_28_08:43:12 (Deleted file: /Applications/kmttg_v2/Hot in Cleveland/s04e24 - The Man That Got Away.TiVo)
2016_01_28_08:43:14 >> Running comskip on /Applications/kmttg_v2/Hot in Cleveland/s04e24 - The Man That Got Away.mpg ...
2016_01_28_08:43:14 /Applications/kmttg_v2/comskip/comskip --ini /Applications/kmttg_v2/comskip/comskip.ini "/Applications/kmttg_v2/Hot in Cleveland/s04e24 - The Man That Got Away.mpg"
2016_01_28_08:48:25 NOTE: comskip job completed: 0:05:11
2016_01_28_08:48:25 ---DONE--- job=comskip output=/Applications/kmttg_v2/Hot in Cleveland/s04e24 - The Man That Got Away.edl
2016_01_28_08:48:27 >> Running ffcut on /Applications/kmttg_v2/Hot in Cleveland/s04e24 - The Man That Got Away.mpg ...
2016_01_28_08:48:27 ERROR: Failed to start command: /Applications/kmttg_v2/ffcut6235887937513498790.sh
2016_01_28_08:48:27 ERROR: Cannot run program "/Applications/kmttg_v2/ffcut6235887937513498790.sh": error=13, Permission denied
I need to see what the file permissions are on the .sh file that gets created. Using command line can you show me the output of doing the following:
ls -alF /Applications/kmttg_v2/*.sh
When kmttg creates the .sh file it does a system call to make it executable using:
chmod +x fileName.sh
So it should be executable. In any case I think I can come up with a workaround which I'll post for you to try later today.
Thanks for the response back. Here is what it says...
-rwxr-xr-x 1 todd staff 1517 Jan 28 12:19 /Applications/kmttg_v2/ffcut6745537175109442823.sh*
The permissions do look correct then. If you run the script as is from command line I think it should work:
./ffcut6745537175109442823.sh
In any case, I'm going to try an alternate way of doing things that perhaps will work better.
OK, if you could please try replacing your current kmttg.jar with the kmttg.jar in this zip file and let me know if that works:
https://drive.google.com/file/d/0B0SMFC97ymdENl9fM3hxdk1NcEE/view?usp=sharing
That worked perfect! Thanks.