Package-level declarations
Types
Episode information that will be passed to LoadLinks function & showed on UI
Set of sync services simkl is compatible with. Add more as required: https://simkl.docs.apiary.io/#reference/search/id-lookup/get-items-by-id
used for the getTracker() method
Properties
Functions
If episodes already exist appends the list.
Might need a different implementation for desktop
Add anything to here if you find a site that uses some specific naming convention
Get rhino context in a safe way as it needs to be initialized on the main thread. Make sure you get the scope using: val scope: Scriptable = rhino.initSafeStandardObjects() Use like the following: rhino.evaluateString(scope, js, "JavaScript", 1, null)
https://www.imdb.com/title/tt2861424/ -> tt2861424
return list of MainPageData with url to name, make for more readable code