Listers don't work with *.ts files

Please report only one bug per message!

Moderators: Stefan2, white, sheep, Hacker

User avatar
petermad
Power Member
Power Member
Posts: 8406
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

Re: Listers don't work with *.ts files

Post by *petermad » 2019-05-01, 09:52 UTC

After:

Code: Select all

[ListerPlugins]
0=C:\totalcmd\Plugins\wlx\CudaLister\cudalister.wlx
Just add:

Code: Select all

0_detect="MULTIMEDIA"
Then it works for me.

EDIT
I now also testet cudalister with 32bit TC an here I don't need to add the 0_detect="MULTIMEDIA" line to make TC open .ts files - so there is a difference between the 32bit and the 64bit version of TC in this respect.

The same seemes to be the case with syn2 - I don't need a X_detect="MULTIMEDIA" line for the 32 bit version but I do in the 64bit version. to make it open .ts files when pressing F3.

Notice that a detect line like X_detect="EXT="TS"" does not work either for CudaLister and syn2 in the 64bit version.
Last edited by petermad on 2019-05-01, 11:45 UTC, edited 1 time in total.
License #524 (1994)
Danish Total Commander Translator
TC 9.22a 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 (1903) 64bit, 'Everything' 1.4.1.935 (x64)
TC 3.0b5 on Android 6.0
Get: Extended Total Commander Menus | PHSM-Calendar

User avatar
DrShark
Power Member
Power Member
Posts: 1264
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262

Re: Listers don't work with *.ts files

Post by *DrShark » 2019-05-01, 11:44 UTC

I can confirm the problem on Windows 7 32-bit (test cases same as on Vista, with additional one where 0_detect="EXT="TS"" defined for CudaLister, and which works as expected on Vista 32-bit but not on Win7 32-bit)

It's strange that telling TC to use CudaLister via command line makes it use CudaLister for *.ts files on Win7, the button:

Code: Select all

TOTALCMD#BAR#DATA
%commander_exe% /I=%commander_path%\_CudaLister.ini /O /S=L:T4PCudaLister
"%P%N"
%commander_exe%,24



