Jump to content

MediaInfo For Emby Plugin(HDR, Vision, Atmos, DTS:X)


Cheesegeezer

Recommended Posts

johnrobsonuk

Ah many thanks

 

I use an nvidia shield as my server and also how I watch my files.

 

I can't see a section within the guidelines provided for nvida shield 

 

Link to comment
Share on other sites

Cheesegeezer
8 minutes ago, johnrobsonuk said:

Ah many thanks

 

I use an nvidia shield as my server and also how I watch my files.

 

I can't see a section within the guidelines provided for nvida shield 

 

I think you are the first we have had that uses the shield as a server, hence no instructions yet. Maybe Rich, @rbjtechcan help you as he has one too. Let me have a look also.  

Did you manage to install the plugin? Now you are stuck on installing mediaInfoCLI and mkvpropedit? 
 

if we get this working we will add these to the wiki.

cheers

Link to comment
Share on other sites

johnrobsonuk

Sorry am just at work :D 

 

I will install the add-on tonight.

Wow, nvidia shield is a good server:...I think

Link to comment
Share on other sites

Cheesegeezer
1 minute ago, johnrobsonuk said:

Sorry am just at work :D 

 

I will install the add-on tonight.

Wow, nvidia shield is a good server:...I think

I think you might be goosed fella. mediaInfo is available in google play. However, i can only find that mkvtoolnix is only available on mac, pc and linux. Maybe some crazy dood has made a custom version for android and created an apk on a git repo but ill do some more digging.

 

cheers

Link to comment
Share on other sites

Cheesegeezer
Quote

MKVToolnix Alternatives for Android

MKVToolnix is not available for Android but there are a few alternatives with similar functionality. The best Android alternative is Video Transcoder, which is both free and Open Source. If that doesn't work for you, our users have ranked more than 25 alternatives to MKVToolnix, but unfortunately only two of them are available for Android. If you can't find an alternative you can try to remove all filters.

MKVToolnix alternatives are mainly Video Convertersbut may also be Audio Converters or Video Editors. Filter by these if you want a narrower list of alternatives or looking for a specific functionality of MKVToolnix.

Source - https://alternativeto.net/software/mkvtoolnix/?platform=android

Link to comment
Share on other sites

rbjtech
Just now, Cheesegeezer said:

I think you might be goosed fella. mediaInfo is available in google play. However, i can only find that mkvtoolnix is only available on mac, pc and linux. Maybe some crazy dood has made a custom version for android and created an apk on a git repo but ill do some more digging.

 

cheers

I think you are correct Dave,  unless the mkvtoolnix utilities are available for Android,  then its a non-starter.   Mkv editing is not normally done on Android platforms 😒 (only playback) but i'll also have a look later.

The other option is to actually run a 2nd instance of emby on another platform to change the mkv's (they only need to be changed once) ..

Link to comment
Share on other sites

MAX92

Hello, It is me again.

I'm looking why some of my movies has no information.

In the log, I have this

