Jump to content

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


Cheesegeezer

Recommended Posts

Cheesegeezer
2 minutes ago, CBers said:

I did, then extracted it.

Should I have not extracted it?

 

No thats fine. That error come from the try catch, so it does Wanna do any work for some reason. 

Link to comment
Share on other sites

rbjtech

Lets wait until you've finished ya shopping and then ping me on teams. ;)

What CBers has done is I think correct ?

That log error is just a generic Catch in your code. 

 

  • Like 1
Link to comment
Share on other sites

Cheesegeezer

@CBers

I found it!  i did some code tidyup and added in some extra checks very recently and they work really well apparently hhahaha

New dll up on the first post.... same rev, give it a whirl please

 

  • Like 1
Link to comment
Share on other sites

Cheesegeezer

everyone missed in the logs too that the episodes and movies were exactly the same number

lol

Link to comment
Share on other sites

MagicDoubleM

I'm still having that issue that the plugin only does it's thing during scheduled tasks, not while importing new stuff. Where do I look for more helpful infos?

Also finally nice looking previews for HDR stuff!!! 😍 Thank you so much for that addition.

 

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

CBers
7 minutes ago, Cheesegeezer said:

@CBers

I found it!  i did some code tidyup and added in some extra checks very recently and they work really well apparently hhahaha

New dll up on the first post.... same rev, give it a whirl please

Thanks Dave, running now. 

6 minutes ago, Cheesegeezer said:

everyone missed in the logs too that the episodes and movies were exactly the same number

lol

I did see that, but wasn't sure if it was a bug or not. 

 

Link to comment
Share on other sites

FrostByte
5 minutes ago, CBers said:

Thanks Dave, running now. 

I did see that, but wasn't sure if it was a bug or not. 

 

LOL, I saw it in your logs too and just thought it very odd that your episodes and movies were the exact number

Link to comment
Share on other sites

rbjtech
12 minutes ago, MagicDoubleM said:

I'm still having that issue that the plugin only does it's thing during scheduled tasks, not while importing new stuff. Where do I look for more helpful infos?

Also finally nice looking previews for HDR stuff!!! 😍 Thank you so much for that addition.

 

It doesn't trigger on adding new items (yet) - I have just set it to trigger every hour.

  • Like 1
Link to comment
Share on other sites

rbjtech
14 minutes ago, MagicDoubleM said:

Also finally nice looking previews for HDR stuff!!! 😍 Thank you so much for that addition.

I've had this running as an external script for a while now so thought it would be a good addition to the plugin - with Dave's wizzy coding skills it was added in a day :)

Link to comment
Share on other sites

FrostByte
Just now, rbjtech said:

I've had this running as an external script for a while now so thought it would be a good addition to the plugin - with Dave's wizzy coding skills it was added in a day :)

I've been using a PowerShell script myself for HDR bifs.  I assume if I got this working on my NAS it will redo them all the first time

Link to comment
Share on other sites

rbjtech
3 minutes ago, FrostByte said:

I've been using a PowerShell script myself for HDR bifs.  I assume if I got this working on my NAS it will redo them all the first time

Out the box yes, as it assumes this is a first run but does then keep a log of what it's completed so it doesn't do them again (with the option to refresh if you wanted to).

You can add your ItemId's into the XML if you really don't want to re-do them and then it will just do the new ones as you add them.

<HDRProcessedMovieList>
    <long>1355423</long>
</HDRProcessedMovieList>

<HDRProcessedEpisodeList>
      <long>1776221</long>
</HDRProcessedEpisodeList>

 

  • Thanks 1
Link to comment
Share on other sites

Cheesegeezer

Some of you may have found that some of the mkv's aren't getting edited.

Well i found the cause of this and this is rectified.

New DLL is up if any of you find some files don't get populated with the new audio/video track titles.

Super dooper....

I'm hoping this is a fire and forget plugin

  • Like 3
Link to comment
Share on other sites

CBers

The config page doesn't fully load on a mobile device. 

Just get the top section, but no fields. 

I've cleared the browser cache, but still doesn't load. 

 

Edited by CBers
Link to comment
Share on other sites

Cheesegeezer
8 minutes ago, CBers said:

The config page doesn't fully load on a mobile device. 

Just get the top section, but no fields. 

I've cleared the browser cache, but still doesn't load. 

 

It’s fine on my apple phone and ipad.

There isn't much i can do as everything is using Emby built in controls and components. 

Nothing custom at all here.

58EFAE74-3E4E-4272-97DF-F703338CD022.png

926EA06B-CACC-4AC9-B57B-4BE52BA309B2.png

Edited by Cheesegeezer
Link to comment
Share on other sites

rbjtech
22 minutes ago, CBers said:

The config page doesn't fully load on a mobile device. 

Just get the top section, but no fields. 

I've cleared the browser cache, but still doesn't load. 

 

Are you using Chrome for Android ?

It's works ok with Edge for Android .. need to do a bit more digging ...

Link to comment
Share on other sites

Cheesegeezer
29 minutes ago, CBers said:

The config page doesn't fully load on a mobile device. 

Just get the top section, but no fields. 

I've cleared the browser cache, but still doesn't load. 

 

Can you show me what you are experiencing please

Link to comment
Share on other sites

rbjtech

On Chrome for Android - you get nothing after this screen - you don't see any options nor can you scroll up/down/left or iright - the 'setup info' takes you to the wiki ok

