You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was having trouble using the command line to download my season pass list:
./kmttg -sp "DVR 0000" -spf "backup.sp"
Which would hang, but I could get and save the season passes in the UI.
Investigation showed that the startup shell script kmttg is stripping the double quotes from the DVR name and the file name when it forms the full java command to launch kmttg proper. Which is to say, sh is stripping them when referring to the command line params as $@.
I confirmed by manually typing the entire java command, with the quotes, and it ran fine.
An obvious workaround is to rename the dvr and remove the space... but this is the default naming and the startup script should do it right. The output file name may well include spaces as well, of course. For my application, another workaround will work: I can run the full java command directly.
I am barely shell-literate, so I can't suggest a fix to what seems like should be a simple problem (but from casual searching it seems that it isn't! -- my experiments with bash's ${@@q} were unsuccessful.).
Linux Mint 22, kmttg V2.9-l
The text was updated successfully, but these errors were encountered:
I was having trouble using the command line to download my season pass list:
./kmttg -sp "DVR 0000" -spf "backup.sp"
Which would hang, but I could get and save the season passes in the UI.
Investigation showed that the startup shell script kmttg is stripping the double quotes from the DVR name and the file name when it forms the full java command to launch kmttg proper. Which is to say, sh is stripping them when referring to the command line params as $@.
I confirmed by manually typing the entire java command, with the quotes, and it ran fine.
An obvious workaround is to rename the dvr and remove the space... but this is the default naming and the startup script should do it right. The output file name may well include spaces as well, of course. For my application, another workaround will work: I can run the full java command directly.
I am barely shell-literate, so I can't suggest a fix to what seems like should be a simple problem (but from casual searching it seems that it isn't! -- my experiments with bash's ${@@q} were unsuccessful.).
Linux Mint 22, kmttg V2.9-l
The text was updated successfully, but these errors were encountered: