Documentation: Unclear on how to set it up #15
-
|
Hi, I am a bit new to this. I moved all the scripts to |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
|
All the scripts in this repository are separate with individual documentation at the top of each file. |
Beta Was this translation helpful? Give feedback.
-
|
Also, the base config folder mpv will use by default is |
Beta Was this translation helpful? Give feedback.
-
|
Thanks a lot for clearing that up! It works now. |
Beta Was this translation helpful? Give feedback.
-
|
Debian 13.1 (trixie) Just installed the script and I can tell it's doing... something. [ffmpeg] https: HTTP error 403 Forbidden
Failed to open https://rr8---sn-bvvbaxivnuxq5uu-p5il.googlevideo.com/videoplayback?expire=1762183685&ei=pXUIacDGOOysy_sP35aduAU&ip=[IPADDRESS]&id=[REDACTED]&itag=251&source=youtube&requiressl=yes&xpc=[foo]&mm=31%2C29&mn=sn-bvvbaxivnuxq5uu-p5il%2Csn-q4flrnez&ms=au%2Crdu&mv=m&mvi=8&pl=42&rms=au%2Cau&initcwndbps=3280000&bui=[string]&spc=6b0G_FkOcR4ohYpXugmCPqyZfUN8t3QmllKSKAqBlLmut6m4fw&vprv=1&svpuc=1&mime=audio%2Fwebm&ns=RIpvr-rEesBE4lWoKJzshe8Q&rqh=1&gir=yes&clen=22106055&dur=1434.541&lmt=1761990700330557&mt=1762161689&fvip=5&keepalive=yes&lmw=1&fexp=51557447%2C51565115%2C51565681%2C51580970&c=TVHTML5&sefc=1&txp=4532534&n=YUMPvcLGb4McUPJ&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cbui%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cns%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&sig=[bar]&lsparams=cps%2Cmet%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Crms%2Cinitcwndbps&lsig=[baz].
EDL: Could not open source file 'https://rr8---sn-bvvbaxivnuxq5uu-p5il.googlevideo.com/videoplayback?expire=1762183685&ei=pXUIacDGOOysy_sP35aduAU&ip=[IPADDRESS]&id=[REDACTED]&itag=251&source=youtube&requiressl=yes&xpc=[foo]&mm=31%2C29&mn=sn-bvvbaxivnuxq5uu-p5il%2Csn-q4flrnez&ms=au%2Crdu&mv=m&mvi=8&pl=42&rms=au%2Cau&initcwndbps=3280000&bui=[string]&spc=6b0G_FkOcR4ohYpXugmCPqyZfUN8t3QmllKSKAqBlLmut6m4fw&vprv=1&svpuc=1&mime=audio%2Fwebm&ns=RIpvr-rEesBE4lWoKJzshe8Q&rqh=1&gir=yes&clen=22106055&dur=1434.541&lmt=1761990700330557&mt=1762161689&fvip=5&keepalive=yes&lmw=1&fexp=51557447%2C51565115%2C51565681%2C51580970&c=TVHTML5&sefc=1&txp=4532534&n=YUMPvcLGb4McUPJ&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cbui%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cns%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&sig=[bar]&lsparams=cps%2Cmet%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Crms%2Cinitcwndbps&lsig=[baz]'.
No video or audio streams selected.
Exiting... (Errors when loading file)I'm running this from the command line and in both cases mpv refuses to open a normal youtube link. I've set up my conf file in either of two ways but never both simultaneously: invidious# The default config file for youtube-search
# Available at: https://github.com/CogentRedTester/mpv-scripts
# API key for the Google Youtube API
API_key=<my-api-key-without-quotes>
# number of search results to show in the list
num_results=40
# the url to send API calls to
API_path=https://invidious.f5.si/api/v1/
# use invidious API calls
invidious=yes
# attempt this API if the default fails
fallback_API_path=
fallback_invidious=yes
# the url to load videos from
frontend=https://invidious.f5.si/# The default config file for youtube-search
# Available at: https://github.com/CogentRedTester/mpv-scripts
# API key for the Google Youtube API
API_key=<my-api-key-without-quotes>
# number of search results to show in the list
num_results=40
# the url to send API calls to
API_path=https://www.googleapis.com/youtube/v3/
# use invidious API calls
invidious=no
# attempt this API if the default fails
fallback_API_path=https://googleapis.com/youtube/v3/
fallback_invidious=no
# the url to load videos from
frontend=https://www.youtube.com/This is what my ..
├── mpv.conf
├── script-modules
│ ├── scroll-list.lua
│ └── user-input-module.lua
├── script-opts
│ ├── mpv-clipper.conf
│ ├── SmartCopyPaste.conf
│ ├── streamsave.conf
│ ├── thumbfast.conf
│ └── youtube_search.conf
├── scripts
│ ├── mpv-clipper.lua
│ ├── SmartCopyPaste.lua
│ ├── streamsave.lua
│ ├── thumbfast.lua
│ ├── user-input.lua
│ └── youtube-search.lua
└── to_delete
└── copy-permalink.lua
5 directories, 16 filesBefore I added the API keys, I could at least get the search menu dialogue to After I did this, I notice that mpv could no longer play youtube links via: mpv <link>It would always return 403 forbidden. I have pinpointed the issue to be the What can I do? Thanks for reading E: Had to update yt-dlp. Disregard. |
Beta Was this translation helpful? Give feedback.

Also, the base config folder mpv will use by default is
C:\Users\User1\AppData\Roaming\mpv\scripts. If you've placedmpv.exein that folder, then yes it could work, but using thempvdirectoy next to theexeis considered very low priority and may be removed in the future. If theexeis in that folder you should either move it, or change the config directory toC:\Users\User1\AppData\Roaming\mpv\portable_config\.