Jump to content

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


Cheesegeezer

Recommended Posts

rbjtech

If you put the old mkvpropedit version back - does it then work again ? (errorcode of 0 = worked)

Link to comment
Share on other sites

neik
1 hour ago, rbjtech said:

If you put the old mkvpropedit version back - does it then work again ? (errorcode of 0 = worked)

Nope, unfortunately rolling back did not help.

Edit: So, basically three things changed in the meantime:

1. MKVToolnix version -> Rolled back same problem -> doesn't seem to be the reason for the  problem

2. Server version update from 4.7.2.0 -> 4.7.4.0

3. Plugin update from 0.x.x.x -> 1.0.0.0

Can you provide me an older version of the plugin for me to test?

Edited by neik
Link to comment
Share on other sites

Cheesegeezer
1 hour ago, neik said:

Nope, unfortunately rolling back did not help.

Edit: So, basically three things changed in the meantime:

1. MKVToolnix version -> Rolled back same problem -> doesn't seem to be the reason for the  problem

2. Server version update from 4.7.2.0 -> 4.7.4.0

3. Plugin update from 0.x.x.x -> 1.0.0.0

 

1 hour ago, neik said:

Can you provide me an older version of the plugin for me to test?

i could, but all this is purely because i have been strict on the exitcodes with the release.

We need to find out what the error is in all your files and if it’s critical or not. Sadly I’m not an expert on all the errors so i need to look into it.

  • Like 1
Link to comment
Share on other sites

MagicDoubleM

Okay, a little more on rtm. Today's additions didn't get scanned automatically, even after a Emby-restart. I have RTM enabled and also a scheduled task repeating every 15min for both the scanning and HDR-SDR-conversation.

That leads to a feature request, if somehow possible, it would be great to trigger the plugin only for a few selected titles, ideally hooked up to emby's own "refresh metadata"-feature.

Edited by MagicDoubleM
Link to comment
Share on other sites

neik
6 hours ago, Cheesegeezer said:

 

i could, but all this is purely because i have been strict on the exitcodes with the release.

We need to find out what the error is in all your files and if it’s critical or not. Sadly I’m not an expert on all the errors so i need to look into it.

Anything I can help you with just let me know. 😉 

Link to comment
Share on other sites

allineedis

Maybe the files are in use and mediainfo skips them because of that? Some process is using them, biftool? When I use the tool the first time, I went Full Monty and performed both mediainfo and bif creation at the same time. Noticed that quite a lot of titles did not get updated  mediainfo. Once I stopped the bif process and refreshed the mediainfo only all went A OK.

  • Like 1
Link to comment
Share on other sites

FrostByte

1.0.0.1 (Release)

Fix Error on Code2 not clearing Change Bif Stream null log from Error to Debug level
 
  • Like 1
  • Thanks 1
Link to comment
Share on other sites

rbjtech

@neik - Give the new release a go (1.0.0.1 - in the catalog) as this should fix your errorcode issues (we hope!).

A really odd issue that we tracked down - the code was holding the previous errorlevel and then applying for the rest of the batch.   Now it should just remove that item from the list and re-try it again on the next schedule.

Let us know :)

  • Like 3
Link to comment
Share on other sites

neik

rbjtech, Cheese, thanks for having a look into this.

Unfortunately, it did not solve the error entirely but there is a bit more logging now:

2022-06-24 22:08:45.659 Info Media Info: PROCESSING OF  Looper  HAS STARTED
2022-06-24 22:08:45.659 Info Media Info: Item FilePath = /path/to/movies/Looper (2012)/Looper (2012).mkv 
2022-06-24 22:08:45.659 Debug Media Info: Starting MediaInfo.exe process
2022-06-24 22:08:47.152 Debug Media Info: ************** Reset Embedded Titles = False
2022-06-24 22:08:47.152 Debug Media Info: Ref Item = /path/to/movies/Looper (2012)/Looper (2012).mkv
2022-06-24 22:08:47.152 Debug Media Info: GENERAL INFO
2022-06-24 22:08:47.152 Debug Media Info: Video Tracks = 1
2022-06-24 22:08:47.152 Debug Media Info: Audio Tracks = 2
2022-06-24 22:08:47.152 Debug Media Info: Subtitle Tracks = 
2022-06-24 22:08:47.152 Debug Media Info: Overall Bitrate = 8436628
2022-06-24 22:08:47.152 Debug Media Info: *********************
2022-06-24 22:08:47.152 Debug Media Info: VIDEO INFO
2022-06-24 22:08:47.152 Debug Media Info: Track Format = AVC
2022-06-24 22:08:47.152 Debug Media Info: BitRate = 5250739
2022-06-24 22:08:47.152 Debug Media Info: Height =816
2022-06-24 22:08:47.152 Debug Media Info: Width =1920
2022-06-24 22:08:47.152 Debug Media Info: Aspect Ration =2.353
2022-06-24 22:08:47.152 Debug Media Info: HDR Format =
2022-06-24 22:08:47.152 Debug Media Info: HDR Format Profile =
2022-06-24 22:08:47.152 Debug Media Info: HDR Compatibility =
2022-06-24 22:08:47.152 Debug Media Info: *********************
2022-06-24 22:08:47.159 Debug Media Info: VIDEO EXIT CODE 1: STD ERROR OUTPUT
2022-06-24 22:08:47.159 Debug Media Info: /usr/bin/mkvpropedit: /opt/emby-server/lib/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /usr/bin/mkvpropedit)

