Python3 script based on this reddit post
- Insert links into Jellyfin by injecting stuff into 'main.*.bundle.js'
- Creates a local backup for future restore
- Quick and easy restore process
Script only requires python3 to run.
Installing dependencies on ubuntu/debian os:
sudo apt install python3Script needs to be set up first before running.
To setup:
- Download insertScript.py and additional_text.txt into your jellyfin server
- Edit additional_text.txt accordingly to your liking
- Make sure additional_text.txt is right beside the python script
To insert changes:
sudo python3 insertScript.py -i /usr/share/jellyfin/web/main.*.bundle.jsTo revert changes:
sudo python3 insertScript.py -i /usr/share/jellyfin/web/main.*.bundle.js_backup