-1
where %commander_path%\_CudaLister.ini is a wincmd.ini file where CudaLister is installed.
The /I=<ini_path> parameter must be set if parent TC process started with /I=<ini_path> parameter where <ini_path> is different from normal wincmd.ini location (main ini), and in main ini CudaLister plugin is not installed (it seems for some reason %commander_exe% started with /O parameter doesn't re-use ini file of parent totalcmd.exe process if that process ini set by /I parameter)
petermad wrote:
2019-05-01, 09:52 UTC
After:

Code: Select all

[ListerPlugins]
0=C:\totalcmd\Plugins\wlx\CudaLister\cudalister.wlx
Just add:

Code: Select all

0_detect="MULTIMEDIA"
Then it works for me.
It is not good workaround for a case where user wants to use a plugin only for *.ts files (0_detect="EXT="TS""). Above workaround with totalcmd.exe started with command line parameter telling to use CudaLister is better (it's possible to use it not only in a button, but also as an Alternative viewer (Alt+F3) or Internal association by replacing "%P%N" with "%1")
Last edited by DrShark on 2019-05-01, 12:02 UTC, edited 3 times in total.
Android 4.3.1 no root, kernel 08.09.2016; Vista Home Premium SP2 rus 32 bit
TC #149847 Personal licence

Cuz we're all in this together, We're here to make it right

User avatar
petermad
Power Member
Power Member
Posts: 8406
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

Re: Listers don't work with *.ts files

Post by *petermad » 2019-05-01, 11:48 UTC

It is not good workaround for a case where user wants to use a plugin only for *.ts files (0_detect="EXT="TS")
In that case just use:

Code: Select all

0_detect="MULTIMEDIA & EXT="TS""
License #524 (1994)
Danish Total Commander Translator
TC 9.22a 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 (1903) 64bit, 'Everything' 1.4.1.935 (x64)
TC 3.0b5 on Android 6.0
Get: Extended Total Commander Menus | PHSM-Calendar

User avatar
Horst.Epp
Power Member
Power Member
Posts: 3356
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Listers don't work with *.ts files

Post by *Horst.Epp » 2019-05-01, 12:18 UTC

petermad wrote:
2019-05-01, 09:52 UTC
After:

Code: Select all

[ListerPlugins]
0=C:\totalcmd\Plugins\wlx\CudaLister\cudalister.wlx
Just add:

Code: Select all

0_detect="MULTIMEDIA"
Then it works for me.

EDIT
I now also testet cudalister with 32bit TC an here I don't need to add the 0_detect="MULTIMEDIA" line to make TC open .ts files - so there is a difference between the 32bit and the 64bit version of TC in this respect.

The same seemes to be the case with syn2 - I don't need a X_detect="MULTIMEDIA" line for the 32 bit version but I do in the 64bit version. to make it open .ts files when pressing F3.

Notice that a detect line like X_detect="EXT="TS"" does not work either for CudaLister and syn2 in the 64bit version.
Thanks petermad, the 0_detect="MULTIMEDIA" is the solution.
It works in my combined x86/x64 TC installation and uses the TypeScript display of the actual CudaLister.
For me the problem was in both TC versions, not only in the x64 version (tested with fresh ini files).
But now all is fine :D
Windows 10 Home x64 May 2019 Update, Version 1903 (OS Build 18362.239)
Intel(R) Core(TM) i7-4770 CPU @ 3.40GH, 16GB RAM
TC 9.22a x64 and x86, Everything 1.4.1.947 (x64)

User avatar
Usher
Senior Member
Senior Member
Posts: 402
Joined: 2011-03-11, 10:11 UTC

Re: Listers don't work with *.ts files

Post by *Usher » 2019-05-01, 13:31 UTC

2Horst.Epp
I suspect that in your Windows *.ts is registered systemwide as a multimedia file. It might be done by some multimedia player/viewer/manager (f.e. ACDSee) which added shell extension (and its class) or registered some multimedia classes and codecs and associated ts with them. Whatever it was it has higher priority than legacy association with file extension and it probably may register ts systemwide as available for legacy MCI subsystem.

That way TC now probably always tries to play *.ts as registered multimedia type. See how it works with some picture (jpg, gif, png) when you change its extension to avi: with default settings TC tries to play the file with MCI (like wav etc.) and when it fails, the file is passed back to display in binary view with Lister. In such cases the file is NEVER passed to further analysis in Lister, f.e to pass it to Lister plugin - so it's not a bug, it's a missing feature.

You can do one more test: Turn off "Multimedia" check in Lister configuration and see how it works without multimedia autodetection.
Regards from Poland
Andrzej P. Wozniak

User avatar
DrShark
Power Member
Power Member
Posts: 1264
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262

Re: Listers don't work with *.ts files

Post by *DrShark » 2019-05-01, 14:49 UTC

Usher wrote:
2019-05-01, 13:31 UTC
one more test: Turn off "Multimedia" check in Lister configuration and see how it works without multimedia autodetection.
I tried that on Windows 7 32-bit where TC fails to load CudaLister for *.ts, and TC still opens the file as text. Pressing 4 (force plugin/multimedia) makes Lister to show MCI player control briefly and then Lister loads the file as a text.
Android 4.3.1 no root, kernel 08.09.2016; Vista Home Premium SP2 rus 32 bit
TC #149847 Personal licence

Cuz we're all in this together, We're here to make it right

User avatar
Horst.Epp
Power Member
Power Member
Posts: 3356
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Listers don't work with *.ts files

Post by *Horst.Epp » 2019-05-01, 15:21 UTC

Usher wrote:
2019-05-01, 13:31 UTC
2Horst.Epp
...
- so it's not a bug, it's a missing feature.
...
I agree that it is a missing feature.
I would like to have more control over Lister and its plugins.
I have installed the freeware version of Universal Viewer for Alt-F3 and added the same plugins to it.
There are no such problems with .ts and CudaLister.
Windows 10 Home x64 May 2019 Update, Version 1903 (OS Build 18362.239)
Intel(R) Core(TM) i7-4770 CPU @ 3.40GH, 16GB RAM
TC 9.22a x64 and x86, Everything 1.4.1.947 (x64)

User avatar
Usher
Senior Member
Senior Member
Posts: 402
Joined: 2011-03-11, 10:11 UTC

Re: Listers don't work with *.ts files

Post by *Usher » 2019-05-01, 19:58 UTC

DrShark wrote:
2019-05-01, 14:49 UTC
I tried that on Windows 7 32-bit where TC fails to load CudaLister for *.ts, and TC still opens the file as text. Pressing 4 (force plugin/multimedia) makes Lister to show MCI player control briefly and then Lister loads the file as a text.
So ts on that system is definitely registered as multimedia type. Can you check what multimedia players/viewers are installed there? Or maybe you can right click ts file in Windows Explorer to see what multimedia shell extensions are in the context menu and what programs are present in "Open with…" submenu?
Some programs are really annoying. Did I mention ACDSee?
Regards from Poland
Andrzej P. Wozniak

User avatar
petermad
Power Member
Power Member
Posts: 8406
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

Re: Listers don't work with *.ts files

Post by *petermad » 2019-05-01, 20:37 UTC

FYI - .ts is registered as "MPEG-2 TS-video" and assigned to Windows Media Player on my system - an still I can open .ts files in CudaLister as long as I set a X_detect="MULTIMEDIA" line for CudaLister in wincmd.ini
License #524 (1994)
Danish Total Commander Translator
TC 9.22a 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 (1903) 64bit, 'Everything' 1.4.1.935 (x64)
TC 3.0b5 on Android 6.0
Get: Extended Total Commander Menus | PHSM-Calendar

User avatar
DrShark
Power Member
Power Member
Posts: 1264
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262

Re: Listers don't work with *.ts files

Post by *DrShark » 2019-05-02, 00:27 UTC

Usher wrote:
2019-05-01, 19:58 UTC
So ts on that system is definitely registered as multimedia type. Can you check what multimedia players/viewers are installed there?
For me *.ts registered on Win7 the same as on petermad's. But I don't think there's much sense of looking into this direction before Christian Ghisler will tell whether he can reproduce it and what actually happens.
Android 4.3.1 no root, kernel 08.09.2016; Vista Home Premium SP2 rus 32 bit
TC #149847 Personal licence

Cuz we're all in this together, We're here to make it right

User avatar
Horst.Epp
Power Member
Power Member
Posts: 3356
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Listers don't work with *.ts files

Post by *Horst.Epp » 2019-05-02, 08:20 UTC

DrShark wrote:
2019-05-02, 00:27 UTC
Usher wrote:
2019-05-01, 19:58 UTC
So ts on that system is definitely registered as multimedia type. Can you check what multimedia players/viewers are installed there?
For me *.ts registered on Win7 the same as on petermad's. But I don't think there's much sense of looking into this direction before Christian Ghisler will tell whether he can reproduce it and what actually happens.
For me its video/vnd.dlna.mpeg-tts
So lets wait for any info from Christian.
Windows 10 Home x64 May 2019 Update, Version 1903 (OS Build 18362.239)
Intel(R) Core(TM) i7-4770 CPU @ 3.40GH, 16GB RAM
TC 9.22a x64 and x86, Everything 1.4.1.947 (x64)

Post Reply