2022-06-24 22:08:47.159 Info Media Info: Video Track successfully Written & Exited with Code 1
2022-06-24 22:08:47.159 Info Media Info: Video Track Title Set to 1080p 
2022-06-24 22:08:47.164 Debug App: Saving nfo metadata for /path/to/movies/Looper (2012)/Looper (2012).mkv to /path/to/movies/Looper (2012)/Looper (2012).nfo.
2022-06-24 22:08:47.915 Debug Media Info: AUDIO INFO
2022-06-24 22:08:47.915 Debug Media Info: Track Format = DTS
2022-06-24 22:08:47.915 Debug Media Info: No of Channels = 6
2022-06-24 22:08:47.915 Debug Media Info: Track Index = 1
2022-06-24 22:08:47.915 Debug Media Info: Track Additional Features = 
2022-06-24 22:08:47.915 Debug Media Info: *********************
2022-06-24 22:08:47.917 Debug Media Info: AUDIO EXIT CODE 1: STD ERROR OUTPUT
2022-06-24 22:08:47.917 Debug Media Info: /usr/bin/mkvpropedit: /opt/emby-server/lib/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /usr/bin/mkvpropedit)

2022-06-24 22:08:47.917 Debug Media Info: AUDIO EXIT CODE 1: STD OUTPUT
2022-06-24 22:08:47.917 Debug Media Info: 
2022-06-24 22:08:47.917 Debug Media Info: Replace Audio Track update completed with Warnings & Exited with Code 1
2022-06-24 22:08:47.917 Info Media Info: Audio Track Title Set to DTS 5.1
2022-06-24 22:08:47.919 Debug App: Saving nfo metadata for /path/to/movies/Looper (2012)/Looper (2012).mkv to /path/to/movies/Looper (2012)/Looper (2012).nfo.
2022-06-24 22:08:47.923 Debug Media Info: AUDIO INFO
2022-06-24 22:08:47.923 Debug Media Info: Track Format = DTS
2022-06-24 22:08:47.923 Debug Media Info: No of Channels = 6
2022-06-24 22:08:47.923 Debug Media Info: Track Index = 2
2022-06-24 22:08:47.923 Debug Media Info: Track Additional Features = 
2022-06-24 22:08:47.923 Debug Media Info: *********************
2022-06-24 22:08:47.926 Debug Media Info: AUDIO EXIT CODE 1: STD ERROR OUTPUT
2022-06-24 22:08:47.926 Debug Media Info: /usr/bin/mkvpropedit: /opt/emby-server/lib/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /usr/bin/mkvpropedit)

2022-06-24 22:08:47.926 Debug Media Info: AUDIO EXIT CODE 1: STD OUTPUT
2022-06-24 22:08:47.926 Debug Media Info: 
2022-06-24 22:08:47.926 Debug Media Info: Replace Audio Track update completed with Warnings & Exited with Code 1
2022-06-24 22:08:47.926 Info Media Info: Audio Track Title Set to DTS 5.1
2022-06-24 22:08:47.928 Debug App: Saving nfo metadata for /path/to/movies/Looper (2012)/Looper (2012).mkv to /path/to/movies/Looper (2012)/Looper (2012).nfo.
2022-06-24 22:08:47.932 Info Media Info: Item Tags found =  
2022-06-24 22:08:47.932 Info Media Info: PROCESSING OF Looper HAS COMPLETED
2022-06-24 22:08:47.932 Debug Media Info: MediaInfo processing for Looper and took 2272 milliseconds

Edit: Just saw that it is trying to access a lib within Emby's folder, why's that?

Tried to install the missing library but the latest seems already to be installed:

