Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Library Matching By Id, By Path, or By Network Path #18

Closed
terrelsa13 opened this issue Apr 27, 2022 · 0 comments
Closed

Library Matching By Id, By Path, or By Network Path #18

terrelsa13 opened this issue Apr 27, 2022 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@terrelsa13
Copy link
Owner

When matching a media item to a library this match can be made between the media item and the library in 1 of 3 ways.

Initial Setup

When the script is first run it will ask if it should use matching byId, byPath, or byNetworkPath. The default is byId. After each user is chosen the script will number and show libraries according to the chosen matching option.

byId

When choosing byId if you have a library with multiple folders in it; all of these folders will share the same Id. Blacklisting or Whitelisting this library's Id will apply to all of its child folders.

byPath

When choosing byPath if you have a library with multiple folders in it; each folder will be treated individually. Blacklisting or Whitelisting the library's Paths will only apply to the specified folder matching this Path.

When choosing byPath if you have multiple libraries with with the same folders in them; all of these folders will share the same Path. Blacklisting or Whitelisting the Path of a folder in one library will also apply folders with the same Path in other libraries

byNetworkPath

Same as byPath except using the NetworkPath.

Libraries without associated NetworkPath data will not be shown when byNetworkPath is chosen.

Collections and similar libraries that do not have an option to add NetworkPath data will not be shown when byNetworkPath is chosen.

Matching By Id

Each library (i.e. TV, Movie, Music, etc...) has an associated Id identification number. It is usually represented as a (locally) unique 32 digit hexadecimal value. The Id will look like this abcdef0123456789abcdef0123456789.

The library's Id (along with other parameters) can be used to query Emby/Jellyfin for media items. Because the media item was retrieved using the Id the media items returned can be considered matching to it. This Id can also be compared to other monitored user's library Ids stored in the config file when multiuser whitelisting options are enabled.

Matching By Path

Each library (i.e. TV, Movie, Music, etc...) and media item (episodes, movies, audio tracks, etc..) has an associated Path location. This is usually represented as the local path. The Path will look like this /Path/To/Some/Folder or C:\Path\To\Some\Folder.

Items are still retrieved using library Ids.

Instead of using the library Ids for comparison, the library's Path and media item's Path are instead used for comparison. The Path can be compared to the current monitored user and other monitored user's library Paths stored in the config file when multiuser whitelisting options are enabled.

Matching By NetworkPath

Same as Match By Path except the associated NetworkPath is used. The library must have a NetworkPath associated to it. The NetworkPath will look like this smb://NetoworkPath/To/Some/Folder or \\Path\To\Some\Folder.

Collections and possibly similar libraries may not have an option to add a NetworkPath.

@terrelsa13 terrelsa13 added the documentation Improvements or additions to documentation label Oct 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant