epub viewer

Discussion, questions and support.
Message
Author
Marek
Author
Author
Posts: 3973
Joined: 10.04.2006, 09:48
Location: Germany
Contact:

Re: epub viewer

#31 Post by Marek » 23.12.2021, 19:24

If FC is compatible with the plugin standard the following ULister detect string may also of help:
EXT!="EPUB" | EXT!="PDF"
It negates the usage for EPUB and PDF.
It was till now not implemented.
Now I have implemented it for the next release.

Cover preview with F3 and Ctrl+Q is implemented too.

Raindrops
Posts: 48
Joined: 20.12.2021, 08:36

Re: epub viewer

#32 Post by Raindrops » 23.12.2021, 19:58

That's great news!

How soon would that appear in the public version?

Marek
Author
Author
Posts: 3973
Joined: 10.04.2006, 09:48
Location: Germany
Contact:

Re: epub viewer

#33 Post by Marek » 23.12.2021, 19:59

The next public version: December 2022.

Raindrops
Posts: 48
Joined: 20.12.2021, 08:36

Re: epub viewer

#34 Post by Raindrops » 24.12.2021, 04:21

horst.epp wrote: 23.12.2021, 15:27 I mean the buttons above your QV windows.
The 2nd button from the right changes to plugin view or the used plugin.
I do not see a toolbar just above the QV header. (bug?)
I checked the settings for Viewer, but AFAIK there is no control to switch the toolbar off/on.
How do you activate that toolbar?

*****
BTW You posted a screenshot on 21st, in which there are several other plugins.
Most of the files can be previewed with Oracle Viewer Technology.
So only the preview of media files (audio+video) is left now.
So I guess mmedia is the only plugin we need to complete the range of all commonly used file types.
I found mmedia here.
But the instructions provided in its own Readme are not meant for FC.
Kindly share some tips on how to install and configure this in FC.

For example, the wlx_mmedia262u.zip file contains four registry files (*.reg).
Are they to be used or ignored?

Thanks in advance!
*****
[Update]

The main zip file contains four zips:
1. 32-bit with dll files
2. 32-bit without dll files
3. 64-bit with dll files
4. 64-bit without dll files

I tried all four options (one by one), but none of them work.
1. QV uses uLister instead of mmedia (as shown in its header).
If I hover the mouse on QV and press ALT+SHFT+P, the plugin does not change.
2. QV shows one of these two errors in its "canvas" area:
"Rendering of this format is not supported." OR A viewer for this format is not currently available."
(I saw both types of errors for mp4)

If I disable (uncheck) the mmedia entry in the plugins window, the QV returns to plain vanilla state.
But it does not use mmedia plugin at all.

I tried to add EXT="MP4" | EXT="MP3" | EXT="MKV" in the Detect string field, but it had no effect.

Just to cross-check, I followed these steps:
1. I chose #4 (as recommended by the author).
2. The zip has only two files. I unzipped them into a folder.
3. Added a plugin entry and pointed to mmedia.wlx64 file.
This entry rests below the uLister entry.
4. AFAIK there is no further editing needed
(either in the ini file or in Detected string field.)

Marek
Author
Author
Posts: 3973
Joined: 10.04.2006, 09:48
Location: Germany
Contact:

Re: epub viewer

#35 Post by Marek » 24.12.2021, 11:08

I do not see a toolbar just above the QV header. (bug?)
I checked the settings for Viewer, but AFAIK there is no control to switch the toolbar off/on.
How do you activate that toolbar?
Yes, there really doesn't seem to be a way to get the toolbar back now.
As workaround:
- open the freecommander.ini (FC must be closed)
- find the section [TfcViewerFrameToolbars_ViewerStandard]
- change the line with "Visible" to "Visible=1"
- save the changes
- start FC

Additional the setting option "Hide toolbar in quick viewer" must be unchecked.

horst.epp
Posts: 460
Joined: 15.11.2008, 20:18

Re: epub viewer

#36 Post by horst.epp » 24.12.2021, 11:24

Marek wrote: 23.12.2021, 19:24
If FC is compatible with the plugin standard the following ULister detect string may also of help:
EXT!="EPUB" | EXT!="PDF"
It negates the usage for EPUB and PDF.
It was till now not implemented.
Now I have implemented it for the next release.

Cover preview with F3 and Ctrl+Q is implemented too.
Thanks that may help.
But there is a problem in the current logic !
If a plugin higher in the list has a detect string for a certain extension
a lower plugin in the list should never be started with that extension.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3296)
Everything Version 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.67
FreeCommander XE 2024 Build 905 64-bit donor