apt-get install libstdc++6
Reading package lists... Done
Building dependency tree
Reading state information... Done
libstdc++6 is already the newest version (10.3.0-1ubuntu1~20.04).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

 

Edited by neik
Link to comment
Share on other sites

rbjtech

I'm not a linux guy- but at least the logging is now pinpointing the issue.

Are the MKV's actually being updated ?

Link to comment
Share on other sites

FrostByte

Could there be an option to make 5 second bifs?  I know a lot of people were upset when Emby stopped making them because of performance issues, but the clients still recognize them and if someone wants to spend the extra time creating them then maybe a plugin is a good place for that.

The PS script I use can create both and tone map so I know they still work.

  • Like 1
Link to comment
Share on other sites

rbjtech
3 minutes ago, FrostByte said:

Could there be an option to make 5 second bifs?  I know a lot of people were upset when Emby stopped making them because of performance issues, but the clients still recognize them and if someone wants to spend the extra time creating them then maybe a plugin is a good place for that.

The PS script I use can create both and tone map so I know they still work.

Yep - easy enough, just specify -skip_interval 5 in the command line.  For SDR bif's, then I believe softworks uses a different method for creating the bif, but we can just copy that out the log.

Up to @Cheesegeezer as I know he is now making good progress on iridium ;)

Maybe modify the existing BIF function with the 'option' for 5 second images (I know how much Dave likes slider options .. lol)  - it auto detects the HDR as is anyway - so it would run the non tonemap version on anything else if the '5 second' option was also selected - otherwise it would leave alone.

  • Like 1
Link to comment
Share on other sites

Cheesegeezer
12 minutes ago, FrostByte said:

Could there be an option to make 5 second bifs?  I know a lot of people were upset when Emby stopped making them because of performance issues, but the clients still recognize them and if someone wants to spend the extra time creating them then maybe a plugin is a good place for that.

The PS script I use can create both and tone map so I know they still work.

Thats no issue, what i can do is actually let the user decide how often they want their images created. Then pass that variable into the process 

  • Like 1
Link to comment
Share on other sites

Cheesegeezer
1 minute ago, rbjtech said:

Yep - easy enough, just specify -skip_interval 5 in the command line.  For SDR bif's, then I believe softworks uses a different method for creating the bif, but we can just copy that out the log.

Up to @Cheesegeezer as I know he is now making good progress on iridium ;)

Maybe modify the existing BIF function with the 'option' for 5 second images (I know how much Dave likes slider options .. lol)  - it auto detects the HDR as is anyway - so it would run the non tonemap version on anything else if the '5 second' option was also selected - otherwise it would leave alone.

Same time answer ….: boom 💥 

  • Haha 1
Link to comment
Share on other sites

Cheesegeezer
32 minutes ago, rbjtech said:

I'm not a linux guy- but at least the logging is now pinpointing the issue.

Are the MKV's actually being updated ?

A code 1 which is a warning still writes the track title… a code 2.. error doesn’t and adds to the failed list for sorting.

40 minutes ago, neik said:

rbjtech, Cheese, thanks for having a look into this.

Unfortunately, it did not solve the error entirely but there is a bit more logging now:

2022-06-24 22:08:45.659 Info Media Info: PROCESSING OF  Looper  HAS STARTED
2022-06-24 22:08:45.659 Info Media Info: Item FilePath = /path/to/movies/Looper (2012)/Looper (2012).mkv 
2022-06-24 22:08:45.659 Debug Media Info: Starting MediaInfo.exe process
2022-06-24 22:08:47.152 Debug Media Info: ************** Reset Embedded Titles = False
2022-06-24 22:08:47.152 Debug Media Info: Ref Item = /path/to/movies/Looper (2012)/Looper (2012).mkv
2022-06-24 22:08:47.152 Debug Media Info: GENERAL INFO
2022-06-24 22:08:47.152 Debug Media Info: Video Tracks = 1
2022-06-24 22:08:47.152 Debug Media Info: Audio Tracks = 2
2022-06-24 22:08:47.152 Debug Media Info: Subtitle Tracks = 
2022-06-24 22:08:47.152 Debug Media Info: Overall Bitrate = 8436628
2022-06-24 22:08:47.152 Debug Media Info: *********************
2022-06-24 22:08:47.152 Debug Media Info: VIDEO INFO
2022-06-24 22:08:47.152 Debug Media Info: Track Format = AVC
2022-06-24 22:08:47.152 Debug Media Info: BitRate = 5250739
2022-06-24 22:08:47.152 Debug Media Info: Height =816
2022-06-24 22:08:47.152 Debug Media Info: Width =1920
2022-06-24 22:08:47.152 Debug Media Info: Aspect Ration =2.353
2022-06-24 22:08:47.152 Debug Media Info: HDR Format =
2022-06-24 22:08:47.152 Debug Media Info: HDR Format Profile =
2022-06-24 22:08:47.152 Debug Media Info: HDR Compatibility =
2022-06-24 22:08:47.152 Debug Media Info: *********************
2022-06-24 22:08:47.159 Debug Media Info: VIDEO EXIT CODE 1: STD ERROR OUTPUT
2022-06-24 22:08:47.159 Debug Media Info: /usr/bin/mkvpropedit: /opt/emby-server/lib/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /usr/bin/mkvpropedit)

