Jump to content

Scripts to Create/manage a "Coming Soon Movie" collection


ginjaninja

Recommended Posts

ginjaninja

Was looking for a way to quickly make a record of movies I want to add to the library...and let users know of imminent movies through review of a "Coming Soon/Wanted" collection.

Requires Windows/powershell core

1. "Create Wanted.ps1" provides a user GUI to Add Wanted Movies to a Library

image.png.e4de74a8c22d4c5239e5a94cf9f66f1f.png

movies are matched to TMDB (requires a tmdb apikey). A small temp file is copied to library to instantiate the movie object

2. ScripterX on MediaitemAdded calls "ManageWanted.ps1" for movies matching the temp file to be tagged "Wanted" and the SmartPlaylist refresh task called to update the Smartplaylist

image.png.80021390bf27cc55bed8074adf939e63.png

image.thumb.png.238259d7f7889359181ece9c390b90a8.png

3. As the movies are added to the library the wanted tag is removed and the movie removed from the wanted collection.

 

CreateWanted v0.0.0.2.zip

changes v0.0.0.2

constructed TMDB Url properly (spaces in title replaced with +)

allow force creation even if no match on tmdb.

Manage Wanted v0.0.0.2.zip

changes v0.0.0.2

changed tempfile to mkv

added function to find ticks for a custom temp file.

 

 

set testmode=$false in both script's config files when tested.

more of learning project than a practical tool so far..

pagination results from TMDB are a work in progress.

issues/suggestions welcome

Edited by ginjaninja
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...