Jump to content

Plugin: StrmCompanion


Recommended Posts

soderlund
Posted (edited)

Hello! I have put together a small plugin to help when using .strm files. There are already existing plugins and functions for this, but i wanted to gather them under the same hood and add the ability to control the settings some more of the functions they provide. I made this for myself, and sharing if anyone else finds it useful :) 

 

image.png.d1ca3b44b66f13769845761045f24aa4.png

This plugin enables functions that is missing from native Emby when using .strm files. Most of the functions can also be used on regular media types(mkv, avi, etc). 

More info and latest release at: https://github.com/soderlund91/StrmCompanion

 

Features

Media info extract (specific for .strm files)
This plugin uses FFmpeg to probe movies and episodes in selected libraries to extract the media information. 
This enable Emby to recognize resolution, playtime, audio-codec, subtitles, etc that Emby natively cannot do. 
It also enables for faster startup since this process has already been made.  

Can be run as a scheduled task and/or auto detect on new media. 


Auto merge (all mediatypes)
The plugin can merge same movies and episodes across multiple libraries and folders. Emby native only merge if they are located within the same folder. This enable you to for example  have a folder of 4K movies and another one of 1080p. The plugin then finds multiple movies or episodes with the same IMDb or TVDb ID and merges them across all or selected libraries. 

Can be run as a scheduled task and/or auto detect on new media. 


Intro dectect (all mediatypes)
The built in Emby function to detect intros can not run on .strm files. This plugin uses the same technique as Emby (chromaprint) and some other tweaks to find the intro. The detection runs on user selected shows or season, it then posts the intro markers to Emby database and it will work as native in Emby player with the "skip intro" button.

The intro detect also can list all existing intro markers even if they are not from this plugin. 

Disclaimer
The intro detection is work in progress. It currently works really good on some shows, and not as good on others. The process is pretty slow (I have prioritized quality over speed) but when the fingerprinting is done you can change the settings and play around with them and it will be a lot quicker. The fingerprinting is the slow process and unaffected by the user settings. 
So do the fingerprinting and then test with other settings. 

 

Screenshots:

Quote

Start page
image.png.1b36e76472bc5fe8a585de8f6a760453.png

 

Intro detect
image.png.8dec648a84fce5d6a7281fbeece03e6e.png

 


Media info scan
image.png.3aff0c4180f0751361744f05a87e6eff.png

 

Merge version
image.png.7a49d30d0b0ad472a0cc5fe2d16bfe9a.png

 

StrmCompanion.dll

Edited by soderlund
Added .dll

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...