[WLX] Total DICOM Lister - A lister plugin for DICOM files

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
CaptainStark
Junior Member
Junior Member
Posts: 5
Joined: 2015-05-07, 10:02 UTC
Contact:

[WLX] Total DICOM Lister - A lister plugin for DICOM files

Post by *CaptainStark »

Just want to announce the release of a new TC Lister Plugin - Total DICOM Lister.

TotalDcmLister is a Lister Plugin (wlx) for the Total Commander, a file manager for Windows®.
It allows to display metadata of DICOM files in the Lister or the QuickView window of Total Commander and will be enabled for file extension .dcm/.DCM.

Release 1.0.0 is the initial release with very basic DICOM attribute support
- Displays SOP Class Name and UID, SOP Instance UID
- Displays Patient's Name and ID
- Displays Manufacturer, Model Name and Software Version

TotalDcmLister can be downloaded from http://totaldcmlister.codeplex.com

TotalDcmLister is released under MIT License.
Source is available from http://totaldcmlister.codeplex.com

Best regards,
Captain Stark
      PS: DICOM sample files can be found here:
      http://www.osirix-viewer.com/datasets/
      http://www.barre.nom.fr/medical/samples/
      Last edited by CaptainStark on 2015-05-08, 13:31 UTC, edited 3 times in total.
      Author of TotalDcmLister Plugin
      http://totaldcmlister.codeplex.com
      User avatar
      ghisler(Author)
      Site Admin
      Site Admin
      Posts: 48077
      Joined: 2003-02-04, 09:46 UTC
      Location: Switzerland
      Contact:

      Post by *ghisler(Author) »

      Thanks for writing a Lister plugin! It would be nice if you could provide a small sample file with the plugin.
      Author of Total Commander
      https://www.ghisler.com
      CaptainStark
      Junior Member
      Junior Member
      Posts: 5
      Joined: 2015-05-07, 10:02 UTC
      Contact:

      Post by *CaptainStark »

      ghisler(Author) wrote:Thanks for writing a Lister plugin! It would be nice if you could provide a small sample file with the plugin.
      DICOM files can be found everywhere in the web but I will attach samples once I'm able to post the download links here.
      Author of TotalDcmLister Plugin
      http://totaldcmlister.codeplex.com
      CaptainStark
      Junior Member
      Junior Member
      Posts: 5
      Joined: 2015-05-07, 10:02 UTC
      Contact:

      New release 2.2.0

      Post by *CaptainStark »

      I want to announce the release of version 2.0.0 for Total DICOM Lister.

      It's a major update for Total DICOM Lister providing now a fully configurable set of DICOM attributes to be listed. So the user is completly free in defining his/her favorite list of DICOM attributes to be displayed in the Lister or Quick View window. Configuration does also support grouping of attributes.

      These are the new main features:
      - user is free to define his/her preferred set of DICOM attributes
      - plugin stores it's settings to Total Commander's ini file location
      - provides an About box

      TotalDcmLister can be downloaded from http://totaldcmlister.codeplex.com

      TotalDcmLister is released under MIT License.
      Source is available from http://totaldcmlister.codeplex.com

      Best regards,
      Captain Stark
      Author of TotalDcmLister Plugin
      http://totaldcmlister.codeplex.com
      KevinMo
      Member
      Member
      Posts: 104
      Joined: 2005-03-27, 01:37 UTC

      Post by *KevinMo »

      Thanks for contributing the plugin! This can be quite useful.

      Unfortunately I can't get it to work. It doesn't seen to load at all. DCM files still open in default lister.

      Things I've double checked:
      • *I am using 32bit TC.
        *It's not lister priority (as it is the top one, seen below)
        *It's not file extension, c:\test.dcm still does not load
      Maybe I'm missing something obvious?

      Thanks in advance
      [ListerPlugins]
      0=%COMMANDER_PATH%\Plugins\wlx\TotalDcmLister\TotalDcmLister.wlx
      0_detect="EXT=DCM"
      CaptainStark
      Junior Member
      Junior Member
      Posts: 5
      Joined: 2015-05-07, 10:02 UTC
      Contact:

      Post by *CaptainStark »

      Thanks for trying the plugin. I'm sorry to hear it does not run as expected. From what you posted here, your installation seems to be allright. There's nothing more to do than installing the plugin and the wincmd.ini snippet looks good.
      Even if your DICOM file is corrupt the plugin should load with showing lot's of "n/a".

      Did the plugin already create a default settings file? This should be found right beside the wincmd.ini. In most cases this at
      c:\Users\<username>\AppData\Roaming\GHISLER\TotalDcmListerPlugin.settings.xml

      I'll look into this in the next days and will try to add some logging features.

      Sorry for inconvenience.

      Captain Stark
      Author of TotalDcmLister Plugin
      http://totaldcmlister.codeplex.com
      KevinMo
      Member
      Member
      Posts: 104
      Joined: 2005-03-27, 01:37 UTC

      Post by *KevinMo »

      I've got it to work by changing the detection string (see below). I have no idea why, but I see some of the other plugins are configured like this.

      You are very welcome and thank you very much for your contribution
      [ListerPlugins]
      0=%COMMANDER_PATH%\Plugins\wlx\TotalDcmLister\TotalDcmLister.wlx
      0_detect="MULTIMEDIA & ext="DCM""
      CaptainStark
      Junior Member
      Junior Member
      Posts: 5
      Joined: 2015-05-07, 10:02 UTC
      Contact:

      Post by *CaptainStark »

      This is odd. The keyword MULTIMEDIA in the detect string does only make sense for file types TC has an internal viewing capability for (e.g. audio files). It forces TC to use the plugin instead of the internal viewer for that file type.

      TC documentation says:
      If MULTIMEDIA is present in the string, this plugin overrides internal multimedia viewers in TC. If not, the internal viewers are used. Check the example below!

      MULTIMEDIA & (EXT="WAV" | EXT="MP3") Replace the internal player for WAV and MP3 files (which normally uses Windows Media Player as a plugin). Requires TC 6.0 or later!

      So it seems like your TC installation believes to be able to load *.dcm files with internal viewer.

      Hope this helps.

      Best regards,
      Captain Stark
      Author of TotalDcmLister Plugin
      http://totaldcmlister.codeplex.com
      KevinMo
      Member
      Member
      Posts: 104
      Joined: 2005-03-27, 01:37 UTC

      Post by *KevinMo »

      Yes. I'm not particularly familiar with the internals of this matter either.
      The one triggered me to try this is the sqlite plugin (highlighted below).
      Maybe it's just a workaround to make sure it will be loaded by the plugin.
      [ListerPlugins]
      0=%COMMANDER_PATH%\Plugins\wlx\TotalDcmLister\TotalDcmLister.wlx
      0_detect="MULTIMEDIA & ext="DCM""
      1=%COMMANDER_PATH%\Plugins\wlx\ICLView\ICLView.wlx
      1_detect="MULTIMEDIA & ext="ICL" | ext="ICO" | force"
      2=%COMMANDER_PATH%\Plugins\wlx\IniEd\IniEd.wlx
      2_detect="ext="INI"|ext="INF"|ext="REG""
      3=%COMMANDER_PATH%\Plugins\wlx\VisualDirSize\visualdirsize.wlx
      4=%COMMANDER_PATH%\Plugins\wlx\FileInfo\fileinfo.wlx
      5=%COMMANDER_PATH%\Plugins\wlx\SGViewer\SGViewer.wlx
      5_detect="MULTIMEDIA & ext="BMP"|ext="JPG"|ext="JPE"|ext="JPEG"|ext="PNG"|ext="GIF"|ext="TIF"|ext="TIFF"|ext="PSD"|ext="TGA"|ext="PCX"|ext="PCD"|ext="PSP"|ext="WMF"|ext="EMF""
      6=%COMMANDER_PATH%\Plugins\wlx\ulister\ulister.wlx
      7=%COMMANDER_PATH%\Plugins\wlx\SQLiteViewer\SQLiteViewer.wlx
      7_detect="MULTIMEDIA & ext="DB" | ext="DB3" | ext="SQLITE""
      AMITKR
      Junior Member
      Junior Member
      Posts: 2
      Joined: 2015-07-03, 13:46 UTC

      DICOM-Lister Plugin (TotalDcmLister 2.0.0) do not work

      Post by *AMITKR »

      Hi Captain Stark,

      I'ved reinstalled that Tool, but still I can not view DICOM-Header's.
      I'ved looked for the Settings, but there is no settings-File created.
      I'ved looked for a sample Settingsfile, but there is none.
      While running this Tool in the Lister of TC to view DICOM-Header quikly ther is done nothing.

      OS: Win 8, TC Vers. 8.5.1 W.32
      Plugin: TotalDcmLister 2.0.0

      .\WinCmd.ini:
      [ListerPlugins]
      0=C:\totalcmd\plugins\wlx\TotalDcmLister\TotalDcmLister.wlx
      0_detect="EXT=DCM"

      I can not edit any settings, because I's impossible to run the DICOM-Tag-Viewer.
      A settings-xml-file isn't be created.

      Do you have any Idea what's the reason?

      Thank you for reply.
      AMITKR


      CaptainStark wrote:This is odd. The keyword MULTIMEDIA in the detect string does only make sense for file types TC has an internal viewing capability for (e.g. audio files). It forces TC to use the plugin instead of the internal viewer for that file type.

      TC documentation says:
      If MULTIMEDIA is present in the string, this plugin overrides internal multimedia viewers in TC. If not, the internal viewers are used. Check the example below!

      MULTIMEDIA & (EXT="WAV" | EXT="MP3") Replace the internal player for WAV and MP3 files (which normally uses Windows Media Player as a plugin). Requires TC 6.0 or later!

      So it seems like your TC installation believes to be able to load *.dcm files with internal viewer.

      Hope this helps.

      Best regards,
      Captain Stark
      User avatar
      XPEHOPE3KA
      Power Member
      Power Member
      Posts: 854
      Joined: 2006-03-03, 18:23 UTC
      Location: Saint-Petersburg, Russia

      Post by *XPEHOPE3KA »

      CaptainStark
      I'm getting the following exception on every DICOM I have:

      Code: Select all

      ---------------------------
      error
      ---------------------------
      Crash in plugin TotalDcmLister.wlx:ListLoad:
      
      External exception E06D7363
      ---------------------------
      OK   Cancel   
      ---------------------------
      My DICOMs open up fine in Imagine plugin and in other software.

      The problem seems to be due to Russian symbols in paths to the files viewed.
      F6, Enter, Tab, F6, Enter, Tab, F6, Enter, Tab... - I like to move IT, move IT!..
      AMITKR
      Junior Member
      Junior Member
      Posts: 2
      Joined: 2015-07-03, 13:46 UTC

      Re: DICOM-Lister Plugin (TotalDcmLister 2.0.0) do not work

      Post by *AMITKR »

      AMITKR wrote:Hi Captain Stark,

      I'ved reinstalled that Tool, but still I can not view DICOM-Header's.
      I'ved looked for the Settings, but there is no settings-File created.
      I'ved looked for a sample Settingsfile, but there is none.
      While running this Tool in the Lister of TC to view DICOM-Header quikly ther is done nothing.

      OS: Win 8, TC Vers. 8.5.1 W.32
      Plugin: TotalDcmLister 2.0.0

      .\WinCmd.ini:
      [ListerPlugins]
      0=C:\totalcmd\plugins\wlx\TotalDcmLister\TotalDcmLister.wlx
      0_detect="EXT=DCM"

      I can not edit any settings, because I's impossible to run the DICOM-Tag-Viewer.
      A settings-xml-file isn't be created.

      Do you have any Idea what's the reason?

      Thank you for reply.
      AMITKR


      CaptainStark wrote:This is odd. The keyword MULTIMEDIA in the detect string does only make sense for file types TC has an internal viewing capability for (e.g. audio files). It forces TC to use the plugin instead of the internal viewer for that file type.

      TC documentation says:
      If MULTIMEDIA is present in the string, this plugin overrides internal multimedia viewers in TC. If not, the internal viewers are used. Check the example below!

      MULTIMEDIA & (EXT="WAV" | EXT="MP3") Replace the internal player for WAV and MP3 files (which normally uses Windows Media Player as a plugin). Requires TC 6.0 or later!

      So it seems like your TC installation believes to be able to load *.dcm files with internal viewer.

      Hope this helps.

      Best regards,
      Captain Stark
      AMITKR wrote:Hi Captain Stark,
      Thanks for reply, now it works fine.
      The reason was the missing PARAMETER "MULTIMEDIA & "

      Kind regards,
      AMITKR
      janvansantvoort
      New Member
      New Member
      Posts: 1
      Joined: 2015-10-29, 15:26 UTC

      64/32 bit

      Post by *janvansantvoort »

      Dear CaptainStark,

      It would be very nice if I could view DICOM attributes and images from within TotalCommander, so your plugin is greatly appreciated.
      However, when I tried to install it, I got a message that I was trying to install a 32-bit version for a 64-bit version of TotalCommander.
      Do you also have a 64-bit version of the plugin available?
      Thanks in advance,

      Jan
      User avatar
      ghisler(Author)
      Site Admin
      Site Admin
      Posts: 48077
      Joined: 2003-02-04, 09:46 UTC
      Location: Switzerland
      Contact:

      Post by *ghisler(Author) »

      Since this is a Lister plugin, you can install the combined 32+64-bit version of Total Commander to get the 32-bit Lister.

      Then install the plugin in that. To use 32-bit Lister from 64-bit Total Commander, you can configure it in Configuration - Options - Edit/View - Associations just for DCM files.

      The call would be:
      c:\totalcmd\totalcmd.exe /S=L "%1"

      Then you can use Alt+F3 to open 32-bit Lister for these files.
      Author of Total Commander
      https://www.ghisler.com
      Post Reply