Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

CouchPotato post-processing script

Featured Replies

Anyone using CouchPotato's built in post-processing scripting feature?

Yes. It works well, occasionally it comes across a movie it can't rename or it names it differently.

  • Author

Thanks eroz...

 

I'm referring to the feature where you can have CouchPotato run a custom post-processing script after the file has been moved to it's final location and has been renamed.

 

I've created a python program that uses mkvmerge to...

 

  • strip out subtitles and other misc junk
  • spin through the audio tracks
    • keep only english tracks with a preference for DTS
    • make the selected audio track the default

 

I've got it so CouchPotato attempts to execute it, but it's failing with a pretty generic "Unable to run extra_script: Exec format error" message.

 

The file has the correct execute permissions and I can run it manually through PuTTY.

 

What limited documentation I can find on the custom script feature indicates it can run either a python program or bash script.

 

But I'm banging up against a wall of my VERY limited Python knowledge (this is my first Python program) and really crappy CouchPotato docs.

 

 

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.