mediainfo_alt WDX - Compiling and Updates #47
Replies: 5 comments 3 replies
-
If interested here is the update list I mentioned I would provide
1.) The 2.) Although find and replace worked with replacing all 4 instances of 3.) Determine if there is any reason for 4.) Being that mp3 is a popular format, would add 5.) I would update the name of the plugin itself :) remove the 6.) Again so far this is great, I would add this into the official collection found on this site. 7.) Not used to compiling WDX plugins I at first totally forgot that '-dev' package was needed for compiling. I still have to test plugin more but I think these items will allow this plugin to be added into official plugin collection available on this site, which I think it should be considered to be added. Again this list is meant to be helpful, hopefully it is. |
Beta Was this translation helpful? Give feedback.
-
Okay, wasn't expecting that, thank you. I made a separate post but I will link it here because the two posts have to do with same general |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
@j2969719 This archive you provided did not have a typical compiling structure, it appears more like it is for adding right to DC source code before compiling, so that is what I did. Did I not do this correctly? |
Beta Was this translation helpful? Give feedback.
-
@j2969719 Also thank you to Skif and (you mentioned) Alex and any other developers who worked on the original plugin which provided coding for this plugin version. All of these MediaInfo plugins are very useful. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
This post is based on the following WDX plugin
mediainfo_crap.tar.gz
Thank you for creating this.
COMPILING
Debian based distro / GTK based DE
DC 1.2.0 alpha QT5.15.8 Standalone Version
Revision 11938 / Commit 8fd3f8780
Lazarus 3.6.0.0 / Free Pascal 3.2.2
When trying to compile the following errors were generated
I decided to see what would happen if I did a find & replace of all 4 instances of
strlcpy
withstrncpy
Recompiling this again after generated no messages/errors.
This generates an executable file in the
mediainfo_crap
folder which is expected behavior.However instead of the file having a
.wdx
extension, it uses the parent folders name as the extensionLocation
~/Documents/<this-folder-name>/mediainfo_crap/src/
Filename
mediainfo_crap.<name-of-parent-folder>
I had this happen in past with WLX plugin compiles, cannot remember what fixed this naming from happening?
I renamed file to
mediainfo_crap.wdx
I linked this WDX plugin in DC
Options - Plugins - WDX
I tested this plugin out using
Options - Columns - Custom Columns
First MIME type I tested this out with was
mp3
All columns showed up empty so I thought the compile was unsuccessful but then realized there was no MPV in "detect string"
Retested and this plugin works!
Similar/maybe slightly faster then the LuaJIT version as far as speed.
Hopefully viewed as being helpful, I created a list of things that I came across (mainly things I just mentioned above) that hopefully helps you when updating.
I will put list in reply after this post.
Okay so this solves the issue of not being able to use DC QT5 + LuaJIT library + mpv_alt WLX plugin.
Thank you again for creating this, I really appreciate it.
Beta Was this translation helpful? Give feedback.
All reactions