Jump to content

Script: Alter Continue Watching (CW) behaviour, ongoing episodes are moved to the beginning of CW ribbon


Recommended Posts

ginjaninja
Posted (edited)

For 4.6.0.X beta

Currently if you play an episode half way it will not move to the beginning of the continue watching (new design) ribbon.

This script alters that behaviour.

 

Its a big fudge as it sets the "lastplayeddate" of the last watched (previous) episode in the  show to now(), to achieve its ends; which may have unforseen consequences/undesirable outcomes.

current status: initial build very limited testing.

should work on all platforms which support Powershell 7 windows, linux etc.

 

Installation:

Install Powershell 7.0 on OS

Install Scripter X plugin on Emby

unzip to folder

enter apikey values in config file.

set ScripterX parameters for event onPlayBackStart

Interpreter: pwsh

Script File: -File "A:\Example\CorrectCWOrder.ps1"

Parameters: -Id "%item.id%" -userid "%user.id%"

Conditions: %item.type% equals episode

image.thumb.png.ad67e109571d2a9102ea4ca22f2cbd37.png

CorrectCW v0.0.0.1.zip

Edited by ginjaninja
  • Like 2
  • Confused 1
Link to post
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...