On 2026-03-27 17:10, Paul wrote:
On Fri, 3/27/2026 8:30 AM, Carlos E.R. wrote:
On 2026-03-27 11:47, NY wrote:
On 23/03/2026 07:09, VanguardLH wrote:
...
Kodi has a problem of its own, that I can not call
kodi moviename with spaces.some
so I have to rename them in advance. All this in Linux, my Windows is a virtual machine, so I do not use it to play videos.
Did you try:
kodi "moviename with spaces.some"
Yes. Does not work.
as that would be a diagnostic test of the command
line parsing used by the application.
Notice (now), that when Linux lists items in the file
system, it actually surrounds such file names in
the proper syntax for users to copy. You would see
"moviename with spaces.some"
complete with the double quotes, and you could paste
that whole thing into Terminal to make
kodi "moviename with spaces.some"
and that would work with both parsing styles that
a programmer could use.
*******
On Windows, a few things work with the assumption there
is only one argument after the command. For those,
you can throw caution to the wind, as it treats everything
after the commandname as a literal. And even for those,
you can put double-quotes around the string. After a
while, double-quoting space-polluted strings becomes
second nature (even for a Windows user).
cd Program Files # Normally would be doomed, works... anyway
When I save files, like from a web browser, I use hyphens
as my space filler, for the reasons of the above. Now
Linux does not put double quotes around my item when I list.
moviename-with-spaces.some
And then
kodi moviename-with-spaces.some
should work fine and you can test that.
Sure, that would work. But I like names with spaces.
When This happens, I just create a symlink to the problematic file.
For test directories here, if I'm making a little program
or script, throwing examples into the directory with
a space is all part of testing. You can test a whole
lot of parsing issues, in one filename. This is one
reason I told Micky the other day, that "searching
the file system is hard", because you could run
into the Hungarian Website Folder and your tool
will stop dead there. Some folders on my disk,
are too good at their job (test). Some of the tools
we use on computers, still aren't ready for this.
French ‡ ?.txt
and I could have stored that as
French-Cedilla-ROTFLOL.txt
When I shared files, I would name my files like "ST: DS9". This would
play havoc on Windows :-p
--
Cheers, Carlos.
ES??, EU??;
--- PyGate Linux v1.5.13
* Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)