rbjtech 5284 Posted February 17, 2024 Posted February 17, 2024 4 hours ago, kaledi said: Works really nicely. Out if interest, if I run a scheduled task (after the first run) to update new media added, should it take a long time to do the scan - media library is large? No, it should take seconds and just update those not already in the processed file. Have you selected just the libraries you want ? Maybe you have selected picture and/or music libraries and it's scanning those looking for video files ?
kaledi 41 Posted February 17, 2024 Posted February 17, 2024 that's what I would have expected. No, I have no music libraries. Looking at the log, 2 things I see, it appears that despite the schedule task running to completion, there are a lot of files that need to be processed, so maybe I need to be patient and run it a few times until all files are processed. I also do see the following appearing. Is this normal e.g. if the file already has the appropriate title from a previous scan? Warn MediaInfo: Replace Audio Track Failed to update Track Title & Exited with Code 2
rbjtech 5284 Posted February 17, 2024 Posted February 17, 2024 6 minutes ago, kaledi said: that's what I would have expected. No, I have no music libraries. Looking at the log, 2 things I see, it appears that despite the schedule task running to completion, there are a lot of files that need to be processed, so maybe I need to be patient and run it a few times until all files are processed. I also do see the following appearing. Is this normal e.g. if the file already has the appropriate title from a previous scan? Warn MediaInfo: Replace Audio Track Failed to update Track Title & Exited with Code 2 Hmm - code 0 is success, code 1 is warning (but changes made), code 2 is error (no changes made) The most common code 2 error is either access issues, or the file is locked by another process.
kaledi 41 Posted February 17, 2024 Posted February 17, 2024 4 hours ago, rbjtech said: Hmm - code 0 is success, code 1 is warning (but changes made), code 2 is error (no changes made) The most common code 2 error is either access issues, or the file is locked by another process. OK, that is interesting. I've just started the task again and looking at the log the same number of files need to be processed and I'm getting this same error code for those files. I can't see any issue with access to the files, e.g. i don't see any option in DSM (Synology NAS) to provide permissions to the shared folders to mkvtoolnix. Is there any configuration necessary for mkvtoolnix
rbjtech 5284 Posted February 18, 2024 Posted February 18, 2024 12 hours ago, muppet4k said: Only for emby on windows server ?? Whatever platform mkvpropedit and mediainfocli support, this plug supports. See - https://github.com/Cheesegeezer/MediaInfoWiki/wiki/Various-OS-Installation-Help
rbjtech 5284 Posted February 19, 2024 Posted February 19, 2024 v1.0.1.40 No updates other than built with latest 4.8.0.80 NuGet package from the Emby Team (previously built with 4.7) Emby.MediaInfo.dll Please take a copy of the old DLL if replacing, as while I have done basic testing to ensure it functions as expected, the 4.7 version did not have any issues.
Simon98765 0 Posted February 26, 2024 Posted February 26, 2024 I'm trying to get this running on my Asustor Nas server , but I'm unsure which version of Mediainfo and MKVToolNix to download. Any help appreciated.
rbjtech 5284 Posted February 27, 2024 Posted February 27, 2024 13 hours ago, Simon98765 said: I'm trying to get this running on my Asustor Nas server , but I'm unsure which version of Mediainfo and MKVToolNix to download. Any help appreciated. https://github.com/Cheesegeezer/MediaInfoWiki/wiki/Various-OS-Installation-Help This may help - if it's not listed here, then unfortunately it is not supported. 1
SimCity 10 Posted March 1, 2024 Posted March 1, 2024 Well boredom may have set in. After reading MrLinford's process of setting up the pre-requisite apps in docker. I decided to transform this into a LSIO docker-mod that will allow simply adding an environment variable to the container definition to have the creation of the container include the apps required. Almost all of this is entirely based on MrLinford's script, diced and sliced into parts that leverage LSIO's standardised structure for customising their containers and some added checks in place to ensure that it wont try and install things if they already are or its not a compatible base image. There is also an option to enable the BifTools stuff to be installed if you wish to use the BIF generator. https://github.com/SimCity/emby-mediainfo-plugin-prereq has all the details on how to use. Quick outline: Add the environment variable to the LSIO Emby container definition: DOCKER_MODS=ghcr.io/simcity/emby-mediainfo-plugin-prereq:latest Optionally, to be able to utilise BIF generator, also add: INCLUDE_BIFTOOL=TRUE Start container. If the container is already running, you will need to restart the container (not just restart emby) for the changes to apply. When container is up, it will also initialise with all the packages and files required for MediaInfo to work. In the settings for MediaInfo plugin, the locations are: /bin/mediainfo /bin/mkvpropedit /bin/biftool 3
rbjtech 5284 Posted March 1, 2024 Posted March 1, 2024 8 hours ago, SimCity said: Well boredom may have set in. After reading MrLinford's process of setting up the pre-requisite apps in docker. I decided to transform this into a LSIO docker-mod that will allow simply adding an environment variable to the container definition to have the creation of the container include the apps required. Almost all of this is entirely based on MrLinford's script, diced and sliced into parts that leverage LSIO's standardised structure for customising their containers and some added checks in place to ensure that it wont try and install things if they already are or its not a compatible base image. There is also an option to enable the BifTools stuff to be installed if you wish to use the BIF generator. https://github.com/SimCity/emby-mediainfo-plugin-prereq has all the details on how to use. Quick outline: Add the environment variable to the LSIO Emby container definition: DOCKER_MODS=ghcr.io/simcity/emby-mediainfo-plugin-prereq:latest Optionally, to be able to utilise BIF generator, also add: INCLUDE_BIFTOOL=TRUE Start container. If the container is already running, you will need to restart the container (not just restart emby) for the changes to apply. When container is up, it will also initialise with all the packages and files required for MediaInfo to work. In the settings for MediaInfo plugin, the locations are: /bin/mediainfo /bin/mkvpropedit /bin/biftool Fantastic - thanks for this. Is it ok if I add your github link to the Wiki ?
SimCity 10 Posted March 1, 2024 Posted March 1, 2024 13 hours ago, rbjtech said: Fantastic - thanks for this. Is it ok if I add your github link to the Wiki ? Sure, feel free to add it and anything else you wish. 1
rbjtech 5284 Posted March 2, 2024 Posted March 2, 2024 11 hours ago, SimCity said: Sure, feel free to add it and anything else you wish. thanks - added a link to the github in the wiki https://github.com/Cheesegeezer/MediaInfoWiki/wiki/Various-OS-Installation-Help#5-docker
MrLinford 62 Posted March 2, 2024 Posted March 2, 2024 On 01/03/2024 at 00:58, SimCity said: Well boredom may have set in. After reading MrLinford's process of setting up the pre-requisite apps in docker. I decided to transform this into a LSIO docker-mod that will allow simply adding an environment variable to the container definition to have the creation of the container include the apps required. Almost all of this is entirely based on MrLinford's script, diced and sliced into parts that leverage LSIO's standardised structure for customising their containers and some added checks in place to ensure that it wont try and install things if they already are or its not a compatible base image. There is also an option to enable the BifTools stuff to be installed if you wish to use the BIF generator. https://github.com/SimCity/emby-mediainfo-plugin-prereq has all the details on how to use. Quick outline: Add the environment variable to the LSIO Emby container definition: DOCKER_MODS=ghcr.io/simcity/emby-mediainfo-plugin-prereq:latest Optionally, to be able to utilise BIF generator, also add: INCLUDE_BIFTOOL=TRUE Start container. If the container is already running, you will need to restart the container (not just restart emby) for the changes to apply. When container is up, it will also initialise with all the packages and files required for MediaInfo to work. In the settings for MediaInfo plugin, the locations are: /bin/mediainfo /bin/mkvpropedit /bin/biftool Thank you for the credit. I'll take a look later.
supermood 71 Posted March 10, 2024 Posted March 10, 2024 hi I don't understand how to map the @appstore folder so that I can maintain the path in the Plugin. emby is running in a docker on synology. any hint for me?
supermood 71 Posted May 14, 2024 Posted May 14, 2024 On 3/2/2024 at 11:29 AM, MrLinford said: Thank you for the credit. I'll take a look later. Mr. Linford. your guide is incredible!!! many thanks for that!!!! with the infos on page 37 i was able to set it up. emby is Running on a linux docker and i thought i will never be able to see the correct audio codecs... Now the log tells me that something positive happened? but only for 3% any idea why? many thanks!!! 2024-05-14 18:38:37.747 Info Media Info: MKVPropEdit Process Version Check Completed with Exit Code: 0 2024-05-14 18:38:37.748 Info Media Info: MKVPROPEDIT VERSION IS 70 - CONGRATS..... THIS VERSION IS SUPPORTED!! 2024-05-14 18:38:37.748 Info Media Info: No. of Libraries selected is 3 2024-05-14 18:38:37.748 Info Media Info: Getting Folder(s) Items 2024-05-14 18:38:38.037 Info Media Info: Total No. of items in Library 4781 2024-05-14 18:38:38.196 Info Media Info: Actual Items to process = 133 2024-05-14 18:38:38.196 Info Media Info: PERFORMING MEDIAINFO EXTRACTION 2024-05-14 18:38:38.266 Info Media Info: MEDIAINFO TITLES Completed for 133 Videos 2024-05-14 18:38:38.267 Info TaskManager: Advanced Media Information Completed after 0 minute(s) and 0 seconds 1
rbjtech 5284 Posted May 14, 2024 Posted May 14, 2024 7 minutes ago, supermood said: Mr. Linford. your guide is incredible!!! many thanks for that!!!! with the infos on page 37 i was able to set it up. emby is Running on a linux docker and i thought i will never be able to see the correct audio codecs... Now the log tells me that something positive happened? but only for 3% any idea why? many thanks!!! 2024-05-14 18:38:37.747 Info Media Info: MKVPropEdit Process Version Check Completed with Exit Code: 0 2024-05-14 18:38:37.748 Info Media Info: MKVPROPEDIT VERSION IS 70 - CONGRATS..... THIS VERSION IS SUPPORTED!! 2024-05-14 18:38:37.748 Info Media Info: No. of Libraries selected is 3 2024-05-14 18:38:37.748 Info Media Info: Getting Folder(s) Items 2024-05-14 18:38:38.037 Info Media Info: Total No. of items in Library 4781 2024-05-14 18:38:38.196 Info Media Info: Actual Items to process = 133 2024-05-14 18:38:38.196 Info Media Info: PERFORMING MEDIAINFO EXTRACTION 2024-05-14 18:38:38.266 Info Media Info: MEDIAINFO TITLES Completed for 133 Videos 2024-05-14 18:38:38.267 Info TaskManager: Advanced Media Information Completed after 0 minute(s) and 0 seconds Can you turn on debug logging (in emby) and run it again - then post the log. For some reason it's only doing 133 of the 4781 files .. ?
supermood 71 Posted May 14, 2024 Posted May 14, 2024 8 minutes ago, rbjtech said: Can you turn on debug logging (in emby) and run it again - then post the log. For some reason it's only doing 133 of the 4781 files .. ? good thinking! one sec! - yes 3 % - best guess...
supermood 71 Posted May 14, 2024 Posted May 14, 2024 do you see anything more? is this even a debug log 2024-05-14 19:04:21.819 Info Media Info: MEDIAINFO TASK IS STARTING 2024-05-14 19:04:21.819 Debug Media Info: isEnabled = True 2024-05-14 19:04:21.819 Info Media Info: Performing MKV Version Checks......... 2024-05-14 19:04:21.819 Debug Media Info: MKVPROPEDIT EXE: /bin/mkvpropedit 2024-05-14 19:04:21.881 Info Media Info: MKVPropEdit Process Version: mkvpropedit v70.0.0 ('Caught A Lite Sneeze') 64-bit 2024-05-14 19:04:21.881 Info Media Info: MKVPropEdit Process Version Check Completed with Exit Code: 0 2024-05-14 19:04:21.881 Info Media Info: MKVPROPEDIT VERSION IS 70 - CONGRATS..... THIS VERSION IS SUPPORTED!! 2024-05-14 19:04:21.881 Info Media Info: No. of Libraries selected is 3 2024-05-14 19:04:21.881 Debug Media Info: Internal Library Folder Id = 40731 - Folder Name: 0300 - docus 2024-05-14 19:04:21.881 Debug Media Info: Internal Library Folder Id = 3 - Folder Name: 0100 - movies 2024-05-14 19:04:21.881 Debug Media Info: Internal Library Folder Id = 7152 - Folder Name: 0200 - seasons 2024-05-14 19:04:21.881 Info Media Info: Getting Folder(s) Items 2024-05-14 19:04:21.992 Info Media Info: Total No. of items in Library 4781 2024-05-14 19:04:22.064 Info Media Info: Actual Items to process = 133 2024-05-14 19:04:22.064 Info Media Info: PERFORMING MEDIAINFO EXTRACTION 2024-05-14 19:04:22.119 Info Media Info: MEDIAINFO TITLES Completed for 133 Videos 2024-05-14 19:04:22.119 Debug XmlSerializer: Serializing to file /config/plugins/configurations/Emby.MediaInfo.xml 2024-05-14 19:04:22.121 Info TaskManager: Advanced Media Information Completed after 0 minute(s) and 0 seconds 2024-05-14 19:04:24.900 Debug App: ScheduledTasksWebSocketListener stop transmitting over websocket to 172.17.0.1 2024-05-14 19:04:24.924 Debug Server: http/1.1 GET http://host2:9988/emby/System/Logs/Query?IncludeItemTypes=Log&Fields=BasicSyncInfo,CanDelete,PrimaryImageAspectRatio,ProductionYear,Status,EndDate,CommunityRating,OfficialRating,CriticRating&StartIndex=0&EnableImageTypes=Primary,Backdrop,Thumb&ImageTypeLimit=1&Recursive=true&Limit=30&X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome Windows&X-Emby-Device-Id=4bd47e49-d1bf-4290-9ce4-d51eb2690086&X-Emby-Client-Version=4.8.6.0&X-Emby-Token=x_secret1_x&X-Emby-Language=en-us. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 Edg/124.0.0.0 2024-05-14 19:04:24.925 Debug Server: http/1.1 Response 200 to host1. Time: 1ms. GET http://host2:9988/emby/System/Logs/Query?IncludeItemTypes=Log&Fields=BasicSyncInfo,CanDelete,PrimaryImageAspectRatio,ProductionYear,Status,EndDate,CommunityRating,OfficialRating,CriticRating&StartIndex=0&EnableImageTypes=Primary,Backdrop,Thumb&ImageTypeLimit=1&Recursive=true&Limit=30&X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome Windows&X-Emby-Device-Id=4bd47e49-d1bf-4290-9ce4-d51eb2690086&X-Emby-Client-Version=4.8.6.0&X-Emby-Token=x_secret1_x&X-Emby-Language=en-us 2024-05-14 19:04:29.187 Debug Server: http/1.1 GET http://host2:9988/emby/System/Logs/embyserver.txt?api_key=x_secret1_x&SetFilename=true. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 Edg/124.0.0.0
MrLinford 62 Posted May 14, 2024 Posted May 14, 2024 18 minutes ago, supermood said: do you see anything more? is this even a debug log 2024-05-14 19:04:21.819 Info Media Info: MEDIAINFO TASK IS STARTING 2024-05-14 19:04:21.819 Debug Media Info: isEnabled = True 2024-05-14 19:04:21.819 Info Media Info: Performing MKV Version Checks......... 2024-05-14 19:04:21.819 Debug Media Info: MKVPROPEDIT EXE: /bin/mkvpropedit 2024-05-14 19:04:21.881 Info Media Info: MKVPropEdit Process Version: mkvpropedit v70.0.0 ('Caught A Lite Sneeze') 64-bit 2024-05-14 19:04:21.881 Info Media Info: MKVPropEdit Process Version Check Completed with Exit Code: 0 2024-05-14 19:04:21.881 Info Media Info: MKVPROPEDIT VERSION IS 70 - CONGRATS..... THIS VERSION IS SUPPORTED!! 2024-05-14 19:04:21.881 Info Media Info: No. of Libraries selected is 3 2024-05-14 19:04:21.881 Debug Media Info: Internal Library Folder Id = 40731 - Folder Name: 0300 - docus 2024-05-14 19:04:21.881 Debug Media Info: Internal Library Folder Id = 3 - Folder Name: 0100 - movies 2024-05-14 19:04:21.881 Debug Media Info: Internal Library Folder Id = 7152 - Folder Name: 0200 - seasons 2024-05-14 19:04:21.881 Info Media Info: Getting Folder(s) Items 2024-05-14 19:04:21.992 Info Media Info: Total No. of items in Library 4781 2024-05-14 19:04:22.064 Info Media Info: Actual Items to process = 133 2024-05-14 19:04:22.064 Info Media Info: PERFORMING MEDIAINFO EXTRACTION 2024-05-14 19:04:22.119 Info Media Info: MEDIAINFO TITLES Completed for 133 Videos 2024-05-14 19:04:22.119 Debug XmlSerializer: Serializing to file /config/plugins/configurations/Emby.MediaInfo.xml 2024-05-14 19:04:22.121 Info TaskManager: Advanced Media Information Completed after 0 minute(s) and 0 seconds 2024-05-14 19:04:24.900 Debug App: ScheduledTasksWebSocketListener stop transmitting over websocket to 172.17.0.1 2024-05-14 19:04:24.924 Debug Server: http/1.1 GET http://host2:9988/emby/System/Logs/Query?IncludeItemTypes=Log&Fields=BasicSyncInfo,CanDelete,PrimaryImageAspectRatio,ProductionYear,Status,EndDate,CommunityRating,OfficialRating,CriticRating&StartIndex=0&EnableImageTypes=Primary,Backdrop,Thumb&ImageTypeLimit=1&Recursive=true&Limit=30&X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome Windows&X-Emby-Device-Id=4bd47e49-d1bf-4290-9ce4-d51eb2690086&X-Emby-Client-Version=4.8.6.0&X-Emby-Token=x_secret1_x&X-Emby-Language=en-us. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 Edg/124.0.0.0 2024-05-14 19:04:24.925 Debug Server: http/1.1 Response 200 to host1. Time: 1ms. GET http://host2:9988/emby/System/Logs/Query?IncludeItemTypes=Log&Fields=BasicSyncInfo,CanDelete,PrimaryImageAspectRatio,ProductionYear,Status,EndDate,CommunityRating,OfficialRating,CriticRating&StartIndex=0&EnableImageTypes=Primary,Backdrop,Thumb&ImageTypeLimit=1&Recursive=true&Limit=30&X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome Windows&X-Emby-Device-Id=4bd47e49-d1bf-4290-9ce4-d51eb2690086&X-Emby-Client-Version=4.8.6.0&X-Emby-Token=x_secret1_x&X-Emby-Language=en-us 2024-05-14 19:04:29.187 Debug Server: http/1.1 GET http://host2:9988/emby/System/Logs/embyserver.txt?api_key=x_secret1_x&SetFilename=true. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 Edg/124.0.0.0 Do all your files have the correct permissions? Also try the "Refresh All Items" option in the plugin and do a new scan. 1
supermood 71 Posted May 14, 2024 Posted May 14, 2024 yes permissions are good as long as i can check with my limited knowledge. the whole share and the folder itself full control for mkpro, info and the 2 emby user i could find.. there are no different auth fpr specifi movie folder refresh was on several times I will reboot the nas now not only the docker image
supermood 71 Posted May 14, 2024 Posted May 14, 2024 tataaaa! something is happening! yipiajeh!! it's def more than a sec. it's running 3 min and has 5% I would say time for champagne!! i will write in 30m hopefully with a smile
supermood 71 Posted May 14, 2024 Posted May 14, 2024 (edited) this looks just BEAUTIFUL!! in case my nas is still running in one hour, could you make me huge favor and post only the ssh commands I have to perform after an emby docker update? I have absolutely no clue which one you mean in your guide sorry!! thanks!!! Edited May 14, 2024 by supermood Pic 1
rbjtech 5284 Posted May 14, 2024 Posted May 14, 2024 While we are waiting what options did you use on the MediaInfo Plugin ? Maybe do a screenshot ..?
supermood 71 Posted May 14, 2024 Posted May 14, 2024 (edited) sure. I guess standard besides the different tags? honestly I tried 10 times yesterday with a test lib, and only a few tags, without success. today I completely forget and later I will have it all for all libs Edited May 14, 2024 by supermood
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