2023-03-28 09:15:14.855 Info Media Info: PROCESSING OF  The Whale  HAS STARTED
2023-03-28 09:15:14.855 Info Media Info: Item FilePath = /volume2/video/Films/Films HD/The Whale (2022)/The Whale - 1080p.h264.ac3.mkv 
2023-03-28 09:15:15.223 Info Media Info: Video Track successfully Written & Exited with Code 0
2023-03-28 09:15:15.224 Info Media Info: Video Track Title Set to HD 1080p AVC [3.5Mb/s]
2023-03-28 09:15:15.787 Error App: Error reading existng nfo
    *** Error Report ***
    Version: 4.7.11.0
    Command line: /volume1/@appstore/EmbyServer/system/EmbyServer.dll -programdata /var/packages/EmbyServer/var -ffdetect /var/packages/EmbyServer/target/bin/ffdetect -ffmpeg /var/packages/EmbyServer/target/bin/ffmpeg -ffprobe /var/packages/EmbyServer/target/bin/ffprobe -nolocalportconfig -ignore_vaapi_enabled_flag -pidfile /var/packages/EmbyServer/var/EmbyServer.pid -defaultdirectory /volume1/Public -updatepackage emby-server-synology7_{version}_x86_64.spk -noautorunwebapp
    Operating system: Linux version 4.4.180+ (root@build2) (gcc version 8.5.0 (GCC) ) #42962 SMP Tue Jan 31 23:18:09 CST 2023
    Framework: .NET 6.0.8
    OS/Process: x64/x64
    Runtime: volume1/@appstore/EmbyServer/system/System.Private.CoreLib.dll
    Processor count: 2
    Data path: /var/packages/EmbyServer/var
    Application path: /volume1/@appstore/EmbyServer/system
    System.Xml.XmlException: System.Xml.XmlException: Data at the root level is invalid. Line 152, position 9.
       at System.Xml.XmlTextReaderImpl.Throw(Exception e)
       at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
       at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
       at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
       at NfoMetadata.Savers.BaseNfoSaver.AddCustomTags(String path, List`1 xmlTagsUsed, XmlWriter writer, ILogger logger, IFileSystem fileSystem)
       at NfoMetadata.Savers.BaseNfoSaver.Save(BaseItem item, LibraryOptions libraryOptions, Stream stream, String xmlPath)
    Source: System.Private.Xml
    TargetSite: Void Throw(System.Exception)
    
2023-03-28 09:15:16.074 Info Media Info: Audio Track successfully Written & Exited with Code 0
2023-03-28 09:15:16.074 Info Media Info: Audio Stream #1 Updated to: Dolby Digital 5.1 (48Khz) [32-Bit] (Default)
2023-03-28 09:15:16.287 Info Media Info: Audio Track successfully Written & Exited with Code 0
2023-03-28 09:15:16.287 Info Media Info: Audio Stream #2 Updated to: Dolby Digital 5.1 (48Khz) [32-Bit]
2023-03-28 09:15:16.294 Info Media Info: Item Tags found =  
2023-03-28 09:15:16.294 Info Media Info: PROCESSING OF The Whale HAS COMPLETED

And in EMBY, I have this 

image.thumb.png.89bd54b8997f1a120cd728dd5162788f.png

 

Can someone help me ? 

Thanks

 

Link to comment
Share on other sites

johnrobsonuk

Ah many thanks for trying guys.

Not the end of the world along as I can play my 4K with Dolby atmos and no buffering il be happy. 

Link to comment
Share on other sites

MAX92

And sometimes I have this

2023-03-28 09:18:02.194 Info Media Info: PROCESSING OF  Partie 16  HAS STARTED
2023-03-28 09:18:02.194 Info Media Info: Item FilePath = /volume2/A faire/Séries/Your Honor/Saison 02/Your Honor - S02E06 - Partie 16.mkv 
2023-03-28 09:18:02.200 Error Media Info: UNABLE TO PROCESS MEDIA INFO
2023-03-28 09:18:02.200 Info Media Info: PROCESSING OF Partie 16 HAS COMPLETED

Link to comment
Share on other sites

MAX92

Some other example

 

2023-03-28 09:15:22.603 Info Media Info: PROCESSING OF  Une Intime conviction  HAS STARTED
2023-03-28 09:15:22.603 Info Media Info: Item FilePath = /volume2/video/Films/New/Une Intime conviction (2019)/Une Intime conviction - 1080p.h264.dca.mkv 
2023-03-28 09:15:22.737 Info Media Info: Video Track successfully Written & Exited with Code 0
2023-03-28 09:15:22.738 Info Media Info: Video Track Title Set to HD 1080p AVC [8.8Mb/s]
2023-03-28 09:15:22.754 Info Media Info: Audio Track successfully Written & Exited with Code 0
2023-03-28 09:15:22.754 Info Media Info: Audio Stream #1 Updated to: DTS 5.1 (48Khz) [24-Bit] (Default)
2023-03-28 09:15:22.768 Info Media Info: Only 1 Audio Stream - Removing *Default* from Title -  Updated to: DTS 5.1 (48Khz) [24-Bit] 
2023-03-28 09:15:22.768 Info Media Info: Item Tags found =  
2023-03-28 09:15:22.768 Info Media Info: PROCESSING OF Une Intime conviction HAS COMPLETED
2023-03-28 09:15:22.770 Info Media Info: PROCESSING OF  L'associé Du Diable  HAS STARTED
2023-03-28 09:15:22.770 Info Media Info: Item FilePath = /volume2/video/Films/Films HD/L'Associé du Diable (1997)/L'Associé du Diable - 1080p.h264.ac3.mkv 
2023-03-28 09:15:22.776 Error Media Info: UNABLE TO PROCESS MEDIA INFO
2023-03-28 09:15:22.776 Info Media Info: PROCESSING OF L'associé Du Diable HAS COMPLETED

Link to comment
Share on other sites

rbjtech
12 minutes ago, johnrobsonuk said:

Ah many thanks for trying guys.

Not the end of the world along as I can play my 4K with Dolby atmos and no buffering il be happy. 

No worries.

I've updated the Wiki for future users.

https://github.com/Cheesegeezer/MediaInfoWiki/wiki/Various-OS-Installation-Help#6-nvidia-shield-server

  • Thanks 1
Link to comment
Share on other sites

rbjtech
12 minutes ago, MAX92 said:

Some other example

 

2023-03-28 09:15:22.603 Info Media Info: PROCESSING OF  Une Intime conviction  HAS STARTED
2023-03-28 09:15:22.603 Info Media Info: Item FilePath = /volume2/video/Films/New/Une Intime conviction (2019)/Une Intime conviction - 1080p.h264.dca.mkv 
2023-03-28 09:15:22.737 Info Media Info: Video Track successfully Written & Exited with Code 0
2023-03-28 09:15:22.738 Info Media Info: Video Track Title Set to HD 1080p AVC [8.8Mb/s]
2023-03-28 09:15:22.754 Info Media Info: Audio Track successfully Written & Exited with Code 0
2023-03-28 09:15:22.754 Info Media Info: Audio Stream #1 Updated to: DTS 5.1 (48Khz) [24-Bit] (Default)
2023-03-28 09:15:22.768 Info Media Info: Only 1 Audio Stream - Removing *Default* from Title -  Updated to: DTS 5.1 (48Khz) [24-Bit] 
2023-03-28 09:15:22.768 Info Media Info: Item Tags found =  
2023-03-28 09:15:22.768 Info Media Info: PROCESSING OF Une Intime conviction HAS COMPLETED
2023-03-28 09:15:22.770 Info Media Info: PROCESSING OF  L'associé Du Diable  HAS STARTED
2023-03-28 09:15:22.770 Info Media Info: Item FilePath = /volume2/video/Films/Films HD/L'Associé du Diable (1997)/L'Associé du Diable - 1080p.h264.ac3.mkv 
2023-03-28 09:15:22.776 Error Media Info: UNABLE TO PROCESS MEDIA INFO
2023-03-28 09:15:22.776 Info Media Info: PROCESSING OF L'associé Du Diable HAS COMPLETED

So on the first issue - can you check if the files (the MKV's) are actually being changed ?  It is returning a code 0 - which means it successfully did it.  The NFO error message is from emby itself, not the plugin.

On the other issues - check the files are not in use by some other program - they cannot be modified if in use by emby itself or another app such as torrent client for example.

Edited by rbjtech
Link to comment
Share on other sites

rbjtech
2 minutes ago, Cheesegeezer said:

Rich, you’ve put it in the middle of No.5 Docker section 😂 

Ah yea - lol - fixed :)

Link to comment
Share on other sites

MAX92
4 minutes ago, Cheesegeezer said:

@MAX92hi there

the only thing i think might be that somehow you have reversed the setting to show embedded titles

please look at this

https://github.com/Cheesegeezer/MediaInfoWiki/wiki#4-getting-the-titles-to-display-in-emby-ui-clients

see if this fixes it

I try, no change. But did you see the error messages : 

2023-03-28 09:15:22.776 Error Media Info: UNABLE TO PROCESS MEDIA INFO

and

2023-03-28 09:15:15.224 Info Media Info: Video Track Title Set to HD 1080p AVC [3.5Mb/s]
2023-03-28 09:15:15.787 Error App: Error reading existng nfo
    *** Error Report ***
    Version: 4.7.11.0
    Command line: /volume1/@appstore/EmbyServer/system/EmbyServer.dll -programdata /var/packages/EmbyServer/var -ffdetect /var/packages/EmbyServer/target/bin/ffdetect -ffmpeg /var/packages/EmbyServer/target/bin/ffmpeg -ffprobe /var/packages/EmbyServer/target/bin/ffprobe -nolocalportconfig -ignore_vaapi_enabled_flag -pidfile /var/packages/EmbyServer/var/EmbyServer.pid -defaultdirectory /volume1/Public -updatepackage emby-server-synology7_{version}_x86_64.spk -noautorunwebapp
    Operating system: Linux version 4.4.180+ (root@build2) (gcc version 8.5.0 (GCC) ) #42962 SMP Tue Jan 31 23:18:09 CST 2023
    Framework: .NET 6.0.8
    OS/Process: x64/x64
    Runtime: volume1/@appstore/EmbyServer/system/System.Private.CoreLib.dll
    Processor count: 2
    Data path: /var/packages/EmbyServer/var
    Application path: /volume1/@appstore/EmbyServer/system
    System.Xml.XmlException: System.Xml.XmlException: Data at the root level is invalid. Line 152, position 9.
       at System.Xml.XmlTextReaderImpl.Throw(Exception e)
       at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
       at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
       at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
       at NfoMetadata.Savers.BaseNfoSaver.AddCustomTags(String path, List`1 xmlTagsUsed, XmlWriter writer, ILogger logger, IFileSystem fileSystem)
       at NfoMetadata.Savers.BaseNfoSaver.Save(BaseItem item, LibraryOptions libraryOptions, Stream stream, String xmlPath)
    Source: System.Private.Xml
    TargetSite: Void Throw(System.Exception)
    