2022-06-24 22:08:47.159 Info Media Info: Video Track successfully Written & Exited with Code 1
2022-06-24 22:08:47.159 Info Media Info: Video Track Title Set to 1080p 
2022-06-24 22:08:47.164 Debug App: Saving nfo metadata for /path/to/movies/Looper (2012)/Looper (2012).mkv to /path/to/movies/Looper (2012)/Looper (2012).nfo.
2022-06-24 22:08:47.915 Debug Media Info: AUDIO INFO
2022-06-24 22:08:47.915 Debug Media Info: Track Format = DTS
2022-06-24 22:08:47.915 Debug Media Info: No of Channels = 6
2022-06-24 22:08:47.915 Debug Media Info: Track Index = 1
2022-06-24 22:08:47.915 Debug Media Info: Track Additional Features = 
2022-06-24 22:08:47.915 Debug Media Info: *********************
2022-06-24 22:08:47.917 Debug Media Info: AUDIO EXIT CODE 1: STD ERROR OUTPUT
2022-06-24 22:08:47.917 Debug Media Info: /usr/bin/mkvpropedit: /opt/emby-server/lib/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /usr/bin/mkvpropedit)

2022-06-24 22:08:47.917 Debug Media Info: AUDIO EXIT CODE 1: STD OUTPUT
2022-06-24 22:08:47.917 Debug Media Info: 
2022-06-24 22:08:47.917 Debug Media Info: Replace Audio Track update completed with Warnings & Exited with Code 1
2022-06-24 22:08:47.917 Info Media Info: Audio Track Title Set to DTS 5.1
2022-06-24 22:08:47.919 Debug App: Saving nfo metadata for /path/to/movies/Looper (2012)/Looper (2012).mkv to /path/to/movies/Looper (2012)/Looper (2012).nfo.
2022-06-24 22:08:47.923 Debug Media Info: AUDIO INFO
2022-06-24 22:08:47.923 Debug Media Info: Track Format = DTS
2022-06-24 22:08:47.923 Debug Media Info: No of Channels = 6
2022-06-24 22:08:47.923 Debug Media Info: Track Index = 2
2022-06-24 22:08:47.923 Debug Media Info: Track Additional Features = 
2022-06-24 22:08:47.923 Debug Media Info: *********************
2022-06-24 22:08:47.926 Debug Media Info: AUDIO EXIT CODE 1: STD ERROR OUTPUT
2022-06-24 22:08:47.926 Debug Media Info: /usr/bin/mkvpropedit: /opt/emby-server/lib/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /usr/bin/mkvpropedit)

2022-06-24 22:08:47.926 Debug Media Info: AUDIO EXIT CODE 1: STD OUTPUT
2022-06-24 22:08:47.926 Debug Media Info: 
2022-06-24 22:08:47.926 Debug Media Info: Replace Audio Track update completed with Warnings & Exited with Code 1
2022-06-24 22:08:47.926 Info Media Info: Audio Track Title Set to DTS 5.1
2022-06-24 22:08:47.928 Debug App: Saving nfo metadata for /path/to/movies/Looper (2012)/Looper (2012).mkv to /path/to/movies/Looper (2012)/Looper (2012).nfo.
2022-06-24 22:08:47.932 Info Media Info: Item Tags found =  
2022-06-24 22:08:47.932 Info Media Info: PROCESSING OF Looper HAS COMPLETED
2022-06-24 22:08:47.932 Debug Media Info: MediaInfo processing for Looper and took 2272 milliseconds

Edit: Just saw that it is trying to access a lib within Emby's folder, why's that?

Tried to install the missing library but the latest seems already to be installed:

apt-get install libstdc++6
Reading package lists... Done
Building dependency tree
Reading state information... Done
libstdc++6 is already the newest version (10.3.0-1ubuntu1~20.04).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

 

