yiyayiyayo 0 Posted January 29 Share Posted January 29 I am an Emby user with a large collection of TV series. However, I have noticed that sometimes the series metadata scraping fails, for example ├── Big.Little.Lies │ ├── S01 │ │ ├── Big.Little.Lies.S01E01.Somebodys.Dead.720p.HBO.WEB-DL.DD5.1.H.264-monkee.mkv │ │ ├── Big.Little.Lies.S01E04.720p.HDTV.x264-AVS.mkv │ │ └── season.nfo │ ├── S02 │ │ └── Big.Little.Lies.S02E02.Tell.Tale.Hearts.1080p.AMZN.WEB-DL.DDP5.1.H.264-NTb.mkv │ └── tvshow.nfo ├── Person.of.Interest.S01-S05.2011-2016.1080p.Blu-ray.x265.AC3£cXcY@FRDS │ ├── tvshow.nfo │ └── S01.Person.of.Interest.2011.1080p.Blu-ray.x265.AC3£cXcY@FRDS │ ├── Person.of.Interest.S01E01.2011.1080p.Blu-ray.x265.10bit.AC3£cXcY@FRDS.mkv │ └── Person.of.Interest.S01E01.2011.1080p.Blu-ray.x265.10bit.AC3£cXcY@FRDS.nfo └── Reply.1988.S01.1080p.NF.WEB-DL.DDP2.0.x264-TJUPT ├── Reply.1988.S01E01.1080p.NF.WEB-DL.DDP2.0.x264-TJUPT.mkv └── Reply.1988.S01E02.1080p.NF.WEB-DL.DDP2.0.x264-TJUPT.mkv The "Big.Little.Lies" works, but "Person.of.Interest.S01-S05.2011-2016.1080p.Blu-ray.x265.AC3£cXcY@FRDS" and "Reply.1988.S01.1080p.NF.WEB-DL.DDP2.0.x264-TJUPT" failed. Renaming the media files according to the guidelines( https://emby.media/support/articles/TV-Naming.html) provided by Emby works perfectly, but as a user of PT (private torrent) as well, I would like to keep the original file names for seeding purposes.. After some research, I am wondering if there is a way to develop a custom plugin that can parse the "title" and "year" from the file name and populate the "SeriesInfo" or "SeasonInfo" fields. This way, the scraping work can be handled by "MovieDb" or "TheTVDB" plugin, which currently work perfectly. However, I couldn't find any relevant interface in the documentation provided by https://dev.emby.media/doc/plugins/Automatic-Type-Discovery.html So, my question is: Is there an interface that I can implement to achieve this functionality, or are there any other methods that you can suggest? I have tested creating a plugin and implementing the "IRemoteMetadataProvider<Series, SeriesInfo>" interface, where I modify the passed-in "SeriesInfo" and put it in the first of "Metadata Downloaders", and it works. However, I feel that this approach is a bit hacky and not recommended. I would greatly appreciate any suggestions or guidance you can provide. Link to comment Share on other sites More sharing options...
Luke 37095 Posted January 29 Share Posted January 29 Hi, not really. this falls into the category of the core server supporting more naming conventions. Link to comment Share on other sites More sharing options...
adminExitium 173 Posted January 29 Share Posted January 29 Nothing plugin related, but have you considered using something like Filebot (https://www.filebot.net/forums/viewtopic.php?t=215), Sonarr (https://sonarr.tv/) or any of the various similar programs that can rename the files to the format expected by Emby using hardlinks so there is no duplicate space occupied? Link to comment Share on other sites More sharing options...
yiyayiyayo 0 Posted January 30 Author Share Posted January 30 5 hours ago, Luke said: Hi, not really. this falls into the category of the core server supporting more naming conventions. Thx, any chance there will be an open api to accomplish this in the future? Link to comment Share on other sites More sharing options...
yiyayiyayo 0 Posted January 30 Author Share Posted January 30 5 hours ago, adminExitium said: Nothing plugin related, but have you considered using something like Filebot (https://www.filebot.net/forums/viewtopic.php?t=215), Sonarr (https://sonarr.tv/) or any of the various similar programs that can rename the files to the format expected by Emby using hardlinks so there is no duplicate space occupied? Thx, I will have a try of Sonarr, hope it's not too complicated. Link to comment Share on other sites More sharing options...
adminExitium 173 Posted January 30 Share Posted January 30 I would recommend filebot instead for beginners so that it requires minimal changes in your workflow because Sonarr can be a lot to get started with and expects everything to be done through it. Filebot can also do automatic monitoring for new files in a particular folder for processing: https://www.filebot.net/forums/viewtopic.php?t=13092#watcher Link to comment Share on other sites More sharing options...
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