Jump to content

Script to tidy a "Recommended for user" collection, once item watched


ginjaninja

Recommended Posts

ginjaninja

Background

My Library contains "Recommended For User" collections, to signpost users to content they might want to watch.

This script removes items from such collections once they have been watched, and optionally resets the collections image

image.png.2b07f15584a078cacdfd5c58742c219c.png

Use

Tag a collection with a userid - to denote that it is a "recommended for this user" collection. Tag with "cyclepic" if you want the collection image updated.

image.png.64aa62b7fea64748b6871d1503f095fc.png

tip:you can get userid from the address bar when managing users

image.png.4ca2acd8fd3ab62fad5eb589ad8a3cf5.png

 

schedule the script in your task manager or slave to onplaybackstopped event in scripterx plugin

image.thumb.png.47a18394855a9b92b394eb890dd2af88.png

 

notes

requires powershell core

test on a backed up library - the script removes items from collections and optionally updates primary images on those collections

set testmode=$false in config.pds1 when ready to use

 

TidyForCollections v0.0.0.1.zip

 

 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...