Jellyfin Forum
supporting shell scripts - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Off Topic (https://forum.jellyfin.org/f-off-topic)
+--- Forum: Self-hosting & Homelabs (https://forum.jellyfin.org/f-self-hosting-homelabs)
+--- Thread: supporting shell scripts (/t-supporting-shell-scripts)



supporting shell scripts - laughing_man77 - 2024-12-31

Hi all,

Jellyfin backup/restore script

I've just added a new simple bash script to my repo for automatic backing up and restoring Jellyin data. This includes:
  • Compressed backups of config or media.
  • Storage in any location.
  • Backing up the existing config/media before restoring (in case you need to backout of the restoration).

This script is ideal for regular backups or migration.

It is publicly available at https://github.com/laughingman77/Jellyfin-Backup-Restore

Media archive script

Tired of deleting old movies and TV episodes when your media disks are full or have several old disks with movies on them but no idea what is where?

This script will generate a customisable CSV file with lists of movies, TV episode collections, extras along with many optional metadata details.

The result CSV can be:
  • Imported and converted into a supplied Excel template
  • Imported into Tellico

Features:
  • Use ffprobe or mediainfo for file scannning
  • Supports Jellyfin, Plex and Kodi file formats
  • Customisable columns
  • Separate TV and movie archive lists
  • Fully POSIX complaint for portability
  • Works with any spreadsheet software or Tellico
  • Detect the metadata from the filename and/or ffprobe/mediainfo
  • Optionally list the details of only default or all video streams
  • Group TV seasons and episodes
  • Group extras with their relative mevies, TV seasons and episodes
  • Sort column
  • Optional disk summary statistics

It is publicly available at https://github.com/laughingman77/video_list_csv

Does anyone has any other scripts they want to add to these?