horst.epp
Posts: 460
Joined: 15.11.2008, 20:18

Re: epub viewer

#37 Post by horst.epp » 24.12.2021, 11:33

Raindrops wrote: 24.12.2021, 04:21
I never used the mmedia plugin.
In older Total Commander there was support from TC itself using the Windows media player.
I the current TC version there is an excellent media player which uses LAV codecs to play almost anything.

But as a general rule, in your 32bit FC you can only use 32bit plugins.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3296)
Everything Version 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.67
FreeCommander XE 2024 Build 905 64-bit donor

Raindrops
Posts: 48
Joined: 20.12.2021, 08:36

Re: epub viewer

#38 Post by Raindrops » 24.12.2021, 12:00

horst.epp wrote: 24.12.2021, 11:33I never used the mmedia plugin.
In older Total Commander there was support from TC itself using the Windows media player.
I the current TC version there is an excellent media player which uses LAV codecs to play almost anything.
Oh ok. I was hoping that this plugin gives us more controls.
(The default QV gives basic play controls and timeline.)

I removed mmedia from the plugin list.
But now when I focus on a video/audio file, QV still shows an error; and uLister is active.
So question is, how do I negate uLister in case of all media files, and let QV show it natively?

horst.epp
Posts: 460
Joined: 15.11.2008, 20:18

Re: epub viewer

#39 Post by horst.epp » 24.12.2021, 12:13

Raindrops wrote: 24.12.2021, 12:00 ...
But now when I focus on a video/audio file, QV still shows an error; and uLister is active.
So question is, how do I negate uLister in case of all media files, and let QV show it natively?
This doesn't happen in my x64 FC.
Multimedia files are played in QV.
ULister is never used for this formats.
But I found that I have mmedia plugin in FC.
Attachments
Screenshot - 24.12.2021 , 12_17_55.png
Windows 11 Home x64 Version 23H2 (OS Build 22631.3296)
Everything Version 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.67
FreeCommander XE 2024 Build 905 64-bit donor

horst.epp
Posts: 460
Joined: 15.11.2008, 20:18

Re: epub viewer

#40 Post by horst.epp » 24.12.2021, 13:53

Here my mmedia plugin version which runs in FC.
There is a 32bit and the x64 version, you have to use the 32bit wlx.
Don't use any of the reg files !

Please note, that you need the LAV filters for it to work.
On my system this is done by installing the K-Lite Codec Standard Pack.
https://www.codecguide.com/download_k-l ... andard.htm
If you don't want or need the Media Player Classic Home Cinema (which I like)
you can also install only the K-Lite Codec Basic Pack.
https://www.codecguide.com/download_k-l ... _basic.htm
Attachments
mmedia.zip
(4.49 MiB) Downloaded 270 times
Windows 11 Home x64 Version 23H2 (OS Build 22631.3296)
Everything Version 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.67
FreeCommander XE 2024 Build 905 64-bit donor

Raindrops
Posts: 48
Joined: 20.12.2021, 08:36

Re: epub viewer

#41 Post by Raindrops » 24.12.2021, 17:58

horst.epp wrote: 24.12.2021, 12:13 But I found that I have mmedia plugin in FC.
Yes, of course! :D
In fact, I came to know about mmedia thanks to your screenshot only!

I have used the k-lite codec mega pack for years, and I use the "install everything" option.
I also keep it updated.
So I am surprised that the mmedia plugin didn't work.
After all, I did try out all four versions very systematically, one at a time (32-bit and 64-bit; with/without DLLs).
So one of them should have worked, IMHO!

I just extracted the 32-bit version w/o dll in a new folder and added a plugin entry in FC that points to the file named "mmedia.uwlx".

And most important of all, I made sure that uLister is below mmedia in the plugins list.

So all conditions are met.

And yet I am facing five distinct problems:
1. uLister hijacks the video/audio files. (I can tell this because the header bar of QV shows "uLister" at right.)
2. Even if I disable sLister and uLister (by unchecking the checkboxes), mmedia does not take over.
3. If I hover the mouse on QV and press ALT+SHFT+P (or use the context menu), I am unable to switch to mmedia.
uLister never gives up.
4. If I disable all plugins (sLister, mmedia, uLister), QV reverts to the native media player. This is expected.
But in case of pdf files, QV does not revert to Foxit pdfreader, which was invoked in QV earlier.
The QV remains blank, but there are no errors. (When I install Foxit pdfReader, it is used in QV automatically.).
In other words, uLister displaces Foxit pdfReader permanently.
5. If I enable just the uLister, it again hogs QV, and shows error!
>>>>mp3 file produce "Rendering of this format is not supported." error.
>>>>mp4/mkv files produce "A viewer for this format is not currently available" error.
(I just checked: Oracle Viewer Technology supports only metadata reading for media files; not full support.)

