pstream is dead; long live pstream taciturnaxolotl.github.io/pstream-ng/
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

change movie-web/providers to p-stream/providers and update

Pas 61c3b4ac ef8521fd

+28 -26
+2 -2
package.json
··· 8 8 "dev": "vite", 9 9 "build": "vite build", 10 10 "build:pwa": "cross-env VITE_PWA_ENABLED=true vite build", 11 - "update-and-build": "pnpm update @movie-web/providers && pnpm run build", 11 + "update-and-build": "pnpm remove @p-stream/providers && pnpm add github:p-stream/providers#production && pnpm run build", 12 12 "test": "vitest run", 13 13 "preview": "vite preview", 14 14 "lint": "eslint --ext .tsx,.ts src", ··· 36 36 "@headlessui/react": "^1.7.19", 37 37 "@ladjs/country-language": "^1.0.3", 38 38 "@marsidev/react-turnstile": "^0.7.2", 39 - "@movie-web/providers": "github:p-stream/providers#production", 40 39 "@noble/hashes": "^1.8.0", 40 + "@p-stream/providers": "github:p-stream/providers#production", 41 41 "@plasmohq/messaging": "^0.6.2", 42 42 "@react-spring/web": "^9.7.5", 43 43 "@scure/bip39": "^1.6.0",
+13 -7
pnpm-lock.yaml
··· 39 39 '@marsidev/react-turnstile': 40 40 specifier: ^0.7.2 41 41 version: 0.7.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1) 42 - '@movie-web/providers': 43 - specifier: github:p-stream/providers#production 44 - version: '@p-stream/providers@https://codeload.github.com/p-stream/providers/tar.gz/9a2ab1bcd409b78c49fa01ec5d82ff91179bfb95' 45 42 '@noble/hashes': 46 43 specifier: ^1.8.0 47 44 version: 1.8.0 45 + '@p-stream/providers': 46 + specifier: github:p-stream/providers#production 47 + version: https://codeload.github.com/p-stream/providers/tar.gz/062d8bfda6688cf0812c5edd9d3e03e7e69e2bab 48 48 '@plasmohq/messaging': 49 49 specifier: ^0.6.2 50 50 version: 0.6.2(react@18.3.1) ··· 1186 1186 resolution: {integrity: sha512-nn5ozdjYQpUCZlWGuxcJY/KpxkWQs4DcbMCmKojjyrYDEAGy4Ce19NN4v5MduafTwJlbKc99UA8YhSVqq9yPZA==} 1187 1187 engines: {node: '>=12.4.0'} 1188 1188 1189 - '@p-stream/providers@https://codeload.github.com/p-stream/providers/tar.gz/9a2ab1bcd409b78c49fa01ec5d82ff91179bfb95': 1190 - resolution: {tarball: https://codeload.github.com/p-stream/providers/tar.gz/9a2ab1bcd409b78c49fa01ec5d82ff91179bfb95} 1189 + '@p-stream/providers@https://codeload.github.com/p-stream/providers/tar.gz/062d8bfda6688cf0812c5edd9d3e03e7e69e2bab': 1190 + resolution: {tarball: https://codeload.github.com/p-stream/providers/tar.gz/062d8bfda6688cf0812c5edd9d3e03e7e69e2bab} 1191 1191 version: 2.3.0 1192 1192 1193 1193 '@pkgjs/parseargs@0.11.0': ··· 3324 3324 resolution: {integrity: sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==} 3325 3325 engines: {node: '>=12'} 3326 3326 3327 + picomatch@4.0.3: 3328 + resolution: {integrity: sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==} 3329 + engines: {node: '>=12'} 3330 + 3327 3331 pify@2.3.0: 3328 3332 resolution: {integrity: sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==} 3329 3333 engines: {node: '>=0.10.0'} ··· 5455 5459 5456 5460 '@nolyfill/is-core-module@1.0.39': {} 5457 5461 5458 - '@p-stream/providers@https://codeload.github.com/p-stream/providers/tar.gz/9a2ab1bcd409b78c49fa01ec5d82ff91179bfb95': 5462 + '@p-stream/providers@https://codeload.github.com/p-stream/providers/tar.gz/062d8bfda6688cf0812c5edd9d3e03e7e69e2bab': 5459 5463 dependencies: 5460 5464 abort-controller: 3.0.0 5461 5465 cheerio: 1.0.0-rc.12 ··· 5564 5568 dependencies: 5565 5569 '@types/estree': 1.0.8 5566 5570 estree-walker: 2.0.2 5567 - picomatch: 4.0.2 5571 + picomatch: 4.0.3 5568 5572 optionalDependencies: 5569 5573 rollup: 4.43.0 5570 5574 ··· 7781 7785 picomatch@2.3.1: {} 7782 7786 7783 7787 picomatch@4.0.2: {} 7788 + 7789 + picomatch@4.0.3: {} 7784 7790 7785 7791 pify@2.3.0: {} 7786 7792
+1 -1
src/backend/extension/streams.ts
··· 1 - import { Stream } from "@movie-web/providers"; 1 + import { Stream } from "@p-stream/providers"; 2 2 3 3 import { RULE_IDS, setDomainRule } from "@/backend/extension/messaging"; 4 4
+1 -1
src/backend/helpers/providerApi.ts
··· 1 - import { MetaOutput, NotFoundError, ScrapeMedia } from "@movie-web/providers"; 1 + import { MetaOutput, NotFoundError, ScrapeMedia } from "@p-stream/providers"; 2 2 import { jwtDecode } from "jwt-decode"; 3 3 4 4 import { mwFetch } from "@/backend/helpers/fetch";
+1 -1
src/backend/helpers/report.ts
··· 1 - import { ScrapeMedia } from "@movie-web/providers"; 1 + import { ScrapeMedia } from "@p-stream/providers"; 2 2 import { nanoid } from "nanoid"; 3 3 import { ofetch } from "ofetch"; 4 4 import { useCallback } from "react";
+1 -1
src/backend/providers/fetchers.ts
··· 2 2 Fetcher, 3 3 makeSimpleProxyFetcher, 4 4 setM3U8ProxyUrl, 5 - } from "@movie-web/providers"; 5 + } from "@p-stream/providers"; 6 6 7 7 import { sendExtensionRequest } from "@/backend/extension/messaging"; 8 8 import { getApiToken, setApiToken } from "@/backend/helpers/providerApi";
+1 -1
src/backend/providers/providers.ts
··· 2 2 makeProviders, 3 3 makeStandardFetcher, 4 4 targets, 5 - } from "@movie-web/providers"; 5 + } from "@p-stream/providers"; 6 6 7 7 import { isExtensionActiveCached } from "@/backend/extension/messaging"; 8 8 import {
+1 -1
src/components/player/hooks/useSourceSelection.ts
··· 2 2 EmbedOutput, 3 3 NotFoundError, 4 4 SourcererOutput, 5 - } from "@movie-web/providers"; 5 + } from "@p-stream/providers"; 6 6 import { useAsyncFn } from "react-use"; 7 7 8 8 import { isExtensionActiveCached } from "@/backend/extension/messaging";
+1 -1
src/components/player/utils/captions.ts
··· 1 - import { RunOutput } from "@movie-web/providers"; 1 + import { RunOutput } from "@p-stream/providers"; 2 2 import DOMPurify from "dompurify"; 3 3 import { convert, detect, parse } from "subsrt-ts"; 4 4 import { ContentCaption } from "subsrt-ts/dist/types/handler";
+1 -1
src/components/player/utils/convertRunoutputToSource.ts
··· 1 - import { Stream } from "@movie-web/providers"; 1 + import { Stream } from "@p-stream/providers"; 2 2 3 3 import { 4 4 SourceFileStream,
+1 -5
src/hooks/useProviderScrape.tsx
··· 1 - import { 2 - FullScraperEvents, 3 - RunOutput, 4 - ScrapeMedia, 5 - } from "@movie-web/providers"; 1 + import { FullScraperEvents, RunOutput, ScrapeMedia } from "@p-stream/providers"; 6 2 import { RefObject, useCallback, useEffect, useRef, useState } from "react"; 7 3 8 4 import { isExtensionActiveCached } from "@/backend/extension/messaging";
+1 -1
src/pages/PlayerView.tsx
··· 1 - import { RunOutput } from "@movie-web/providers"; 1 + import { RunOutput } from "@p-stream/providers"; 2 2 import { useCallback, useEffect, useRef, useState } from "react"; 3 3 import { 4 4 Navigate,
+1 -1
src/pages/parts/player/ScrapingPart.tsx
··· 1 - import { ProviderControls, ScrapeMedia } from "@movie-web/providers"; 1 + import { ProviderControls, ScrapeMedia } from "@p-stream/providers"; 2 2 import classNames from "classnames"; 3 3 import { useEffect, useRef, useState } from "react"; 4 4 import { useTranslation } from "react-i18next";
+1 -1
src/stores/player/slices/source.ts
··· 1 - import { ScrapeMedia } from "@movie-web/providers"; 1 + import { ScrapeMedia } from "@p-stream/providers"; 2 2 3 3 import { MakeSlice } from "@/stores/player/slices/types"; 4 4 import {
+1 -1
src/stores/player/utils/qualities.ts
··· 1 - import { Qualities, Stream } from "@movie-web/providers"; 1 + import { Qualities, Stream } from "@p-stream/providers"; 2 2 3 3 import { QualityStore } from "@/stores/quality"; 4 4