Edge works for fine - just about to try Firefox ..

Edit - Firefox has the issue too - so only Edge is working for me on my Android 11 Phone.

image.png.eb857ff086c585385123e0806c1e8d3a.png

Edited by rbjtech
  • Agree 1
Link to comment
Share on other sites

CBers
36 minutes ago, rbjtech said:

Are you using Chrome for Android ?

Yes. 

If you enable Desktop mode it works, albeit you can only scroll up/down, and continues to work if you revert. 

Perhaps the Audio options need to move moved under the Video options.

 

 

Edited by CBers
Link to comment
Share on other sites

CBers

Not sure if @FrostByte has reported this yet, but when there's nothing to process, the message "MEDIAINFO ISN'T ENABLED IN THE CONFIG" is misleading.

2022-06-04 17:34:02.194 Info Media Info: PERFORMING MEDIAINFO EXTRACTION ON MOVIES
2022-06-04 17:34:02.194 Info Media Info: MEDIAINFO EXTRACTION ON MOVIES Completed for 575 Movies
2022-06-04 17:34:02.194 Info Media Info: TV EPISODES IS NOT ENABLED
2022-06-04 17:34:02.194 Info Media Info: MEDIAINFO ISN'T ENABLED IN THE CONFIG
2022-06-04 17:34:02.194 Debug XmlSerializer: Serializing to file C:\Users\Media\AppData\Roaming\Emby-Server\config\mediainfo.xml
2022-06-04 17:34:02.195 Debug TaskManager: Media Info Completed after 0 minute(s) and 0 seconds

 

  • Like 1
Link to comment
Share on other sites

FrostByte

I checked again just now and I'm getting that message even when I add something

Link to comment
Share on other sites

CBers

HDR-SDR Image Generation BIF creation failing. 

Info-HDRConvert:: Value cannot be null. (Parameter 'source')
	*** Error Report ***
	Version: 4.8.0.0
	Command line: C:\Users\Media\AppData\Roaming\Emby-Server\system\EmbyServer.dll -noautorunwebapp
	Operating system: Microsoft Windows 10.0.19044
	Framework: .NET 6.0.2
	OS/Process: x64/x64
	Runtime: C:/Users/Media/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
	Processor count: 12
	Data path: C:\Users\Media\AppData\Roaming\Emby-Server
	Application path: C:\Users\Media\AppData\Roaming\Emby-Server\system
	System.ArgumentNullException: System.ArgumentNullException: Value cannot be null. (Parameter 'source')
	   at System.Linq.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
	   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
	   at Emby.MediaInfo.ScheduledTasks.HDRConvertScheduledTask.Execute(CancellationToken cancellationToken, IProgress`1 progress)
	Source: System.Linq
	TargetSite: Void ThrowArgumentNullException(System.Linq.ExceptionArgument)
	
2022-06-04 17:42:08.773 Debug TaskManager: Thumbnail Image HDR-SDR Image Generation Completed after 0 minute(s) and 0 seconds

 

Link to comment
Share on other sites

rbjtech
6 minutes ago, CBers said:

HDR-SDR Image Generation BIF creation failing. 

Info-HDRConvert:: Value cannot be null. (Parameter 'source')
	*** Error Report ***
	Version: 4.8.0.0
	Command line: C:\Users\Media\AppData\Roaming\Emby-Server\system\EmbyServer.dll -noautorunwebapp
	Operating system: Microsoft Windows 10.0.19044
	Framework: .NET 6.0.2
	OS/Process: x64/x64
	Runtime: C:/Users/Media/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
	Processor count: 12
	Data path: C:\Users\Media\AppData\Roaming\Emby-Server
	Application path: C:\Users\Media\AppData\Roaming\Emby-Server\system
	System.ArgumentNullException: System.ArgumentNullException: Value cannot be null. (Parameter 'source')
	   at System.Linq.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
	   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
	   at Emby.MediaInfo.ScheduledTasks.HDRConvertScheduledTask.Execute(CancellationToken cancellationToken, IProgress`1 progress)
	Source: System.Linq
	TargetSite: Void ThrowArgumentNullException(System.Linq.ExceptionArgument)
	
2022-06-04 17:42:08.773 Debug TaskManager: Thumbnail Image HDR-SDR Image Generation Completed after 0 minute(s) and 0 seconds

 

Presumably you've set movies and/or episodes to be TRUE and added the location for BIFTool ?

  <BIFGeneratorPath />
  <EnableHDRMovies>false</EnableHDRMovies>
  <EnableHDREpisodes>false</EnableHDREpisodes>
  <EnableHDRReprocess>false</EnableHDRReprocess>

Have you set the library to use BIF's with the media - re section 4.3 of the Wiki ?

https://github.com/Cheesegeezer/MediaInfoWiki/wiki/Emby-HDR-to-SDR-Thumbnail-&-Chapter-Image-Generator-using-Tonemapping

Link to comment
Share on other sites

Cheesegeezer

Is that all thats in the log?

what settings have you selected.  
im out no so nothing will be done until tomorrow but if you can get me as much info as possible. I will try to Cbers proof this

Link to comment
Share on other sites

CBers

I have the "Generate BIF for Movies" enabled. 

Can it run alongside the "Media Info" task? 

Link to comment
Share on other sites

CBers
4 minutes ago, rbjtech said:

Have you set the library to use BIF's with the media - re section 4.3 of the Wiki ?

Yes. 

 

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...