Post processing script (ripsubtitles.sh)strange behaviour
Posted: March 19th, 2014, 2:54 am
Hi,
I am using Sabnzbd under Ubuntu server, and everything works great except for one thing.
I have a script for extracting the .srt file from a downloaded file (ripsubtitles.sh), and i have set it up in the categories section.
I also have pointed out the folder where the script is located. ( under .Sickbeard scripts, to have everything together)
When a movie finished downloading, the script runs, but when it finishes, the script result screen is empty.
The srt file itself is extracted, but when i choose the srt on my Samsung tv, (running Plex) it shows nothing.
What really strange is that when i run the sript manualy in command line, the srt is also extracted, but after it finishes, it DOES show the subtitle on my tv.
Also, i have set the script for Sickbeard as an "extra script" in the config.ini, and Sabnzbd handles this correctly, it shows up in the script result, and subtitles also show up on my tv.
So there must be something going wrong with sabnzbd handling the scipt or something.
Any help would be highly appreciated.
I am using Sabnzbd under Ubuntu server, and everything works great except for one thing.
I have a script for extracting the .srt file from a downloaded file (ripsubtitles.sh), and i have set it up in the categories section.
I also have pointed out the folder where the script is located. ( under .Sickbeard scripts, to have everything together)
When a movie finished downloading, the script runs, but when it finishes, the script result screen is empty.
The srt file itself is extracted, but when i choose the srt on my Samsung tv, (running Plex) it shows nothing.
What really strange is that when i run the sript manualy in command line, the srt is also extracted, but after it finishes, it DOES show the subtitle on my tv.
Also, i have set the script for Sickbeard as an "extra script" in the config.ini, and Sabnzbd handles this correctly, it shows up in the script result, and subtitles also show up on my tv.
So there must be something going wrong with sabnzbd handling the scipt or something.
Any help would be highly appreciated.