Hi, I want to do this.
I have severals .nfo files (made with TMM tiny media manager) for each video(movie or tvshow-chapter) and want to use local metadata in PLEX but this one cant offers suportt to .nfo files instead I read that using tags in the mp4 fields,
I want to know/do/achive how to export the fields (choosen) from .nfo files into each mp4 video, any tools, scrip or sugetion will be apreciate thks for any feedback
A sample nfo file would be nice.
Also a list would be nice which information you want to see in which tag field.
And then in general: I would import the whole nfo file into a single user-defined tag field and use this field as source for a number of regular expressions that cut out the strings.
HI I dream with a NFO2TAG or NFOtagger or NFOexportTAgs
this is extracted for several forum I been read
Extracted info:
1-Plex uses TITLE for the episode title
2.- DESCRIPTION for the summary and
3.-COVER for the poster.
4.- PODCASTDESC for a longer description
the fields on nfo files are
SO the idea is this
MP4 tags nfo fileds result
TITLE = "¨S¨+1+¨E¨+2 +
- + Episodio 2" = S1E2-Episodio2
DESCRIPTION &
PODCASTDESC= Suna pierde los papeles al descubrir que escogieron a su hermana para contraer matrimonio con Ferit. Por su parte, Seyran se niega a casarse con alguien que no conoce.
ARTIST = Star TV + OGM Pictures
ALBUM=ALBUM ARTIST Golden Boy
YEAR = 2022-09-30 or 2022-09-30
COVER=Golden Boy - S01E02 - Episodio 2-thumb.jpg
Golden Boy - S01E02 - Episodio 2 nfo file.zip (101.7 KB)
here is all the theory about PLEX and local metadata support and the nfo not supported issues and the extraoficial unfixed solutions
Local metadata in PLEX for movies and TVshows library
General issue on PLEX and external files with valid metadata for movies an tvshows
[Adding extra metadata to Local Media Assets for TV Series and Movies // mod: using local metadata files like NFO, others - Feature Suggestions - Plex Forum]"(h t t p s://forums.plex.tv/t/adding-extra-metadata-to-local-media-assets-for-tv-series-and-movies-mod-using-local-metadata-files-like-nfo-others/753904)"
1st way (PLEX reads tags from mp4 files) more realistic solution (native metadata inside mp4 files)
TRy to auto tag all my mp4/mkv files library with all the posible mp4 fields suported by PLEX like info like season/episode/ name episode/date realeased/sinopsis/etc
HOW
a.- automate the process of get all the metadata from internet unsing TMM (tiny media manager)
automatic process do naming files, dowload de art, and créate a useless (for PLEX) .nfo file for each file. (I done this and TMM Works very nice)
b.- looking for a way to automate the process of bypass the all the posible tags/info from .nfo files to the mp4 tags files (here Im stuck)
[MP4 Metadata (Tags) for Personal Media Shows - General Discussions - Plex Forum]"(h t t p s://forums.plex.tv/t/mp4-metadata-tags-for-personal-media-shows/666756)"
In this link the people tray to aproach usin MP3tag program and a kind of script
here are the fields that PLEX can read directly from mp4 tags
Extracted info:
1-Plex uses TITLE for the episode title
2.- DESCRIPTION for the summary and
3.-COVER for the poster.
4.- PODCASTDESC for a longer description
2th way (PLEX read .info files unsing a pluggin) hipotetical solution
Try to get .info files from the .nfo files from each video file
a.- automate the process of get all the metadata from internet unsing TMM (tiny media manager)
automatic process do naming files, dowload de art, and créate a useless (for PLEX) .nfo file for each file. (I done this and TMM Works very nice)
b.- looking for a way to automate the process of bypass the all the posible tags/info from .nfo files to the .info equivalentes files (here Im stuck)
[plex-plugins/README.md at prod · mrzhenya/plex-plugins · GitHub] "(h t t p s://github.com/mrzhenya/plex-plugins/blob/prod/README.md)"
3th way unsing plugins (because PLEX updates this is uncertain , at the last PLEX update from 2024 didn work for me this aproach)
[How do you use tinyMediaManager? : r/PleX]"(h t t p s://www.reddit.com/r/PleX/comments/102enof/how_do_you_use_tinymediamanager/)"
[How to setup Plex server with TMM : r/tinyMediaManager]"(h t t p s://www.reddit.com/r/tinyMediaManager/comments/x59q0h/how_to_setup_plex_server_with_tmm/)"
[NFOs with Plex Movie Agent : r/PleX]"(h t t p s://www.reddit.com/r/PleX/comments/xellvv/comment/ioi78hc/?utm_source=share&utm_medium=web2x&context=3)"
4th nfo2tag (never happend)
[NFO2TAG - An mp4 Tagger from .nfo's]
"h t t p s://forum.kodi.tv/showthread.php?tid=164608"
5th Good far away knews
[Fireside Follow-up: Metadata Agenda, NFO Support, and some of our future work on PMS - General Discussions - Plex Forum]
"h t t p s://forums.plex.tv/t/fireside-follow-up-metadata-agenda-nfo-support-and-some-of-our-future-work-on-pms/887946"
This is the nfo file:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!--created on 2025-01-22 09:51:15 - tinyMediaManager 4.3.16-->
<episodedetails>
<title>Episodio 2</title>
<originaltitle>2. Bölüm</originaltitle>
<showtitle>Golden Boy</showtitle>
<season>1</season>
<episode>2</episode>
<displayseason>-1</displayseason>
<displayepisode>-1</displayepisode>
<id/>
<ratings>
<rating default="false" max="10" name="themoviedb">
<value>9.0</value>
<votes>1</votes>
</rating>
</ratings>
<userrating>0</userrating>
<plot>Suna pierde los papeles al descubrir que escogieron a su hermana para contraer matrimonio con Ferit. Por su parte, Seyran se niega a casarse con alguien que no conoce.</plot>
<runtime>120</runtime>
<thumb>https://image.tmdb.org/t/p/original/dgPpHG4DEBZib8jOVRT9L54D0xj.jpg</thumb>
<mpaa/>
<premiered>2022-09-30</premiered>
<aired>2022-09-30</aired>
<watched>false</watched>
<playcount>0</playcount>
<studio>Star TV</studio>
<studio>OGM Pictures</studio>
<credits tmdbid="2380905">Mehmet Barış Günger</credits>
<credits tmdbid="4304111">Leyla Uslu Öter</credits>
<director tmdbid="2105270">Burcu Alptekin</director>
<actor>
<name>Afra Saraçoğlu</name>
<role>Seyran Şanlı</role>
<thumb>https://image.tmdb.org/t/p/h632/pICee2UPiluv31pClWvIu3R423i.jpg</thumb>
<profile>https://www.themoviedb.org/person/1955840</profile>
<tmdbid>1955840</tmdbid>
</actor>
<actor>
<name>Mert Ramazan Demir</name>
<role>Ferit Korhan</role>
<thumb>https://image.tmdb.org/t/p/h632/hjhSmm5tuNGJPzmObFT6Xeq3VgR.jpg</thumb>
<profile>https://www.themoviedb.org/person/2545917</profile>
<tmdbid>2545917</tmdbid>
</actor>
<actor>
<name>Çetin Tekindor</name>
<role>Halis Korhan</role>
<thumb>https://image.tmdb.org/t/p/h632/hvX7yQmZhssgf7b6ocgC26eIGYB.jpg</thumb>
<profile>https://www.themoviedb.org/person/93389</profile>
<tmdbid>93389</tmdbid>
</actor>
<actor>
<name>Şerif Sezer</name>
<role>Hattuç Şanlı</role>
<thumb>https://image.tmdb.org/t/p/h632/oXyB4z975gWL0xWusL6bjBTKN6c.jpg</thumb>
<profile>https://www.themoviedb.org/person/142769</profile>
<tmdbid>142769</tmdbid>
</actor>
<actor>
<name>Gülçin Santırcıoğlu</name>
<role>İfakat Korhan</role>
<thumb>https://image.tmdb.org/t/p/h632/3tsIkihF5WzqKOZtfinPlKuE4RJ.jpg</thumb>
<profile>https://www.themoviedb.org/person/150440</profile>
<tmdbid>150440</tmdbid>
</actor>
<actor>
<name>Emre Altuğ</name>
<role>Orhan Korhan</role>
<thumb>https://image.tmdb.org/t/p/h632/pwf1suWbP3BGACdCKo91L7crgRw.jpg</thumb>
<profile>https://www.themoviedb.org/person/935157</profile>
<tmdbid>935157</tmdbid>
</actor>
<actor>
<name>Gözde Kansu</name>
<role>Gülgün Korhan</role>
<thumb>https://image.tmdb.org/t/p/h632/mJnyOhwix5wtn4vYwhb48MPrUQq.jpg</thumb>
<profile>https://www.themoviedb.org/person/1248249</profile>
<tmdbid>1248249</tmdbid>
</actor>
<actor>
<name>Beril Pozam</name>
<role>Suna Şanlı</role>
<thumb>https://image.tmdb.org/t/p/h632/6B0M7zKhpJh8ipfkL9X8Z7ruZsw.jpg</thumb>
<profile>https://www.themoviedb.org/person/3101815</profile>
<tmdbid>3101815</tmdbid>
</actor>
<actor>
<name>Öznur Serçeler</name>
<role>Asuman Korhan</role>
<thumb>https://image.tmdb.org/t/p/h632/cW7R6D12Gltl07YdQT8gg5SjRaS.jpg</thumb>
<profile>https://www.themoviedb.org/person/1760504</profile>
<tmdbid>1760504</tmdbid>
</actor>
<actor>
<name>Diren Polatoğulları</name>
<role>Kazım Şanlı</role>
<thumb>https://image.tmdb.org/t/p/h632/5N03u0pXdJVZTrHAwEIpvFsy3Kl.jpg</thumb>
<profile>https://www.themoviedb.org/person/1577495</profile>
<tmdbid>1577495</tmdbid>
</actor>
<actor>
<name>İrem Altuğ</name>
<role>Sultan</role>
<thumb>https://image.tmdb.org/t/p/h632/iAmNfN0NEFwdLvIGeCHMwV3Pb9T.jpg</thumb>
<profile>https://www.themoviedb.org/person/145424</profile>
<tmdbid>145424</tmdbid>
</actor>
<actor>
<name>Ersin Arıcı</name>
<role>Abidin</role>
<thumb>https://image.tmdb.org/t/p/h632/5NOZpOapbhcGHPO3GhwTaQIuYc0.jpg</thumb>
<profile>https://www.themoviedb.org/person/1948899</profile>
<tmdbid>1948899</tmdbid>
</actor>
<actor>
<name>Sezin Bozacı</name>
<role>Esme Şanlı</role>
<thumb>https://image.tmdb.org/t/p/h632/5j4u5dFct1GRM0kKhZZur41qlMu.jpg</thumb>
<profile>https://www.themoviedb.org/person/2417314</profile>
<tmdbid>2417314</tmdbid>
</actor>
<actor>
<name>Hülya Duyar</name>
<role>Şefika</role>
<thumb>https://image.tmdb.org/t/p/h632/9JqjWdkOpwx5jRweRYi0wZE11j5.jpg</thumb>
<profile>https://www.themoviedb.org/person/1006787</profile>
<tmdbid>1006787</tmdbid>
</actor>
<actor>
<name>Cemre Gümeli</name>
<role>Talih</role>
<thumb>https://image.tmdb.org/t/p/h632/lJzvq3U9EWmYMHcxNd5m4iLJGjc.jpg</thumb>
<profile>https://www.themoviedb.org/person/2022597</profile>
<tmdbid>2022597</tmdbid>
</actor>
<actor>
<name>Buçe Buse Kahraman</name>
<role>Pelin Yılmaz</role>
<thumb>https://image.tmdb.org/t/p/h632/hSXhmslCL6KRfGCj1T0W7LH0DHS.jpg</thumb>
<profile>https://www.themoviedb.org/person/2525697</profile>
<tmdbid>2525697</tmdbid>
</actor>
<actor>
<name>Doğukan Polat</name>
<role>Fuat Korhan</role>
<thumb>https://image.tmdb.org/t/p/h632/t4yj8yQjn0ygqZaIglmhT4OTgmJ.jpg</thumb>
<profile>https://www.themoviedb.org/person/2139428</profile>
<tmdbid>2139428</tmdbid>
</actor>
<actor>
<name>Yigit Tuncay</name>
<role>Latif</role>
<thumb>https://image.tmdb.org/t/p/h632/hl8zInja53Bhaen8eYOja6nupN9.jpg</thumb>
<profile>https://www.themoviedb.org/person/3723077</profile>
<tmdbid>3723077</tmdbid>
</actor>
<actor>
<name>Umut Gezer</name>
<role>Yusuf</role>
<thumb>https://image.tmdb.org/t/p/h632/cJOrg9NxriqMcJ80WLjmhP9nHEB.jpg</thumb>
<profile>https://www.themoviedb.org/person/3723079</profile>
<tmdbid>3723079</tmdbid>
</actor>
<actor>
<name>Selen Özbayrak</name>
<role>Dicle</role>
<thumb>https://image.tmdb.org/t/p/h632/mZH9bRf1cnSrC29BVn0gCMKbbv6.jpg</thumb>
<profile>https://www.themoviedb.org/person/3723078</profile>
<tmdbid>3723078</tmdbid>
</actor>
<actor>
<name>Cansu Fırıncı</name>
<role>Ibrahim</role>
<thumb>https://image.tmdb.org/t/p/h632/y13Vq2nCRCRRAXrx27frSg4dyf6.jpg</thumb>
<profile>https://www.themoviedb.org/person/1988282</profile>
<tmdbid>1988282</tmdbid>
</actor>
<actor>
<name>Bade Tokel</name>
<role>young Suna</role>
<profile>https://www.themoviedb.org/person/3968270</profile>
<tmdbid>3968270</tmdbid>
</actor>
<actor>
<name>Selçuk Çelik</name>
<profile>https://www.themoviedb.org/person/3723083</profile>
<tmdbid>3723083</tmdbid>
</actor>
<actor>
<name>Mehtap Demirel</name>
<role>young Hattuç</role>
<thumb>https://image.tmdb.org/t/p/h632/p6lJcvIDMtPXFyZIdO9MySXSF9k.jpg</thumb>
<profile>https://www.themoviedb.org/person/4008444</profile>
<tmdbid>4008444</tmdbid>
</actor>
<actor>
<name>Barış Akdeniz</name>
<role>young Halis</role>
<thumb>https://image.tmdb.org/t/p/h632/pE6u99vFddfR1oClQ8kOSbQjvvK.jpg</thumb>
<profile>https://www.themoviedb.org/person/4003487</profile>
<tmdbid>4003487</tmdbid>
</actor>
<actor>
<name>Zeynep Bayram</name>
<profile>https://www.themoviedb.org/person/4010844</profile>
<tmdbid>4010844</tmdbid>
</actor>
<actor>
<name>Dilara Degerli</name>
<profile>https://www.themoviedb.org/person/4010845</profile>
<tmdbid>4010845</tmdbid>
</actor>
<actor>
<name>Zeynep Demir</name>
<profile>https://www.themoviedb.org/person/4010848</profile>
<tmdbid>4010848</tmdbid>
</actor>
<actor>
<name>Mert Demirtürk</name>
<profile>https://www.themoviedb.org/person/4010849</profile>
<tmdbid>4010849</tmdbid>
</actor>
<actor>
<name>Emre Ipekçi</name>
<profile>https://www.themoviedb.org/person/4010852</profile>
<tmdbid>4010852</tmdbid>
</actor>
<actor>
<name>Dilek Kaya</name>
<thumb>https://image.tmdb.org/t/p/h632/qK3gMPtNcvsTfgMgn9L4Ft4wleM.jpg</thumb>
<profile>https://www.themoviedb.org/person/2352691</profile>
<tmdbid>2352691</tmdbid>
</actor>
<actor>
<name>Tugba Kiliç</name>
<profile>https://www.themoviedb.org/person/4010854</profile>
<tmdbid>4010854</tmdbid>
</actor>
<actor>
<name>Yavuc Ogur</name>
<profile>https://www.themoviedb.org/person/4010857</profile>
<tmdbid>4010857</tmdbid>
</actor>
<actor>
<name>Tülin Tosun</name>
<profile>https://www.themoviedb.org/person/4010858</profile>
<tmdbid>4010858</tmdbid>
</actor>
<actor>
<name>Serkan Özgül</name>
<profile>https://www.themoviedb.org/person/4010861</profile>
<tmdbid>4010861</tmdbid>
</actor>
<trailer/>
<dateadded>2025-01-21 12:53:54</dateadded>
<epbookmark/>
<code/>
<fileinfo>
<streamdetails>
<video>
<codec>h264</codec>
<aspect>1.78</aspect>
<width>1280</width>
<height>720</height>
<durationinseconds>6902</durationinseconds>
<stereomode/>
</video>
<audio>
<codec>AAC</codec>
<language/>
<channels>2</channels>
</audio>
</streamdetails>
</fileinfo>
<!--tinyMediaManager meta data-->
<source>UNKNOWN</source>
<original_filename>Golden Boy - S01E02 - Episodio 2.mp4</original_filename>
<user_note/>
</episodedetails>
You import the contents of the whole nfo file into a user-defined field with the name e.g. NFODATA, using the action "Import text file"
To get. e.g. the TITLE create an action of the type "Format value" for TITLE
Format string: $regexp(%nfodata%,.*showtitle>(.*)</showtitle.*,$1)
Create several similar actions for all the fields that you want to fill and where you adapt the xml tokens accordingly.
Are you using the latest version of Plex and also of the Plex Metadata Agents (Plex Movie/Plex Series)?
If you have set Prefer local metadata here, Plex should use both the images that tmm stores as well as the contents of the .nfo files. At least it does for me.
Which makes duplicating the information from the .nfo in tags redundant and pointless imho (unless you want them in your files for other purposes).
Hi, thanks for the info,but i have been using Plex since i bough my NAS ON 2017. AND I was fine till i learn to customize AND personalice all my multimedia files ,line músic( with MP3,FLAC) using tools like mp3tag AND Picard. AND movies AND series with tmm. But sometimes the info that Plex ger from internet Is not shat i want AND I wish to ses the metadata that spend time personalizing.
Nowadays i use Plex client on android
( On fire TV AND my phone versión Is 10.24 AND Plex server on my NAS Is 1.41.3.9292 dec-2024)
What áre your combination ?
I reas that Plex dont support nfo files
AND I already have set up the scanner/agent as you suggest but the art media AND the nfo files áre ignored by Plex that get the info from tmdb.
May. Be i have to mover/delete the files make a clean of Plex dB AND put again everything because i know since a long Time that Plex i a Little picky , the reason i want to burn the metadata un the MP4 files is.because there Is no chance to lost Time if Plex dB fails or support or not nfo. Plex says that in 2025 who knows when will support nfo files AND improve the scanner/agents
I found metaX this program do what i want use allá the nfo metadata already done AND bypass to the MP4 but Is not free. I Will wait or just spend time to edit metadata manualy on Plex ( risk to losse info ir Plex dB corrup)
That is indeed possible. You can force Plex to update the metadata by using "fix match" on a movie/tv show but there's sadly no way to batch execute this task for multiple/all movies/tv shows at once.
I wouldn't spend any time to edit the proprietary plex db.
On my nvidia shield I'm using the latest plex version of both server and client and that respects the metadata generated by TMM. On my NAS I'm running an older version with this addon to import local metadata (Plex is still in it's infancy concerning support for local metadata). It worked alright but is no longer updated/supported.
Luckily I also use my library in Jellyfin and Kodi which both do a better job of using the local metadata, so I personally don't care that Plex doesn't get it 100% right.
I am not really sure if a discussion of the features of third party products really has something to do with the original topic of how to get data from nfo-files into mp4 tags with the help of MP3tag.
Has the problem been solved?
Would a new discussion in the off-topic section be more appropriate?