There have been changes to Emby library monitor recently and i assume this is part of this. I’m also assuming the new changes are linked to core intro skip version. 
no library scan task is run physically in the Schedule tasks now, its all under the hood and the old libraryMonitor.IsScanRunning bool is redundant now. So I’m a bit foooookeeed on how to manage the emby library access

Link to comment
Share on other sites

neik
16 minutes ago, rbjtech said:

Are the MKV's actually being updated ?

Nope, they are not just had a look at "Looper" and it is untouched.

 

14 minutes ago, rbjtech said:

I'm not a linux guy- but at least the logging is now pinpointing the issue.

Question: Why is it trying to access the library within Emby's folder?
If you recall, when I run the command in the console it does work as expected
For a testing purpose I pointed the symlink "/opt/emby-server/lib/libstdc++.so.6" to the system library instead of Emby's and it does work just fine:

2022-06-24 22:49:58.036 Info Media Info: PROCESSING OF  Blitz  HAS STARTED
2022-06-24 22:49:58.036 Info Media Info: Item FilePath = /path/to/movies/Blitz (2011)/Blitz (2011).mkv 
2022-06-24 22:49:58.036 Debug Media Info: Starting MediaInfo.exe process
2022-06-24 22:50:00.114 Debug Media Info: ************** Reset Embedded Titles = False
2022-06-24 22:50:00.115 Debug Media Info: Ref Item = /path/to/movies/Blitz (2011)/Blitz (2011).mkv
2022-06-24 22:50:00.115 Debug Media Info: GENERAL INFO
2022-06-24 22:50:00.115 Debug Media Info: Video Tracks = 1
2022-06-24 22:50:00.115 Debug Media Info: Audio Tracks = 2
2022-06-24 22:50:00.115 Debug Media Info: Subtitle Tracks = 
2022-06-24 22:50:00.115 Debug Media Info: Overall Bitrate = 14113116
2022-06-24 22:50:00.115 Debug Media Info: *********************
2022-06-24 22:50:00.115 Debug Media Info: VIDEO INFO
2022-06-24 22:50:00.115 Debug Media Info: Track Format = AVC
2022-06-24 22:50:00.115 Debug Media Info: BitRate = 10814265
2022-06-24 22:50:00.115 Debug Media Info: Height =816
2022-06-24 22:50:00.115 Debug Media Info: Width =1920
2022-06-24 22:50:00.115 Debug Media Info: Aspect Ration =2.353
2022-06-24 22:50:00.115 Debug Media Info: HDR Format =
2022-06-24 22:50:00.115 Debug Media Info: HDR Format Profile =
2022-06-24 22:50:00.115 Debug Media Info: HDR Compatibility =
2022-06-24 22:50:00.115 Debug Media Info: *********************
2022-06-24 22:50:00.286 Info Media Info: Video Track successfully Written & Exited with Code 0
2022-06-24 22:50:00.286 Info Media Info: Video Track Title Set to 1080p 
2022-06-24 22:50:00.303 Debug App: Saving nfo metadata for /path/to/movies/Blitz (2011)/Blitz (2011).mkv to /path/to/movies/Blitz (2011)/Blitz (2011).nfo.
2022-06-24 22:50:01.802 Debug Media Info: AUDIO INFO
2022-06-24 22:50:01.802 Debug Media Info: Track Format = DTS
2022-06-24 22:50:01.802 Debug Media Info: No of Channels = 6
2022-06-24 22:50:01.802 Debug Media Info: Track Index = 1
2022-06-24 22:50:01.802 Debug Media Info: Track Additional Features = 
2022-06-24 22:50:01.802 Debug Media Info: *********************
2022-06-24 22:50:44.016 Info TaskManager: Attempting to cancel Scheduled Task Media Info
2022-06-24 22:52:27.652 Info Media Info: Audio Track successfully Written & Exited with Code 0
2022-06-24 22:52:27.653 Info Media Info: Audio Stream #1 Updated to: DTS 5.1
2022-06-24 22:52:27.668 Debug App: Saving nfo metadata for /path/to/movies/Blitz (2011)/Blitz (2011).mkv to /path/to/movies/Blitz (2011)/Blitz (2011).nfo.
2022-06-24 22:52:27.675 Debug Media Info: AUDIO INFO
2022-06-24 22:52:27.675 Debug Media Info: Track Format = DTS
2022-06-24 22:52:27.675 Debug Media Info: No of Channels = 6
2022-06-24 22:52:27.675 Debug Media Info: Track Index = 2
2022-06-24 22:52:27.675 Debug Media Info: Track Additional Features = 
2022-06-24 22:52:27.675 Debug Media Info: *********************
2022-06-24 22:52:27.756 Info Media Info: Audio Track successfully Written & Exited with Code 0
2022-06-24 22:52:27.756 Info Media Info: Audio Stream #2 Updated to: DTS 5.1
2022-06-24 22:52:27.824 Debug App: Saving nfo metadata for /path/to/movies/Blitz (2011)/Blitz (2011).mkv to /path/to/movies/Blitz (2011)/Blitz (2011).nfo.
2022-06-24 22:52:27.829 Info Media Info: Item Tags found =  
2022-06-24 22:52:27.830 Info Media Info: PROCESSING OF Blitz HAS COMPLETED
2022-06-24 22:52:27.833 Debug Media Info: MediaInfo processing for Blitz and took 149797 milliseconds
2022-06-24 22:52:27.833 Debug TaskManager: Media Info Completed after 2 minute(s) and 30 seconds