BTW I also noticed that the Detected strings field has "multimedia" in both sLister and mmedia; and mmedia is below sLister in my plugin list.
So logically sLister should take over all multimedia, right?
Then why is uLister hijacking multimedia files, despite being listed at the bottom of the list??

horst.epp
Posts: 460
Joined: 15.11.2008, 20:18

Re: epub viewer

#42 Post by horst.epp » 24.12.2021, 18:45

Multimedia should not be in your Detect strings.
Don't use the *.uwlx files, try the wlx from my archive.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3296)
Everything Version 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.67
FreeCommander XE 2024 Build 905 64-bit donor

Raindrops
Posts: 48
Joined: 20.12.2021, 08:36

Re: epub viewer

#43 Post by Raindrops » 24.12.2021, 19:51

horst.epp wrote: 24.12.2021, 18:45 Multimedia should not be in your Detect strings.
Don't use the *.uwlx files, try the wlx from my archive.
Need some clarity on this: The keywords "multimedia&" and "multimedia" were there by default in sLister and mmedia respectively.
I did not add this keyword.
So should I remove "multimedia&" from sLister?
And even after doing that, why does uLister hijack the media files despite being #3 in the plugin list?

Thanks for sharing the archive.
However, is this archive from a trustworthy (official) source?
Sorry for sounding a little skeptical, but I am not sure if the plugins made by third parties are as safe as the base software is.

horst.epp
Posts: 460
Joined: 15.11.2008, 20:18

Re: epub viewer

#44 Post by horst.epp » 24.12.2021, 20:04

Your Detect strings should not contain Multimedia as I said.
That are just a default entries.

The files in the archive are used by many TC users over the years and they are clean of course.
Its simple to check them by Virus Total.
https://www.virustotal.com/gui/home/upload

The priority in the plugin list is unfortunately not correctly obeyed by FC.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3296)
Everything Version 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.67
FreeCommander XE 2024 Build 905 64-bit donor

Raindrops
Posts: 48
Joined: 20.12.2021, 08:36

Re: epub viewer

#45 Post by Raindrops » 26.12.2021, 04:45

horst.epp wrote: 24.12.2021, 20:04 Your Detect strings should not contain Multimedia as I said.
That are just a default entries.
I conducted some more experiments, and here are the results:
1. The settings in Multimedia tab also matter. There is a section called Media in it. It has a drop-down menu called "Media". Its default was "Windows media player 9.0". I changed to "VLC player". The QV interface changed. Now I have many more controls inside the QV frame (which I wanted.)
2. If I launch QV while focusing on a mp4 file, QV invokes uLister (see the second comment below), and shows the error "rendering of this format is not supported".
If I right-click on the header of QV, I can see that QV does not treat the file as any of the listed types. (The Image/Multimedia option is NOT pre-selected.) [BUG]
But if I manually select the Image/Multimedia option (or press SHFT+ALT+M), QV starts showing the mp4 correctly.
So the question is, why doesn't FC detect the file as a media file, and invoke a media player? (At the time of my writing, my current order of plugins is "mmedia, sLister, uLister"; and I haven't yet deleted the "multimedia&" part from the Detect string field of sLister. (But then sLister is in the middle of the list and it is not selected by QV. So logically speaking, its setting should not matter at all.)
3. According to the specs of uLister, it is supposed to show only the metadata of mp4, rather than playing it. But QV does not show the metadata: It shows error as described above. [BUG]
4. I removed "MULTIMEDIA&" and parenthesis from the Detect strings field of sLister. Then I placed mmedia plugin at the top of the list. uLister still highjacks the media files in QV.
5. I unselected the sLister and uLister in the plugins list. Only the mmedia plugin was active. In this condition, QV cannot show any other file, but is shows mp4 files correctly.
So I conclude that uLister interferes with the other two plugins. [BUG]
The priority in the plugin list is unfortunately not correctly obeyed by FC.
Yes, this is confusing: Does FC treat the upper plugin with higher priority, or does each lower plugin overwrite the settings of the upper plugins?
I tried the plugins in different order, but haven't found a clear pattern. In fact, uLister dominates regardless of its position in the plugin list. [BUG]
@Marek can you please help?

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 32 guests