Skip to content

oikmeg/plex-to-stash-ratings

Repository files navigation

plex-to-stash-ratings

Transfer scene rating and view count from Plex to Stash.

Progress

NOTE: Intended for fresh installs before previous view/rating counts exist.

Matches file paths between Plex and Stash DBs to find the Stash IDs. Assumes file paths are the same (like with docker mounts). If your parent folders differ, you can easily find&replace it in your files.

1. Plex export using WebTools-NG

  • Download WebTools and sign in to select your server.
  • Set your settings as shown below Export Settings Custom Levels

2. Setup config.json:

{
    "plex_csv": "ratings_views.csv",
    "graphql_url": "",
    "graphql_api_key": ""
}

3. Install dependencies

pnpm install

4. Run

pnpm ts-node migratePlexRatingViewsToStash.ts

About

Transfer scene rating and view count from Plex to Stash.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published