I noticed a difference in video title, instead of 1080p AVC it set the title to 1080p and is missing the AVC.
Is that intended?

Link to comment
Share on other sites

rbjtech
23 hours ago, neik said:

I noticed a difference in video title, instead of 1080p AVC it set the title to 1080p and is missing the AVC.Is that intended?

I turn off all codec info (I really have no interest in seeing it - it makes no difference to my viewing expectations) - so this bit was never really tested by me... 🤪

If HEVC shows (?), then I'm not sure why AVC does not .. @Cheesegeezer Can you remember ?

I'm sure cheese can add to the next point release - maybe - we also need to look at the BIF stuff that Frostbyte mentioned, but that's an enhancement not a bug..

Too many spinning plates atm .. 🤣

Link to comment
Share on other sites

Cheesegeezer
On 24/06/2022 at 21:59, neik said:

Nope, they are not just had a look at "Looper" and it is untouched.

 

Question: Why is it trying to access the library within Emby's folder?
If you recall, when I run the command in the console it does work as expected
For a testing purpose I pointed the symlink "/opt/emby-server/lib/libstdc++.so.6" to the system library instead of Emby's and it does work just fine:

2022-06-24 22:49:58.036 Info Media Info: PROCESSING OF  Blitz  HAS STARTED
2022-06-24 22:49:58.036 Info Media Info: Item FilePath = /path/to/movies/Blitz (2011)/Blitz (2011).mkv 
2022-06-24 22:49:58.036 Debug Media Info: Starting MediaInfo.exe process
2022-06-24 22:50:00.114 Debug Media Info: ************** Reset Embedded Titles = False
2022-06-24 22:50:00.115 Debug Media Info: Ref Item = /path/to/movies/Blitz (2011)/Blitz (2011).mkv
2022-06-24 22:50:00.115 Debug Media Info: GENERAL INFO
2022-06-24 22:50:00.115 Debug Media Info: Video Tracks = 1
2022-06-24 22:50:00.115 Debug Media Info: Audio Tracks = 2
2022-06-24 22:50:00.115 Debug Media Info: Subtitle Tracks = 
2022-06-24 22:50:00.115 Debug Media Info: Overall Bitrate = 14113116
2022-06-24 22:50:00.115 Debug Media Info: *********************
2022-06-24 22:50:00.115 Debug Media Info: VIDEO INFO
2022-06-24 22:50:00.115 Debug Media Info: Track Format = AVC
2022-06-24 22:50:00.115 Debug Media Info: BitRate = 10814265
2022-06-24 22:50:00.115 Debug Media Info: Height =816
2022-06-24 22:50:00.115 Debug Media Info: Width =1920
2022-06-24 22:50:00.115 Debug Media Info: Aspect Ration =2.353
2022-06-24 22:50:00.115 Debug Media Info: HDR Format =
2022-06-24 22:50:00.115 Debug Media Info: HDR Format Profile =
2022-06-24 22:50:00.115 Debug Media Info: HDR Compatibility =
2022-06-24 22:50:00.115 Debug Media Info: *********************
2022-06-24 22:50:00.286 Info Media Info: Video Track successfully Written & Exited with Code 0
2022-06-24 22:50:00.286 Info Media Info: Video Track Title Set to 1080p 
2022-06-24 22:50:00.303 Debug App: Saving nfo metadata for /path/to/movies/Blitz (2011)/Blitz (2011).mkv to /path/to/movies/Blitz (2011)/Blitz (2011).nfo.
2022-06-24 22:50:01.802 Debug Media Info: AUDIO INFO
2022-06-24 22:50:01.802 Debug Media Info: Track Format = DTS
2022-06-24 22:50:01.802 Debug Media Info: No of Channels = 6
2022-06-24 22:50:01.802 Debug Media Info: Track Index = 1
2022-06-24 22:50:01.802 Debug Media Info: Track Additional Features = 
2022-06-24 22:50:01.802 Debug Media Info: *********************
2022-06-24 22:50:44.016 Info TaskManager: Attempting to cancel Scheduled Task Media Info
2022-06-24 22:52:27.652 Info Media Info: Audio Track successfully Written & Exited with Code 0
2022-06-24 22:52:27.653 Info Media Info: Audio Stream #1 Updated to: DTS 5.1
2022-06-24 22:52:27.668 Debug App: Saving nfo metadata for /path/to/movies/Blitz (2011)/Blitz (2011).mkv to /path/to/movies/Blitz (2011)/Blitz (2011).nfo.
2022-06-24 22:52:27.675 Debug Media Info: AUDIO INFO
2022-06-24 22:52:27.675 Debug Media Info: Track Format = DTS
2022-06-24 22:52:27.675 Debug Media Info: No of Channels = 6
2022-06-24 22:52:27.675 Debug Media Info: Track Index = 2
2022-06-24 22:52:27.675 Debug Media Info: Track Additional Features = 
2022-06-24 22:52:27.675 Debug Media Info: *********************
2022-06-24 22:52:27.756 Info Media Info: Audio Track successfully Written & Exited with Code 0
2022-06-24 22:52:27.756 Info Media Info: Audio Stream #2 Updated to: DTS 5.1
2022-06-24 22:52:27.824 Debug App: Saving nfo metadata for /path/to/movies/Blitz (2011)/Blitz (2011).mkv to /path/to/movies/Blitz (2011)/Blitz (2011).nfo.
2022-06-24 22:52:27.829 Info Media Info: Item Tags found =  
2022-06-24 22:52:27.830 Info Media Info: PROCESSING OF Blitz HAS COMPLETED
2022-06-24 22:52:27.833 Debug Media Info: MediaInfo processing for Blitz and took 149797 milliseconds
2022-06-24 22:52:27.833 Debug TaskManager: Media Info Completed after 2 minute(s) and 30 seconds

