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

Feature: Custom libraries/filters for symlinks #877

Open
MYETRO opened this issue Nov 11, 2024 · 0 comments
Open

Feature: Custom libraries/filters for symlinks #877

MYETRO opened this issue Nov 11, 2024 · 0 comments
Assignees
Labels
backend This belongs to backend devs enhancement New feature or request frontend This belongs to frontend devs

Comments

@MYETRO
Copy link

MYETRO commented Nov 11, 2024

Hi, the Anime TV library folder works. Can we implement custom libraries?

Here's the idea I had. I’m not a developer, so I’m not sure if it’s fully doable, but it goes like this:

  1. User-Defined Custom Filters: Allow users to create their own filters with fields like:

    • filter_name: A name for the filter (e.g., kids_movies).
    • filter_genre: Genre to filter by (e.g., Animation).
    • filter_restriction: Age restriction (e.g., "U", "PG").
    • filter_path: Path for the custom library (e.g., library/kids_movies).
    • filter_duplicate_main_library: Option to duplicate items in the main library (yes/no).
  2. Save and Update Filter Data:

    • After the user creates and saves a filter, make an API call to TMDb to retrieve a list of items matching the filter criteria.
    • Save this list in the database with fields like filter_name_id, filter_path, and the tmdb or imdb ID.
    • Schedule the filter to refresh daily to keep it up-to-date.
  3. Check and Symlink Items:

    • When processing items for symlinking, check the queue to see if any item matches an entry in the filter_table.
    • If a match is found, use the filter_path from the filter to create a symlink in that location.
@MYETRO MYETRO closed this as completed Nov 11, 2024
@MYETRO MYETRO reopened this Nov 11, 2024
@MYETRO MYETRO changed the title Custom libraries/filters for symlinks Feature: Custom libraries/filters for symlinks Nov 11, 2024
@dreulavelle dreulavelle added enhancement New feature or request frontend This belongs to frontend devs backend This belongs to backend devs labels Nov 11, 2024
@dreulavelle dreulavelle moved this to Todo in Riven Road Map Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend This belongs to backend devs enhancement New feature or request frontend This belongs to frontend devs
Projects
Status: Todo
Development

No branches or pull requests

5 participants