get-iplayer / get_iplayer

A utility for downloading TV and radio programmes from BBC iPlayer and BBC Sounds
https://github.com/get-iplayer/get_iplayer/wiki
GNU General Public License v3.0
2.12k stars 230 forks source link

Cannot create WEB PVR process using Windows Terminal #417

Closed NebularNerd closed 2 years ago

NebularNerd commented 2 years ago

Do not file a bug report if you are using get_iplayer outside the UK. If you do, your report will be ignored.

Do not file a bug report if you are using get_iplayer with a VPN or proxy from any location, including the UK. If you do, your report will be ignored.

Search the repository (search field at top left) to see if a report already exists for the bug in the issue tracker. Do not create a duplicate report. Duplicate reports will be ignored.

Review recent open and closed entries in the issue tracker to see if a report already exists for the bug. Do not create a duplicate report. Duplicate reports will be ignored.

Ensure that you are using get_iplayer 3.30 or higher. If not, your report will be ignored.

Identify the operating system and version where get_iplayer demonstrates the bug

Windows 10

Provide a clear and concise description of the bug. Do not paste get_iplayer output or screenshots into the field below. If you do, your report will be ignored.

Trying to run web pvr from a Windows Terminal tab fails to launch pvr/webpage. Would be nice to do so to save having a dedicated window open.

Steps to reproduce: 1) Create new profile in Windows Terminal and set Command Line to
%SystemRoot%\System32\cmd.exe /c "C:\Program Files\get_iplayer\get_iplayer_web_pvr.cmd"
and Start In to
%HOMEDRIVE%%HOMEPATH%
This is the same as the normal windows shortcut C:\Program Files\get_iplayer\get_iplayer_pvr.ico performs 2) Try opening the new tab, script appears to run as the service reports INFO: Listening on 127.0.0.1:1935 like the cmd window normally does, however browser will say it cannot reach the localhost.

I did a bit of debugging and the variable GIP_INST is being set correctly to C:\Program Files\get_iplayer so the processes should be starting ok but no DEBUG output appears in the terminal window like normal.

Provide the PID or URL of the programme you are attempting to download, if applicable. Provide the PID or URL for only one programme.

n/a

Provide the complete get_iplayer command line that demonstrates the bug. Do not truncate or excerpt the command. If you do, your report will be ignored. If you are using the Web PVR, list the steps necessary to reproduce the bug, in as much detail as possible.

See bug field

Drag the log file into the field below to create an attachment. The log file must be added as an attachment. Do not paste its contents into the field below. If you do, your report will be ignored. You may enter a URL linking to your log file on a pastebin site. If the bug prevents get_iplayer from running, enter "N/A" in the field below. If you enter any other text in the field below, your report will be ignored.

N/A

If you are using the Web PVR, provide your web browser name and version. This information typically can be found from the application menu via Chrome/Firefox/Safari->About... (macOS) or Help->About... (Linux/Windows)

Chrome Version 103.0.5060.66 (Official Build) (64-bit)