I noticed a difference in video title, instead of 1080p AVC it set the title to 1080p and is missing the AVC.
Is that intended?

Hey bud, sorry i will need to take a look at this. Been having some fun. 
so we need to access emby library to get the ID and the physical location of the file. So we can do our work. If that file is being used by emby for whatever reason in the database we get locked out. 

No reason why AVC doesn’t get shown. As the codec format is what is used and is there. 
 

i will check out some of mine. 
 

try and look either side of those log instances to see if you can see emby refresher started or something like that. 
 

Can you turn of emby real-time monitoring for a libray you have issues with and see if that fixes it.

Link to comment
Share on other sites

neik
16 hours ago, Cheesegeezer said:

Hey bud, sorry i will need to take a look at this. Been having some fun. 

Yeah, I saw that you have been busy with Iridium lately, very nice looking UI btw.

16 hours ago, Cheesegeezer said:

so we need to access emby library to get the ID and the physical location of the file. So we can do our work. If that file is being used by emby for whatever reason in the database we get locked out. 

No reason why AVC doesn’t get shown. As the codec format is what is used and is there. 

Actually, nothing was going on on the server and iirc it didn't only happen with that one file it was a general thing.
Interestingly it shows AVC in "track format" so it does detect it correctly but doesn't apply it to title then.

16 hours ago, Cheesegeezer said:

try and look either side of those log instances to see if you can see emby refresher started or something like that. 

Emby refresher does start, I can see them in the logs.

16 hours ago, Cheesegeezer said:

Can you turn of emby real-time monitoring for a libray you have issues with and see if that fixes it.

I don't use real-time monitoring for any of my libraries.
Actually, I've never used it.


Edit:
@Cheesegeezer, just to make sure that you are aware of the issue with the library file I mentioned in one of my latest posts in here.
I just tested with latest server stable (4.7.5.0) and am running into the library issue still.
Thanks for having a look! 🙂 

Edited by neik
Link to comment
Share on other sites

Cheesegeezer
15 hours ago, neik said:

Yeah, I saw that you have been busy with Iridium lately, very nice looking UI btw.

Thanks Dude

15 hours ago, neik said:

Actually, nothing was going on on the server and iirc it didn't only happen with that one file it was a general thing.
Interestingly it shows AVC in "track format" so it does detect it correctly but doesn't apply it to title then.

