#!/bin/bash systemctl stop plexmediaserver echo "update metadata_items set title = summary where metadata_type=13 and length(summary)>2;" | /usr/lib/plexmediaserver/Plex\ SQLite "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.library.db" systemctl start plexmediaserver