Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

open weblink (iina://) with space (' ') and box brackets ('[]') got error #4911

Open
1 task
killong opened this issue May 4, 2024 · 0 comments
Open
1 task

Comments

@killong
Copy link

killong commented May 4, 2024

System and IINA version:

  • macOS
    [iina][d] On a Mac14,3 with an Apple M2 processor

  • IINA
    [iina][d] IINA 1.3.4 Build 140

Expected behavior:

playing video

Actual behavior:

[mpv][e] [cplayer] error: Failed to recognize file format.
image

Crash report:

mpv log:
22:07:34.345 [iina][d] Parsing URL iina://weblink?url=http://127.0.0.1:5244/d/quark/Y%20%E6%B0%B8%E7%94%9F%20%E7%AC%AC%E4%B8%89%E5%AD%A3.%E6%B0%B8%E7%94%9F%E4%B9%8B%E6%B0%94%E5%A3%AE%E5%B1%B1%E6%B2%B3%20%5B2024%5D%5B1-3%E5%AD%A3%5D/25%204K.mkv
22:07:34.345 [player0][d] Open URL: http://127.0.0.1:5244/d/quark/Y%2520%25E6%25B0%25B8%25E7%2594%259F%2520%25E7%25AC%25AC%25E4%25B8%2589%25E5%25AD%25A3.%25E6%25B0%25B8%25E7%2594%259F%25E4%25B9%258B%25E6%25B0%2594%25E5%25A3%25AE%25E5%25B1%25B1%25E6%25B2%25B3%2520%5B2024%5D%5B1-3%25E5%25AD%25A3%5D/25%25204K.mkv
22:07:34.345 [player0][d] Opening http://127.0.0.1:5244/d/quark/Y%2520%25E6%25B0%25B8%25E7%2594%259F%2520%25E7%25AC%25AC%25E4%25B8%2589%25E5%25AD%25A3.%25E6%25B0%25B8%25E7%2594%259F%25E4%25B9%258B%25E6%25B0%2594%25E5%25A3%25AE%25E5%25B1%25B1%25E6%25B2%25B3%2520%5B2024%5D%5B1-3%25E5%25AD%25A3%5D/25%25204K.mkv in main window
22:07:34.419 [iina][d] Created OpenGL pixel format with [__C._CGLPixelFormatAttribute(rawValue: 5), __C._CGLPixelFormatAttribute(rawValue: 96), __C._CGLPixelFormatAttribute(rawValue: 58), __C._CGLPixelFormatAttribute(rawValue: 8), __C._CGLPixelFormatAttribute(rawValue: 64), __C._CGLPixelFormatAttribute(rawValue: 99), __C._CGLPixelFormatAttribute(rawValue: 12800), __C._CGLPixelFormatAttribute(rawValue: 73), __C._CGLPixelFormatAttribute(rawValue: 101), __C._CGLPixelFormatAttribute(rawValue: 0)]
22:07:34.431 [iina][d] Falling back to nominal display refresh rate: 59.997450108370394 from 0.0
22:07:34.433 [iina][d] window!.screen: "ARZOPA" visible frame (0.0, 0.0, 1280.0, 775.0) EDR: {supports=false maxPotential=1.0 maxCurrent=1.0}
22:07:34.433 [iina][d] NSScreen.main: "ARZOPA" visible frame (0.0, 0.0, 1280.0, 775.0) EDR: {supports=false maxPotential=1.0 maxCurrent=1.0}
22:07:34.433 [iina][d] NSScreen.screens[0]: "ARZOPA" visible frame (0.0, 0.0, 1280.0, 775.0) EDR: {supports=false maxPotential=1.0 maxCurrent=1.0}
22:07:34.433 [iina][d] MainWindowLastPosition (320.0, 207.0) matched: "ARZOPA" visible frame (0.0, 0.0, 1280.0, 775.0) EDR: {supports=false maxPotential=1.0 maxCurrent=1.0}
22:07:34.523 [iina][d] Finished URL scheme handling
22:07:34.524 [player0][d] File started
22:07:34.524 [player0][d] Started auto load
22:07:34.524 [fmatcher][d] **Start matching
22:07:34.548 [player0][d] Track list changed
22:07:38.537 [mpv][e] [cplayer] error: Failed to recognize file format.
22:07:38.537 [player0][d] Track list changed



Steps to reproduce:

  1. change web file name with both space and box brackets, like 'test [test]';
  2. open it as weblink, like this links:
  1. you got error: cannot open file or stream.
  • MPV does not have this problem.

How often does this happen?

everytime

@killong killong changed the title open weblink (iina://) with opening bracket ([]) got error open weblink (iina://) with space (' ') and box brackets ('[]') got error May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant