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.

[script] - recording-fixer.sh

Featured Replies

Overview: Do you record TV using Tvheadend?, ever had the problem where a recording cannot be fwd/rev/skipped due to bad signal causing corruption?, if so this is the script for you!.

 

This script was inspired by this post, i've enhanced it so it can cope with any container format, it also has an option to specify the location of ffmpeg (optional first parameter). The script will typically process a 60 minute TV recording in around 15-20 seconds on my low end ARM processor, which i think is very acceptable.

 

Download

curl -o '/tmp/recording-fixer.sh' -L 'https://raw.githubusercontent.com/binhex/scripts/master/shell/kodi/tvheadend/recording-fixer.sh'
chmod +x '/tmp/recording-fixer.sh'

 

Once downloaded to a safe locaiton that Tvheadend can view then you need to get the script to run during post processing, this is done by going to Tvheadend Web UI/Configuration/Recording then 'Post-processor Command' and enter in the path to the script, suffixing it with %f (file path variable of the recording)

 

image.thumb.png.91d5f3326c0905a48e75a78e42c5c21a.png

 

If you want to retro repair broken recordings then simply run the script and specify the filepath to the recording, e.g:

'/tmp/recording-fixer.sh' '/mnt/user/TV/Live/BBC1/Strictly Come Shooting/Shotguns-are-badass.mkv'

 

Enjoy your fixed up recordings! 🙂

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

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.