home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
My TVSeries
Subtitles icon and integrated subtitles
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="RoChess" data-source="post: 725381" data-attributes="member: 18896"><p>Ok for a Windows server it is easy, just simple batch scripts. In SABnzbd+ you have multiple ways to setup post-processing. You can do it global for everything, or at category level and you can even manually override it per download.</p><p></p><p>Open your SABnzbd+ config, and under "Switches", you can configure a "Default User Script", which will be used for *every* download. However before you can select a script, you first need to create one. So make a folder, for example "S:\Temp\Sabnzbd\User scripts" and create a new file inside of it, say "Strip Subs.cmd", open it in notepad and put in "@Echo off" for now. Later you can then add your commands to strip subtitles and move it to the final destination.</p><p></p><p>Then go back to SABnzbd+, goto config -> "Folders", and where it says "Post-Processing Scripts Folder:", you give it the same "S:\Temp\Sabnzbd\User scripts" path we created earlier that will hold your prost-processing scripts. Save the settings, then go back to the "Switches" tab, and you will now be able to select "Strip Subs.cmd" from the drop down list.</p><p></p><p>Instead of a global post-processing script, you can also go to your 'Categories', and you will now have a column called "Script" where you can define a post-processing script *PER* category. And you can always overrule a script inside the queue as well.</p><p></p><p>Now as for the actual "Strip Subs.cmd" post-processing script, you would get something such as:</p><p></p><p>[code]</p><p>@Echo Off</p><p>echo Stripping Subtitle Tracks...</p><p>REM locate mkv files inside %1 folder</p><p>REM process mkv files with:</p><p>REM mkvmerge -o output.mkv --nosubs input.mkv</p><p></p><p>echo Moving file to final destination...</p><p>REM move the output.mkv file to the end result, you can use %1 and/or %2 to get the original name back</p><p></p><p>echo %~nx0% Script Finished!</p><p>[/code]</p><p></p><p>You will have to do a little bit of Googling to get the functional commands you need. The scripts I use myself only work for my own setup, so no point in sharing those. All the SABnzbd+ parameters you can use can be found at:</p><p></p><p><a href="http://wiki.sabnzbd.org/user-scripts" target="_blank">User Scripts - SABnzbd</a></p><p></p><p>I'm busy right now, but Google for some example scripts first, you can not be the first to want to do this, so there has to be a Windows compatible post-processing script somewhere, but later this week I should have time to build you one.</p></blockquote><p></p>
[QUOTE="RoChess, post: 725381, member: 18896"] Ok for a Windows server it is easy, just simple batch scripts. In SABnzbd+ you have multiple ways to setup post-processing. You can do it global for everything, or at category level and you can even manually override it per download. Open your SABnzbd+ config, and under "Switches", you can configure a "Default User Script", which will be used for *every* download. However before you can select a script, you first need to create one. So make a folder, for example "S:\Temp\Sabnzbd\User scripts" and create a new file inside of it, say "Strip Subs.cmd", open it in notepad and put in "@Echo off" for now. Later you can then add your commands to strip subtitles and move it to the final destination. Then go back to SABnzbd+, goto config -> "Folders", and where it says "Post-Processing Scripts Folder:", you give it the same "S:\Temp\Sabnzbd\User scripts" path we created earlier that will hold your prost-processing scripts. Save the settings, then go back to the "Switches" tab, and you will now be able to select "Strip Subs.cmd" from the drop down list. Instead of a global post-processing script, you can also go to your 'Categories', and you will now have a column called "Script" where you can define a post-processing script *PER* category. And you can always overrule a script inside the queue as well. Now as for the actual "Strip Subs.cmd" post-processing script, you would get something such as: [code] @Echo Off echo Stripping Subtitle Tracks... REM locate mkv files inside %1 folder REM process mkv files with: REM mkvmerge -o output.mkv --nosubs input.mkv echo Moving file to final destination... REM move the output.mkv file to the end result, you can use %1 and/or %2 to get the original name back echo %~nx0% Script Finished! [/code] You will have to do a little bit of Googling to get the functional commands you need. The scripts I use myself only work for my own setup, so no point in sharing those. All the SABnzbd+ parameters you can use can be found at: [url=http://wiki.sabnzbd.org/user-scripts]User Scripts - SABnzbd[/url] I'm busy right now, but Google for some example scripts first, you can not be the first to want to do this, so there has to be a Windows compatible post-processing script somewhere, but later this week I should have time to build you one. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
My TVSeries
Subtitles icon and integrated subtitles
Contact us
RSS
Top
Bottom