Browse Source

Drop plex related utilities from the utils package as they will be used in the Plex library alone

dev
David Ludwig 4 years ago
parent
commit
d742366335
1 changed files with 0 additions and 8 deletions
  1. +0
    -8
      packages/utils/src/index.ts

+ 0
- 8
packages/utils/src/index.ts View File

@ -66,11 +66,3 @@ export function generateToken(size: number = 48) {
});
});
}
/**
* Generate a URL to a movie/TV show on Plex
*/
export function plexMediaUrl(plexKey: number) {
return `${env("PLEX_URL")}/web/index.html#!/server/${env("PLEX_SERVER_ID")}/` +
`details?key=%2Flibrary%2Fmetadata%2F${plexKey}&context=library%3Acontent.library;`;
}

Loading…
Cancel
Save