rbjtech 5284 Posted June 3, 2024 Posted June 3, 2024 13 hours ago, supermood said: upgrading a movie the plug in works I can see the add info in video and audio track on top, BUT the tags are not maintained / are missing / still empty is this known? am I doing something wrong? lib scan was not helping I had to reprocess the movie Hi - yea we never got around to automatically reprocessing a movie. So a manual reprocess is the only option at the moment as that just treats it as new.
supermood 71 Posted June 3, 2024 Posted June 3, 2024 thank you! got it! not so bad to run it occasionally again in full refresh. but, I have 20 movies with very strange tags I don't want to have like 'video' I delete these manually, but after full refresh these are back. is there a way I can delete them for good? thanks!!
rbjtech 5284 Posted June 3, 2024 Posted June 3, 2024 1 hour ago, supermood said: thank you! got it! not so bad to run it occasionally again in full refresh. but, I have 20 movies with very strange tags I don't want to have like 'video' I delete these manually, but after full refresh these are back. is there a way I can delete them for good? thanks!! Are they maybe held in an nfo file and emby is importing them ? As the mediainfo plugin (if you have that option turned on) will just be creating medianfo codec like tags - 'video' certainly isn't one of them - or shouldn't be anyway .. Maybe show a full example ? 1
supermood 71 Posted June 3, 2024 Posted June 3, 2024 I have no idea where they are coming from. but they are back every time I run a full media info refresh.. next time I can share a Pic of course! but not so much to see. Just another tag in the list like video or what were the other, visible or something like this.. 10 or 15 movies having them plus one movie with a tag I cannot even write here, very cryptical. 1
supermood 71 Posted June 3, 2024 Posted June 3, 2024 2 hours ago, rbjtech said: Are they maybe held in an nfo file and emby is importing them ? As the mediainfo plugin (if you have that option turned on) will just be creating medianfo codec like tags - 'video' certainly isn't one of them - or shouldn't be anyway .. Maybe show a full example ? thanks again! would be great if you have an idea how avoid that in the future. I ran another media info and these wrong tags are back. I try to summarize with my limited knowledge and the Screenshots tags are back only relevant for 9 movies. all old example for space cowboys found the term mpe in the nfo but not in the xml can I manually deleted that in a nfo file? both 2 whole lines?
rbjtech 5284 Posted June 3, 2024 Posted June 3, 2024 What version of the plugin are you using ? My tweaked version may be picking up 'MPEG Video' as two tags - I don't use MPEG Video (could be MPEG1, could be MPEG2) so I've never tested this ancient codec ! The other tags look 'normal' - and are valid codecs or containers. Remux is Auto generated if the bitrate is above a certain amount (indicative of a Remux - ie not compressed from the original Blu-Ray UHD, Blu-Ray or DVD)
supermood 71 Posted June 3, 2024 Posted June 3, 2024 1 minute ago, rbjtech said: What version of the plugin are you using ? My tweaked version may be picking up 'MPEG Video' as two tags - I don't use MPEG Video (could be MPEG1, could be MPEG2) so I've never tested this ancient codec ! The other tags look 'normal' - and are valid codecs or containers. Remux is Auto generated if the bitrate is above a certain amount (indicative of a Remux - ie not compressed from the original Blu-Ray UHD, Blu-Ray or DVD) Version 10120 I've deleted the movies. as said, really old and yes, you're right maybe mpeg also ok not sure. all the others like remux are perfect, of course! my reason for the addon only video and visual is really strange but as the movies are gone I dint think they will come back thanks!! 1
sh0rty 714 Posted June 16, 2024 Posted June 16, 2024 (edited) For some unknown reason, the plugin stopped working for me from one day to another. Streams are not renamed anymore. mkvpropedit version is 70.0.0 and MediaInfo CLI 24.03. Plugin version is 1.0.1.20. Last week, same tool combination worked without problems. I have absolutely no clue what is going on. embyserver (2).txt Edited June 16, 2024 by shorty1483
rbjtech 5284 Posted June 16, 2024 Posted June 16, 2024 Hmm .. Quote 2024-06-16 12:25:53.608 Error Media Info: Input string was not in a correct format. *** Error Report *** Version: 4.8.8.0 Command line: C:\Users\blingbling\AppData\Roaming\Emby-Server\system\EmbyServer.dll -service Operating system: Microsoft Windows 10.0.22631 Framework: .NET 6.0.30 OS/Process: x64/x64 Runtime: C:/Users/blingbling/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll Processor count: 12 Data path: C:\Users\blingbling\AppData\Roaming\Emby-Server\programdata Application path: C:\Users\blingbling\AppData\Roaming\Emby-Server\system System.FormatException: System.FormatException: Input string was not in a correct format. at System.Number.ThrowOverflowOrFormatException(ParsingStatus status, TypeCode type) at System.Convert.ToInt32(String value) at Emby.MediaInfo.ScheduledTasks.MediaInfoScheduledTask.Execute(CancellationToken cancellationToken, IProgress`1 progress) Source: System.Private.CoreLib TargetSite: Void ThrowOverflowOrFormatException(ParsingStatus, System.TypeCode) Has anything been updated ? New Emby version, perhaps ? I just tested on my system - no issues at all.
sh0rty 714 Posted June 16, 2024 Posted June 16, 2024 (edited) Only update was Emby Server to 4.8.8.0 stable on 1st of June, if Windows info is correct. Edit: How can I nail down what kind of " Input string was not in a correct format"? Edited June 16, 2024 by shorty1483
sh0rty 714 Posted June 16, 2024 Posted June 16, 2024 (edited) @rbjtechOnly think I can think of is I created a lot of grouped movies with the 4K and 1080p version in the same folder and named like descibed in the wiki. Could this have something to do with it? If yes, what is the solution? Edited June 16, 2024 by shorty1483
rbjtech 5284 Posted June 17, 2024 Posted June 17, 2024 (edited) If you re-process an item - does that work ok for you ? The plugin should handle multi-versions - but it may be they need to be re-processed if they are not 'new' ? remember it's all done by emby id, so if they now have the same id (before they were seperate) then that may be screwing things up. I'm happy to try and recreate/investigate - but need some direction first - as everything is working fine and there are no other reports of issues ... Edited June 17, 2024 by rbjtech
sh0rty 714 Posted June 18, 2024 Posted June 18, 2024 (edited) On 6/17/2024 at 4:59 PM, rbjtech said: If you re-process an item - does that work ok for you ? The plugin should handle multi-versions - but it may be they need to be re-processed if they are not 'new' ? remember it's all done by emby id, so if they now have the same id (before they were seperate) then that may be screwing things up. I'm happy to try and recreate/investigate - but need some direction first - as everything is working fine and there are no other reports of issues ... I even removed all grouped movies from library, deleted the NFOs, rescanned library to remove them. Reinserted them, rescanned library so everything embywise is rebuild from scratch. I even replaced the previously working versions with other compatible mkvpropedit and MediaInfoCLI versions. Result in all cases: Same error, absolutely no new added file (also normal non grouped movies or series episodes) is touched by mkvpropedit and Emby throws out the following error for every new movie. If I had a clue what "Input string was not in a correct format" means?!? 2024-06-18 20:00:02.249 Debug TaskManager: Executing Advanced Media Information 2024-06-18 20:00:02.250 Info Media Info: Current OS = WINDOWS 2024-06-18 20:00:02.250 Info Media Info: MEDIAINFO TASK IS STARTING 2024-06-18 20:00:02.250 Debug Media Info: isEnabled = True 2024-06-18 20:00:02.250 Info Media Info: Performing MKV Version Checks......... 2024-06-18 20:00:02.250 Debug Media Info: MKVPROPEDIT EXE: D:\Emby\00_Servertools\mkvtoolnix\mkvpropedit.exe 2024-06-18 20:00:02.341 Info Media Info: MKVPropEdit Process Version: mkvpropedit v70.0.0.85 ('Caught A Lite Sneeze') 64-bit 2024-06-18 20:00:02.342 Info Media Info: MKVPropEdit Process Version Check Completed with Exit Code: 0 2024-06-18 20:00:02.342 Info Media Info: MKVPROPEDIT VERSION IS 70 - CONGRATS..... THIS VERSION IS SUPPORTED!! 2024-06-18 20:00:02.342 Info Media Info: No. of Libraries selected is 2 2024-06-18 20:00:02.342 Debug Media Info: Internal Library Folder Id = 3358 - Folder Name: Filme 2024-06-18 20:00:02.342 Debug Media Info: Internal Library Folder Id = 3363 - Folder Name: Serien 2024-06-18 20:00:02.342 Info Media Info: Getting Folder(s) Items 2024-06-18 20:00:02.428 Info Media Info: Total No. of items in Library 4544 2024-06-18 20:00:02.429 Error Media Info: Input string was not in a correct format. *** Error Report *** Version: 4.8.8.0 Command line: C:\Users\blingbling\AppData\Roaming\Emby-Server\system\EmbyServer.dll -service Operating system: Microsoft Windows 10.0.22631 Framework: .NET 6.0.30 OS/Process: x64/x64 Runtime: C:/Users/blingbling/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll Processor count: 12 Data path: C:\Users\blingbling\AppData\Roaming\Emby-Server\programdata Application path: C:\Users\blingbling\AppData\Roaming\Emby-Server\system System.FormatException: System.FormatException: Input string was not in a correct format. at System.Number.ThrowOverflowOrFormatException(ParsingStatus status, TypeCode type) at System.Convert.ToInt32(String value) at Emby.MediaInfo.ScheduledTasks.MediaInfoScheduledTask.Execute(CancellationToken cancellationToken, IProgress`1 progress) Source: System.Private.CoreLib TargetSite: Void ThrowOverflowOrFormatException(ParsingStatus, System.TypeCode) Edited June 18, 2024 by shorty1483
supermood 71 Posted June 18, 2024 Posted June 18, 2024 sorry to interrupt with my dummy question but I'm not getting it. I now have several movies with dts x in the audio track name, but not with dts x tag. I thought that's the same with that plug in? imnisre re processing all will fix it like always... but why do I have to that.
rbjtech 5284 Posted June 19, 2024 Posted June 19, 2024 (edited) 13 hours ago, supermood said: sorry to interrupt with my dummy question but I'm not getting it. I now have several movies with dts x in the audio track name, but not with dts x tag. I thought that's the same with that plug in? imnisre re processing all will fix it like always... but why do I have to that. Once processed, then that item will not be processed again unless you force it with a re-process. If you ran an old version of the plugin, that did not tag items, or simply did not select that option to begin with, then you'll need to re-process those items. There is no harm if you opt to re-process them ALL - then it will start from scratch and apply any new options. Because it is actually updating the FILE, there is no easy way to re-apply changed options. I don't have any issues on the DTS:X Tag being applied - Edited June 19, 2024 by rbjtech
sh0rty 714 Posted June 19, 2024 Posted June 19, 2024 @rbjtech@CheesegeezerPerhaps you will say "sure everyone knows that", but I found the source of malfunction. When I edited the exclude list last week, I made a comma after the last entry. After i removed it, plugin works again as it should. Didn't know the plugin is so sensitive. 1
rbjtech 5284 Posted June 19, 2024 Posted June 19, 2024 1 hour ago, shorty1483 said: @rbjtech@CheesegeezerPerhaps you will say "sure everyone knows that", but I found the source of malfunction. When I edited the exclude list last week, I made a comma after the last entry. After i removed it, plugin works again as it should. Didn't know the plugin is so sensitive. Thanks - that is very useful and no, that is an easy mistake to make. Looking at the code, we do trap for Null or Empty values but I think it's failing when getting the list as it just does a 'split' using a comma - I'll do some testing later and try and reproduce. I'll also add some further help text to not end the line in a comma Nice find ! 1
vaise 340 Posted July 29, 2024 Posted July 29, 2024 I had a backup rsync script that copies new and changed media to a different unraid server each week. I have a few questions therefore : 1 - which linux zip file do I ned to download for the emby unraid docker 2 - where does it go in the appdata for the docker container ? 3 - Can this be run over a single library at a time ? 4 - with the change it makes, will this means that every media file will then be 'changed' and hence a new rsync (of 30+TB) will need to go to my backup server (weeks of processing. 5 - Any chance this is planned to go into native emby - I just need to differentiate between DV and DV/HDR fallback on the media - better if this was in metadata than a change to the file.
Neminem 1518 Posted July 29, 2024 Posted July 29, 2024 42 minutes ago, vaise said: 2 - where does it go in the appdata for the docker container ? I put them in my appdata storage area on my Unraid server. After copying the *.dll file restart emby.
vaise 340 Posted July 29, 2024 Posted July 29, 2024 1 hour ago, jaycedk said: I put them in my appdata storage area on my Unraid server. After copying the *.dll file restart emby. I mean the mediainfocli stuff. Not the plug-in dll.
Neminem 1518 Posted July 29, 2024 Posted July 29, 2024 Ohh ok that I don't know. Never tried messing with it.
SimCity 10 Posted July 29, 2024 Posted July 29, 2024 5 hours ago, vaise said: I had a backup rsync script that copies new and changed media to a different unraid server each week. I have a few questions therefore : 1 - which linux zip file do I ned to download for the 2 - where does it go in the appdata for the docker container ? 3 - Can this be run over a single library at a time ? 4 - with the change it makes, will this means that every media file will then be 'changed' and hence a new rsync (of 30+TB) will need to go to my backup server (weeks of processing. 5 - Any chance this is planned to go into native emby - I just need to differentiate between DV and DV/HDR fallback on the media - better if this was in metadata than a change to the file. follow the guide for how to install in docker https://github.com/Cheesegeezer/MediaInfoWiki/wiki/Various-OS-Installation-Help#5-docker it will take you through how to install the components and what reference you need to put in the plugin settings. Note, you are installing them inside the docker container itself as the apps need to run from inside the container. If you don not use one of the scripts, whenever you rebuild the emby container, you will need to follow this process. As this is a plugin - you control what libraries it runs on and when. It will default to once a day. One of the settings for the plugin is what libraries to run over. It will then work in a very similar manner as the library scanner does. So if you only want to run on one library at a time, you could certainly just manually set it one by one. I find that once the initial run is done, if you set it to run on changes made, it really doesn't cause too much overhead as it is rare to add large volumes of media in one go. Being a plugin also means that its not planned to go into Emby at all, as it is not made by the emby staff, rather a member of the community. While we have seen in the past code from various popular plugins become part of emby, this is at the discretion of the emby team. Note, it is not modifying the media files at all, it is modifying Embys library records to add additional data to them for display. If you are storing .nfo files into your media folders, then these would have changes made to them but are very small files (I have 80+TB libraries with no issues). 1
rbjtech 5284 Posted July 29, 2024 Posted July 29, 2024 3 hours ago, SimCity said: Note, it is not modifying the media files at all, it is modifying Embys library records to add additional data to them for display. If you are storing .nfo files into your media folders, then these would have changes made to them but are very small files (I have 80+TB libraries with no issues). Correction - it IS modifying the source MKV file - the plugin/wiki clearly states this. Emby simply inherits these changes, same as if you did it yourself manually using mkvtoolnix or other tools. I originally wrote this as a script, and cheesegeezer used that as the basis for writing the Plugin. I also wrote the wiki .. so if you want/need edits - then please let me know. I now support the plugin and have also enhanced it with a few more tools such as tagging etc. Have a look in Plugin thread for the latest versions, these versions are not in the Plugin catalogue..
vaise 340 Posted July 29, 2024 Posted July 29, 2024 I backed away from this and uninstalled it before use. I’m after something more native that will just change embys metadata rather than the files. The initial build of my backup emby server was a very time consuming activity, and I just backup changes now so it’s quick. I Can’t have the entire lot changed. i have had radarr set for many years to rename the files with the media info video and audio info, and scanned those for now and got a list of DV media with supposed HDR fallback to test on my sons HDR only TV. These will teplace the 4K library ones then on primary and backup systems.
SimCity 10 Posted July 30, 2024 Posted July 30, 2024 17 hours ago, rbjtech said: Correction - it IS modifying the source MKV file - the plugin/wiki clearly states this. Lol serves me right for writing posts on 3 hours of sleep... The thought did cross my mind as i went to bed that I had something wrong.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now