Neminem 1518 Posted October 8, 2024 Posted October 8, 2024 (edited) Deadpool & Wolverine (2024) - Release Dates — The Movie Database (TMDB) (themoviedb.org) Ok I see its what Emby sees as an premier date if I'm not mistaken Edited October 8, 2024 by Neminem
rbjtech 5284 Posted October 8, 2024 Posted October 8, 2024 (edited) 52 minutes ago, Neminem said: Deadpool & Wolverine (2024) - Release Dates — The Movie Database (TMDB) (themoviedb.org) Ok I see its what Emby sees as an premier date if I'm not mistaken Hmm - you're right. This is going to need a little bit more logic to make it work. In this instance, it was a 'Theatrical' release (cinema) 3 months ago - but on Digital Release early this month - and that's what people are going to want to use - either that or the Physical release date. I don't *think* these other dates are available in Emby - or it would be in the metadata. I think I just need to apply some basic logic and say that if the 'added' date is greater than 6 months, then use the Premier Date .. otherwise don't mess with the added date. If I don't do this, then anything added with a Premier date is going to disappear off the 'Recently Added' row when it really shouldn't ? Edited October 8, 2024 by rbjtech 1
Neminem 1518 Posted October 8, 2024 Posted October 8, 2024 (edited) Correct. I have noticed emby only uses cinema dates. And that drives me crazy at times Edited October 8, 2024 by Neminem
rbjtech 5284 Posted October 8, 2024 Posted October 8, 2024 So I've had a play - TMDB API supports getting ALL the release dates specified by type Release Type Premiere 1 Theatrical (limited) 2 Theatrical 3 Digital 4 Physical 5 TV 6 https://developer.themoviedb.org/reference/movie-release-dates I've no idea why Emby just uses the Premiere date (type 1) - as the others are seemingly available (in our case we need type 4 or 5). A quick TMDB API request in powershell/c# brings me the data - using my own TMDB API Key .. @Luke @ebr Is there any way to utilise the 'type' from the TMDB output and specify we want to use type 3 or 4 if it exists ? { "id": 533535, "results": [ { "iso_3166_1": "AE", "release_dates": [ { "certification": "", "descriptors": [], "iso_639_1": "", "note": "", "release_date": "2024-07-25T00:00:00.000Z", "type": 3 } ] }, ....... If not, then we 'could' query TMDB ourselves as part of the Plugin but the user would need to provide their own TMDB API Key (it's free, so not a big deal) - but it would be better on the Provider if Emby simply got a more useful value that is relevant to the product. 1
Luke 42077 Posted October 8, 2024 Posted October 8, 2024 32 minutes ago, rbjtech said: So I've had a play - TMDB API supports getting ALL the release dates specified by type Release Type Premiere 1 Theatrical (limited) 2 Theatrical 3 Digital 4 Physical 5 TV 6 https://developer.themoviedb.org/reference/movie-release-dates I've no idea why Emby just uses the Premiere date (type 1) - as the others are seemingly available (in our case we need type 4 or 5). A quick TMDB API request in powershell/c# brings me the data - using my own TMDB API Key .. @Luke @ebr Is there any way to utilise the 'type' from the TMDB output and specify we want to use type 3 or 4 if it exists ? { "id": 533535, "results": [ { "iso_3166_1": "AE", "release_dates": [ { "certification": "", "descriptors": [], "iso_639_1": "", "note": "", "release_date": "2024-07-25T00:00:00.000Z", "type": 3 } ] }, ....... If not, then we 'could' query TMDB ourselves as part of the Plugin but the user would need to provide their own TMDB API Key (it's free, so not a big deal) - but it would be better on the Provider if Emby simply got a more useful value that is relevant to the product. If there are mulitple release dates, then yes it probably could be a little smarter about prioritizing them. 1
rbjtech 5284 Posted October 9, 2024 Posted October 9, 2024 14 hours ago, Luke said: If there are mulitple release dates, then yes it probably could be a little smarter about prioritizing them. Thanks. So this is already a feature request from last year - https://emby.media/community/index.php?/topic/122577-release-date-by-physical-or-digital-release-date/#comment-1291943 It doesn't appear to have any support - so I'll probably just add it to MediaInfo Plugin to get and use the Digital or Physical date if it's available, unless that's an easy fix for you if you are already getting the TMDB data during discovery... 1 1
rbjtech 5284 Posted October 9, 2024 Posted October 9, 2024 Getting there .. oh how I hate javascript .. Now we have the TMDB API Keys, I can directly query TMDB for the Release dates (using the tmdbid) and use the Digital or Physical release date instead of the Premiere/Theatrical date.. 3
Teddyknuddel 136 Posted October 15, 2024 Posted October 15, 2024 What happens if I swap the episodes of a series - is there any way of summarising them, or do I have to have each individual episode scanned again?
rbjtech 5284 Posted October 15, 2024 Posted October 15, 2024 4 hours ago, Teddyknuddel said: What happens if I swap the episodes of a series - is there any way of summarising them, or do I have to have each individual episode scanned again? If they got new emby id's - then they will be included in the next run, but if they kept the same emby-id's - then they will need to be re-scanned by using the 're-process' function - you can add them both at the same time.
Teddyknuddel 136 Posted October 15, 2024 Posted October 15, 2024 51 minutes ago, rbjtech said: If they got new emby id's - then they will be included in the next run, but if they kept the same emby-id's - then they will need to be re-scanned by using the 're-process' function - you can add them both at the same time. Is the ID of the series/season sufficient, or does each episode have to be edited individually?
rbjtech 5284 Posted October 15, 2024 Posted October 15, 2024 39 minutes ago, Teddyknuddel said: Is the ID of the series/season sufficient, or does each episode have to be edited individually? It's episode or movie id's only - so just add them in here in csv format and it will reprocess them all. Good idea to add the show or even season level - but I haven't programmed it to recognise any 'Parent' id's ...
Teddyknuddel 136 Posted October 15, 2024 Posted October 15, 2024 Well, if you replace an entire series, with maybe 80 episodes, it's very tedious. 1
rbjtech 5284 Posted October 16, 2024 Posted October 16, 2024 13 hours ago, Teddyknuddel said: Well, if you replace an entire series, with maybe 80 episodes, it's very tedious. In that scenerio, then it's better to remove the series you want to replace, the plugin will remove all the items, after a full scan and then re-add them. 1
rbjtech 5284 Posted October 30, 2024 Posted October 30, 2024 Quick teaser for v1.0.2.1 as I'm still testing it... but all working well thus far (movies only for the moment) A number of options for 'Original Titles' to be used and displayed. Append Original title to the Current Title Transpose Original Title with the Current Title Prefix the Overview with the Original title Tag the item that it has an Original Title Example of how it looks - unfortunately you are restricted by the single line One day Emby may allow you to extend to 2 lines without the use of CSS.. Note this is using the 'Original Title' tag - allowing me to filter by that Tag to show all my films that have an original title .. This is what the Original title overview prefix looks like (in yellow, my highlight) - When using the graphical name, you won't see the original title - so it's inserted here (as an option). Turn on/off the tagging Any thoughts or suggestions welcome.. I'll release shortly once I've fully tested the options as the only way to revert back is to refresh the metadata on that item. 2 1
MagicDoubleM 121 Posted October 31, 2024 Posted October 31, 2024 That's a very nice addition. But let me be that annoying guy who nitpicks and says "hey i like () better than [] for that". 1
muiz 16 Posted November 1, 2024 Posted November 1, 2024 (edited) On 11/9/2022 at 2:47 PM, MrLinford said: I have now created a shell script to run with "emby" docker container, you can find it here: https://github.com/MrLinford/Docker-MediaInfo-PreReq Here is my quick guide on how to install the dependencies for Media Toolbox when running EMBY in a Docker Container. A few notes: You must be running the https://github.com/linuxserver/docker-emby container You will have to reinstall the dependencies when a new docker image is used. # **MediaInfo For Emby running in Docker** **A few notes:** You must be running the https://github.com/linuxserver/docker-emby container You will have to reinstall the dependencies when a new docker image is used. --- **First you need to connect to the emby container:** `docker exec -it <container> bash` --- **Install mediainfo (https://mediaarea.net/en/MediaInfo/Download/Ubuntu):** `apt update` `apt-get install mediainfo` --- **Install mkvtoolnix (https://mkvtoolnix.download/downloads.html#ubuntu):** `curl -o /usr/share/keyrings/gpg-pub-moritzbunkus.gpg https://mkvtoolnix.download/gpg-pub-moritzbunkus.gpg` `cd /etc/apt/sources.list.d` `touch mkvtoolnix.download.list` `cat > mkvtoolnix.download.list << EOF deb [signed-by=/usr/share/keyrings/gpg-pub-moritzbunkus.gpg] https://mkvtoolnix.download/ubuntu/ jammy main deb-src [signed-by=/usr/share/keyrings/gpg-pub-moritzbunkus.gpg] https://mkvtoolnix.download/ubuntu/ jammy main EOF` Now run `apt update` followed by `apt install mkvtoolnix=70.0.0-0~ubuntu2204bunkus01 mkvtoolnix-gui=70.0.0-0~ubuntu2204bunkus01` --- **Download BifTool Executables:** `curl -Lo /tmp/biftool_linux.zip https://github.com/rokudev/samples/raw/master/utilities/bif%20tool/biftool_linux.zip` **Installed unzip:** `apt-get install unzip` **Extract BifTool zip file to /bin/:** `unzip /tmp/biftool_linux.zip -d /bin` --- Configure the Media Toolbox plugin, applications installed will be located in `/bin/` How i use this on a Synology? I only can use ASH. But i doesnt have APT-GET etc. (Emby server runs in Docker) Edited November 1, 2024 by muiz
muiz 16 Posted November 1, 2024 Posted November 1, 2024 (edited) On 3/5/2023 at 5:28 PM, Teddyknuddel said: MediaInfoCLI File Path: /volume1/@appstore/mediainfo/bin/mediainfo MKVPropEdit File Path /volume1/@appstore/mkvtoolnix/bin/mkvpropedit Provided that these two parts are also installed: This only works if the Emby server runs as Synology app? Cause those paths are not showing when running Emby as Docker on Synology? Edited November 1, 2024 by muiz
muiz 16 Posted November 1, 2024 Posted November 1, 2024 I got the paths in the tool now with : But it does not work. Any one else using Emby in Docker on a Synology who has this working?
SimCity 10 Posted November 4, 2024 Posted November 4, 2024 @muiz if you are running emby in a docker container, I recommend just following the docker instructions in the wiki instead. Install the tools inside the docker image rather than external. You can then avoid messing around in Synology world entirely While what your second post shows should work, Synology is probably getting in the way cause it is not liking a docker container accessing the app folders (user permissions across the container boundary are always a pain even in OS's where you have full control).
muiz 16 Posted November 5, 2024 Posted November 5, 2024 23 hours ago, SimCity said: @muiz if you are running emby in a docker container, I recommend just following the docker instructions in the wiki instead. Install the tools inside the docker image rather than external. You can then avoid messing around in Synology world entirely While what your second post shows should work, Synology is probably getting in the way cause it is not liking a docker container accessing the app folders (user permissions across the container boundary are always a pain even in OS's where you have full control). I tried. But no luck. Emby runs fine in Docker.But those other 2??
supermood 71 Posted November 21, 2024 Posted November 21, 2024 hi media info was working perfectly until last or pre last update of my linuxserver docker on synology. now a reprocess all and start the scheduled task runs only a second without any activity. libs are still in the list, I cannot find find any change in settings or general emby setup. any idea what happened?
SimCity 10 Posted November 21, 2024 Posted November 21, 2024 2 hours ago, supermood said: any idea what happened? run it again and then check your emby logs. search for 'MediaInfo' There will be an entry from MediaInfo explaining what happened. Most likely it will say something about not being able to access the location or something along those lines, i.e. the app was not found at the location that it was configured to search for it or it didn't have permission to access it. For example, if the config setting for media info is left unset, it will try and run this blank file location... and this would in turn generate an access error. Same thing if the location is set but the app is not in that location. Cant access something that doesn't exist, so again access error recorded. 90% of the time that I have seen 0 second runs, its cause I forgot to reconfigure the location after an update or something caused a reset (I modified my script to do this form me now...). If you have an different error than those 2, then your going to need to supply the logs so someone here can diagnose it. 1 1
supermood 71 Posted November 21, 2024 Posted November 21, 2024 1 hour ago, SimCity said: run it again and then check your emby logs. search for 'MediaInfo' There will be an entry from MediaInfo explaining what happened. Most likely it will say something about not being able to access the location or something along those lines, i.e. the app was not found at the location that it was configured to search for it or it didn't have permission to access it. For example, if the config setting for media info is left unset, it will try and run this blank file location... and this would in turn generate an access error. Same thing if the location is set but the app is not in that location. Cant access something that doesn't exist, so again access error recorded. 90% of the time that I have seen 0 second runs, its cause I forgot to reconfigure the location after an update or something caused a reset (I modified my script to do this form me now...). If you have an different error than those 2, then your going to need to supply the logs so someone here can diagnose it. many thanks!!! seems it's exactly the missing folder / file? how can that happen and what should I do now any idea? emby is running all media is there
rbjtech 5284 Posted November 21, 2024 Posted November 21, 2024 (edited) The log is simply stating that it cannot start the mkvpropedit executable - likely permissions caused by your last update. Quote last or pre last update of my linuxserver docker on synology Remember it's the two executables you specify in the plugin that do all the updating to the FILES - so emby only needs execute access to those files, but those executables need write access to the actual media files (to make the changes to the MKV track titles). If you turn on debug logging in emby, the mediainfo plugin is very verbose in what it is doing which may give further clues, but it looks like permissions to me in the log. This may help - https://github.com/Cheesegeezer/MediaInfoWiki/wiki/Various-OS-Installation-Help#5-docker https://github.com/Cheesegeezer/MediaInfoWiki/wiki/Various-OS-Installation-Help#2-synology-nas Edited November 21, 2024 by rbjtech 1
robsch 45 Posted November 21, 2024 Posted November 21, 2024 So I am having an issue; Debian 11 Emby Server Version 4.8.10.0 MediaToolBox (Latest from Plugin Sections) I have installed MediaInfoCLI (its in /usr/bin) and I have installed MKVToolNix (again, in /usr/bin). I can manually execute them, and they work just fine. So I go into Media Toolbox in Emby and I try to add the Executable FILE Paths and after I exit the page to do a lib scan, I come back and the paths do not save. (Or show saved?) I wen to check the /var/lib/emby/plugins/configurations/Emby.MediaInfo.xml and I do not see any paths saved in that file either. I am not sure what the path tag is, otherwise I would add them by hand. Any idea of what is going on, or is this just an oddity? <?xml version="1.0"?> <PluginConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <EnableMediaInfo>true</EnableMediaInfo> <AutoRunLibraryScan>false</AutoRunLibraryScan> <RunMediaInfoOnNewItemAdded>true</RunMediaInfoOnNewItemAdded> <EnableMovies>true</EnableMovies> <EnableTVEpisodes>true</EnableTVEpisodes> <AddToItemTags>true</AddToItemTags> <ShowHD>false</ShowHD> <ShowBitrate>false</ShowBitrate> <ShowCodecFormat>false</ShowCodecFormat> <ShowAsUHD>false</ShowAsUHD> <ShowHDRFormat>true</ShowHDRFormat> <ShowRemux>false</ShowRemux> <AbbrAudioOutput>true</AbbrAudioOutput> <ShowDefaultTrack>true</ShowDefaultTrack> <ShowAudioBitDepth>false</ShowAudioBitDepth> <ShowAudioSampleRate>false</ShowAudioSampleRate> <UseRBJTechFormat>false</UseRBJTechFormat> <ExludeIdString /> <MIreprocessList /> <ResetEmbeddedTitles>false</ResetEmbeddedTitles> <RemoveTags>false</RemoveTags> <ResetProcessedList>true</ResetProcessedList> <VersionOverride>false</VersionOverride> <EnableHDRConvert>false</EnableHDRConvert> <RunBIFOnNewItemAdded>true</RunBIFOnNewItemAdded> <EnableHDRMovies>false</EnableHDRMovies> <EnableHDREpisodes>false</EnableHDREpisodes> <EnableHDRReprocess>false</EnableHDRReprocess> <BifReprocessList /> <UseCustomBifInterval>false</UseCustomBifInterval> <BifInterval>10</BifInterval> <EnableSubKiller>false</EnableSubKiller> <RunSubKillerOnItemAdded>false</RunSubKillerOnItemAdded> <LibrariesToConvert> <string>3</string> </LibrariesToConvert> <ProcessedList /> <MediaSourceProcessedList /> <HDRProcessedMovieList /> <HDRProcessedEpisodeList /> </PluginConfiguration>
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