This i do not understand because, if the switch is on to Show Codec info then it should show it.

image.png.c05b5e0bc5476497691604fd1ad05fff.png

This code block below basically covers that so i don't know why it wont write to it.

image.png.8b98908cd1766d071e17e934b324e48f.png

15 hours ago, neik said:

Emby refresher does start, I can see them in the logs.

I'm not sure how the refresher works, but you need to check if the refresher is refreshing the file immediately when the mediainfo is trying to use the same file.

A full log would really help me and @rbjtech track it down.  And turn on debugging.  PM me if you want to keep it private

15 hours ago, neik said:

I don't use real-time monitoring for any of my libraries.
Actually, I've never used it

I may add in some code to log this in the next release to see if it is actually enabled.... even tho you don't have it enabled.  if you know what i mean

15 hours ago, neik said:

Edit:
@Cheesegeezer, just to make sure that you are aware of the issue with the library file I mentioned in one of my latest posts in here.
I just tested with latest server stable (4.7.5.0) and am running into the library issue still.
Thanks for having a look! 🙂 

 

@FrostByte I have added in the bif Interval setting for next release.  If you disable the toggle for the interval then it will automatically set back to 10 seconds.  You can choose from 1 - 120 sec intervals for image extraction.

image.png.1ec156c119be1f7c7c253ecd0e85440b.png

 

  • Like 2
Link to comment
Share on other sites

neik
7 hours ago, Cheesegeezer said:

This i do not understand because, if the switch is on to Show Codec info then it should show it.

Oh god, just ignore this one, the problem was sitting in front of the PC.
For some reason the option for the codec was disabled. 😕

On 6/24/2022 at 10:59 PM, neik said:

Question: Why is it trying to access the library within Emby's folder?
If you recall, when I run the command in the console it does work as expected
For a testing purpose I pointed the symlink "/opt/emby-server/lib/libstdc++.so.6" to the system library instead of Emby's and it does work just fine:

The remaining issue I am having is this one with the library, the original symlink "/opt/emby-server/lib/libstdc++.so.6" does link to "/opt/emby-server/lib/libstdc++.so.6.0.25" and then it shows me this error and doesn't do anything:

2022-06-29 07:38:30.628 Debug Media Info: AUDIO EXIT CODE 1: STD ERROR OUTPUT
2022-06-29 07:38:30.628 Debug Media Info: /usr/bin/mkvpropedit: /opt/emby-server/lib/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /usr/bin/mkvpropedit)

As described in the quote above I changed the symlink to the system libstdc++.("/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28") which has the version 6.0.28 it does work fine.

Maybe using the system libstdc++ would be better than the one within Emby's package as it probably gets the latest versions faster than within Emby's package.
Anything you can do about that?
 

Link to comment
Share on other sites

rbjtech
44 minutes ago, neik said:

Oh god, just ignore this one, the problem was sitting in front of the PC.
For some reason the option for the codec was disabled. 😕

☺️ we've all been there !

44 minutes ago, neik said:

As described in the quote above I changed the symlink to the system libstdc++.("/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28") which has the version 6.0.28 it does work fine.

So it works now because you are pointing to the up to date libstdc which MediaInfo has a dependency on ?

45 minutes ago, neik said:

Maybe using the system libstdc++ would be better than the one within Emby's package as it probably gets the latest versions faster than within Emby's package.
Anything you can do about that?

I don't think that is anything the Plugin has control over this.  I would imagine that any library it needs is dictated by the application that called the executable, in this case emby, so it will try and use that library path first.   Maybe a question for @Luke to update the relevant package within Emby ?

Link to comment
Share on other sites

neik
13 minutes ago, rbjtech said:

So it works now because you are pointing to the up to date libstdc which MediaInfo has a dependency on ?

Correct, for testing purpose I did that and switched back again as I don't know what side effects it could have on Emby itself.

14 minutes ago, rbjtech said:

I don't think that is anything the Plugin has control over this.  I would imagine that any library it needs is dictated by the application that called the executable, in this case emby, so it will try and use that library path first.   Maybe a question for @Luke to update the relevant package within Emby ?

I'm afraid, I was expecting this answer.

So, yes then maybe Luke can maybe elaborate a bit.

In the meantime I'll check the latest server beta to see if the library changed there - maybe it has already been updated. 😉

  • Like 1
Link to comment
Share on other sites

Dedone

Hi,

i had try to search in all the pages and i hope to not make a double request, but there's a way to use this plugin on synology nas?

Thanks

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