danieladov / jellyfin-plugin-mergeversions

This plugin scans all your movies and groups every repeated movie in one version
MIT License
215 stars 15 forks source link

Limit merging to files in the same library #38

Open exterrestris opened 1 year ago

exterrestris commented 1 year ago

Multiple versions of a show/movie should only be merged when they are in the same library. If multiple versions exist in different libraries, then they should not be merged.

I have multiple libraries set up for reaction videos (one library per reactor/media type), and typically also have the original show/movie in my main shows/movies library. As for some reactors there are multiple versions of an episode (say full reactions and edited reactions), these need to be merged, however if I use the plugin as is it will also merge the original media (plus versions from other reactors) even though those files are in a different library. This effectively means I cannot use the plugin for a large portion of my media as it will merge incorrectly.

exterrestris commented 1 year ago

Incidentally, I'm uncertain as to why the exclusions are folder based - I personally can't think of a reason why you'd want to merge some paths within a library and not others

Jurrer commented 1 year ago

I have exactly opposite problem, where it won't merge the same movie if it's in different directories/libraries. I find this extension useless where I have one library for regular HD versions, and other for 4K versions of my media, and it won't merge them.

Any tips on how did you do it?

titooo7 commented 1 year ago

I second OP request. I'll explain why it would be great to get this feature request approved:

First use case: My Jellyfin server has English libraries for myself and some firends, and also Spanish libraries for people like my parents or relatives that don't speak English. With the way the plugin is designed now the Spanish users of my server could end up opening a file that actually relates to the English library.

Second use case: I have 4K movies but only myself and another friend with a SHIELD TV have access to that library. I don't want anyone else to access robthe 4K files to avoid them trandcoding. Witr the way the plugin is designed currently they still would be able to open those 4K videos even if I didn't hice them access to the 4K Movies library.