2023-03-28 09:15:16.074 Info Media Info: Audio Track successfully Written & Exited with Code 0

Link to comment
Share on other sites

Cheesegeezer
Just now, MAX92 said:

I try, no change. But did you see the error messages : 

2023-03-28 09:15:22.776 Error Media Info: UNABLE TO PROCESS MEDIA INFO

and

2023-03-28 09:15:15.224 Info Media Info: Video Track Title Set to HD 1080p AVC [3.5Mb/s]
2023-03-28 09:15:15.787 Error App: Error reading existng nfo
    *** Error Report ***
    Version: 4.7.11.0
    Command line: /volume1/@appstore/EmbyServer/system/EmbyServer.dll -programdata /var/packages/EmbyServer/var -ffdetect /var/packages/EmbyServer/target/bin/ffdetect -ffmpeg /var/packages/EmbyServer/target/bin/ffmpeg -ffprobe /var/packages/EmbyServer/target/bin/ffprobe -nolocalportconfig -ignore_vaapi_enabled_flag -pidfile /var/packages/EmbyServer/var/EmbyServer.pid -defaultdirectory /volume1/Public -updatepackage emby-server-synology7_{version}_x86_64.spk -noautorunwebapp
    Operating system: Linux version 4.4.180+ (root@build2) (gcc version 8.5.0 (GCC) ) #42962 SMP Tue Jan 31 23:18:09 CST 2023
    Framework: .NET 6.0.8
    OS/Process: x64/x64
    Runtime: volume1/@appstore/EmbyServer/system/System.Private.CoreLib.dll
    Processor count: 2
    Data path: /var/packages/EmbyServer/var
    Application path: /volume1/@appstore/EmbyServer/system
    System.Xml.XmlException: System.Xml.XmlException: Data at the root level is invalid. Line 152, position 9.
       at System.Xml.XmlTextReaderImpl.Throw(Exception e)
       at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
       at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
       at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
       at NfoMetadata.Savers.BaseNfoSaver.AddCustomTags(String path, List`1 xmlTagsUsed, XmlWriter writer, ILogger logger, IFileSystem fileSystem)
       at NfoMetadata.Savers.BaseNfoSaver.Save(BaseItem item, LibraryOptions libraryOptions, Stream stream, String xmlPath)
    Source: System.Private.Xml
    TargetSite: Void Throw(System.Exception)
    
2023-03-28 09:15:16.074 Info Media Info: Audio Track successfully Written & Exited with Code 0

The error is coming from Emby App not the plugin. The plugin doesn’t deal with xml files at all. Its just been put in the log at a point after a plugin log.

https://github.com/Cheesegeezer/MediaInfoWiki/wiki/How-to-Debug-MediaInfo

Link to comment
Share on other sites

MAX92
50 minutes ago, Cheesegeezer said:

The error is coming from Emby App not the plugin. The plugin doesn’t deal with xml files at all. Its just been put in the log at a point after a plugin log.

https://github.com/Cheesegeezer/MediaInfoWiki/wiki/How-to-Debug-MediaInfo

This is an exemple, One Ok and one Ko 

I hope it could help.

Exemple.txt

Edited by MAX92
Link to comment
Share on other sites

Cheesegeezer
24 minutes ago, MAX92 said:

This is an exemple, One Ok and one Ko 

I hope it could help.

Exemple.txt 12.75 kB · 0 downloads

I think i know what it might be… it could be the special characters in the french language or any other language that uses them, acutes, etc. 
 

can you try to rename the first file, and change things like é to just e etc.  Also see if the file has read/write access and is isn't just Read only access. 
 

many thanks for the info 

using mediainfoGUI see if media info can read the file with the special chars.

Edited by Cheesegeezer
Link to comment
Share on other sites

Cheesegeezer

I’m tied up at the minute doing some unit testing on another project otherwise i would try this myself. Thanks

Link to comment
Share on other sites

MAX92
3 hours ago, Cheesegeezer said:

I think i know what it might be… it could be the special characters in the french language or any other language that uses them, acutes, etc. 
 

can you try to rename the first file, and change things like é to just e etc.  Also see if the file has read/write access and is isn't just Read only access. 
 

many thanks for the info 

using mediainfoGUI see if media info can read the file with the special chars.

Congratulation ! You go it. It is files with french special chars "é, à, è..." witch don't work. So happy you found it.

Next question : what can we do ?

Edited by MAX92
Link to comment
Share on other sites

Cheesegeezer
46 minutes ago, MAX92 said:

Congratulation ! You go it. It is files with french special chars "é, à, è..." witch don't work. So happy you found it.

Next question : what can we do ?

Awesome... this is what i thought.  i will have to handle these somehow in the code behind.  leave it with me. 

Cheers

  • Like 1
Link to comment
Share on other sites

Cheesegeezer
On 28/03/2023 at 12:56, MAX92 said:

Congratulation ! You go it. It is files with french special chars "é, à, è..." witch don't work. So happy you found it.

Next question : what can we do ?

I should have a fix for this shortly, would you be able to test for me please, before I release

Link to comment
Share on other sites

rbjtech
21 minutes ago, Cheesegeezer said:

I should have a fix for this shortly, would you be able to test for me please, before I release

is this just a Unix issues Dave - As I've just checked using accents on one of my files and the current version appears to work ok ?

(some of the lines look a little funky, but it appears to write the correct info to the MKV - log attached for 'Lèon the Professional'

leon.txt

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...