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 Request]: Single Season #81

Open
1 of 2 tasks
bnason opened this issue Oct 6, 2024 · 4 comments
Open
1 of 2 tasks

[Feature Request]: Single Season #81

bnason opened this issue Oct 6, 2024 · 4 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@bnason
Copy link

bnason commented Oct 6, 2024

I've read the documentation.

Your Feature Request

It would be nice to have the option of having a single season for a channel instead of being broken up by years. Plex can then be set to hide seasons for those with only one season.

Your help is needed!

  • Yes, I will work on this in the next few days or weeks.
@lamusmaser
Copy link
Collaborator

Acknowledged. I would have to look into how best to do this. Unfortunately, I am unsure if we can do this on a per-channel basis or if this would have to be global for all channels in the library.

I can look into it more, but this will be after some of our other feature requests that are already in progress for research and development.

@lamusmaser lamusmaser added enhancement New feature or request help wanted Extra attention is needed labels Oct 6, 2024
@bnason
Copy link
Author

bnason commented Oct 6, 2024

I may take a stab at this. I'm assuming I will need to modify the Scanner. Since it already is looking at the ta_config.json, I could add some new keys there to control functionality, something like this:

{
    "ta_url": "http://tubearchivist.local",
    "ta_api_key": "xxxxxxxxxxxxxxxx",
    "channels": {
        "channleId": {
            "useSingleSeason": true
        }
    }
}

Honestly rather than having that boolean, I would prefer if it could be a format string that can use the data from get_ta_metadata to generate the value. Since I'm not a python developer, I'm not sure what options are available in the ecosystem to handle that. Do you have any ideas/input/advice on that?

Something like this:
Hard coded 1 for single season
Something like this for year based seasons where metadata is the result from get_ta_metadata:
"{metadata.date.published | format('%Y')}"

{
    "ta_url": "http://tubearchivist.local",
    "ta_api_key": "xxxxxxxxxxxxxxxx",
    "channels": {
        "channleId": {
            "metadata": {
                "season": "1"
            }
        }
    }
}

@jay-oswald
Copy link

image
No need for this to be done in this plugin, plex already does this nativatly

On your libary settings, to go advanced, then set seasons to hide, no more seasons at all

@jay-oswald
Copy link

Just realised you are probably wanting to do this for only some shows, and not others. So my above comment is probbaly not relevant. But I just hide all seasons or everything anyway, so its just a single list of vidoes like youtube.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants