Skip to content

Commit 6feea0f

Browse files
Fenn3c401github-actions[bot]
authored andcommitted
build: auto-generate meta, dist, docs, megascript and readme
1 parent 7c289d5 commit 6feea0f

14 files changed

Lines changed: 80 additions & 61 deletions

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ An extensive userscript collection for trakt.tv. Please report any bugs you enco
1111
## Userscripts
1212
| *NAME* | *VERSION* | *LOC* | *INSTALL* |
1313
|:---|:---|:---|:---|
14-
| [Trakt.tv \| Megascript](userscripts/docs/zzzzzzzz.md#StickyHeader "My 15 trakt.tv userscripts merged into one for convenience. Namely: Actor Pronunciation Helper, All-In-One Lists View, Average Season And Episode Ratings, Bug Fixes And Optimizations, Charts - Ratings Distribution, Charts - Seasons, Custom Links (Watch-Now + External), Custom Profile Header Image, Enhanced List Preview Posters, Enhanced Title Metadata, Nested Header Navigation Menus, Partial VIP Unlock, Playback Progress Manager, Scheduled E-Mail Data Exports, Trakt API Wrapper.") | `2026-02-01_​02-41` | `4751` | [Standard](https://raw.githubusercontent.com/Fenn3c401/Trakt.tv-Userscript-Collection/main/userscripts/dist/zzzzzzzz.user.js) // [Minified](https://raw.githubusercontent.com/Fenn3c401/Trakt.tv-Userscript-Collection/main/userscripts/dist/zzzzzzzz.min.user.js) |
14+
| [Trakt.tv \| Megascript](userscripts/docs/zzzzzzzz.md#StickyHeader "My 15 trakt.tv userscripts merged into one for convenience: Actor Pronunciation Helper, All-In-One Lists View, Average Season And Episode Ratings, Bug Fixes And Optimizations, Charts - Ratings Distribution, Charts - Seasons, Custom Links (Watch-Now + External), Custom Profile Header Image, Enhanced List Preview Posters, Enhanced Title Metadata, Nested Header Navigation Menus, Partial VIP Unlock, Playback Progress Manager, Scheduled E-Mail Data Exports, Trakt API Wrapper.") | `2026-02-01_​07-46` | `4751` | [Standard](https://raw.githubusercontent.com/Fenn3c401/Trakt.tv-Userscript-Collection/main/userscripts/dist/zzzzzzzz.user.js) // [Minified](https://raw.githubusercontent.com/Fenn3c401/Trakt.tv-Userscript-Collection/main/userscripts/dist/zzzzzzzz.min.user.js) |
1515
| [Trakt.tv \| Actor Pronunciation Helper](userscripts/docs/71cd9s61.md#StickyHeader "Adds a button on /people pages for fetching an audio recording of that person's name with the correct pronunciation from https://forvo.com") | `1.0.6` | `131` | [Standard](https://raw.githubusercontent.com/Fenn3c401/Trakt.tv-Userscript-Collection/main/userscripts/dist/71cd9s61.user.js) // [Minified](https://raw.githubusercontent.com/Fenn3c401/Trakt.tv-Userscript-Collection/main/userscripts/dist/71cd9s61.min.user.js) |
1616
| [Trakt.tv \| All-In-One Lists View](userscripts/docs/p2o98x5r.md#StickyHeader "Adds a button for appending your lists from the /collaborations, /liked and /liked/official pages on the main \"Personal Lists\" page for easier access and management of all your lists in one place. Essentially an alternative to the lists category dropdown menu.") | `1.0.10` | `110` | [Standard](https://raw.githubusercontent.com/Fenn3c401/Trakt.tv-Userscript-Collection/main/userscripts/dist/p2o98x5r.user.js) // [Minified](https://raw.githubusercontent.com/Fenn3c401/Trakt.tv-Userscript-Collection/main/userscripts/dist/p2o98x5r.min.user.js) |
1717
| [Trakt.tv \| Average Season And Episode Ratings](userscripts/docs/yl9xlca7.md#StickyHeader "Shows the average general and personal rating of the seasons of a show and the episodes of a season. You can see the averages for all episodes of a show on its /seasons/all page.") | `1.0.4` | `94` | [Standard](https://raw.githubusercontent.com/Fenn3c401/Trakt.tv-Userscript-Collection/main/userscripts/dist/yl9xlca7.user.js) // [Minified](https://raw.githubusercontent.com/Fenn3c401/Trakt.tv-Userscript-Collection/main/userscripts/dist/yl9xlca7.min.user.js) |
@@ -24,9 +24,9 @@ An extensive userscript collection for trakt.tv. Please report any bugs you enco
2424
| [Trakt.tv \| Enhanced Title Metadata](userscripts/docs/fyk2l3vj.md#StickyHeader "Adds links of filtered search results to the metadata section (languages, genres, networks, studios, writers, certification, year) on title summary pages, similar to the vip feature. Also adds a country flag and allows for \"combined\" searches by clicking on the labels.") | `1.0.5` | `321` | [Standard](https://raw.githubusercontent.com/Fenn3c401/Trakt.tv-Userscript-Collection/main/userscripts/dist/fyk2l3vj.user.js) // [Minified](https://raw.githubusercontent.com/Fenn3c401/Trakt.tv-Userscript-Collection/main/userscripts/dist/fyk2l3vj.min.user.js) |
2525
| [Trakt.tv \| Nested Header Navigation Menus](userscripts/docs/txw82860.md#StickyHeader "Adds 150+ dropdown menus with a total of 1000+ entries to the header navigation bar for one-click access to just about any page on the entire website.") | `1.1.1` | `740` | [Standard](https://raw.githubusercontent.com/Fenn3c401/Trakt.tv-Userscript-Collection/main/userscripts/dist/txw82860.user.js) // [Minified](https://raw.githubusercontent.com/Fenn3c401/Trakt.tv-Userscript-Collection/main/userscripts/dist/txw82860.min.user.js) |
2626
| [Trakt.tv \| Partial VIP Unlock](userscripts/docs/x70tru7b.md#StickyHeader "Unlocks some vip features: adding titles to maxed-out lists, advanced filters, \"more\" buttons on dashboard, faster page navigation, bulk list management, rewatching, custom calendars, advanced list progress and more. Also hides some vip advertisements.") | `2.0.5` | `257` | [Standard](https://raw.githubusercontent.com/Fenn3c401/Trakt.tv-Userscript-Collection/main/userscripts/dist/x70tru7b.user.js) // [Minified](https://raw.githubusercontent.com/Fenn3c401/Trakt.tv-Userscript-Collection/main/userscripts/dist/x70tru7b.min.user.js) |
27-
| [Trakt.tv \| Playback Progress Manager](userscripts/docs/swtn5c9q.md#StickyHeader "Adds playback progress badges to in-progress movies/episodes and allows for setting and removing playback progress states. Also adds playback progress overview pages to the \"Progress\" tab and allows for bulk deletion and renewal. DOES NOT WORK WITHOUT THE \"TRAKT API WRAPPER\" USERSCRIPT!") | `1.0.0` | `392` | [Standard](https://raw.githubusercontent.com/Fenn3c401/Trakt.tv-Userscript-Collection/main/userscripts/dist/swtn5c9q.user.js) // [Minified](https://raw.githubusercontent.com/Fenn3c401/Trakt.tv-Userscript-Collection/main/userscripts/dist/swtn5c9q.min.user.js) |
27+
| [Trakt.tv \| Playback Progress Manager](userscripts/docs/swtn5c9q.md#StickyHeader "Adds playback progress badges to in-progress movies/episodes and allows for setting and removing playback progress states. Also adds playback progress overview pages to the \"Progress\" tab and allows for bulk deletion and renewal. DOES NOT WORK WITHOUT THE \"TRAKT API WRAPPER\" USERSCRIPT!") | `1.0.1` | `392` | [Standard](https://raw.githubusercontent.com/Fenn3c401/Trakt.tv-Userscript-Collection/main/userscripts/dist/swtn5c9q.user.js) // [Minified](https://raw.githubusercontent.com/Fenn3c401/Trakt.tv-Userscript-Collection/main/userscripts/dist/swtn5c9q.min.user.js) |
2828
| [Trakt.tv \| Scheduled E-Mail Data Exports](userscripts/docs/2hc6zfyy.md#StickyHeader "Automatic trakt.tv backups for free users. On every trakt.tv visit a background e-mail data export is triggered, if one is overdue based on the specified cron expression (defaults to weekly).") | `1.1.5` | `58` | [Standard](https://raw.githubusercontent.com/Fenn3c401/Trakt.tv-Userscript-Collection/main/userscripts/dist/2hc6zfyy.user.js) // [Minified](https://raw.githubusercontent.com/Fenn3c401/Trakt.tv-Userscript-Collection/main/userscripts/dist/2hc6zfyy.min.user.js) |
29-
| [Trakt.tv \| Trakt API Wrapper](userscripts/docs/f785bub0.md#StickyHeader "Exposes an authenticated Trakt API Wrapper. Intended to run alongside other userscripts which require (authenticated) access to the Trakt API.") | `1.0.0` | `553` | [Standard](https://raw.githubusercontent.com/Fenn3c401/Trakt.tv-Userscript-Collection/main/userscripts/dist/f785bub0.user.js) // [Minified](https://raw.githubusercontent.com/Fenn3c401/Trakt.tv-Userscript-Collection/main/userscripts/dist/f785bub0.min.user.js) |
29+
| [Trakt.tv \| Trakt API Wrapper](userscripts/docs/f785bub0.md#StickyHeader "Exposes an authenticated Trakt API Wrapper. Intended to run alongside other userscripts which require (authenticated) access to the Trakt API.") | `1.0.1` | `553` | [Standard](https://raw.githubusercontent.com/Fenn3c401/Trakt.tv-Userscript-Collection/main/userscripts/dist/f785bub0.user.js) // [Minified](https://raw.githubusercontent.com/Fenn3c401/Trakt.tv-Userscript-Collection/main/userscripts/dist/f785bub0.min.user.js) |
3030

3131
## Requirements
3232
- [Tampermonkey](https://www.tampermonkey.net) as userscript manager. Use the beta version if you can. Violentmonkey is not supported (YMMV).

userscripts/dist/f785bub0.min.user.js

Lines changed: 7 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

userscripts/dist/f785bub0.user.js

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
// ==UserScript==
22
// @name Trakt.tv | Trakt API Wrapper
33
// @description Exposes an authenticated Trakt API Wrapper. Intended to run alongside other userscripts which require (authenticated) access to the Trakt API. See README for details.
4-
// @version 1.0.0
4+
// @version 1.0.1
55
// @namespace https://github.com/Fenn3c401
66
// @author Fenn3c401
77
// @license GPL-3.0-or-later
88
// @homepageURL https://github.com/Fenn3c401/Trakt.tv-Userscript-Collection#readme
99
// @supportURL https://github.com/Fenn3c401/Trakt.tv-Userscript-Collection/issues
10-
// @updateURL https://raw.githubusercontent.com/Fenn3c401/Trakt.tv-Userscript-Collection/main/userscripts/meta/f785bub0.meta.js
10+
// @updateURL https://update.greasyfork.org/scripts/564750.meta.js
1111
// @downloadURL https://raw.githubusercontent.com/Fenn3c401/Trakt.tv-Userscript-Collection/main/userscripts/dist/f785bub0.user.js
1212
// @icon https://trakt.tv/assets/logos/logomark.square.gradient-b644b16c38ff775861b4b1f58c1230f6a097a2466ab33ae00445a505c33fcb91.svg
1313
// @match https://trakt.tv/*
@@ -37,7 +37,7 @@
3737
3838
### Usage
3939
- The wrapper is exposed through `window.userscriptTraktApiWrapper` and can be used like:<br>
40-
`const data = await userscriptTraktApiWrapper.search.id({ id_type: 'trakt', id: 1234, type: 'episode', extended: 'full', _auth: true });`<br>
40+
`const data = await userscriptTraktApiWrapper.search.id({ id_type: 'trakt', id: 1234, type: 'episode', extended: 'full', _auth: true, _meta: true, _revalidate: true });`<br>
4141
There are two types of props you can pass to a method, parameters corresponding to those listed in the Trakt API docs and options (denoted by a leading `_`) for the wrapper itself.
4242
- ***Parameters***<br>
4343
There are three categories: path parameters, search parameters, and the props for the request's body. First the mandatory and optional parameters for the path
@@ -50,13 +50,15 @@
5050
- `_meta` - Whether to wrap the response's data in an object with the supplied trakt header metadata like: `{ data: returned_data, meta: { pagination_page: 3 } }`.
5151
`meta` includes all the trakt `x-`-prefixed headers and a couple select others in a normalized form to allow for dot-syntax access. Type coercion is done for numbers and booleans.
5252
It's also included as `parsedTraktHeaders` with the raw response object which get's thrown in case of a failed request.
53-
- `_revalidate` - Whether to revalidate the data instead of directly pulling it from the disk cache. Defaults to `false`.
53+
- `_revalidate` - Whether to revalidate the data instead of directly pulling it from the disk cache when possible.
5454
- `_retry` - Configuration for a basic exponential backoff based retry mechanism. By default only activated for authed `POST`/`PUT`/`DELETE` requests.
5555
Doesn't use the `ratelimit` and `retry_after` trakt headers. Takes a config object like `{ limit: 5, req_delay: 1000, resp_delay: 0 }`, with each retry
5656
`limit` gets decremented (= 5 retries) and `req_delay` doubled. If you want to turn it off you can just override it with `_retry: null`.
5757
- In the userscript storage tab you can change the `apiUrl` to `https://api-staging.trakt.tv` for a sandbox environment
5858
and you can activate console logging of all api requests with `logApiRequests`.
59-
- There's built-in rate-limiting for authed `POST`/`PUT`/`DELETE` requests (1 / sec).
59+
- There's built-in rate-limiting for authed `POST`/`PUT`/`DELETE` requests (1/sec), which is complemented by the default `_retry` config, so you can just make a bunch of these
60+
requests at once and they'll be queued up and executed one by one in the same order in which you made them. This is complemented by the default `_retry` config where in this case
61+
a retried request delays all other queued requests.
6062
*/
6163

6264

userscripts/dist/swtn5c9q.min.user.js

Lines changed: 8 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)