Error Getting Mediainfo
this site, you are agreeing to our use of cookies. Learn More. [no Bug] - Error getting MediaInfo informations using c# MediaWrapper functions Discussion in 'MediaPortal 1.1.0 RC 1 & 2' started by Micropolis, February 24, 2010. Thread Status: Not open for further replies. Team MediaPortal Micropolis Development Group Joined: July 22, 2009 Messages: 1,558 Gender: Male Occupation: Senior Consultant Location: Bavaria Ratings: +1,874 / 0 Home Country: Germany Show System Specs MediaPortal Version: 1.1.0.0 RC 1 (Build 25080) MediaPortal Skin: Blue3Wide Windows Version: Vista Service Pack 2 CPU Type: Intel Core 2 Duo HDD: Intel SSD 80 GByte, Samsung 750 GByte Memory: 4 GByte Motherboard: Asus P5QL-E Video Card: ATI Radeon 3650 Video Card Driver: 10.2 Sound Card: Realtek HD Sound Card AC3: Sound Card Driver: 2.41 1. TV Card: Hauppauge DVR-1110 1. TV Card Type: DVB-T 1. TV Card Driver: 1.40.1.2.27049 2. TV Card: 2. TV Card Type: 2. TV Card Driver: 3. TV Card: 3. TV Card Type: 3. TV Card Driver: 4. TV Card: 4. TV Card Type: 4. TV Card Driver: MPEG2 Video Codec: Microsoft MPEG2 Audio Codec: ffdshow h.264 Video Codec: Microsoft Satelite/CableTV Provider: HTPC Case: OrigenAE S16T Cooling: Power Supply: Remote: Logitech Harmony One / Logitech diNovo Mini TV: Samsung LE40R73BD / Marantz SR5004 / Marantz BD5004 TV - HTPC Connection: HDMI Hello, currently I'm working on a plugin to retrieve media informations about music and video files. If I call "g_Player.MediaInfo.IsMP3" the following exception occurs (extract from mediaportal.log): "2010-02-24 22:12:27.246576 [Info.][MPMain(1)]: Exception : System.MissingMethodException: Method not found: 'Boolean MediaPortal.Player.MediaInfoWrapper.get_IsMP3()'" Is this problem part of bug #2720/#2728? If you need more informations or help about the other wrapper functions (e.g. g_player.MediaInfo.IsWMV) I can check this also. Thx in advance and cheers, Mic
unified display of relevant technical and tag data for A/V files Brought to you by: guillaumeroques, zenitram Summary Files Reviews Support Discussion Tickets ▾ Bugs Feature Requests Support Requests Patches News Donate Code Mailing Lists Create Ticket View Stats Group Crash Incorrect_result Usability Searches Changes Closed Tickets Open Tickets Help Formatting Help #982 Python error under Fedora 23. Milestone: Incorrect_result Status: open http://forum.team-mediaportal.com/threads/error-getting-mediainfo-informations-using-c-mediawrapper-functions.78421/ Owner: nobody Labels: None Priority: 5 Updated: 2016-02-26 Created: 2016-02-26 Creator: Durotar Heights Private: No Now I'm getting a new problem, Fedora 23 python 3: import sys sys.path.append('/usr/include/MediaInfoDLL') from MediaInfoDLL3 import * MI = MediaInfo() Version=MI.Option_Static("Info_Version", "0.7.7.0;MediaInfoDLL_Example_Python;0.7.7.0") if Version=="": print("MediaInfo.Dll: this version of the DLL is not https://sourceforge.net/p/mediainfo/bugs/982/ compatible") exit print("") print("Open") MI.Open("Example.mp3") print("") print("Inform with Complete=false") MI.Option_Static("Complete") print(MI.Inform()) print("") gets this result: # ./example.py example.mkv Traceback (most recent call last): File "/tmp/example.py", line 103, in
the library Internet connection The version of the library Set the language of the library Create a new Handle Open one or multiple files Get information Get a https://mediaarea.net/en-us/MediaInfo/Support/SDK/Quick_Start pre-formated text Standart output Customize it Get a piece of information Release memory How to begin quickly with MediaInfo Example What you should do A quick example, explained line per line in the http://forum.kodi.tv/showthread.php?tid=211048 next chapters (note : with the DLL, and you must adapt it to your language): Init (only one time): MediaInfo::Options("Info_Version","**VERSION**;**APP_NAME**;**APP_VERSION**") MediaInfo Handle (for DLL : void* Handle=MediaInfo::New()) For each file: MediaInfo::Open("**FILENAME**") MediaInfo::Inform() ... (for DLL only: MediaInfo::Delete(Handle)) Too long? Try this! This should be use only if you don't expect all error messages (there will be only one error message for all possible errors) and want to open error getting mediainfo only one file: void* Hande=MediaInfo::OpenQuick("**FILENAME**", "**VERSION**;**APP_NAME**;**APP_VERSION**") MediaInfo::Inform() ... (for DLL only: MediaInfo::Delete(Handle)) Unicode? As for every modern library, MediaInfo(Lib) support Unicode. With this, you don't mind of the location of your program to show text. This is internationalization (I18N), and you can show to the user multiple alphabets (Greek, russian, french...) without coding problems! You should use the Unicode enabled library and make your program Unicode ready if you start a new program. Exception : Microsoft Windows command line does not support Unicode, so if you use command line, let use MediaInfo without Unicode. For the DLL, because only one version of it is released, you have: MediaInfo::XXX methods. They are Unicode enabled (2 or 4 bytes character). MediaInfoA_XXX methods. Legacy version of above, with ANSI (one byte per character) characters in place of Unicode. The local codepage is used. Note : in the DLL only, you can use UTF-8 codepage: MediaInfoA_Options("CodePage", "UTF-8") Init the library Internet connection MediaInfoLib tries to connect to an Int
Error Thread Rating: 0 Vote(s) - 0 Average 1 2 3 4 5 Post Reply « Next Oldest | Next Newest» chris2k Junior Member Posts: 10 Joined: Mar 2011 Reputation: 0 2014-12-11 00:12 Post: #1 Hi there, am using the latest EMM version, not the beta one. Changed the mediainfo.dll file in the Bin folder with the latest file and got no more scraping results. So I took the file back and renamed the new one to "mediainfo New.dll" and now I cannot get any more scrapes. I keep getting this error in the log : Title: Error Message: Tentativo di caricare un programma con un formato non corretto. (Eccezione da HRESULT: 0x8007000B) StackTrace: in EmberAPI.MediaInfo.MediaInfo_New() in EmberAPI.MediaInfo.ScanMI(String sPath) Date/Time: 10/12/2014 23:05:22 Have no clue how to solve the issue ! Please help me out find quote chris2k Junior Member Posts: 10 Joined: Mar 2011 Reputation: 0 2014-12-11 19:30 Post: #2 Just for info, I solved the issue by copying all the install files in the Ember directory, overwriting my files. find quote Post Reply View a Printable Version Send this Thread to a Friend Subscribe to this thread Contact Us | Kodi Home | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication Powered By MyBB, © 2002-2016 MyBB Group. Blog Download Wiki Bugtracker Search Help Create Account Login